
:root {
  --azul-marca: #3e419b;
  --azul-profundo: #233f76;
  --azul-texto: #8cc6e8;
  --turquesa: #08c5cb;
  --verde: #05d979;
  --verde-hover: #02c96f;
  --blanco: #ffffff;
  --fondo-suave: #f4f4f4;
  --footer-dark: #101f21;
  --container: 1180px;
  --topbar-height: 38px;
  --font-main: "Figtree", Arial, sans-serif;
  --font-title: "Figtree", Arial, sans-serif;
  --shadow-soft: 0 18px 42px rgba(16, 42, 73, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--azul-profundo);
  background: var(--blanco);
  font-family: var(--font-main);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--blanco);
  background: var(--azul-marca);
  border-radius: 999px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Barra superior + navegación */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--topbar-height);
  color: var(--blanco);
  background: #010101;
  border-bottom: 2px solid #13bce2;
  overflow: hidden;
}
.top-bar__inner {
  width: 100%;
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.top-bar p {
  margin: 0;
  color: var(--blanco);
  font-size: clamp(0.72rem, 1.1vw, 1.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: texto-corriendo 18s linear infinite;
}
@keyframes texto-corriendo {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.site-header {
  position: sticky;
  top: var(--topbar-height);
  z-index: 999;
  background: var(--blanco);
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.05);
}
.main-nav {
  width: min(100% - 56px, 1780px);
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  width: clamp(145px, 10.5vw, 190px);
  flex: 0 0 auto;
}
.brand img { width: 100%; height: auto; }
.main-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 34px);
  color: #777777;
  font-size: clamp(1.02rem, 1.35vw, 1.48rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.main-nav__links > a:not(.quote-button) {
  position: relative;
  padding-block: 8px;
}
.main-nav__links > a:not(.quote-button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--verde);
  border-radius: 999px;
  transition: width 240ms ease;
}
.main-nav__links > a:not(.quote-button):hover::after,
.main-nav__links > a:not(.quote-button):focus-visible::after,
.main-nav__links > a[aria-current="page"]::after { width: 100%; }
.quote-button {
  min-height: 47px;
  padding: 0 18px;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  background: var(--verde);
  border-radius: 15px;
  font-size: clamp(0.9rem, 1.05vw, 1.18rem);
  font-weight: 900;
  white-space: nowrap;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
.quote-button svg { width: 23px; fill: currentColor; }
.quote-button:hover {
  transform: translateY(-2px);
  background: var(--verde-hover);
  box-shadow: 0 10px 24px rgba(5, 217, 121, 0.28);
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--verde);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--blanco);
  border-radius: 999px;
  transition: transform 220ms ease, opacity 220ms ease;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Nosotros */
.about-page {
  background: var(--fondo-suave);
  padding-bottom: clamp(50px, 7vw, 90px);
}
.about-page__wave-wrap {
  width: 100%;
  line-height: 0;
}
.about-page__waves {
  width: 100%;
  height: auto;
}
.about-page__inner {
  width: min(100% - 64px, 1160px);
  margin: 0 auto;
  padding-top: clamp(18px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.96fr);
  column-gap: clamp(48px, 6vw, 92px);
  row-gap: clamp(40px, 5vw, 66px);
  align-items: center;
}
.about-page__intro {
  align-self: start;
  padding-left: clamp(10px, 2vw, 34px);
}
.about-page__brand {
  width: min(100%, 310px);
  margin-bottom: 26px;
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.16));
}
.about-copy { max-width: 430px; }
.about-copy + .about-copy { margin-top: 44px; }
.about-copy h2,
.about-page__story h1,
.gallery-section__heading h2,
.certificates h2,
.mapa-contenedor h2 {
  margin: 0 0 18px;
  color: var(--azul-marca);
  font-family: var(--font-title);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
}
.about-copy p,
.about-page__story p {
  margin: 0;
  color: var(--azul-texto);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  font-weight: 400;
  line-height: 1.3;
}
.about-photo {
  margin: 0;
  justify-self: center;
}
.about-photo img {
  width: 100%;
  height: auto;
}
.about-photo--top {
  width: min(100%, 430px);
  justify-self: start;
}
.about-photo--large {
  grid-column: 1 / 2;
  width: min(100%, 520px);
}
.about-page__story {
  max-width: 450px;
  align-self: center;
  padding-right: clamp(0px, 2vw, 22px);
}
.about-page__story p + p { margin-top: 22px; }

