/* =========================================================
   Campania · Landing comercial
   Escala base: diseño a 1920px  →  1rem = 10px (escala fluida)
   ========================================================= */

/* ---------- Fuentes (self-hosted) ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/outfit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --green: #1b4b44;
  --green-deep: #133531;
  --cream: #f6f3c1;
  --cream-soft: #f6f7e9;
  --cream-page: #f6f6e6;
  --olive: #abb57c;
  --white: #ffffff;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.33, 0, 0.25, 1);   /* para cambios de ancho: arranca y frena suave */
  --dur: 0.9s;

  --gutter: 14rem;           /* 140px @1920 — inset de contenido interior */
  --radius-card: 1.6rem;
}

/* Escala fluida: 10px @1920, proporcional hasta 1024px, fijo por debajo */
html { font-size: 10px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (min-width: 1024px) and (max-width: 1919px) { html { font-size: 0.5208vw; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: max(2.2rem, 15px);
  line-height: 1.35;
  color: var(--green);
  background: var(--cream-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }

/* Salto al contenido: visible sólo al tabular. Accesibilidad y buena práctica SEO. */
.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  padding: 1rem 1.8rem; border-radius: 999px;
  background: var(--green); color: var(--cream); font-size: max(1.6rem, 13px); font-weight: 600;
  transform: translateY(-150%); transition: transform 0.3s var(--ease-soft);
}
.skip-link:focus { transform: translateY(0); }

.container { width: 100%; padding-inline: var(--gutter); margin-inline: auto; }

/* ---------- Iconos ---------- */
.ico { width: 1em; height: 1em; flex: 0 0 auto; }
.ico--arrow { width: 1.15em; height: 1.15em; }
/* Glifo de WhatsApp extraído del asset del diseño y usado como máscara:
   así toma el color del texto y acompaña la inversión del hover. */
.ico--wa {
  display: block; width: 1.28em; height: 1.28em; background-color: currentColor;
  -webkit-mask: url("../assets/img/icon-wa-mask.png") center / contain no-repeat;
          mask: url("../assets/img/icon-wa-mask.png") center / contain no-repeat;
}
.ico--chev { width: 1.05em; height: 1.05em; }
.ico--pin { width: 0.95em; height: 0.95em; color: var(--olive); }

/* ---------- Botones ---------- */
/* Hover sin sombras: un relleno que barre desde la izquierda (y sale por la derecha),
   el ícono circular se vuelve sólido con la flecha calada, y la flecha avanza.
   --btn-fill = color que entra;  --ico-ink = color calado dentro del ícono. */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  border-radius: 999px; font-family: var(--font-body); font-weight: 600; line-height: 1;
  white-space: nowrap;
  transition: color 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft), transform 0.25s var(--ease-soft);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill, var(--green-deep));
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.55s var(--ease-soft);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: scale(0.985); }

/* Íconos */
.btn .ico { transition: transform 0.5s var(--ease-soft); }
.btn:hover .ico--arrow, .btn:hover .ico--chev { transform: translateX(0.22em); }
.btn:hover .ico--wa { transform: scale(1.08); }
.btn .ico--arrow circle { fill: transparent; transition: fill 0.45s var(--ease-soft); }
.btn .ico--arrow path { transition: stroke 0.45s var(--ease-soft); }
.btn:hover .ico--arrow circle { fill: currentColor; }
.btn:hover .ico--arrow path { stroke: var(--ico-ink); }
.ico--chev path { stroke: var(--ico-ink); transition: stroke 0.45s var(--ease-soft); }

/* Variantes: el relleno siempre contrasta con el fondo sobre el que vive el botón */
.btn--dark   { background: var(--green); color: var(--cream); --btn-fill: var(--olive); --ico-ink: var(--green); }
.btn--dark:hover { color: var(--green-deep); --ico-ink: var(--olive); }
.btn--cream  { background: var(--cream); color: var(--green); --btn-fill: var(--green-deep); --ico-ink: var(--cream); }
.btn--cream:hover { color: var(--cream); --ico-ink: var(--green-deep); }
.btn--outline { border: 1.5px solid var(--cream); color: var(--cream); background: rgba(27, 75, 68, 0.18); backdrop-filter: blur(2px); --btn-fill: var(--cream); --ico-ink: var(--green); }
.btn--outline:hover { color: var(--green); border-color: var(--cream); --ico-ink: var(--cream); }
.btn--sm  { height: 4.3rem; padding-inline: 2rem; font-size: max(1.8rem, 13px); }
.btn--md  { height: 7.4rem; padding-inline: 5.6rem; font-size: max(3rem, 17px); }
.btn--lg  { height: 6rem; padding-inline: 2.8rem; font-size: max(2.8rem, 17px); font-weight: 600; }
.btn--xs  { height: 3.3rem; padding-inline: 2rem; font-size: max(1.6rem, 12px); }
.btn--xs2 { height: 5.1rem; padding-inline: 3.6rem 3.4rem; gap: 0.75em; font-size: max(2.4rem, 13px); }
.btn--block { width: 100%; height: 5.6rem; font-size: max(2.4rem, 16px); }
.btn--wide  { width: 100%; height: 7.2rem; font-size: max(2.4rem, 16px); font-weight: 600; border-radius: 999px; }
/* El botón ancho NO hace el barrido de relleno: sobre una pieza de ~1600px el sólido
   cruzando de punta a punta es un movimiento enorme, y terminar en verde oscuro invierte
   media sección. Acá el hover es un cambio de tono mínimo; el gesto queda en el ícono. */
.btn--wide::before { content: none; }
/* OJO: este botón lleva data-reveal, y [data-reveal] declara su propia transition más
   abajo con la misma especificidad, así que la pisaba y el cambio de tono entraba seco.
   Por eso la transición va acá, con más especificidad y listando TODAS las propiedades:
   el delay escalonado del reveal sólo donde corresponde, y 0s en las del hover. */
