:root {
  --bg: #ffffff;
  --bg-soft: #edf3f7;
  --text: #4A5761;
  --muted: #76879a;
  --line: #d8e2ea;
  --primary: #004876;
  --primary-dark: #003c69;
  --width: 100%;
  /* Tablet: usar todo el ancho del viewport (p. ej. 1024px), no un artboard fijo. */
  --tablet-canvas-width: 100%;
  --bp-tablet-max: 1024px;
  /* Móvil: ancho artboard; el alto total del mock (~7172) es scroll, no min-height en CSS. */
  --mobile-canvas-width: 412px;
  --bp-mobile-max: 480px;
}

* {
  box-sizing: border-box;
}

/* Evita scroll horizontal: nunca usar 100vw en anchos (incluye scrollbar y desborda). */
html,
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  padding: 0;
  scrollbar-gutter: stable;
  scroll-padding-top: 74px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  padding: 0;
  padding-top: 74px;
}

main {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section-space {
  padding: 56px 0;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  height: 74px;
  margin: 0;
  overflow-x: hidden;
  overflow-y: visible;
  background: #f7f7f7;
  border-bottom: 1px solid #e4e8ec;
  padding: 0 24px;
  box-sizing: border-box;
}

.topbar .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.topbar__inner {
  height: 100%;
  width: 100%;
  max-width: 1440px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 130px;
  height: 52px;
}

.brand__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  width: 435px;
  height: 38px;
  gap: 48px;
  margin-left: auto;
  justify-content: flex-end;
  color: #2E3840;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  line-height: normal;
  font-weight: 400;
  padding-bottom: 2px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s ease;
}

.nav__link:hover {
  text-decoration-color: #1b6ea5;
}

.nav__link--active {
  text-decoration-color: #1b6ea5;
}

.nav__link:active {
  text-decoration-color: #1b6ea5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*min-height: 38px;*/
  padding: 0 0px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  /*font-size: 13px;*/
  cursor: pointer;
}

/*.btn--small {
  /*min-height: 26px;
  padding: 0 16px;
  font-size: 11px;
}*/

/* Texto Contacto 16px en todo el header (gana sobre .btn--small). */
.nav .nav__cta {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  margin-left: 2px;
  border-radius: 12px;
  background: #004876;
  padding: 8px 24px
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.topbar__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #004876;
  flex-shrink: 0;
}

.topbar__menu-bars {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
  position: absolute;
  top: 32px;
  left: 28px;
}

.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  width: 100%;
  max-width: min(var(--mobile-canvas-width), 100%);
  margin: 0 auto;
  box-sizing: border-box;
  min-height: 186px;
  padding: 16px 16px 24px 24px;
  background: #f2f2f2;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu:not([hidden]) {
  display: block;
}

.mobile-menu__panel {
  position: relative;
  padding-top: 8px;
}

.mobile-menu__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2E3840;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-right: 48px;
}

.mobile-menu__link {
  font-size: 16px;
  font-weight: 500;
  color: #2E3840;
  text-decoration: none;
  padding-bottom: 4px;
}

.mobile-menu__link--active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: #1b6ea5;
  font-weight: 400;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 481px) {
  .mobile-menu {
    display: none !important;
  }
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow-x: hidden;
  background-image: url("../../public/assets/images/sections/logos_images/web_img/image_hero.png");
  background-size: cover;
  background-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 20, 0.75), rgba(5, 12, 20, 0.34));
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 64px;
}

.hero .pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
}

.hero h1,
.hero__title {
  margin: 0 0 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: normal;
  max-width: 760px;
}

.hero__phrase--mobile {
  display: none;
}

.hero__subtitle {
  margin: 0 0 40px 0;
  font-family: "Open Sans", sans-serif;
  font-size: 28px;
  line-height: 1.22;
  font-weight: light;
  color: rgba(255, 255, 255, 0.9);
}

