@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap");
/* Reset efectivo limitado a las etiquetas de los componentes compartidos. */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-feature-settings: normal; font-variation-settings: normal; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button { font: inherit; font-feature-settings: inherit; font-variation-settings: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; appearance: button; }

/* SVG originales: sólo regla de dimensiones utilizada. */
.svg-inline--fa { box-sizing: content-box; display: var(--fa-display, inline-block); height: 1em; overflow: visible; vertical-align: -0.125em; width: var(--fa-width, 1.25em); }
/* Reglas originales seleccionadas en el mismo orden, sin reglas de vistas. */
:root {
  font-family: "Montserrat", sans-serif;
  color: #162139;
  background: #fff;
  font-synthesis: none;
  --black: #11437d;
  --dark: #162139;
  --mid: #4d4c4c;
  --line: #d3d3d3;
  --soft: #d3d3d3;
  --paper: #fff;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button { font: inherit; }
button { color: inherit; }
button:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.app { min-height: 100vh; overflow: hidden; }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.wordmark { border: 0; background: none; padding: 0; display: flex; align-items: center; cursor: pointer; }
.wordmark img { display: block; width: 110px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 26px); }
.nav-link { border: 0; background: none; padding: 10px 0; font-size: 13px; cursor: pointer; position: relative; }
.nav-link--active::after { content: ""; position: absolute; height: 2px; background: var(--black); left: 0; right: 0; bottom: 3px; }
.mobile-nav-label, .menu-button { display: none; }
.button { min-height: 48px; border: 1px solid var(--black); background: var(--black); color: var(--white); padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: background .2s, color .2s; }
.button:hover { background: var(--dark); border-color: var(--dark); }
.button--light { background: var(--white); color: var(--black); border-color: var(--white); }
.button--light:hover { background: var(--soft); }
p { margin-top: 0; }
.site-footer { background: var(--white); color: var(--dark); padding: 70px 5vw 20px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1.3fr; gap: 50px; padding-bottom: 65px; }
.footer-mark { display: block; width: 160px; height: auto; margin-bottom: 20px; }
.footer-label { font-size: 10px; letter-spacing: .12em; color: var(--dark); margin-bottom: 22px; }
.footer-top > div:first-child p { color: var(--mid); }
.footer-top > div:nth-child(2) button { color: var(--dark); display: block; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.footer-top > div:nth-child(3) p:not(.footer-label) { font-size: 12px; color: var(--mid); }
.footer-top svg { width: 18px; margin-right: 7px; }
.footer-top > div:nth-child(3) .footer-label { margin-bottom: 30px; }
.footer-contact-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 15px; align-items: center; margin: 0 0 18px; line-height: 1.6; }
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item svg { justify-self: center; margin: 0; }
.footer-top > div:nth-child(3) .footer-contact-item:nth-of-type(2) { align-items: start; }
.footer-top > div:nth-child(3) .footer-contact-item:nth-of-type(2) svg { margin-top: 4px; }
.footer-contact-item a { min-width: 0; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.site-footer .button { background: var(--black); border-color: var(--black); color: var(--white); }
.site-footer .button:hover { background: var(--dark); border-color: var(--dark); color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; font-size: 10px; color: var(--mid); }
@media (max-width: 980px) {
  .site-header { height: 72px; }
  .wordmark img { width: 90px; }
  .menu-button { display: flex; align-items: center; gap: 10px; border: 0; background: none; font-size: 11px; }
  .nav { position: fixed; inset: 0; background: var(--paper); z-index: 30; padding: 20px 6vw 40px; flex-direction: column; align-items: stretch; transform: translateX(100%); transition: transform .25s ease; gap: 0; overflow-y: auto; }
  .nav--open { transform: translateX(0); }
  .mobile-nav-label { display: flex; justify-content: space-between; padding: 10px 0 35px; font-size: 11px; }
  .mobile-nav-label button { border: 0; background: none; font-size: 20px; }
  .nav-link { text-align: left; border-bottom: 1px solid var(--line); font-size: 25px; padding: 18px 0; }
  .nav-link--active::after { display: none; }
  .nav .button { margin-top: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-action { border-top: 1px solid var(--line); padding-top: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--dark);
}
button, a {
  border-radius: 0;
}
.site-header {
  height: 92px;
  padding-inline: clamp(24px, 5vw, 80px);
  border-color: var(--line);
}
.wordmark img {
  width: 104px;
}
.nav {
  gap: clamp(14px, 1.7vw, 30px);
}
.nav-link {
  padding-block: 14px;
  letter-spacing: .01em;
}
.nav-link--active {
  color: var(--black);
  font-weight: 700;
}
.nav-link--active::after {
  bottom: 6px;
}
.button {
  min-height: 52px;
  padding-inline: 24px;
  letter-spacing: .035em;
}
.site-footer {
  padding: 88px clamp(24px, 5vw, 80px) 28px;
}
.footer-top {
  grid-template-columns: 1.8fr .8fr 1.1fr 1.1fr;
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: 76px;
}
.footer-top > div:nth-child(2) button {
  padding-block: 6px;
}
.footer-bottom {
  padding-top: 24px;
}
@media (max-width: 980px) {
  .site-header {
    height: 76px;
  }

  .wordmark img {
    width: 94px;
  }
}
.site-header .nav-link {
  transition: color 220ms ease-out;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease-out;
}
.site-header .nav-link--active {
  color: var(--black);
}
.site-header .nav-link--active::after {
  transform: scaleX(1);
}
.site-header .nav > .button {
  transition:
    background-color 220ms ease-out,
    border-color 220ms ease-out,
    color 220ms ease-out;
}
.site-footer .footer-top > div:nth-child(2) button {
  position: relative;
  width: fit-content;
  transition: color 220ms ease-out;
}
.site-footer .footer-top > div:nth-child(2) button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease-out;
}
.site-footer .footer-contact-item a, .site-footer .footer-contact-item svg {
  transition:
    color 220ms ease-out,
    transform 220ms ease-out;
}
.site-header .nav-link:focus-visible, .site-footer .footer-top > div:nth-child(2) button:focus-visible, .site-footer .footer-contact-item a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}
.site-header .nav-link:focus-visible {
  color: var(--black);
}
.site-header .nav-link:focus-visible::after, .site-footer .footer-top > div:nth-child(2) button:focus-visible::after {
  transform: scaleX(1);
}
@media (hover: hover) and (pointer: fine) {
  .site-header .nav-link:hover {
    color: var(--black);
  }

  .site-header .nav-link:hover::after {
    transform: scaleX(1);
  }

  .site-header .nav > .button:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--white);
  }

  .site-footer .footer-top > div:nth-child(2) button:hover {
    color: var(--black);
  }

  .site-footer .footer-top > div:nth-child(2) button:hover::after {
    transform: scaleX(1);
  }

  .site-footer .footer-contact-item:hover a, .site-footer .footer-contact-item:hover svg {
    color: var(--black);
  }

  .site-footer .footer-contact-item:hover svg {
    transform: translateX(4px);
  }
}
@media (max-width: 980px) {
  .site-header .nav-link::after, .site-header .nav-link--active::after {
    right: auto;
    bottom: 8px;
    display: block;
    width: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-link, .site-header .nav-link::after, .site-header .nav > .button, .site-footer .footer-top > div:nth-child(2) button, .site-footer .footer-top > div:nth-child(2) button::after, .site-footer .footer-contact-item a, .site-footer .footer-contact-item svg {
    transition: none;
  }

  .site-footer .footer-contact-item:hover svg {
    transform: none;
  }
}
.app--home .site-header {
  height: 88px;
  padding-inline: clamp(24px, 4.5vw, 72px);
}
.app--home .site-header .button {
  min-height: 46px;
}
@media (max-width: 980px) {
  .app--home .site-header {
    height: 76px;
  }
}
@media (max-width: 650px) {
  .app--home .site-header {
    padding-inline: 5vw;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}
:root {
  --motion-fast: 160ms;
  --motion-state: 300ms;
  --motion-editorial: 560ms;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --motion-control: cubic-bezier(.2, .7, .3, 1);
}
.nav-active-indicator { display: none; }
@media (min-width: 981px) {
  .site-header .nav { position: relative; }
  .nav-active-indicator {
    display: block;
    position: absolute;
    top: var(--indicator-y, 0px);
    left: 0;
    width: var(--indicator-width, 0px);
    height: 2px;
    background: var(--black);
    transform: translateX(var(--indicator-x, 0px));
    pointer-events: none;
    transition: transform var(--motion-state) var(--motion-ease),
      width var(--motion-state) var(--motion-ease), top var(--motion-state) var(--motion-ease);
  }
  .nav[data-indicator-ready] .nav-link--active::after { opacity: 0; }
}
.site-header .nav-link::after, .site-footer .footer-top > div:nth-child(2) button::after {
  transform-origin: right center;
  transition: transform var(--motion-state) var(--motion-ease);
}
.site-header .nav-link:is(:focus-visible, .nav-link--active)::after, .site-footer .footer-top > div:nth-child(2) button:focus-visible::after { transform-origin: left center; }
.button, .button svg {
  transition: background-color var(--motion-fast) ease-out,
    border-color var(--motion-fast) ease-out, color var(--motion-fast) ease-out,
    opacity var(--motion-fast) ease-out, transform var(--motion-state) var(--motion-ease);
}
.button:not(:disabled):active { transform: translateY(1px); }
.button:not(:disabled):focus-visible svg { transform: translateX(5px); }
a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .site-header .nav-link:hover::after, .site-footer .footer-top > div:nth-child(2) button:hover::after { transform-origin: left center; }
  .button:not(:disabled):hover svg { transform: translateX(5px); }
}
@media (max-width: 980px) {
  .site-header .nav {
    visibility: hidden;
    pointer-events: none;
    transition: transform 420ms var(--motion-ease), visibility 0s linear 420ms;
  }
  .site-header .nav--open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .site-header .nav--open .nav-link {
    animation: mobile-link-in 360ms var(--motion-ease) both;
    animation-delay: calc(var(--nav-order, 0) * 35ms + 70ms);
  }
  @keyframes mobile-link-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .button:not(:disabled):active, .button:not(:disabled):is(:hover, :focus-visible) svg { transform: none !important; }
}

.app:has(.whatsapp-float) {
  --whatsapp-size: 56px;
  --whatsapp-gap: clamp(12px, 2vw, 24px);
  --whatsapp-right: calc(var(--whatsapp-gap) + env(safe-area-inset-right, 0px));
}
.app:has(.whatsapp-float) .footer-bottom {
  padding-right: max(0px, calc(var(--whatsapp-size) + var(--whatsapp-right) + 12px - clamp(24px, 5vw, 80px)));
}
.whatsapp-float {
  position: fixed;
  z-index: 10;
  right: var(--whatsapp-right);
  bottom: calc(var(--whatsapp-gap) + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: var(--whatsapp-size);
  height: var(--whatsapp-size);
  border-radius: 50%;
  background: #128c7e;
  box-shadow: 0 3px 12px rgb(22 33 57 / .2);
  transition: background-color var(--motion-fast) ease-out;
}
.whatsapp-float:focus-visible {
  outline: 2px solid var(--dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--white);
}
@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover { background: #075e54; }
}
@media (max-width: 980px) {
  .app:has(.nav--open) .whatsapp-float { visibility: hidden; }
}