.proyectos .btn--wide {
  transition:
    opacity var(--dur) var(--ease-smooth) var(--delay, 0ms),
    transform var(--dur) var(--ease-out) var(--delay, 0ms),
    background-color 0.6s var(--ease-soft) 0s,
    color 0.45s var(--ease-soft) 0s,
    scale 0.2s var(--ease-soft) 0s;
}
.btn--cream.btn--wide:hover,
.btn--cream.btn--wide:focus-visible { background: #eae7b3; color: var(--green); --ico-ink: #eae7b3; }
/* El ícono acompaña con el mismo tiempo, no antes. */
.btn--wide .ico--arrow circle,
.btn--wide .ico--arrow path { transition-duration: 0.6s; }
.btn--wide .ico { transition-duration: 0.6s; }
/* El click se atenúa: sobre 1600px un scale(0.985) mueve los bordes 12px. Va con la
   propiedad independiente `scale` para no chocar con el transform del reveal. */
.proyectos .btn--wide:active { scale: 0.996; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 6.6rem 5.57% 0;
  transition: padding 0.6s var(--ease-out);
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  height: 11.7rem; padding: 0 6.6rem 0 8.3rem;
  background: rgba(239, 240, 187, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: 0 0.8rem 3rem rgba(0, 0, 0, 0.08);
  transition: height 0.6s var(--ease-out), box-shadow 0.6s, background-color 0.6s;
}
.header__logo img { width: 24.6rem; height: auto; transition: width 0.6s var(--ease-out); }
.header__nav { display: flex; justify-content: center; gap: 4.8rem; font-size: max(1.8rem, 13px); font-weight: 400; }
.header__nav a { position: relative; padding: 0.4em 0; transition: opacity 0.3s; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out); }
.header__nav a:hover::after, .header__nav a.is-current::after { transform: scaleX(1); }
.header__toggle { display: none; }

.site-header.is-scrolled { padding-top: 1.6rem; }
.site-header.is-scrolled .header__bar { height: 8.4rem; background: rgba(246, 243, 193, 0.96); box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.14); }
.site-header.is-scrolled .header__logo img { width: 19rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  /* El alto real del hero: en pantallas anchas manda el 16:9, pero en una notebook
     (ancha y baja) manda el alto de ventana. El contenido se escalaba sólo con el ANCHO,
     así que en ese caso quedaba dimensionado para un hero mucho más alto del que hay
     y se metía debajo del menú.
     --hu ("unidad del hero") vale exactamente 1rem mientras manda el 16:9, y se achica
     en proporción cuando manda el alto. Todo el bloque de texto se mide en múltiplos
     de --hu, así que nunca deja de entrar. */
  --hero-h: min(100svh, 56.25vw);
  --hu: min(1rem, calc(var(--hero-h) * 0.009259));
  position: relative; isolation: isolate; overflow: hidden;
  height: var(--hero-h); min-height: 64rem;
  background: var(--green-deep);
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero__video, .hero__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__still { z-index: -1; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 53, 49, 0.35) 0%, rgba(19, 53, 49, 0) 30%),
    linear-gradient(90deg, rgba(19, 53, 49, 0.55) 0%, rgba(19, 53, 49, 0.15) 50%, rgba(19, 53, 49, 0) 100%),
    linear-gradient(0deg, rgba(19, 53, 49, 0.45) 0%, rgba(19, 53, 49, 0) 45%);
}
.hero__slides { position: relative; display: grid; padding-inline: calc(13 * var(--hu)); padding-bottom: calc(20 * var(--hu)); }
.hero__slide { grid-area: 1 / 1; color: var(--cream-soft); opacity: 0; visibility: hidden; transform: translateY(2.4rem); transition: opacity 1s var(--ease-smooth), transform 1.2s var(--ease-out), visibility 0s 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hero__kicker { display: inline-flex; width: fit-content; align-items: center; gap: 0.45em; font-family: var(--font-display); font-weight: 400; font-size: max(calc(4.4 * var(--hu)), 18px); letter-spacing: 0.01em; color: var(--cream); margin-bottom: calc(1.2 * var(--hu)); }
.hero__title { font-family: var(--font-display); font-weight: 300; font-size: max(calc(10 * var(--hu)), 40px); line-height: 0.92; letter-spacing: -0.015em; max-width: calc(76 * var(--hu)); }
.hero__title strong { font-weight: 700; }
.hero__title--xl { font-size: max(calc(10.8 * var(--hu)), 42px); max-width: calc(90 * var(--hu)); }
.hero__sub { margin-top: calc(2.6 * var(--hu)); font-family: var(--font-display); font-weight: 300; font-size: max(calc(2.6 * var(--hu)), 17px); line-height: 1.15; }
.hero__sub--lg { font-size: max(calc(3.3 * var(--hu)), 18px); }
.hero__slide .btn { margin-top: calc(3.8 * var(--hu)); }
.hero__dots { position: absolute; left: 50%; bottom: calc(6.6 * var(--hu)); transform: translateX(-50%); display: flex; gap: 1.2rem; z-index: 2; }
/* La barrita mide 4px de alto: como zona táctil es inusable en un celular. El ::before
   le agranda el área de toque a ~36px sin cambiar nada de lo que se ve. */
.hero__dots button { position: relative; width: 2.2rem; height: 0.4rem; border-radius: 4px; background: rgba(246, 243, 193, 0.55); transition: width 0.6s var(--ease-out), background-color 0.4s; }
.hero__dots button::before { content: ""; position: absolute; inset: -2rem -0.5rem; }
.hero__dots button.is-active { width: 7.6rem; background: var(--cream); }

/* =========================================================
   SECCIÓN 03 · GERENCIAMIENTO 365
   ========================================================= */
/* Desde v5 va después de Proyectos y antes de la franja de unidades. El mismo filete crema
   de 1rem que separa las bandas se repite arriba y abajo, para que el verde del panel de
   Proyectos y el olive de la franja no se peguen a la foto ni a la última banda. */
.gerencia { background: var(--cream-page); display: grid; gap: 1rem; padding-block: 1rem; }
.gerencia__feature { position: relative; isolation: isolate; overflow: hidden; height: 86.7rem; min-height: 56rem; display: flex; align-items: center; }
.gerencia__bg { position: absolute; inset: -8% 0; z-index: -1; background: url("../assets/img/gerencia-bg.jpg") center / cover no-repeat; will-change: transform; }
/* El recorte de la asesora entra por arriba y la franja la corta a la altura del muslo,
   igual que en el mockup: por eso va anclado arriba y mide un poco más que el bloque. */
.gerencia__person { position: absolute; left: 7.6%; top: 24%; height: 101%; z-index: 0; }
.gerencia__person img { height: 100%; width: auto; object-fit: contain; object-position: top; }
.gerencia__copy { position: relative; z-index: 1; margin-left: 48.9%; max-width: 51rem; color: var(--cream-soft); }
.gerencia__heading { font-weight: 400; margin: 0; }
.gerencia__label { display: block; font-family: var(--font-display); font-weight: 400; font-size: max(6.8rem, 30px); line-height: 1; }
.gerencia__365 { display: block; font-family: var(--font-display); font-weight: 400; font-size: max(25rem, 88px); line-height: 0.86; color: var(--cream); margin: 0.4rem 0 3rem -0.6rem; letter-spacing: -0.01em; }
.gerencia__arrow { width: 5.2rem; height: 5.2rem; color: var(--cream); margin-bottom: 2.4rem; }
.gerencia__text { font-size: max(2.2rem, 15px); line-height: 1.32; max-width: 51rem; }

.services { display: grid; gap: 1rem; }
.service {
  position: relative; isolation: isolate; overflow: hidden; height: 46.3rem; min-height: 26rem;
  display: flex; align-items: center; justify-content: space-between; padding: 0 13rem 0 18.3rem;
  color: var(--cream-soft); cursor: default;
}
.service__photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.service__veil { position: absolute; inset: 0; z-index: -1; background: var(--green); transition: transform 0.85s var(--ease-out); }
.service:hover .service__veil, .service:focus-within .service__veil { transform: translateY(-101%); }
.service:hover .service__photo { transform: scale(1); }
.service__desc { position: relative; max-width: 34rem; font-size: max(2rem, 14px); line-height: 1.3; padding: 2.6rem 0; }
.service__desc::before, .service__desc::after { content: ""; position: absolute; left: -18.3rem; width: calc(100% + 18.3rem + 20rem); height: 1px; background: rgba(246, 243, 193, 0.28); }
.service__desc::before { top: 0; } .service__desc::after { bottom: 0; }
.service__title { font-family: var(--font-display); font-weight: 800; font-size: max(16rem, 44px); line-height: 1; color: var(--cream); letter-spacing: -0.01em; transition: transform 0.9s var(--ease-out); }
.service:hover .service__title { transform: translateX(-0.6rem); }

/* =========================================================
   SECCIÓN 02 · PROYECTOS
   ========================================================= */
/* Desde v5 es la segunda sección: arranca pegada al hero. (El respiro crema que la
   separaba de las bandas de servicios ahora lo da .gerencia, que quedó debajo.) */
.proyectos { background: var(--cream-page); }
.proyectos > .container { background: var(--green); color: var(--cream); --gutter: 11.9rem; padding-block: 12.4rem 7.7rem; }
.proyectos__head { display: grid; grid-template-columns: minmax(0, 0.497fr) minmax(0, 1fr); align-items: start; column-gap: 4rem; }
.proyectos__title { font-family: var(--font-display); font-weight: 400; font-size: max(11.5rem, 40px); line-height: 0.92; color: var(--cream); letter-spacing: 0; margin-left: 0; }
.proyectos__intro { padding-top: 0; }
.proyectos__intro p { font-size: max(2.35rem, 15px); line-height: 1.107; }
.proyectos__intro p + p { margin-top: 2.6rem; }
.proyectos__intro strong { font-weight: 700; color: var(--cream); }

/* v5: quedan dos bloques (el 3 salió de la venta), así que las cards se ensanchan y la
   foto pasa a ser apaisada: 788×401 en el mockup, con el mismo alto que antes. */
.cards { display: flex; gap: 9.5rem; margin: 12.5rem 0 0; }
.card { flex: 1 1 0; min-width: 0; }
/* La transición se declara acá (y no en .card) porque [data-reveal] la pisaría:
   se listan las tres propiedades juntas, con el delay del reveal sólo donde corresponde. */
.cards .card {
  transition:
    flex-grow 0.85s var(--ease-soft) 0s,
    opacity var(--dur) var(--ease-smooth) var(--delay, 0ms),
    transform var(--dur) var(--ease-out) var(--delay, 0ms);
  will-change: flex-grow;
}
/* Sólo se reacomoda cuando el cursor está sobre una card, no al cruzar los espacios. */
.cards:has(.card:hover) .card { flex-grow: 0.91; }
.cards:has(.card:hover) .card:hover { flex-grow: 1.18; }
@supports not (selector(:has(*))) {
  .cards:hover .card { flex-grow: 0.91; }
  .cards:hover .card:hover { flex-grow: 1.18; }
}
.card__media { position: relative; overflow: hidden; border-radius: 2rem; aspect-ratio: 793 / 401; min-height: 0; background: var(--green-deep); }
/* El render es casi cuadrado: anclado arriba, como en el mockup (torre y cielo; el
   zócalo queda fuera del cuadro). */
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.02); transition: transform 1.1s var(--ease-soft); }
.card:hover .card__media img { transform: scale(1.05); }
/* Píldora de estado: va dentro de la foto, arriba a la izquierda. */
.card__status {
  position: absolute; top: 3.6rem; left: 2.5rem;
  padding: 0.25rem 2.5rem; border-radius: 999px;
  background: var(--cream); color: var(--green);
  font-size: max(2rem, 12px); font-weight: 600; line-height: 1.27; white-space: nowrap;
}
.card__eyebrow { margin-top: 3.8rem; font-size: max(1.5rem, 12px); letter-spacing: 0.08em; text-transform: uppercase; }
.card__name { margin-top: -0.1rem; font-family: var(--font-display); font-weight: 600; font-size: max(4.5rem, 24px); line-height: 1.05; letter-spacing: -0.01em; color: var(--cream); }