.hero__cta {
  /*min-height: 48px;*/
  padding: 16px 32px;
  border-radius: 12px;
  background: #edf4fb;
  color: #024e86;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  margin: 0 0 40px 0;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  z-index: 1;
}

.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 0;
  font-size: 33px;
  color: var(--primary-dark);
  font-weight: 500;
}

.section-title p {
  margin: 12px auto 0;
  color: var(--muted);
  max-width: 680px;
}

.strategic {
  width: 100%;
  max-width: 100%;
  height: 715px;
  margin: 0 auto;
  padding: 60px;
  box-sizing: border-box;
  overflow-x: hidden;
  background: #f4f6f8;
}

.strategic .container {
  width: 100%;
  max-width: 1280px;
  height: 595px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 60px;
  min-width: 0;
}

.strategic .section-title {
  margin-bottom: 0;
}

.strategic__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #E6F3F7;
  color: #227F9E;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.strategic .section-title h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
  color: #003459;
}

.strategic .section-title p {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #4A5761;
}

.strategic .card h3 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0;
}

.strategic .card p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0;
}

.cards-grid {
  display: grid;
  width: 100%;
  max-width: 1280px;
  height: 368px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-self: start;
  min-width: 0;
}

.card {
  border: 1px solid #7cc0e1;
  border-radius: 24px;
  padding: 32px;
  background: #fff;
  box-shadow: none;
}

.strategic .card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 368px;
  border-width: 1px;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.strategic .card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card__icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f0f3;
  margin-bottom: 22px;
}

.card__glyph {
  color: #4ea3cf;
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
}

.card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.card h3 {
  margin: 0 0 18px;
  color: #003459;
  font-size: 40px;
  line-height: 1.22;
  font-weight: 500;
}

.card p {
  margin: 0;
  color: #5a6777;
  font-size: 23px;
  line-height: 1.54;
}

.section-light {
  background: var(--bg-soft);
}

.services {
  width: 100%;
  max-width: 100%;
  min-height: 1638px;
  margin: 0 auto;
  padding: 60px;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #ffffff;
  background-image:
    radial-gradient(
      141.42% 141.42% at 0% 100%,
      rgba(74, 159, 181, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      141.42% 141.42% at 100% 100%,
      rgba(0, 52, 89, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      141.42% 141.42% at 100% 0%,
      rgba(74, 159, 181, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      141.42% 141.42% at 0% 0%,
      rgba(0, 52, 89, 0.3) 0%,
      transparent 50%
    ),
    linear-gradient(0deg, #ffffff, #ffffff);
}

.services__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

.services__intro {
  text-align: center;
  margin: 0;
}

.services__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #E6F3F7;
  color: #227F9E;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.services__title {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
  color: #003459;
}

.services__subtitle {
  margin: 12px auto 0;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.55;
  color: #4A5761;
}

.services .service-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.services .service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.services .service-row--reverse .service-media {
  order: 2;
}

.services .service-row--reverse .service-text {
  order: 1;
}

.services .service-media,
.services .service-text {
  min-width: 0;
}

.services .service-text {
  padding: 0 28px;
}

.services .service-media__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(33, 56, 85, 0.14);
}

.services .service-text h3 {
  margin: 0 0 16px;
  font-family: "Open Sans", sans-serif;
  color: #003459;
  font-size: 36px;
  font-weight: 400;
  line-height: normal;
}

.services .service-text p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: #4A5761;
  font-size: 20px;
  font-weight: 400;
  line-height: 170%;
}

@media (min-width: 481px) {
  br.services-title-br {
    display: none;
  }

  .services-title--stacked-mobile .services-title-line {
    display: inline;
  }

  .services-title--stacked-mobile .services-title-line:not(:first-child)::before {
    content: " ";
  }
}

.about {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px;
  box-sizing: border-box;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  text-align: center;
}

.about__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.about__intro {
  margin: 0 0 40px;
}

.about__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #E6F3F7;
  color: #227F9E;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.about__title {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
  color: #003459;
}

