*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --cream: #F4EFE4;
    --ivory: #F7F5F0;
    --bone: #E5DFD0;
    --green-deep: #1E3A28;
    --green-forest: #2D4A35;
    --green-olive: #5C6E3A;
    --green-light: #8FA870;
    --text-dark: #1a2818;
    --text-muted: #6b6b5e;
    --white: #FEFDFB;
    /* Unified premium background for every section after Hero */
    --bg-surface-light: var(--ivory);
    --bg-surface: var(--green-deep);
    --text-on-surface: var(--cream);
    --text-on-surface-muted: rgba(244,239,228,0.6);
    --text-on-surface-faint: rgba(244,239,228,0.4);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-surface-light);
    color: var(--text-dark);
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: normal;
  }
  .nav-logo {
    display: flex;
    align-items: center;
    line-height: 0;
  }
  .nav-logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
  }
  @media (max-width: 768px) {
    .nav-logo img {
      height: 26px;
    }
  }
  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: #fff; }

  /* ─── TICKER ─── */
  .ticker-wrap {
    position: relative;
    z-index: 5;
    background: var(--bg-surface-light);
    border-radius: 40px 40px 0 0;
    margin-top: -66px;
    padding: 26px 24px 26px;
    box-shadow: 0 -50px 50px rgba(20,30,20,0.14);
  }
  .ticker-pill {
    overflow: hidden;
    background: rgba(142,158,112,0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 18px 0;
    white-space: nowrap;
    border-radius: 100px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .ticker-track {
    display: inline-block;
    animation: ticker 22s linear infinite;
  }
  .ticker-track span {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream);
    padding: 0 40px;
  }
  .ticker-track span em {
    font-style: normal;
    color: rgba(244,239,228,0.5);
    margin: 0 14px;
  }
  @keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ─── HERO ─── */
  #hero {
    position: relative;
    height: 96vh;
    min-height: 672px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .hero-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    animation: heroZoom 14s ease-out forwards;
    will-change: transform;
  }
  @keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0); }
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(18,38,22,0.55) 0%, rgba(30,58,40,0.42) 60%, rgba(18,38,22,0.65) 100%);
  }
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: -48px;
  }
  .hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
  }
  .hero-logo-img {
    width: clamp(460px, 72vw, 1120px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 40px rgba(0,0,0,0.35));
    opacity: 0;
    animation: fadeUp 0.9s 0.5s forwards;
  }
  @media (max-width: 600px) {
    .hero-logo-img {
      width: 84vw;
    }
  }
  .hero-tagline {
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.82);
    max-width: none;
    white-space: nowrap;
    line-height: 1.55;
    text-align: center;
    opacity: 0;
    animation: fadeUp 1s 0.8s forwards;
  }
  .hero-scroll {
    position: absolute;
    bottom: calc(80px + 5vh);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: heroScrollFadeUp 1s 1.4s forwards;
  }

  /* Keep the horizontal centering during the entrance animation.
     The generic fadeUp keyframe uses transform: translateY(...), which
     overrides translateX(-50%) on .hero-scroll and shifts the whole block. */
  @keyframes heroScrollFadeUp {
    from { opacity: 0; transform: translateX(-50%) translateY(24px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
  }
  .hero-scroll p {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    text-align: center;
  }
  .scroll-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    animation: arrowFloat 1.8s ease-in-out infinite;
  }
  @keyframes arrowFloat {
    0%,100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(6px); opacity: 0.8; }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ─── TICKER BELOW HERO ─── */

  /* ─── OFERTA ─── */
  #oferta {
    background: var(--bg-surface-light);
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
  }
  .oferta-inner {
    max-width: 1400px;
    margin: 0 auto;
  }
  .oferta-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 56px;
  }
  .oferta-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(18px, 5vw, 51px);
    color: var(--green-deep);
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
    text-align: center;
  }

  .mobile-break { display: none; }
  .oferta-desc {
    font-size: clamp(17px, 4vw, 26px);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1.5;
    margin-top: 24px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }
  .oferta-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
  }
  .oferta-arrow {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(92,110,58,0.3);
    background: transparent;
    color: var(--green-deep);
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
  }
  .oferta-arrow:hover {
    background: rgba(92,110,58,0.08);
    border-color: var(--green-olive);
    transform: translateY(-1px);
  }
  .oferta-viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .oferta-track {
    display: flex;
    align-items: center;
    /* gap kept in sync with JS ofertaGetGap() (19.2px desktop, 12.8px mobile) */
    gap: 19.2px;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
  }
  .oferta-slide {
    /* width set precisely in px by JS (ofertaLayout) so exactly
       `perView` slides + gaps fill the viewport, with no clipping */
    flex: 0 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .oferta-img {
    /* Image itself sits smaller within its slide (~82% width) so there is
       generous, even breathing room around it — a lighter, more premium feel
       without cropping or distorting the picture. */
    width: 82%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 210 / 297;
    object-fit: contain;
    border-radius: 24px;
    display: block;
  }


  /* ─── NOSOTROS ─── */
  #porque {
    background: var(--bg-surface-light);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
  }
  .nosotros-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 88px;
  }
  .nosotros-intro-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 6vw, 72px);
    color: var(--green-deep);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
  }
  .nosotros-intro-sub {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-olive);
    margin-top: 22px;
  }
  .nosotros-intro-body {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 24px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .nosotros-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .nosotros-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-surface-light);
  }
  .nosotros-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.1s ease;
    will-change: opacity, transform;
  }
  .nosotros-slide.is-active {
    opacity: 1;
    z-index: 2;
    animation: nosotrosSlowZoom 3.4s ease-out forwards;
  }
  @keyframes nosotrosSlowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
  }
  .nosotros-text-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3.4vw, 42px);
    color: var(--green-deep);
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
  }
  .nosotros-text-sub {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-olive);
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nosotros-text-sub::before {
    content: '—';
    color: var(--green-light);
  }
  .nosotros-text-body {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 24px;
    max-width: 440px;
  }
  .nosotros-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-forest);
    text-decoration: none;
  }
  .nosotros-cta .arrow-circle {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--green-forest);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
  }

  /* Minimalist arrow — CSS drawn so iOS/Safari cannot render ↗ as an emoji. */
  .nosotros-cta .arrow-circle::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transform: rotate(-45deg);
    transform-origin: center;
  }

  .nosotros-cta .arrow-circle::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: translate(4px, -4px);
  }
  .nosotros-cta:hover .arrow-circle { background: var(--green-forest); color: var(--cream); }

  /* ─── VALORES (collage 4 fotos + círculo) ─── */
  #valores {
    background: var(--bg-surface-light);
    padding: 60px 40px 130px;
    position: relative;
    overflow: hidden;
  }
  .valores-grid {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 22px;
  }
  .valores-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    transition: transform 0.8s cubic-bezier(0.16, 0.8, 0.24, 1);
    will-change: transform;
  }
  .valores-card:hover { transform: scale(1.035); }
  .valores-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .valores-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,20,10,0) 42%, rgba(8,16,8,0.68) 100%);
    pointer-events: none;
  }
  .valores-card-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,16,8,0.62) 0%, rgba(8,16,8,0) 48%);
    pointer-events: none;
    z-index: 1;
  }
  .valores-card-text {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(8.5px, 1.105vw, 14.45px);
    line-height: 1.28;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }
  .valores-card-top .valores-card-text {
    top: 22px;
    bottom: auto;
  }
  /* Keep value labels balanced across desktop and mobile without forced word breaks. */
  .valores-card-text {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }
  .valores-card:nth-child(even) .valores-card-text {
    text-align: right;
  }
  .valores-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(150px, 21vw, 300px);
    height: clamp(150px, 21vw, 300px);
    border-radius: 50%;
    background: var(--white);
    z-index: 3;
    box-shadow: 0 24px 60px rgba(30, 58, 40, 0.18);
  }
  .valores-circle-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
  }
  .valores-circle {
    cursor: grab;
    touch-action: none;
    user-select: none;
    perspective: 700px;
  }
  .valores-circle.is-dragging { cursor: grabbing; }

  .valores-circle-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 50%;
    transform-style: preserve-3d;
  }

  /* 3D word sphere: JavaScript positions these words on a real sphere. */
  .valores-word {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.05em;
    pointer-events: none;
    will-change: transform, opacity, filter;
    transition: opacity 0.08s linear, filter 0.08s linear;
  }
  .valores-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: inset -16px -18px 38px rgba(30,58,40,0.06), inset 10px 10px 30px rgba(255,255,255,0.22);
  }

  .vw-a {
    font-weight: 700;
    color: var(--green-deep);
    opacity: 1;
    font-size: clamp(12px, 2vw, 18px);
  }
  .vw-b {
    font-weight: 500;
    color: var(--green-forest);
    opacity: 0.8;
    font-size: clamp(11px, 1.6vw, 15px);
  }
  .vw-c {
    font-weight: 300;
    color: var(--green-olive);
    opacity: 0.45;
    font-size: clamp(10px, 1.35vw, 13px);
  }
  .vw-highlight {
    font-weight: 800;
    color: #E53935;
    opacity: 1;
    font-size: clamp(14px, 2.35vw, 20px);
    letter-spacing: 0.04em;
  }

  /* ─── TESTIMONIOS (nueva sección — placeholder de estructura) ─── */
  #testimonios {
    background: var(--bg-surface-light);
    padding: 110px 40px 120px;
    position: relative;
  }
  .testi-header {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 0 auto 56px;
  }
  .testi-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 4.4vw, 50px);
    color: var(--green-deep);
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .testi-carousel {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .testi-arrow {
    flex-shrink: 0;
    align-self: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(92,110,58,0.3);
    background: transparent;
    color: var(--green-deep);
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
  }
  .testi-arrow:hover {
    background: rgba(92,110,58,0.08);
    border-color: var(--green-olive);
    transform: translateY(-1px);
  }
  .testi-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .testi-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    /* width is set precisely in pixels by JS so that exactly
       N cards + (N-1) gaps fill the viewport with no clipping */
  }
  .testi-card {
    /* width set in px by JS (testiLayout) — flex-basis kept in sync so
       cards never rely on ambiguous percentage-of-auto-width math */
    flex: 0 0 auto;
    box-sizing: border-box;
    background: var(--white);
    border: 1px solid rgba(92,110,58,0.14);
    border-radius: 20px;
    padding: 30px 28px;
    box-shadow: 0 10px 30px rgba(30,58,40,0.05);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    height: auto;
    min-height: 0;
  }

  .testi-google-logo {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: conic-gradient(
      from -45deg,
      #4285F4 0deg 92deg,
      #34A853 92deg 178deg,
      #FBBC05 178deg 250deg,
      #EA4335 250deg 360deg
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: 4;
    pointer-events: none;
  }
  @media (max-width: 700px) {
    .testi-google-logo {
      top: 17px;
      right: 18px;
      width: 22px;
      height: 22px;
      font-size: 21px;
    }
  }

  .testi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(30,58,40,0.09);
  }
  .testi-stars {
    color: var(--green-olive);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 16px;
  }
  .testi-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.65;
    font-style: italic;
    flex-grow: 1;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .testi-author {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .testi-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--green-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--cream);
    flex-shrink: 0;
  }
  .testi-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--green-deep);
    letter-spacing: 0.05em;
  }
  .testi-location {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
  }
  .testi-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(92,110,58,0.25);
    transition: background 0.2s, transform 0.2s;
  }
  .testi-dot.is-active {
    background: var(--green-olive);
    transform: scale(1.3);
  }

  /* ─── UBICACIONES ─── */
  #ubicaciones {
    background: var(--bg-surface-light);
    padding: 68px 40px;
    position: relative;
  }
  .ubicaciones-top {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 64px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto 64px;
  }
  .ubicaciones-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
  }
  .ubicaciones-headline {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(52.8px, 6.6vw, 99px);
    color: var(--green-deep);
    line-height: 0.88;
    letter-spacing: -0.02em;
  }
  .ubicaciones-sub {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 16px;
  }

  /* ─── MAPA ─── */
  .ubicaciones-map-card {
    filter: brightness(1.06) saturate(1.08);
    box-shadow: 0 26px 54px rgba(31, 55, 38, 0.38), 0 8px 19px rgba(31, 55, 38, 0.22), inset 0 0 0 1px rgba(255,255,255,0.34);
    border: 2px solid #526b38;
    background: #e5eddd;
    border: 1.5px solid #526b38;
    box-shadow: 0 0 18px rgba(31, 55, 38, 0.18), 0 16px 48px rgba(31, 55, 38, 0.54), 0 4px 14px rgba(31, 55, 38, 0.28);
    position: relative;
    width: 100%;
    aspect-ratio: 600 / 420;
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(92,110,58,0.14);
    box-shadow: 0 24px 60px rgba(30,58,40,0.09);
  }
  .ubicaciones-map-svg { display: block; width: 100%; height: 100%; }
  .map-watermark {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    fill: var(--green-deep);
    opacity: 0.05;
  }
  .map-road {
    fill: none;
    stroke: var(--green-olive);
    stroke-width: 1;
    opacity: 0.14;
  }
  .map-frame {
    fill: none;
    stroke: rgba(92,110,58,0.16);
    stroke-width: 1;
  }
  .map-pin { cursor: pointer; }
  .map-pin-pulse {
    fill: none;
    stroke: var(--green-olive);
    stroke-width: 1.4;
    opacity: 0.55;
    transform-box: fill-box;
    transform-origin: center;
    animation: pinPulse 2.8s ease-out infinite;
  }
  .map-pin-core {
    fill: var(--green-deep);
    transition: fill 0.2s;
  }
  .map-pin:hover .map-pin-core { fill: var(--green-forest); }
  .map-pin-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 19.47px;
    fill: var(--green-deep);
    transition: fill 0.2s;
  }
  .map-pin:hover .map-pin-label { fill: var(--green-forest); }
  @keyframes pinPulse {
    0%   { transform: scale(0.5); opacity: 0.55; }
    75%  { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
  }

  /* ─── TARJETAS DE UBICACIÓN ─── */
  .locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    max-width: 1300px;
    margin: 0 auto;
  }
  .location-card {
    background: var(--white);
    padding: 36px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transition: background 0.25s;
    position: relative;
    text-decoration: none;
  }
  .location-card:first-child { border-radius: 20px 0 0 20px; }
  .location-card:last-child  { border-radius: 0 20px 20px 0; }
  .location-card:hover { background: var(--green-forest); }
  .location-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--green-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--green-deep);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    flex-shrink: 0;
  }
  .location-card:hover .location-arrow {
    background: var(--cream);
    color: var(--green-deep);
    border-color: var(--cream);
  }
  .location-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--green-deep);
    letter-spacing: -0.01em;
    transition: color 0.25s;
  }
  .location-card:hover .location-name { color: var(--cream); }
  .location-addr {
    font-size: 12px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.55;
    transition: color 0.25s;
  }
  .location-card:hover .location-addr { color: rgba(244,239,228,0.55); }
  .location-divider {
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: rgba(92,110,58,0.12);
  }
  .location-card:last-child .location-divider { display: none; }
  .location-card:hover + .location-card .location-divider { opacity: 0; }

  /* ─── INSTAGRAM ─── */
  #instagram {
    background: var(--bg-surface);
    padding: 100px 40px 64px;
    text-align: center;
    overflow: hidden;
  }
  .ig-handle {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 9vw, 110px);
    color: var(--text-on-surface);
    letter-spacing: -0.03em;
    line-height: 0.88;
    opacity: 0.08;
    pointer-events: none;
    margin-bottom: -20px;
  }
  .ig-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .ig-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }
  .ig-item > img:not(.ig-hover-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
  }
  .ig-item:hover > img:not(.ig-hover-logo), .ig-item.is-hovered > img:not(.ig-hover-logo) { transform: scale(1.06); }
  .ig-item-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(30,58,40,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    pointer-events: none;
  }
  .ig-item:hover .ig-item-overlay,
  .ig-item.is-hovered .ig-item-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }
  .ig-item-overlay .ig-hover-logo {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain !important;
    display: block;
    transform: none !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
  }
  @media (max-width: 700px) {
    .ig-hover-logo {
      width: 58px;
      height: 58px;
    }
  }
  .ig-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-on-surface-muted);
    margin-bottom: 16px;
  }

  /* ─── FOOTER ─── */
  footer {
    background: var(--bg-surface);
    padding: 44px 40px 28px;
    position: relative;
    overflow: hidden;
  }
  .footer-top {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
  }
  .footer-logo {
    display: block;
    line-height: 0;
  }
  .footer-logo img {
    width: clamp(160px, 22vw, 280px);
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,0.2));
  }
  @media (max-width: 768px) {
    .footer-logo img {
      width: clamp(140px, 50vw, 220px);
    }
  }
  .footer-col h4 {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li {
    margin-bottom: 10px;
  }
  .footer-col ul li a {
    font-size: 13px;
    font-weight: 300;
    color: rgba(244,239,228,0.55);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col ul li a:hover { color: var(--cream); }
  .footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-copy {
    font-size: 11px;
    font-weight: 300;
    color: rgba(244,239,228,0.25);
    letter-spacing: 0.05em;
  }
  .footer-tagline {
    font-size: 11px;
    font-weight: 400;
    color: rgba(244,239,228,0.25);
    font-style: italic;
    letter-spacing: 0.05em;
  }

  /* ─── SCROLL REVEAL ─── */
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.35s; }
  .reveal-delay-4 { transition-delay: 0.5s; }

  /* ─── TABLET (max 1024px) ─── */
  @media (max-width: 1024px) {
    /* Oferta image sizing at tablet is computed precisely by JS (ofertaLayout) */
    .nosotros-main { gap: 40px; }
    .locations-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .location-card { border-radius: 16px; padding: 30px 22px; }
    .location-card:first-child, .location-card:last-child { border-radius: 16px; }
    .location-divider { display: none; }
    .footer-top { flex-wrap: wrap; gap: 32px; }

    /* Testimonios */
    /* card width at tablet is set by JS (testiLayout) to match cardsPerView = 2 */
  }

  /* ─── MOBILE (max 768px) ─── */
  @media (max-width: 768px) {
    /* Global */
    body { overflow-x: hidden; }

    /* Nav */
    nav { padding: 16px 20px; }
    .nav-links { display: none; }

    /* Hero */
    #hero { height: 92svh; min-height: 500px; }
    .hero-content { padding: 0 20px; margin-top: -28px; }
    .hero-tagline { font-size: 14px; max-width: 300px; white-space: normal; margin-top: 12px; }
    .hero-scroll { bottom: calc(56px + 5vh); }

    /* Ticker */
    .ticker-wrap { margin-top: -44px; border-radius: 28px 28px 0 0; padding: 18px 16px 18px; }
    .ticker-track span { font-size: 16.5px; padding: 0 24px; }

    /* Oferta */
    #oferta { padding: 60px 20px; }
    .oferta-header { margin-bottom: 32px; }
    .oferta-desc {
      font-size: 16.2px;
      line-height: 1.45;
      letter-spacing: 0.01em;
      width: calc(100% - 24px);
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      padding: 0 12px;
      box-sizing: border-box;
    }
    .oferta-carousel { gap: 12px; }
    .oferta-arrow { width: 34px; height: 34px; font-size: 14px; }
    .oferta-track { gap: 12.8px; }
    .oferta-img { width: 92%; border-radius: 16px; }

    /* Nosotros */
    #porque { padding: 70px 20px; }
    .nosotros-intro { margin-bottom: 44px; }
    .nosotros-main { grid-template-columns: 1fr; gap: 36px; }
    .nosotros-text-body { max-width: 100%; font-size: 14px; }

    /* Keep the intro paragraph from leaving the final word alone on mobile. */
    .nosotros-intro-body {
      font-size: 14px;
      line-height: 1.7;
    }

    /* Valores — mobile: slightly smaller, tighter text for cleaner wrapping */
    #valores { padding: 30px 18px 90px; }
    .valores-grid { gap: 12px; }
    .valores-card-text {
      left: 12px;
      right: 12px;
      bottom: 12px;
      font-size: clamp(7.6px, 1.95vw, 8.8px);
      line-height: 1.16;
      letter-spacing: -0.018em;
    }
    .valores-card-top .valores-card-text {
      top: 12px;
      bottom: auto;
    }


    /* Testimonios */
    #testimonios { padding: 35px 0 56px; }
    .testi-header { padding: 0 20px; margin-bottom: 36px; }
    .testi-headline { white-space: normal; font-size: clamp(24px, 7vw, 34px); padding: 0 10px; }
    .testi-carousel { gap: 10px; padding: 0 12px; }
    .testi-arrow { width: 38px; height: 38px; font-size: 14px; }
    .testi-track { gap: 16px; }
    /* card width at mobile is set by JS (testiLayout) to match cardsPerView = 1 */
    .testi-card { padding: 24px 22px; }

    /* Ubicaciones */
    #ubicaciones { padding: 70px 20px; }
    .ubicaciones-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; }
    .ubicaciones-map-card { aspect-ratio: 600 / 460; }
    .locations-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .location-card { padding: 26px 20px; gap: 12px; border-radius: 16px; }
    .location-name { font-size: 18px; }
    .location-addr { font-size: 11px; }

    /* Instagram */
    #instagram { padding: 70px 20px 44px; }
    .ig-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      margin-top: 24px;
    }
    .ig-handle {
      display: block;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      margin: 0 auto;
      font-size: clamp(20px, 6.5vw, 30px);
      line-height: 0.95;
      letter-spacing: -0.045em;
      white-space: nowrap;
      text-align: center;
      overflow: hidden;
    }
    .ig-item { border-radius: 12px; }

    /* Mobile Instagram: keep desktop order unchanged,
       but swap the middle and right photos in the second row. */
    .ig-item:nth-child(5) { order: 6; }
    .ig-item:nth-child(6) { order: 5; }

    /* Footer */
    footer { padding: 36px 20px 24px; }
    .footer-top { flex-direction: column; gap: 26px; padding-bottom: 24px; }
    
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; margin-top: 24px; padding-top: 18px; }
  }

  /* ─── SMALL MOBILE (max 480px) ─── */
  @media (max-width: 480px) {
    .locations-grid { grid-template-columns: 1fr; gap: 8px; }
    .location-card { border-radius: 16px; }
    .ig-grid { grid-template-columns: repeat(2, 1fr); }
    .ig-handle { font-size: clamp(18px, 6vw, 25px); }

    /* Valores */
    .valores-grid { gap: 8px; }
    .valores-circle { width: clamp(120px, 34vw, 170px); height: clamp(120px, 34vw, 170px); box-shadow: 0 14px 34px rgba(30, 58, 40, 0.16); }
    .valores-card-text {
      left: 12px;
      right: 12px;
      bottom: 10px;
      font-size: clamp(7.8px, 2.05vw, 9px);
      line-height: 1.16;
      letter-spacing: -0.02em;
      text-wrap: balance;
      overflow-wrap: normal;
      word-break: normal;
      hyphens: none;
    }
    .valores-card-top .valores-card-text { top: 10px; bottom: auto; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, .reveal { animation: none !important; transition: none !important; }
  }

  /* ─── DECORATIVE SCROLL CONES ─── */
/* Cones are real page elements in a document-positioned track.
   No opacity, visibility, fade or appearance animation. */
.cone-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  z-index: 20;
  pointer-events: none;
  overflow: visible;
}
.cone-track {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}
.cone-decor {
  position: absolute;
  top: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}
.cone-decor img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.cone-decor-left {
  left: -120px;
  width: 380px;
  top: 0;
}
.cone-decor-right {
  right: -140px;
  width: 420px;
  top: 0;
}
.cone-decor-right img { filter: blur(3px); }
@media (max-width: 768px) {
  .cone-decor-left { left: -70px; width: 170px; top: 0; }
  .cone-decor-right { right: -80px; width: 190px; top: 0; }
  .cone-decor-right img { filter: blur(2.5px); }
}