.proyectos .btn--wide { margin-top: 7.6rem; }

/* v5: la franja quedó sola, debajo de las bandas de servicios. Medidas del mockup:
   142px de alto y el texto ocupa ~1234px de ancho a 1920. */
.availability { background: var(--olive); color: var(--green); padding: 3.8rem 11.9rem; text-align: center; }
.availability p { display: inline-flex; align-items: center; justify-content: center; gap: 0.3em; font-family: var(--font-display); font-weight: 400; font-size: max(5.18rem, 18px); line-height: 1.2; }
.availability .ico { color: var(--green); flex: none; width: 1.03em; height: 1.03em; }

/* =========================================================
   SECCIÓN 04 · DESARROLLOS
   ========================================================= */
.desarrollos { background: linear-gradient(90deg, #f6f6e7 0%, #f6f3c2 100%); }
.desarrollos__card { background: var(--white); padding: 13.2rem 0 18.5rem; }
.desarrollos__head { display: grid; grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr); column-gap: 4rem; align-items: start; }
.desarrollos__title { font-family: var(--font-display); font-weight: 500; font-size: max(13.6rem, 42px); line-height: 0.88; letter-spacing: -0.02em; margin-left: 1.2rem; }
.desarrollos__intro { font-size: max(2.75rem, 16px); line-height: 1.31; max-width: none; padding-top: 0; }
.desarrollos__intro h3 { font-family: var(--font-body); font-weight: 700; font-size: max(3.7rem, 18px); line-height: 1.15; }
.desarrollos__intro h3 + p { margin-top: 0.2rem; }
.desarrollos__intro p + h3 { margin-top: 2.9rem; }
.dev { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); column-gap: 4rem; align-items: center; margin-top: 14.7rem; }
.desarrollos__head + .dev { margin-top: 15rem; }
/* El bloque va centrado contra la foto, pero un poco por encima del centro (como el mockup):
   el padding inferior empuja el contenido hacia arriba al centrarse. */