.about__subtitle {
  margin: 12px auto 0;
  max-width: 640px;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #4A5761;
}

.about-card {
  margin-top: 0;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, min(420px, 100%)) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  border: 1px solid #e8eef2;
  border-radius: 28px;
  background: #fff;
  padding: 40px 48px;
  box-shadow: 0 16px 40px rgba(52, 83, 112, 0.1);
  text-align: left;
}

.about-profile__frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ecf0;
}

.about-profile__img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1);
}

.about-profile__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: #8a9bab;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  opacity: 0.85;
}

.about-profile__nav:hover {
  background: #fff;
  color: #003459;
}

.about-profile__nav--prev {
  left: 10px;
}

.about-profile__nav--prev::before {
  content: "\2039";
}

.about-profile__nav--next {
  right: 10px;
}

.about-profile__nav--next::before {
  content: "\203A";
}

.about-profile__caption {
  margin: 18px 0 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #3d4f62;
  text-align: center;
}

.about-profile__role {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #3d4f62;
  text-align: center;
}

.about-profile__role strong {
  font-weight: 700;
}

.about-text--quoted {
  position: relative;
  padding: 0 40px;
  color: #3d4f62;
}

.about-text--quoted::before,
.about-text--quoted::after {
  content: none;
}

.about-text--quoted p {
  margin: 0 0 40px 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 170%;
}

.about-text--quoted p:last-child {
  margin-bottom: 0;
}

.contact {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #ffffff;
  background-image:
    radial-gradient(
      141.42% 141.42% at 0% 100%,
      rgba(74, 159, 181, 0.21) 0%,
      transparent 50%
    ),
    radial-gradient(
      141.42% 141.42% at 100% 100%,
      rgba(0, 52, 89, 0.14) 0%,
      transparent 50%
    ),
    radial-gradient(
      141.42% 141.42% at 100% 0%,
      rgba(74, 159, 181, 0.14) 0%,
      transparent 50%
    ),
    radial-gradient(
      141.42% 141.42% at 0% 0%,
      rgba(0, 52, 89, 0.21) 0%,
      transparent 50%
    );
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
}

.contact__intro {
  margin: 0;
  text-align: center;
}

.contact__tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #E6F3F7;
  color: #227F9E;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.contact__title {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
  color: #003459;
}

.contact__subtitle {
  margin: 12px auto 0;
  /*max-width: 560px;*/
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #4A5761;
}

.contact .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

/* Formulario contacto: mismos estilos que tablet en todos los anchos de escritorio */
.contact-form {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 36px 28px 40px;
  border: 1px solid #d6e8f0;
  border-radius: 32px;
  box-shadow: 0 12px 40px rgba(52, 83, 112, 0.1);
}

/* Honeypot FormSubmit (_honey): no visible, no foco */
.contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form__heading {
  margin: 0 0 28px;
  text-align: left;
  font-size: 24px;
  font-weight: 400;
  color: #003459;
  letter-spacing: 0.01em;
}

.contact-form__names {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 0;
}

.contact-form__names .contact-form__field {
  margin-bottom: 20px;
}

.contact-aside__tablet {
  display: none;
}

.contact-tablet-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.contact-tablet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 10px;
  background: #004876;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.contact-tablet-btn:hover {
  background: #094a73;
  color: #fff;
}

.contact-form .contact-form__field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: #32465d;
  font-size: 14px;
  font-weight: 500;
}

.contact-form .contact-form__field:last-of-type {
  margin-bottom: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c5d9e4;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: #1f2d3d;
  background: #fff;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa8b5;
}

.contact-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 16px 20px;
  border: 0;
  border-radius: 12px;
  background: #004876;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.contact-form__submit:hover {
  background: #094a73;
}

.contact-form__plane {
  flex-shrink: 0;
}

.contact-aside__heading {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 400;
  color: #003459;
}