/* Galería automática */
.gallery-section {
  background: var(--fondo-suave);
  padding: 0 0 clamp(48px, 6vw, 76px);
}
.gallery-section__inner {
  width: min(100% - 64px, 1280px);
  margin: 0 auto;
}
.gallery-section__heading {
  text-align: center;
  margin-bottom: 30px;
}
.gallery-carousel__viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}
.gallery-carousel__viewport.is-dragging { cursor: grabbing; }
.gallery-carousel__viewport::-webkit-scrollbar { display: none; }
.gallery-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  width: max-content;
}
.gallery-carousel__track.gallery-carousel__track--marquee {
  animation: gallery-marquee 36s linear infinite;
}
.gallery-carousel__viewport:hover .gallery-carousel__track.gallery-carousel__track--marquee,
.gallery-carousel__viewport:focus-within .gallery-carousel__track.gallery-carousel__track--marquee,
.gallery-carousel__viewport.is-dragging .gallery-carousel__track.gallery-carousel__track--marquee {
  animation-play-state: paused;
}
@keyframes gallery-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 11px)); }
}
.gallery-card {
  width: clamp(240px, 24vw, 340px);
  flex: 0 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: var(--blanco);
  box-shadow: var(--shadow-soft);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

/* Certificados */
.certificates {
  background: var(--fondo-suave);
  padding: 0 0 clamp(36px, 5vw, 50px);
}
.certificates__inner {
  width: min(100% - 64px, 1120px);
  margin: 0 auto;
  text-align: center;
}
.certificates h2 { margin-bottom: 34px; }
.certificates img {
  width: min(100%, 920px);
  margin: 0 auto;
  height: auto;
}

/* Mapa */
.mapa-nosotros {
  background: var(--fondo-suave);
  padding: 0 20px 16px;
}
.mapa-contenedor {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.mapa-contenedor h2 {
  margin-bottom: 26px;
}
.mapa-contenedor__frame {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0, 68, 120, 0.18);
}
.mapa-contenedor iframe {
  width: 100%;
  height: 420px;
  display: block;
}

/* Footer */
.site-footer {
  background: #ffffff;
}
.footer-features {
  width: min(100% - 56px, 1100px);
  margin: 34px auto 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: start;
  justify-items: center;
  text-align: center;
}
.footer-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.footer-feature img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.footer-feature p {
  margin: 0;
  color: var(--azul-profundo);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}
.footer-final {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}
.footer-final__content {
  position: relative;
  width: 100%;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.footer-final__wave {
  position: absolute;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.footer-final__wave--left { left: 0; width: min(48vw, 720px); }
.footer-final__wave--right { right: 0; width: min(32vw, 480px); }
.footer-final__logo {
  position: relative;
  z-index: 3;
  width: min(40vw, 380px);
  display: block;
}
.footer-final__logo img { width: 100%; height: auto; }
.footer-final__whatsapp {
  position: fixed;
  right: clamp(18px, 3vw, 48px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 9999;
  width: clamp(66px, 6vw, 96px);
  display: block;
  transition: transform 220ms ease;
}
.footer-final__whatsapp:hover { transform: scale(1.06); }
.footer-final__whatsapp img { width: 100%; height: auto; }
.footer-final__bottom {
  position: relative;
  z-index: 2;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  background: var(--footer-dark);
  text-align: center;
}
.footer-final__bottom p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  font-weight: 400;
}

/* Animaciones reveal */
.reveal {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 780ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left { transform: translateX(-54px); }
.reveal-right { transform: translateX(54px); }
.reveal-up { transform: translateY(52px); }
.reveal-down { transform: translateY(-52px); }
.reveal-zoom { transform: scale(0.92); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0) scale(1); }

/* Responsive */
@media (max-width: 1024px) {
  .main-nav { width: min(100% - 36px, 940px); min-height: 82px; }
  .main-nav__links { gap: 18px; font-size: 1rem; }
  .quote-button { min-height: 42px; padding-inline: 14px; }
  .brand { width: clamp(160px, 16vw, 230px); }

  .about-page__inner {
    width: min(100% - 44px, 920px);
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
  .about-page__intro { padding-left: 0; }
  .about-photo--top { width: min(100%, 390px); }
  .about-photo--large { width: min(100%, 500px); }

  .gallery-section__inner,
  .certificates__inner { width: min(100% - 44px, 960px); }
}

@media (max-width: 768px) {
  .top-bar__inner { width: min(100% - 18px, 720px); }
  .top-bar p { font-size: 0.9rem; }
  .main-nav { min-height: 74px; }
  .brand { width: 176px; }
  .menu-toggle { display: block; position: relative; z-index: 100; }

  .main-nav__links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }
  .main-nav__links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav__links a { width: auto; justify-self: center; text-align: center; justify-content: center; }
  .main-nav__links > a:not(.quote-button) { display: block; width: fit-content; margin-inline: auto; padding: 12px 0; }
  .main-nav__links .quote-button { width: fit-content; min-width: 260px; margin: 16px auto 0; justify-self: center; }

  .about-page__inner {
    width: min(100% - 36px, 620px);
    grid-template-columns: 1fr;
    row-gap: 34px;
    text-align: center;
    padding-top: 14px;
  }
  .about-page__brand { margin-inline: auto; width: min(90%, 290px); }
  .about-copy { max-width: 100%; }
  .about-copy + .about-copy { margin-top: 34px; }
  .about-photo--top,
  .about-photo--large {
    width: min(100%, 520px);
    justify-self: center;
    grid-column: 1;
  }
  .about-page__story { max-width: 100%; padding-right: 0; }
  .about-copy h2,
  .about-page__story h1,
  .gallery-section__heading h2,
  .certificates h2,
  .mapa-contenedor h2 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .gallery-section__inner,
  .certificates__inner {
    width: min(100% - 36px, 620px);
  }
  .gallery-carousel__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  .gallery-carousel__track.gallery-carousel__track--marquee { animation: none; }
  .gallery-card { width: min(82vw, 320px); scroll-snap-align: start; }

  .mapa-nosotros { padding-inline: 18px; }
  .mapa-contenedor iframe { height: 360px; }

  .footer-features {
    width: min(100% - 36px, 620px);
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 24px;
    margin-top: 26px;
    margin-bottom: 18px;
  }
  .footer-final__content { min-height: 190px; }
  .footer-final__logo { width: min(60vw, 300px); }
  .footer-final__wave--left { width: 72vw; }
  .footer-final__wave--right { width: 54vw; }
  .footer-final__whatsapp { right: 16px; bottom: 16px; width: 68px; }
  .footer-final__bottom { min-height: 72px; padding: 20px 70px 20px 20px; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 28px, var(--container)); }
  .top-bar p { font-size: 0.78rem; }
  .main-nav { width: min(100% - 28px, 460px); }
  .brand { width: 145px; }

  .about-page__inner,
  .gallery-section__inner,
  .certificates__inner {
    width: min(100% - 30px, 420px);
  }
  .about-copy p,
  .about-page__story p { font-size: 0.96rem; }
  .gallery-card { width: 86vw; border-radius: 18px; }
  .gallery-card img { aspect-ratio: 1.16 / 1; }
  .mapa-contenedor iframe { height: 300px; }

  .footer-features {
    grid-template-columns: repeat(2, 1fr);
    width: min(100% - 28px, 420px);
  }
  .footer-feature:last-child { grid-column: 1 / -1; justify-self: center; }
  .footer-final__content { min-height: 172px; }
  .footer-final__logo { width: 230px; }
  .footer-final__whatsapp { width: 58px; right: 12px; bottom: 12px; }
  .footer-final__bottom p { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ===== Ajuste final cliente: Nosotros - composición, textos y footer ===== */
.about-page__inner {
  width: min(100% - 64px, 1320px) !important;
  margin: clamp(-220px, -11vw, -130px) auto 0 !important;
  padding-top: 0 !important;
  grid-template-columns: minmax(440px, 0.92fr) minmax(540px, 1.08fr) !important;
  column-gap: clamp(52px, 6vw, 96px) !important;
  row-gap: clamp(42px, 5vw, 72px) !important;
}

.about-page__intro {
  max-width: 540px !important;
  padding-left: 0 !important;
  justify-self: end !important;
}

.about-page__brand {
  width: min(100%, 330px) !important;
  margin-bottom: 22px !important;
}

.about-copy {
  max-width: 540px !important;
}

.about-copy + .about-copy {
  margin-top: 40px !important;
}

.about-copy h2,
.about-page__story h1 {
  font-family: var(--font-title) !important;
  font-weight: 700 !important;
  font-synthesis: weight !important;
  color: var(--azul-marca) !important;
  font-size: clamp(2.1rem, 2.75vw, 3.55rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.025em !important;
  white-space: nowrap !important;
  margin-bottom: 16px !important;
}

.about-copy p,
.about-page__story p {
  color: #111111 !important;
  font-weight: 400 !important;
  font-size: clamp(1rem, 1.04vw, 1.16rem) !important;
  line-height: 1.34 !important;
}

.about-photo--top {
  width: min(100%, 670px) !important;
  justify-self: start !important;
}

.about-photo--large {
  width: min(100%, 740px) !important;
  justify-self: end !important;
}

.about-page__story {
  max-width: 520px !important;
  justify-self: start !important;
  padding-right: 0 !important;
}

.gallery-section__heading h2,
.certificates h2,
.mapa-contenedor h2 {
  white-space: nowrap !important;
}

/* Footer igual a Inicio: iconos alineados, jerarquía y distancias compactas */
.footer-features {
  width: min(100% - 56px, 1100px) !important;
  margin: 52px auto 18px !important;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  justify-items: center !important;
  text-align: center !important;
}

.footer-feature {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.footer-feature img {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
}

.footer-feature p {
  margin: 0 !important;
  color: var(--azul-profundo) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  text-transform: uppercase !important;
}

.footer-final__content {
  min-height: 185px !important;
  padding-top: 4px !important;
  padding-bottom: 0 !important;
}

.footer-final__logo {
  width: min(48vw, 500px) !important;
}

@media (max-width: 1200px) {
  .about-page__inner {
    width: min(100% - 54px, 1080px) !important;
    grid-template-columns: minmax(380px, 0.9fr) minmax(470px, 1.1fr) !important;
    column-gap: 46px !important;
    margin-top: clamp(-190px, -10vw, -105px) !important;
  }

  .about-photo--top {
    width: min(100%, 610px) !important;
  }

  .about-photo--large {
    width: min(100%, 650px) !important;
  }
}

@media (max-width: 1024px) {
  .about-page__inner {
    width: min(100% - 44px, 920px) !important;
    grid-template-columns: 1fr !important;
    margin-top: clamp(-135px, -10vw, -82px) !important;
    row-gap: 34px !important;
  }

  .about-page__intro,
  .about-page__story {
    max-width: 620px !important;
    justify-self: center !important;
    text-align: center !important;
  }

  .about-photo--top,
  .about-photo--large {
    width: min(100%, 720px) !important;
    justify-self: center !important;
    grid-column: 1 !important;
  }

  .about-copy h2,
  .about-page__story h1 {
    font-size: clamp(2.05rem, 5vw, 3rem) !important;
  }

  .footer-features {
    margin: 42px auto 14px !important;
    gap: 30px 24px !important;
  }

  .footer-final__content {
    min-height: 155px !important;
  }

  .footer-final__logo {
    width: min(72vw, 360px) !important;
  }
}

@media (max-width: 768px) {
  .about-page__inner {
    margin-top: -58px !important;
    width: min(100% - 36px, 620px) !important;
  }

  .about-page__brand {
    width: min(82%, 280px) !important;
  }

  .about-copy h2,
  .about-page__story h1 {
    font-size: clamp(1.72rem, 6.8vw, 2.45rem) !important;
    white-space: nowrap !important;
  }

  .about-copy p,
  .about-page__story p {
    font-size: 0.98rem !important;
  }

  .footer-features {
    grid-template-columns: repeat(3, 1fr) !important;
    width: min(100% - 36px, 620px) !important;
    gap: 30px 24px !important;
    margin: 34px auto 12px !important;
  }

  .footer-feature img {
    width: 54px !important;
    height: 54px !important;
  }

  .footer-feature p {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 480px) {
  .about-page__inner {
    margin-top: -42px !important;
  }

  .about-copy h2,
  .about-page__story h1 {
    font-size: clamp(1.5rem, 7.2vw, 2rem) !important;
    letter-spacing: -0.035em !important;
  }

  .footer-features {
    grid-template-columns: repeat(2, 1fr) !important;
    width: min(100% - 28px, 420px) !important;
    gap: 24px 18px !important;
    margin: 30px auto 8px !important;
  }

  .footer-feature:last-child {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
  }

  .footer-final__content {
    min-height: 122px !important;
  }

  .footer-final__logo {
    width: min(70vw, 300px) !important;
  }
}

/* ===== Ajuste extra cliente: logo superior más grande + footer más compacto ===== */
.about-page__intro {
  max-width: 640px !important;
}

.about-page__brand {
  width: min(100%, 560px) !important;
  margin-bottom: 18px !important;
}

.footer-features {
  margin: 24px auto 4px !important;
}

.footer-final__content {
  min-height: 118px !important;
  align-items: flex-end !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.footer-final__logo {
  width: min(44vw, 430px) !important;
  margin-bottom: -8px !important;
}

@media (max-width: 1024px) {
  .about-page__intro {
    max-width: 700px !important;
  }

  .about-page__brand {
    width: min(92%, 520px) !important;
  }

  .footer-features {
    margin: 20px auto 2px !important;
  }

  .footer-final__content {
    min-height: 110px !important;
  }
}

@media (max-width: 768px) {
  .about-page__brand {
    width: min(90%, 420px) !important;
  }

  .footer-final__content {
    min-height: 100px !important;
  }

  .footer-final__logo {
    width: min(70vw, 320px) !important;
    margin-bottom: -4px !important;
  }
}

@media (max-width: 480px) {
  .about-page__brand {
    width: min(92%, 360px) !important;
  }

  .footer-final__content {
    min-height: 92px !important;
  }

  .footer-final__logo {
    width: min(74vw, 280px) !important;
  }
}

/* ===== Ajuste extra: reducir aún más la distancia entre olas y logo en Nosotros ===== */
.about-page__inner {
  padding-top: 0 !important;
  margin-top: -34px !important;
}

.about-page__intro {
  margin-top: -10px !important;
}

@media (max-width: 1024px) {
  .about-page__inner {
    margin-top: -24px !important;
  }
}

@media (max-width: 768px) {
  .about-page__inner {
    margin-top: -12px !important;
  }

  .about-page__intro {
    margin-top: 0 !important;
  }
}

/* ===== Ajuste ultra agresivo: logo mucho más arriba y más pegado a las olas ===== */
.about-page__wave-wrap {
  margin-bottom: -58px !important;
}

.about-page__inner {
  padding-top: 0 !important;
  margin-top: -78px !important;
}

.about-page__intro {
  margin-top: -18px !important;
}

@media (max-width: 1280px) {
  .about-page__wave-wrap {
    margin-bottom: -46px !important;
  }

  .about-page__inner {
    margin-top: -64px !important;
  }
}

@media (max-width: 1024px) {
  .about-page__wave-wrap {
    margin-bottom: -34px !important;
  }

  .about-page__inner {
    margin-top: -42px !important;
  }

  .about-page__intro {
    margin-top: -10px !important;
  }
}

@media (max-width: 768px) {
  .about-page__wave-wrap {
    margin-bottom: -18px !important;
  }

  .about-page__inner {
    margin-top: -12px !important;
  }

  .about-page__intro {
    margin-top: 0 !important;
  }
}

/* ===== AJUSTE EXTRA AGRESIVO solicitado por usuario ===== */
@media (min-width: 769px) {
  .about-page__wave-wrap {
    margin-bottom: -150px !important;
  }

  .about-page__inner {
    padding-top: 0 !important;
    margin-top: -120px !important;
    align-items: start !important;
  }

  .about-page__intro {
    margin-top: -34px !important;
    padding-top: 0 !important;
  }

  .about-page__brand {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    width: min(100%, 620px) !important;
    max-width: 100% !important;
  }

  .about-photo--top {
    margin-top: -12px !important;
  }
}

@media (min-width: 1200px) {
  .about-page__wave-wrap {
    margin-bottom: -190px !important;
  }

  .about-page__inner {
    margin-top: -155px !important;
  }

  .about-page__intro {
    margin-top: -48px !important;
  }
}

/* ===== AJUSTE FINAL SOLICITADO: contenido metido dentro del marco de olas ===== */
@media (min-width: 769px) {
  .about-page__wave-wrap {
    margin-bottom: -300px !important;
  }

  .about-page__inner {
    padding-top: 0 !important;
    margin-top: -255px !important;
    align-items: start !important;
  }

  .about-page__intro {
    margin-top: -10px !important;
    padding-top: 0 !important;
  }

  .about-page__brand {
    width: min(100%, 640px) !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
  }

  .about-photo--top {
    margin-top: -8px !important;
  }
}

@media (min-width: 1200px) {
  .about-page__wave-wrap {
    margin-bottom: -355px !important;
  }

  .about-page__inner {
    margin-top: -305px !important;
  }
}

@media (max-width: 768px) {
  .about-page__wave-wrap {
    margin-bottom: -18px !important;
  }

  .about-page__inner {
    margin-top: -12px !important;
  }
}


/* ===== Ajuste mobile: imagen entre “Lo que hacemos hoy” y “Hacia dónde vamos” ===== */
.about-photo--mobile-between {
  display: none !important;
}

@media (max-width: 768px) {
  .about-photo--mobile-between {
    display: block !important;
    width: min(100%, 520px) !important;
    margin: 30px auto 34px !important;
  }

  .about-photo--mobile-between img {
    width: 100% !important;
    height: auto !important;
  }

  .about-page__intro .about-copy + .about-copy {
    margin-top: 0 !important;
  }

  .about-page__inner > .about-photo--top {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .about-photo--mobile-between {
    width: min(100%, 440px) !important;
    margin: 26px auto 30px !important;
  }
}


/* ===== Ajuste cliente final: más separación entre textos en web + fondo unificado ===== */
:root {
  --fondo-web-global: #f5f9ff;
}

body,
main,
.about-page,
.gallery-section,
.certificates,
.mapa-nosotros,
.site-footer,
.footer-final,
.footer-final__content {
  background: var(--fondo-web-global) !important;
}

.about-copy + .about-copy {
  margin-top: 64px !important;
}

@media (max-width: 768px) {
  .about-copy + .about-copy {
    margin-top: 42px !important;
  }
}

/* ===== Ajuste extra cliente: fondo uniforme + más separación entre textos ===== */
:root {
  --fondo-web: #f5f9ff;
}

body,
main,
.about-page,
.gallery-section,
.certificates,
.mapa-nosotros,
.site-footer,
.footer-features,
.footer-final,
.footer-final__content {
  background: var(--fondo-web) !important;
}

.about-copy {
  max-width: 540px !important;
}

.about-copy + .about-copy {
  margin-top: 72px !important;
}

.about-copy h2,
.about-page__story h1 {
  margin-bottom: 18px !important;
}

.about-copy p,
.about-page__story p {
  color: #111111 !important;
}

@media (max-width: 1024px) {
  .about-copy + .about-copy {
    margin-top: 56px !important;
  }
}

@media (max-width: 768px) {
  .about-copy + .about-copy {
    margin-top: 48px !important;
  }
}

/* ===== Ajuste final: ortografía visible + mayor separación entre bloques de texto ===== */
.about-page__intro .about-copy + .about-copy {
  margin-top: 108px !important;
}

@media (max-width: 1024px) {
  .about-page__intro .about-copy + .about-copy {
    margin-top: 84px !important;
  }
}

@media (max-width: 768px) {
  .about-page__intro .about-copy + .about-copy {
    margin-top: 56px !important;
  }
}

/* ===== Ajuste solicitado: separar claramente el primer párrafo del segundo bloque ===== */
.about-page__intro .about-copy--first p {
  margin-bottom: 56px !important;
}

.about-page__intro .about-copy--first + .about-copy {
  margin-top: 0 !important;
}

@media (max-width: 1024px) {
  .about-page__intro .about-copy--first p {
    margin-bottom: 52px !important;
  }
}

@media (max-width: 768px) {
  .about-page__intro .about-copy--first p {
    margin-bottom: 48px !important;
  }
}

@media (max-width: 480px) {
  .about-page__intro .about-copy--first p {
    margin-bottom: 44px !important;
  }
}

/* ===== Ajuste solicitado: eliminar íconos de este apartado y acercar logo al mapa ===== */
.footer-features {
  display: none !important;
}

.mapa-nosotros {
  padding-bottom: 8px !important;
}

.site-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.footer-final {
  margin-top: 0 !important;
}

.footer-final__content {
  min-height: 140px !important;
  align-items: flex-start !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.footer-final__logo {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .mapa-nosotros {
    padding-bottom: 6px !important;
  }

  .footer-final__content {
    min-height: 124px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

/* ===== Ajuste 2026-07-11: textos más grandes, sin cuadros blancos ===== */
.about-copy,
.about-page__story {
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  transform: none !important;
  transition: none !important;
}

.about-copy h2,
.about-page__story h1 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  text-shadow: none !important;
}

.about-copy p,
.about-page__story p {
  color: #111111 !important;
  font-size: clamp(1.15rem, 1.32vw, 1.42rem) !important;
  font-weight: 500 !important;
  line-height: 1.48 !important;
  letter-spacing: -0.01em;
}

/* Conserva una separación natural entre los bloques de la columna izquierda. */
.about-page__intro .about-copy--first p {
  margin-bottom: 0 !important;
}

.about-page__intro .about-copy--first + .about-copy {
  margin-top: 58px !important;
}

@media (max-width: 1024px) {
  .about-copy p,
  .about-page__story p {
    font-size: clamp(1.08rem, 1.9vw, 1.24rem) !important;
    line-height: 1.5 !important;
  }

  .about-page__intro .about-copy--first + .about-copy {
    margin-top: 46px !important;
  }
}

@media (max-width: 768px) {
  .about-copy p,
  .about-page__story p {
    font-size: 1.06rem !important;
    line-height: 1.56 !important;
  }

  .about-page__intro .about-copy--first + .about-copy {
    margin-top: 38px !important;
  }
}


/* =========================================================
   AJUSTE FINAL NOSOTROS 2026-07-12
   Distancia estable entre menú, olas y contenido en desktop/tablet.
   No modifica ninguna otra sección de la web.
   ========================================================= */
@media (min-width: 769px) {
  .about-page {
    position: relative !important;
    overflow: hidden !important;
  }

  /* Las olas parten inmediatamente bajo el menú y ya no dependen
     de márgenes negativos variables según el ancho del navegador. */
  .about-page__wave-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }

  /* Mantiene de forma constante la separación visual de la referencia:
     menú -> olas -> logo/información. */
  .about-page__inner {
    position: relative !important;
    z-index: 1 !important;
    margin: 0 auto !important;
    padding-top: clamp(42px, 3.4vw, 56px) !important;
    align-items: start !important;
  }

  .about-page__intro,
  .about-photo--top {
    margin-top: 0 !important;
  }
}


/* === Tipografía unificada: Figtree === */
body, p, li, a, label, input, textarea, select {
  font-family: var(--font-main);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
button, .btn, .button, [class*="cta"],
input[type="submit"], input[type="button"] {
  font-family: var(--font-title);
  font-weight: 900;
}

/* =========================================================
   Ajuste final aprobado: ancla del formulario + WhatsApp discreto
   ========================================================= */
#contacto {
  scroll-margin-top: calc(var(--topbar-height, 38px) + 84px);
}

.footer-final__whatsapp {
  width: clamp(34px, 3vw, 55px) !important;
  right: clamp(8px, 1.5vw, 24px) !important;
  bottom: max(6px, env(safe-area-inset-bottom)) !important;
}

@media (max-width: 768px) {
  .footer-final__whatsapp {
    width: 31px !important;
    right: max(7px, env(safe-area-inset-right)) !important;
    bottom: max(5px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 480px) {
  .footer-final__whatsapp {
    width: 29px !important;
    right: max(6px, env(safe-area-inset-right)) !important;
    bottom: max(4px, env(safe-area-inset-bottom)) !important;
  }
}



/* =========================================================
   Ajuste final: WhatsApp visible sin bloquear la navegación
   ========================================================= */
.footer-final__whatsapp {
  width: clamp(58px, 5vw, 78px) !important;
  right: clamp(10px, 1.6vw, 24px) !important;
  bottom: max(9px, env(safe-area-inset-bottom)) !important;
}

@media (max-width: 768px) {
  .footer-final__whatsapp {
    width: 54px !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 480px) {
  .footer-final__whatsapp {
    width: 48px !important;
    right: max(8px, env(safe-area-inset-right)) !important;
    bottom: max(7px, env(safe-area-inset-bottom)) !important;
  }
}