.dev__info { padding: 0 4rem 2.6rem 2.2rem; }
.dev__name { font-family: var(--font-body); font-weight: 700; font-size: max(6.1rem, 26px); line-height: 1.05; letter-spacing: -0.01em; }
.dev__place { display: flex; align-items: center; gap: 0.35em; margin-top: 2.2rem; font-size: max(3.65rem, 16px); }
.dev__info .btn { margin-top: 3.4rem; }
.dev__media { overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 884 / 462; background: var(--cream-page); }
.dev__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.02); transition: transform 1.6s var(--ease-out); }
/* La foto de M Residential ya viene recortada al cuadro exacto del mockup (884×462). */
.dev__media img[src*="m-residential"] { object-position: center; }
.dev:hover .dev__media img { transform: scale(1.07); }

/* =========================================================
   SECCIÓN 05 · TESTIMONIOS
   ========================================================= */
.testimonios { background: var(--green); color: var(--cream-soft); padding: 11rem 0 20rem; text-align: center; }
.testimonios__title { font-family: var(--font-display); font-weight: 500; font-size: max(9.3rem, 32px); line-height: 1.1; color: var(--cream); letter-spacing: -0.01em; }
.testimonios__intro { margin: 1.1rem auto 0; max-width: 125rem; font-size: max(3rem, 16px); line-height: 1.47; }
/* Cinco reseñas: 3 + 2, con la segunda fila centrada. Ancho de card y separación salen
   del mockup: tres cards de 435px con 37px entre sí, centradas. Cada card lleva un borde
   transparente de 3px (el de la destacada se ve), por eso 441px de caja y 31px de gap. */
.reviews { --rev-gap: 3.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rev-gap); max-width: 138.5rem; margin: 5.2rem auto 0; }
.reviews > .review { flex: 0 0 calc((100% - 2 * var(--rev-gap)) / 3); min-width: 0; }
/* Por debajo de 1280 tres columnas dejan ~30 caracteres por línea (el texto tiene piso de
   13px y la tarjeta no), así que ahí van de a dos (2 + 2 + 1, la última centrada). */
@media (min-width: 1024px) and (max-width: 1279px) {
  .reviews > .review { flex-basis: calc((100% - var(--rev-gap)) / 2); }
}
.review {
  background: var(--olive); color: var(--cream-soft); border-radius: 2.2rem; border: 3px solid transparent;
  padding: 2.8rem 3.4rem 3.8rem; display: flex; flex-direction: column; align-items: center;
}
/* Las tarjetas son también el objetivo del scroll reveal, que declara su propio `transition`
   sobre el mismo elemento. Por eso se listan acá las cinco propiedades juntas (con más
   especificidad) y el hover usa `translate` en vez de `transform`: así el lift del hover
   no hereda el retardo escalonado de la aparición. */
.reviews .review {
  transition:
    opacity var(--dur) var(--ease-smooth) var(--delay, 0ms),
    transform var(--dur) var(--ease-out) var(--delay, 0ms),
    translate 0.75s var(--ease-soft) 0s,
    background-color 0.75s var(--ease-soft) 0s,
    border-color 0.75s var(--ease-soft) 0s;
}
/* Al pasar el cursor la tarjeta se acerca al estado "destacado": se aclara y aparece
   un aro fino, en vez de una sombra proyectada. */