.contact-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 32px 18px 20px;
  background: #fff;
  border: 1px solid #9ccfe0;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(52, 83, 112, 0.06);
}

.contact-info-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e8f4f8;
  color: #227F9E;
}

.contact-info-card__body {
  width:100%;

}

.contact-info-card__title {

  margin-bottom: 4px;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: #003459;
}

.contact-info-card__link {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #1b6ea5;
  text-decoration: underline;
  text-underline-offset: 2px;
  float: right;
}

.contact-info-card__link:hover {
  color: #004876;
}

.contact-info-card__text {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  color: #5a6777;
}

.contact-info-card--location .contact-info-card__title {
  font-weight: 400;
}

.contact-aside__foot {
  margin: 28px 0 0;
  padding: 0 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: #3d4f62;
}

.contact-aside__foot strong {
  font-weight: 700;
}

.contact-aside__foot--muted {
  margin-top: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  color: #5a6777;
}

.footer {
  width: 100%;
  max-width: 100%;
  min-height: 289px;
  margin: 0 auto;
  padding: 60px;
  box-sizing: border-box;
  overflow-x: hidden;
  background: #003459;
  color: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
  max-width: 100%;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
  min-width: 0;
  width: 100%;
}

.footer__brand {
  flex-shrink: 0;
}

.footer__logo {
  display: block;
  width: 130px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.footer__about {
  flex: 1;
  min-width: 0;
}

.footer__heading {
  display: block;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer__tagline {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.footer__rule {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer__copy {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* Tablet (≤1024px): layout y medidas acordadas; escritorio (>1024px) no se altera. */
@media (max-width: 1024px) {
  .hero,
  .strategic,
  .services,
  .about,
  .contact,
  .footer {
    width: 100%;
    /*max-width: min(var(--tablet-canvas-width), 100%);*/
    margin-left: auto;
    margin-right: auto;
  }

  .topbar {
    padding: 0 36px;
  }

  .topbar__inner {
    max-width: min(var(--tablet-canvas-width), 100%);
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .nav {
    width: auto;
    max-width: 100%;
    min-width: 0;
    gap: 36px;
  }

  .nav .nav__cta {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-left: 2px;
    border-radius: 12px;
    ackground: #004876;
    padding: 8px 24px
  }

  .hero {
    height: auto;
    min-height: 600px;
    padding-block: 48px;
    align-items: center;
    justify-content: flex-start;
  }

  .hero__content {
    padding-left: 36px;
    padding-right: 36px;
  }

  .services {
    min-height: 0;
    padding: 45px 36px 60px;
  }

  .contact-aside__desktop {
    display: none;
  }

  .contact-aside__tablet {
    width:100%;
    display: block;
  }

  .contact-aside__heading {
    margin-bottom: 16px;
  }

  .cards-grid,
  .services .service-row,
  .about-card,
  .contact .contact-grid {
    grid-template-columns: 1fr;
  }

  .services .service-row--reverse .service-media,
  .services .service-row--reverse .service-text {
    order: initial;
  }

  .services__inner {
    gap: 40px;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .services .service-list {
    gap: 60px;
    width: 100%;
  }

  .services .service-row {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    width: 100%;
  }

  .services .service-media {
    width: 100%;
    max-width: min(570px, 100%);
    margin-inline: auto;
    min-width: 0;
  }

  .services .service-media__img {
    display: block;
    width: 100%;
    max-width: min(570px, 100%);
    height: auto;
    aspect-ratio: 570 / 372;
    object-fit: cover;
    object-position: center;
    border-radius: 32px;
  }

  .services .service-text {
    text-align: center;
    max-width: 640px;
    width: 100%;
  }

  .about {
    min-height: 0;
    padding: 45px 36px 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  }

  .about__inner {
    max-width: 100%;
    padding: 0;
  }

  .about__tag {
    display: none;
  }

  .about__intro {
    margin: 0 0 28px;
  }

  .about__title {
    color: #003459;
  }

  .about__subtitle {
    max-width: 48ch;
    margin-top: 10px;
  }

  .about .about-profile {
    display: none;
  }

  .about-card {
    display: block;
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 0;
    text-align: center;
  }

  .about-text--quoted {
    padding: 0;
    text-align: left;
    max-width: 100%;
  }

  .about-text--quoted::before,
  .about-text--quoted::after {
    display: none;
  }

  .about-text--quoted p {
    margin: 0 0 24px;
    font-size: 20px;
    line-height: 1.6;
    color: #4A5761;
  }

  .about-text--quoted p:last-child {
    margin-bottom: 0;
  }

  .contact {
    padding: 45px 36px 60px;
  }

  .contact__title {
    font-size: 36px;
  }

  /*.contact__subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  }*/

  .contact__tag {
    display: none;
  }

  .contact__inner {
    gap: 45px;
    max-width: 100%;
  }

  .contact .contact-grid {
    gap: 40px;
    width: 100%;
  }

  .contact-aside {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .contact-aside__heading {
    text-align: center;
    margin: 0 0 20px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #003459;
  }

  .contact-tablet-btn__icon {
    flex-shrink: 0;
    margin: 0 20px 0 0;
    vertical-align: text-bottom;
  }

  .contact-tablet-btns {
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
   gap: 4%;
    width: 100%;
  }

  .contact-tablet-btn {
    width: 100%;
    display: block;
    /*flex: 0 0 auto;*/
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.3;
  }

  .contact-aside__tablet-foot {
    margin-top: 24px;
    text-align: center;
  }

  .contact-aside__tablet-foot .contact-aside__foot {
    margin-top: 0;
  }

  .contact-aside__tablet-foot .contact-aside__foot--muted {
    margin-top: 10px;
  }

  .footer {
    min-height: 361px;
    padding: 60px;
    box-sizing: border-box;
  }

  .footer__inner {
    gap: 48px;
    min-width: 0;
    max-width: 100%;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__copy {
    text-align: center;
    width: 100%;
  }

  .strategic {
    height: auto;
    min-height: 0;
    padding: 45px 36px 60px;
  }

  .strategic .section-title h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  /*.strategic .section-title p {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  }*/

  .services__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .services__subtitle {
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  }

  .services .service-text h3 {
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    margin: 0 0 12px;
  }

  .services .service-text p {
    font-size: 20px;
    line-height: 1.6;
  }

  .strategic .container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0;
    padding: 0;
  }

  .strategic .cards-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
    height: auto;
    max-width: none;
  }

  .strategic .card {
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: none;
    height: auto;
    min-width: 0;
    min-height: 0;
    margin-inline: 0;
    padding: 22px 24px;
    gap: 18px;
    border-radius: 28px;
    overflow-x: hidden;
  }

  .strategic .card .card__icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .strategic .card .card__body {
    flex: 1;
    min-width: 0;
    text-align: left;
    overflow-wrap: break-word;
  }

  .strategic .card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .strategic .card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Flex/grid: min-width:auto suele forzar ancho > viewport y genera scroll horizontal. */
  .services__inner,
  .services .service-row,
  .contact .contact-grid,
  .contact__inner,
  .contact-form,
  .contact-tablet-btns {
    min-width: 0;
  }

  .hero h1,
  .hero__subtitle {
    overflow-wrap: break-word;
  }
}

/* Hero solo tablet (481px–1024px); móvil ≤480px usa su propio bloque. */
@media (min-width: 481px) and (max-width: 1024px) {
  .hero .pill {
    display: none;
  }

  .hero h1,
  .hero__title {
    margin: 0 0 18px;
    font-family: "Open Sans", sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: normal;
    max-width: 42ch;
  }

  .hero__subtitle {
    margin: 0 0 36px 0;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    /*max-width: 38ch;*/
  }

  .hero__cta {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    /*min-height: 44px;*/
    padding: 20px 40px;
  }
}

/* Tablet (481px–1024px): estrategia, servicios, nosotros y contacto — tipografía / layout; móvil ≤480px aparte. */
@media (min-width: 661px) and (max-width: 1024px) {
  .strategic__tag {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    display: none;
  }

  .strategic .section-title h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: normal;
  }

  .strategic .card h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
  }

  .strategic .card p {
    font-family: "Open Sans", sans-serif;
    font-size: 20pxpx;
    font-weight: 400;
    line-height: normal;
  }

  .services__tag {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    display: none;
  }

  .services__title {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: normal;
  }

  .services__subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
  }

  .services .service-text h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: normal;
  }

  .about__tag {
    display: none;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
  }

  .about__title {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: normal;
  }

  .about__subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
  }

  .contact-form__submit {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
  }

  .contact-aside__heading {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
  }

  .contact-aside__tablet-foot .contact-aside__foot,
  .contact-aside__tablet-foot .contact-aside__foot--muted {
    font-size: 18px;
    line-height: normal;
  }
}

/* Móvil (≤480px): contenedor general alineado al artboard 412px.
   Tipografía de copy: Open Sans 400 + line-height: normal salvo que pidan bold explícito. */
@media (max-width: 660px) {
  html {
    scroll-padding-top: 84px;
  }

  body {
    padding-top: 84px;
  }

  .mobile-menu__link {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
  }

  .hero,
  .strategic,
  .services,
  .about,
  .contact,
  .footer {
    width: 100%;
    /*max-width: min(var(--mobile-canvas-width), 100%);*/
    margin-left: auto;
    margin-right: auto;
  }

  /* Estrategia móvil: gradiente Figma; sin min-height fijo (evita hueco enorme bajo la última card) */
  .strategic {
    min-height: 0;
    padding: 45px 36px 24px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
    height: auto;
  }

  .strategic .container {
    gap: 36px;
    align-items: stretch;
  }

  .strategic .section-title {
    text-align: center;
    max-width: 100%;
  }

  .strategic__tag {
    display: none;
  }

  /* Título “Consultoría Estratégica”: misma línea que Figma / desktop-tablet (Open Sans 400, sin negrita) */
  .strategic .section-title h2 {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    line-height: normal;
    letter-spacing: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
  }

  .strategic .section-title p {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    line-height: normal;
    font-weight: 400;
    text-align: center;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    color: #4A5761;
  }

  .strategic .cards-grid {
    gap: 32px;
  }

  .strategic .card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    border-radius: 24px;
    border-color: #7cc0e1;
    gap: 20px;
  }

  /* Mock móvil: solo texto en tarjetas (sin iconos) */
  .strategic .card .card__icon {
    display: none;
  }

  .strategic .card .card__body {
    flex: 1 1 auto;
    text-align: left;
    gap: 16px;
    display: flex;
    flex-direction: column;
  }

  .strategic .card h3 {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0;
    color: #003459;
  }

  .strategic .card p {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
    color: #4A5761;
  }

  /* Menos espacio entre última card (estrategia) y bloque “Nuestros Servicios” */
  .services {
    min-height: 0;
    padding: 32px 36px 60px;
    box-sizing: border-box;
  }

  .services__inner {
    gap: 40px;
  }

  .services__tag {
    display: none;
  }

  .services__title {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    line-height: normal;
    letter-spacing: 0;
    text-align: center;
    color: #003459;
  }

  .services__subtitle {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: normal;
    letter-spacing: 0;
    text-align: center;
    color: #4A5761;
    max-width: none;
    margin: 12px auto 0;
  }

  .services .service-list {
    gap: 48px;
  }

  .services .service-media {
    display: none;
  }

  .services .service-row {
    display: block;
  }

  /* Títulos de bloque centrados; párrafos alineados a la izquierda (mock móvil) */
  .services .service-text {
    text-align: left;
    max-width: 100%;
    padding: 0;
  }

  .services .service-text h3 {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    line-height: normal;
    letter-spacing: 0;
    text-align: center;
    color: #003459;
    margin: 0 0 16px;
  }

  /* Tercer servicio: 3 líneas fijas en móvil (evita “y” huérfano por wrap) */
  .services-title--stacked-mobile .services-title-line {
    display: block;
  }

  .services-title--stacked-mobile .services-title-line:not(:first-child)::before {
    content: none;
  }

  /* Evita “y” huérfana: “y” + Acompañamiento en una sola línea en móvil. */
  .services-title--stacked-mobile .services-title-line--no-break {
    white-space: nowrap;
  }

  .services .service-text p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: normal;
    letter-spacing: 0;
    text-align: center;
    color: #4A5761;
  }

  .topbar {
    height: 84px;
    min-height: 84px;
    padding: 16px 24px;
    background: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid #e4e8ec;
    overflow: visible;
  }

  .topbar__inner {
    max-width: min(var(--mobile-canvas-width), 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 6px;
    height: 100%;
    flex-wrap: nowrap;
  }

  .topbar__menu-btn {
    display: flex;
    grid-column: 1;
  }

  .brand--topbar {
    grid-column: 2;
    justify-self: start;
    width: auto;
    max-width: min(160px, 100%);
  }

  .nav {
    grid-column: 3;
    width: auto;
    margin-left: 0;
    gap: 0;
    justify-content: flex-end;
  }

  .nav__links {
    display: none;
  }

  .mobile-menu {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
  }

  /* Hero móvil: 412×466; contenido 332px centrado (40+332+40), top 42, gap 32 */
  .hero {
    height: 488px;
    min-height: 466px;
    max-height: 488px;
    padding: 42px 40px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .hero__overlay {
    background: rgba(0, 0, 0, 0.48);
  }

  .hero .hero__content.container {
    width: 100%;
    max-width: 332px;
    min-height: 383px;
    margin: 0;
    margin-inline: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
    box-sizing: border-box;
  }

  .hero .pill {
    display: none;
  }

  .hero__desktop-lines {
    display: none;
  }

  .hero__phrase--mobile {
    display: block;
    width: 100%;
  }

  .hero__title-lead {
    display: block;
  }

  /* Tres frases + CTA: 32px entre cada bloque (Figma) */
  .hero h1.hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin: 0;
    max-width: 100%;
    width: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 32px;
    line-height: normal;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
  }

  .hero__subtitle {
    display: none;
  }

  .hero__cta {
    flex-shrink: 0;
    align-self: center;
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    padding: 16px 20px;
    border-radius: 14px;
    box-sizing: border-box;
    background: #e8f1f3;
    color: #004b71;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
  }

  .about__title {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: normal;
    color: #003459;
  }

  .about__subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
  }

  .about-text--quoted p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
    text-align: center;
  }

  .about-profile__caption,
  .about-profile__role {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
  }

  .about-profile__role strong {
    font-weight: 700;
  }

  .contact .contact-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 32px;
  }

  .contact-form,
  .contact-aside,
  .contact-aside__tablet,
  .contact-tablet-btns {
    width: 100%;
    max-width: 100%;
  }

  .contact-tablet-btns {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
  }

  .contact-tablet-btn {
    width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .contact__title,
  .contact__subtitle {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
  }

  .contact-form__heading {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
  }

  .contact-form .contact-form__field {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
  }

  .contact-form input,
  .contact-form textarea {
    font-family: "Open Sans", sans-serif;
    line-height: normal;
  }

  .contact-form__submit {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
  }

  .contact-aside__heading {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
  }

  .contact-tablet-btn {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
  }

  .contact-aside__foot {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
  }

  .contact-aside__foot strong {
    font-weight: 700;
  }

  .contact-aside__foot--muted {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
  }

  .footer__heading,
  .footer__tagline,
  .footer__copy {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: normal;
  }

  .hero__scroll {
    display: none;
  }
}