.reviews .review:hover { translate: 0 -0.5rem; background-color: #b7c08a; border-color: rgba(246, 243, 193, 0.45); }
.review__avatar { transition: border-color 0.75s var(--ease-soft), scale 0.75s var(--ease-soft); }
.review:hover .review__avatar { scale: 1.04; }
.review--featured { background: linear-gradient(160deg, #f6f7e7 0%, #f6f3c1 100%); color: var(--green); border-color: var(--olive); }
.reviews .review--featured:hover { border-color: var(--green); background-color: transparent; }
/* Sin fotos de los clientes, las iniciales se leen como una decisión de diseño;
   la silueta gris de relleno parecía un placeholder olvidado. */
.review__avatar {
  flex: none;
  width: 13.8rem; height: 13.8rem; border-radius: 50%; border: 3px solid var(--cream);
  background: rgba(19, 53, 49, 0.18);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 500; font-size: max(4.6rem, 22px);
  line-height: 1; letter-spacing: 0.02em; color: var(--cream);
}
.review--featured .review__avatar { background: rgba(27, 75, 68, 0.1); color: var(--green); }
/* Parejas: dos iniciales con "&" (con "NO" la de Nivia y Oscar se leía como la palabra). */
.review__avatar--pair { font-size: max(3.9rem, 19px); letter-spacing: -0.01em; }
.review--featured .review__avatar { border-color: var(--green); }
.review__name { margin-top: 2.2rem; font-family: var(--font-body); font-weight: 700; font-size: max(2.7rem, 18px); line-height: 1.15; }
.review__role { margin-top: 0.5rem; font-size: max(1.6rem, 12px); line-height: 1.3; opacity: 0.85; }
/* La comilla se alinea con el texto (que va a la izquierda), no con el bloque de
   identidad que queda centrado arriba. */
.review__quote { display: block; align-self: flex-start; margin-top: 2.2rem; font-family: var(--font-display); font-weight: 800; font-size: max(6.4rem, 36px); line-height: 0.5; height: 2.2rem; color: var(--green); }
.review--featured .review__quote { color: var(--green); }
.review__text { margin: 2.4rem 0 0; width: 100%; font-style: italic; font-size: max(1.7rem, 13px); line-height: 1.5; text-align: left; text-wrap: pretty; }

/* ---------- Testimonio en video ----------
   Video vertical (9:16) a la izquierda con el mismo radio que las cards, y a la derecha una
   frase textual de ella con el mismo juego light + bold del hero. Ocupa el mismo ancho que
   la grilla de reseñas, así las dos piezas apoyan sobre los mismos bordes. */
.vtest { display: grid; grid-template-columns: 40rem minmax(0, 72rem); justify-content: center; column-gap: 9rem; align-items: center; max-width: 138.5rem; margin: 6.4rem auto 0; padding-inline: 0.3rem; text-align: left; }
.vtest + .reviews { margin-top: 9.6rem; }
.vtest__media { position: relative; overflow: hidden; isolation: isolate; border-radius: 2.2rem; aspect-ratio: 9 / 16; background: var(--green-deep); }
.vtest__video { width: 100%; height: 100%; object-fit: cover; background: #000; transform: scale(1.01); transition: transform 1.2s var(--ease-soft); }
.vtest__media:not(.is-playing):hover .vtest__video { transform: scale(1.04); }
.vtest__media.is-playing .vtest__video { transform: none; }
/* Velo inferior: da contraste a la etiqueta "Con sonido". Se va al reproducir. */
.vtest__media::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(19, 53, 49, 0) 58%, rgba(19, 53, 49, 0.7) 100%); transition: opacity 0.5s var(--ease-soft); }
.vtest__play { position: absolute; inset: 0; z-index: 1; background: transparent; border: 0; padding: 0; cursor: pointer; }
/* El play va a 2/3 de la altura y no al centro: centrado le tapaba la cara. */
.vtest__play-ico { position: absolute; left: 50%; top: 66%; translate: -50% -50%; display: grid; place-items: center; width: 10.4rem; height: 10.4rem; border-radius: 50%; background: rgba(246, 243, 193, 0.92); color: var(--green); transition: scale 0.5s var(--ease-soft), background-color 0.5s var(--ease-soft); animation: vtest-ring 2.8s var(--ease-soft) 1.2s infinite; }
.vtest__play-ico svg { width: 40%; height: 40%; margin-left: 8%; }
.vtest__play:hover .vtest__play-ico, .vtest__play:focus-visible .vtest__play-ico { scale: 1.08; background-color: var(--cream); }
.vtest__play:focus-visible { outline-offset: -6px; border-radius: 2.2rem; }
@keyframes vtest-ring {
  0%   { box-shadow: 0 0 0 0 rgba(246, 243, 193, 0.42); }
  70%, 100% { box-shadow: 0 0 0 2.4rem rgba(246, 243, 193, 0); }
}
.vtest__badge {
  position: absolute; left: 2rem; bottom: 2rem; z-index: 1; pointer-events: none;
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.7rem 1.5rem 0.7rem 1.2rem; border-radius: 999px;
  background: rgba(19, 53, 49, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: var(--cream); font-size: max(1.6rem, 12px); font-weight: 600; line-height: 1.2;
}
.vtest__badge .ico { width: 1.3em; height: 1.3em; }
.vtest__play, .vtest__badge { transition: opacity 0.4s var(--ease-soft), visibility 0s linear 0s; }
.vtest__media.is-playing::after { opacity: 0; }
.vtest__media.is-playing .vtest__play,
.vtest__media.is-playing .vtest__badge { opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease-soft), visibility 0s linear 0.3s; }

/* Frase de confianza para el inversor del exterior (no un rótulo): va en minúsculas y un
   poco más grande que un kicker, para que se lea como frase y no como etiqueta. */
.vtest__kicker { display: flex; align-items: center; gap: 1.4rem; font-family: var(--font-body); font-size: max(2.2rem, 14px); font-weight: 600; line-height: 1.3; letter-spacing: 0.01em; color: var(--olive); text-wrap: balance; }
.vtest__kicker::before { content: ""; flex: none; width: 4rem; height: 2px; background: currentColor; }
.vtest__quote { position: relative; margin: 3rem 0 0; font-family: var(--font-display); font-weight: 300; font-size: max(6.4rem, 28px); line-height: 1.08; letter-spacing: -0.015em; color: var(--cream); text-wrap: balance; }
.vtest__quote strong { font-weight: 600; }
/* Comilla colgada a la izquierda del texto, en olive (la misma de las cards, más grande). */
.vtest__mark { position: absolute; left: -0.55em; top: -0.02em; font-weight: 800; color: var(--olive); }
.vtest__text { margin-top: 3rem; max-width: 64rem; font-size: max(2.2rem, 15px); line-height: 1.5; color: var(--cream-soft); opacity: 0.9; }
.vtest__who { display: flex; flex-direction: column; gap: 0.6rem; max-width: 64rem; margin-top: 3.2rem; padding-top: 2.6rem; border-top: 1px solid rgba(246, 243, 193, 0.22); }
.vtest__who strong { font-size: max(2.2rem, 16px); font-weight: 700; color: var(--cream); }
.vtest__who span { display: inline-flex; align-items: center; gap: 0.4em; font-size: max(1.8rem, 13px); color: var(--cream-soft); opacity: 0.85; }
.vtest__cta { margin-top: 3.8rem; height: 6.2rem; padding-inline: 3.4rem 2.8rem; gap: 0.6em; font-size: max(2.2rem, 15px); }
.vtest__cta-time { font-weight: 400; opacity: 0.7; }
.vtest__cta .ico--playc { width: 1.25em; height: 1.25em; margin-left: 0.15em; }
.btn .ico--playc circle { transition: fill 0.45s var(--ease-soft); }
.btn .ico--playc path { transition: fill 0.45s var(--ease-soft); }
.btn:hover .ico--playc circle { fill: currentColor; }
.btn:hover .ico--playc path { fill: var(--ico-ink); }
@media (min-width: 1024px) and (max-width: 1279px) {
  .vtest { grid-template-columns: 48rem minmax(0, 1fr); column-gap: 7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vtest__play-ico { animation: none; }
}

/* =========================================================
   SECCIÓN 06 · BANNER SUDAMERIS
   ========================================================= */
.banner { background: linear-gradient(180deg, var(--cream-page) 0 33%, var(--green) 33% 100%); }
.banner__inner img { width: 100%; height: auto; }
.banner__inner picture { display: block; }

/* Teléfono y mail son los CTA táctiles de la sección: el ::before les da 40px de alto
   de zona de toque sin alterar el interlineado del bloque. */
.contact-list a { position: relative; }
.contact-list a::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4rem; transform: translateY(-50%); }

/* =========================================================
   SECCIÓN 07 · CONTACTO
   ========================================================= */
.contacto { position: relative; isolation: isolate; overflow: hidden; background: var(--green); color: var(--cream-soft); padding: 9.2rem 0 8rem; --gutter: 17.3rem; }
.contacto__bg { position: absolute; inset: -8% 0; z-index: -1; background: var(--green) url("../assets/img/contacto-bg.jpg") center / cover no-repeat; will-change: transform; }
.contacto__grid { display: grid; grid-template-columns: 1fr 76rem; column-gap: 6rem; align-items: start; }
.contacto__info { padding-top: 5.2rem; }
.contacto__title { font-family: var(--font-display); font-weight: 400; font-size: max(12rem, 46px); line-height: 0.9; color: var(--cream); letter-spacing: -0.015em; margin-left: -0.6rem; }
.contacto__text { margin-top: 2.8rem; max-width: 59rem; font-size: max(2.6rem, 16px); line-height: 1.32; }
.contact-list { display: grid; gap: 2.4rem; margin-top: 5.6rem; }
.contact-list li { display: flex; align-items: center; gap: 2.4rem; }
.contact-list img { width: 5.8rem; height: 5.8rem; flex: 0 0 auto; }
.contact-list__label { display: block; font-size: max(1.6rem, 11px); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream); line-height: 1.1; }
.contact-list a, .contact-list address { font-size: max(2.6rem, 16px); font-weight: 700; line-height: 1.1; color: var(--cream-soft); }
.contact-list a { transition: color 0.3s; } .contact-list a:hover { color: var(--cream); }
.contacto__logo { width: 41.4rem; margin-top: 6.4rem; }
.social { display: flex; gap: 1rem; margin-top: 4.4rem; }
.social a { display: block; border-radius: 50%; transition: transform 0.5s var(--ease-out); }
.social a:hover { transform: translateY(-3px) scale(1.06); }
.social img { width: 5.6rem; height: 5.6rem; }

.contact-form { background: var(--cream); color: var(--green); border-radius: 2.4rem; padding: 7.2rem 8.1rem 9.4rem; box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.25); }
.contact-form__title { font-family: var(--font-body); font-weight: 700; font-size: max(5.6rem, 26px); line-height: 1.1; margin-bottom: 4.4rem; letter-spacing: -0.01em; }
.field + .field { margin-top: 2.8rem; }
.field label { display: block; font-size: max(2.5rem, 14px); font-weight: 600; margin-bottom: 1.1rem; }
.field input, .field select {
  width: 100%; height: 4.8rem; min-height: 40px; padding: 0 1.6rem; border: 1.5px solid transparent; border-radius: 0.8rem;
  background: var(--white); color: var(--green); font: inherit; font-size: max(1.6rem, 13px);
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%231b4b44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.2rem center; background-size: 1.6em; padding-right: 3.6rem; }
.field select:invalid, .field select option[value=""] { color: #9a9a8c; }
.field select option { color: var(--green); }
.field input::placeholder { color: #9a9a8c; font-size: max(1.8rem, 13px); }
.field input:focus, .field select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(171, 181, 124, 0.35); }
.field.is-error input, .field.is-error select { border-color: #c95b4a; }
.contact-form__msg { min-height: 1.4em; margin: 3rem 0 2.2rem; font-size: max(1.6rem, 13px); font-weight: 600; }
.contact-form__msg.is-error { color: #b4462f; }
.contact-form__msg.is-ok { color: #2d7a3a; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--cream); color: var(--green); padding: 4.6rem var(--gutter); }
.footer p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem; font-size: max(2rem, 13px); }
.footer img { width: 12rem; height: auto; }

/* =========================================================
   WHATSAPP FLOTANTE
   Píldora que se expande en hover. Entra recién al pasar el hero:
   arriba ya está el CTA grande y no tiene sentido competir con él.
   Para usar el verde de WhatsApp en vez del de la marca, cambiá
   --wa-bg por #25d366 y --wa-ink por #ffffff.
   ========================================================= */
.wa-float {
  --wa-bg: var(--green);
  --wa-ink: var(--cream);
  --wa-size: clamp(56px, 6.2rem, 66px);

  position: fixed; right: max(2.4rem, 18px); bottom: max(2.4rem, 18px); z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  height: var(--wa-size); padding: 0; border-radius: 999px;
  background: var(--wa-bg); color: var(--wa-ink);
  box-shadow: 0 0.6rem 2rem rgba(19, 53, 49, 0.28);
  overflow: hidden;

  /* estado oculto: no interfiere con el hero */
  opacity: 0; visibility: hidden; translate: 0 1.2rem; scale: 0.9;
  transition:
    opacity 0.5s var(--ease-soft),
    translate 0.6s var(--ease-soft),
    scale 0.6s var(--ease-soft),
    background-color 0.45s var(--ease-soft),
    color 0.45s var(--ease-soft),
    visibility 0s 0.6s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }

.wa-float__icon {
  width: var(--wa-size); height: var(--wa-size);
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-size: 54% 54%; mask-size: 54% 54%;
  transition: scale 0.5s var(--ease-soft);
}
/* La etiqueta ocupa ancho sólo en hover: la píldora se abre hacia la izquierda.
   Se anima max-width (no width) para no depender de medir el texto. */
.wa-float__label {
  max-width: 0; opacity: 0; padding-right: 0;
  overflow: hidden; white-space: nowrap;
  font-weight: 600; font-size: max(2rem, 15px); line-height: 1;
  transition:
    max-width 0.55s var(--ease-soft),
    opacity 0.4s var(--ease-soft),
    padding-right 0.55s var(--ease-soft);
}
.wa-float:hover, .wa-float:focus-visible { --wa-bg: var(--green-deep); }
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { max-width: 14rem; opacity: 1; padding-right: 2.4rem; }
.wa-float:hover .wa-float__icon, .wa-float:focus-visible .wa-float__icon { scale: 1.06; }

/* En táctil no hay hover: el botón queda como ícono, compacto */
@media (hover: none) {
  .wa-float__label { display: none; }
}
@media (max-width: 1023px) {
  .wa-float { --wa-size: 56px; right: 16px; bottom: 16px; }
}

/* Mientras el modal o el menú móvil están abiertos, se aparta */
body.modal-open .wa-float { opacity: 0; visibility: hidden; pointer-events: none; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .wa-float { translate: 0 0; scale: 1; }
}

/* La clase modal-open la pone el menú móvil: bloquea el scroll del fondo. */
body.modal-open { overflow: hidden; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(3rem); transition: opacity var(--dur) var(--ease-smooth), transform var(--dur) var(--ease-out); transition-delay: var(--delay, 0ms); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-4rem); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__video { display: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1023px) {
  :root { --gutter: 5vw; }
  html { font-size: 10px; }

  /* Header */
  .site-header { padding: 1.6rem 4vw 0; }
  /* Sin backdrop-filter en móvil: crea un bloque contenedor que impide que el
     menú (position: fixed) cubra la pantalla — y además ahorra una capa cara de blur. */
  .header__bar {
    height: 6.8rem; padding: 0 1rem 0 2.2rem; grid-template-columns: auto 1fr auto;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgb(239, 240, 187);
  }
  .header__logo img { width: 15rem; }
  .header__cta { display: none; }
  .header__nav {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; justify-content: center; align-items: center; gap: 3.2rem;
    background: rgba(27, 75, 68, 0.97); color: var(--cream); font-family: var(--font-display); font-size: 3rem;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s;
  }
  .header__nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s; }
  /* El nav es position:fixed, así que no ocupa columna: el botón se alinea al borde derecho. */
  .header__toggle { display: grid; gap: 5px; width: 4.4rem; height: 4.4rem; place-content: center; justify-self: end; position: relative; z-index: 70; }
  .header__toggle span { display: block; width: 2.2rem; height: 2px; background: var(--green); border-radius: 2px; transition: transform 0.4s var(--ease-out), opacity 0.3s, background-color 0.3s; }
  .header__toggle[aria-expanded="true"] span { background: var(--cream); }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.is-scrolled { padding-top: 1rem; }
  .site-header.is-scrolled .header__bar { height: 6rem; background: rgb(246, 243, 193); }
  .site-header.is-scrolled .header__logo img { width: 13rem; }

  /* Hero */
  /* --hu vuelve a 1rem: la unidad del hero sale de min(100svh, 56.25vw), que en un celular
     da ~2px y dejaba el título en una columna de 160px (una palabra por renglón). */
  .hero { height: auto; min-height: 100svh; --hu: 1rem; }
  .hero__slides { padding: 16rem var(--gutter) 10rem; }
  .hero__title, .hero__title--xl { font-size: clamp(3.6rem, 9vw, 6.4rem); }
  .hero__kicker { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
  .hero__sub, .hero__sub--lg { font-size: clamp(1.7rem, 4vw, 2.2rem); }
  .hero__dots { bottom: 3.6rem; }

  /* Gerencia */
  .gerencia { gap: 0.6rem; padding-block: 0.6rem; }
  .gerencia__feature { height: auto; min-height: 0; flex-direction: column; align-items: stretch; padding-top: 5rem; }
  /* `top: auto` es obligatorio: en escritorio el recorte va con top: 24% y position:
     absolute; acá pasa a relative, donde ese mismo top la empuja 24% hacia abajo y deja
     un hueco enorme entre el texto y la foto. */
  .gerencia__person { position: relative; left: auto; top: auto; order: 2; height: auto; width: min(76%, 46rem); margin: 2.4rem auto 0; }
  .gerencia__person img { width: 100%; height: auto; }
  .gerencia__copy { margin: 0; padding: 0 var(--gutter); max-width: none; order: 1; }
  .gerencia__label { font-size: 3.4rem; }
  .gerencia__365 { font-size: 11rem; margin-bottom: 2rem; }
  .gerencia__arrow { width: 4rem; height: 4rem; margin-bottom: 1.6rem; }
  .gerencia__text { font-size: 1.6rem; max-width: 52rem; }
  .services { gap: 0.6rem; }
  .service { height: auto; min-height: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; padding: 4.4rem var(--gutter); }
  .service__desc { padding: 1.6rem 0; font-size: 1.5rem; max-width: 40rem; }
  .service__desc::before, .service__desc::after { left: calc(-1 * var(--gutter)); width: calc(100% + 2 * var(--gutter)); }
  .service__title { font-size: clamp(4.8rem, 13vw, 9rem); align-self: flex-end; }
  .service__veil { transform: translateY(-101%); }           /* en táctil mostramos la foto */
  .service__photo { transform: none; }

  /* Proyectos */
  .proyectos > .container { --gutter: 5vw; padding-block: 7rem; }
  .proyectos__head { grid-template-columns: 1fr; row-gap: 3rem; }
  .proyectos__title { font-size: clamp(4.4rem, 12vw, 8rem); }
  .proyectos__intro { margin-left: 0; padding-top: 0; }
  .proyectos__intro p { font-size: 1.6rem; line-height: 1.45; }
  .proyectos__intro p + p { margin-top: 1.4rem; }
  .btn--md { height: 5.6rem; padding-inline: 3rem; font-size: 1.8rem; }
  .cards { flex-direction: column; gap: 3.2rem; margin: 5rem 0 0; }
  .cards:hover .card, .cards:hover .card:hover { flex: 1 1 auto; }
  .card__media { height: auto; aspect-ratio: 16 / 11; min-height: 0; }
  .card__status { top: 1.4rem; left: 1.4rem; padding: 0.4rem 1.2rem; font-size: 1.3rem; }
  .card__eyebrow { margin-top: 1.6rem; font-size: 1.2rem; }
  .card__name { font-size: 2.4rem; }
  .proyectos .btn--wide { margin-top: 3.6rem; height: 5.4rem; font-size: 1.6rem; }
  .availability { padding: 2.8rem var(--gutter); }
  /* En móvil el texto ocupa dos líneas: con inline-flex la flecha se iba contra el borde
     izquierdo y el texto se centraba sólo en lo que sobraba, así que el conjunto quedaba
     descentrado. En bloque, la flecha entra en el renglón y centra todo junto. */
  .availability p { display: block; font-size: clamp(1.8rem, 4.6vw, 2.6rem); text-wrap: balance; }
  .availability p .ico { display: inline-block; vertical-align: -0.2em; margin-right: 0.25em; }

  /* Desarrollos */
  .desarrollos__card { padding: 7rem 0 7rem; }
  .desarrollos__head { grid-template-columns: 1fr; row-gap: 2.4rem; }
  /* En móvil el título va centrado. Además se anula el margin-left de 1.2rem que en
     escritorio compensa el bearing de la tipografía: acá dejaba el título 12px corrido
     a la derecha respecto del texto de abajo. */
  .desarrollos__title { font-size: clamp(4.2rem, 11vw, 7.6rem); margin-left: 0; text-align: center; }
  .desarrollos__intro { font-size: 1.6rem; line-height: 1.45; padding-top: 0; }
  .desarrollos__intro h3 { font-size: 1.8rem; }
  .desarrollos__intro h3 + p { margin-top: 0.2rem; }
  .desarrollos__intro p + h3 { margin-top: 2rem; }
  .dev { grid-template-columns: 1fr; row-gap: 2.4rem; margin-top: 6rem; }
  .desarrollos__head + .dev { margin-top: 7rem; }
  .dev__media { order: -1; }
  .dev__info { padding: 0; }
  .btn--xs2 { padding-inline: 2.2rem; gap: 0.5em; font-size: 2rem; }
  .dev__name { font-size: 2.8rem; }
  .dev__place { font-size: 1.7rem; margin-top: 1rem; }
  .dev__info .btn { margin-top: 1.8rem; }

  /* Testimonios */
  .testimonios { padding: 7rem 0 8rem; }
  .testimonios__title { font-size: clamp(3rem, 8vw, 5.2rem); }
  .testimonios__intro { font-size: 1.6rem; }
  .reviews { --rev-gap: 2.4rem; flex-direction: column; flex-wrap: nowrap; max-width: 44rem; margin: 5rem auto 0; }
  .reviews > .review { flex-basis: auto; }
  .review { min-height: 0; padding: 3.2rem 2.8rem 3.4rem; }
  .review__avatar { width: 9.6rem; height: 9.6rem; font-size: 3.4rem; }
  .review__avatar--pair { font-size: 2.9rem; }
  /* Testimonio en video: en móvil primero la frase y después el video, que ya trae su
     propio botón de play (el botón de texto se oculta para no duplicar la acción). */
  .vtest { grid-template-columns: 1fr; row-gap: 3.2rem; max-width: 44rem; margin-top: 4.4rem; padding-inline: 0; text-align: center; }
  .vtest + .reviews { margin-top: 5.6rem; }
  .vtest__copy { order: -1; }
  .vtest__media { width: min(100%, 36rem); margin-inline: auto; border-radius: 2rem; }
  /* En móvil la frase ocupa dos renglones: el filete pasa arriba, centrado. */
  .vtest__kicker { flex-direction: column; justify-content: center; font-size: 1.6rem; gap: 1.2rem; }
  .vtest__kicker::before { width: 3.2rem; }
  .vtest__quote { margin-top: 1.8rem; font-size: clamp(2.8rem, 7.6vw, 3.6rem); }
  .vtest__mark { position: static; margin-right: 0.08em; }
  .vtest__text { margin: 1.8rem auto 0; font-size: 1.6rem; }
  .vtest__who { align-items: center; margin: 2rem auto 0; padding-top: 1.8rem; }
  .vtest__who strong { font-size: 1.7rem; }
  .vtest__who span { font-size: 1.5rem; }
  .vtest__cta { display: none; }
  .vtest__play-ico { width: 8rem; height: 8rem; }
  .vtest__badge { left: 1.4rem; bottom: 1.4rem; font-size: 1.3rem; }

  /* Banner */
  .banner { background: linear-gradient(180deg, var(--cream-page) 0 40%, var(--green) 40% 100%); }

  /* Contacto */
  /* Hay que resetear --gutter acá: la variable está declarada sobre .contacto
     (17.3rem), y una media query en :root NO la pisa porque el elemento gana. */
  .contacto { padding: 7rem 0 6rem; --gutter: 5vw; }
  .contacto__grid { grid-template-columns: 1fr; row-gap: 5rem; }
  .contacto__info { padding: 0; }
  .contacto__title { font-size: clamp(5rem, 14vw, 8.6rem); }
  .contacto__text { font-size: 1.6rem; margin-top: 2rem; }
  .contact-list { margin-top: 3.6rem; gap: 2rem; }
  .contact-list li { gap: 1.6rem; }
  .contact-list img { width: 4.8rem; height: 4.8rem; }
  .contact-list a, .contact-list address { font-size: 1.7rem; }
  .contact-list__label { font-size: 1.2rem; }
  .contacto__logo { width: min(60%, 30rem); margin-top: 4rem; }
  .social { margin-top: 2.8rem; }
  .social img { width: 4.8rem; height: 4.8rem; }
  .contact-form { padding: 4rem 2.8rem 3.6rem; border-radius: 2rem; }
  .contact-form__title { font-size: 2.8rem; margin-bottom: 2.6rem; }
  .field label { font-size: 1.5rem; }
  .field + .field { margin-top: 1.6rem; }
  .btn--block { height: 5.4rem; font-size: 1.7rem; }

  /* Footer */
  .footer { padding: 3rem var(--gutter); }
  .footer p { font-size: 1.4rem; gap: 1rem; }
  .footer img { width: 9rem; }

  /* Modal */
}

@media (min-width: 640px) and (max-width: 1023px) {
  .cards { flex-direction: row; flex-wrap: wrap; }
  .card { flex: 1 1 calc(50% - 1.6rem); }
  .contact-form { max-width: 64rem; }
}

@media (max-width: 480px) {
  .hero__slides { padding-top: 13rem; }
  .btn--lg { height: 5.2rem; padding-inline: 2.2rem; font-size: 1.7rem; }
  .gerencia__365 { font-size: 9rem; }
}
