
  /* ══════════════════════════════════════════════════
     TOKENS — approved palette, do not modify
  ══════════════════════════════════════════════════ */
  :root {
    --navy:       #0A2342;
    --navy-mid:   #143560;
    --teal:       #00B8BE;
    --teal-soft:  #E4F7F8;
    --gold:       #B8751A;
    --gold-bg:    #FDF3E4;
    --white:      #FFFFFF;
    --off-white:  #F7F9FB;
    --rule:       #DDE3EA;
    --text-dark:  #0A2342;
    --text-body:  #3D5068;
    --text-muted: #7A92A8;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { height: 100%; }
  body {
    font-family: 'Inter', 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* ── Global heading override: Montserrat Bold ───── */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.25;
  }
  /* Preserve Playfair only where explicitly classed */
  .font-playfair,
  .hero-h1,
  .hero-right-h2,
  .section-title,
  .h-stat-num,
  .quote-mark,
  .tl-year span,
  .founder-block .founder-name,
  .mv-block h3,
  .office-card h4,
  .value-card h4,
  .svc-card h3 {
    font-family: 'Playfair Display', serif;
  }

  /* Body copy: Inter, line-height 1.6 on everything */
  p, li, span, td, label {
    line-height: 1.6;
  }

  /* ── Shared typography ─────────────────────────── */
  .eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--teal); display: block;
  }
  .eyebrow-light { color: rgba(0,184,190,0.75); }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700; color: var(--navy); line-height: 1.2;
  }
  .section-title em { font-style: italic; color: var(--navy-mid); }
  .section-title-light { color: var(--white); }
  .section-title-light em { color: var(--teal); }
  .teal-rule { width: 40px; height: 3px; background: var(--teal); margin: 0.85rem 0 1.4rem; flex-shrink: 0; }
  .teal-rule-faint { background: rgba(0,184,190,0.35); }

  /* ── Badge gold ────────────────────────────────── */
  .badge-gold {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.36rem 0.9rem 0.36rem 0.65rem;
    background: var(--gold-bg); border-left: 3px solid var(--gold);
    border-radius: 0 3px 3px 0; width: fit-content;
  }
  .badge-gold span, .badge-gold strong {
    font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  }
  .badge-gold strong { color: #7A4A10; }

  /* ── Buttons ───────────────────────────────────── */
  .btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 2.1rem; font-weight: 500; font-size: 0.88rem;
    letter-spacing: 0.04em; text-decoration: none; border-radius: 3px;
    transition: all 0.22s ease; cursor: pointer;
  }
  .btn-navy { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
  .btn-navy:hover { background: transparent; color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,35,66,0.14); }
  .btn-navy:hover svg { transform: translateX(3px); }
  .btn-navy svg { transition: transform 0.2s; }
  .btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
  .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

  /* ── Chip ──────────────────────────────────────── */
  .chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.36rem 0.75rem; border: 1px solid rgba(255,255,255,0.14);
    border-radius: 3px; font-family: 'JetBrains Mono', monospace;
    font-size: 0.63rem; letter-spacing: 0.05em;
    color: rgba(255,255,255,0.48); text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .chip:hover { border-color: var(--teal); color: var(--teal); }

  /* ══════════════════════════════════════════════════
     NAVBAR
  ══════════════════════════════════════════════════ */
  #navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 300;
    height: 74px; background: var(--white);
    border-bottom: 1px solid var(--rule);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.5rem;
    box-shadow: 0 1px 8px rgba(10,35,66,0.05);
    transition: box-shadow 0.3s;
  }
  #navbar.elevated { box-shadow: 0 2px 20px rgba(10,35,66,0.10); }
  .nav-logo img { height: 40px; width: auto; display: block; }

  .nav-links { display: flex; gap: 0; list-style: none; }
  .nav-links a {
    font-size: 0.79rem; font-weight: 500; letter-spacing: 0.03em;
    color: var(--text-body); text-decoration: none;
    padding: 0.4rem 0.7rem; border-radius: 4px; white-space: nowrap;
    transition: color 0.2s, background 0.2s; position: relative;
  }
  .nav-links a:hover { color: var(--navy); background: var(--off-white); }
  .nav-links a.active { color: var(--navy); font-weight: 600; }
  .nav-links a.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0.7rem; right: 0.7rem;
    height: 2px; background: var(--teal); border-radius: 1px;
  }

  .lang-toggle {
    display: flex; align-items: center; border: 1px solid var(--rule);
    border-radius: 4px; overflow: hidden; cursor: pointer; flex-shrink: 0;
  }
  .lang-toggle span {
    font-family: 'JetBrains Mono', monospace; font-size: 0.67rem;
    font-weight: 500; letter-spacing: 0.09em; padding: 0.28rem 0.65rem;
    color: var(--text-muted); transition: background 0.2s, color 0.2s;
    user-select: none;
  }
  .lang-toggle span.active { background: var(--navy); color: var(--white); }

  .menu-btn {
    display: none; background: none; border: none;
    cursor: pointer; padding: 0.4rem; color: var(--navy);
  }

  /* Mobile nav drawer */
  .mobile-nav {
    display: none; position: fixed; top: 74px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    z-index: 299; flex-direction: column; padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(10,35,66,0.10);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    font-size: 0.9rem; font-weight: 500; color: var(--text-body);
    text-decoration: none; padding: 0.75rem 2rem;
    border-bottom: 1px solid var(--rule); transition: background 0.15s, color 0.15s;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover, .mobile-nav a.active { background: var(--off-white); color: var(--navy); }

  /* ══════════════════════════════════════════════════
     SECTION SYSTEM — show/hide stages
  ══════════════════════════════════════════════════ */
  .stage {
    display: none;
    min-height: calc(100vh - 74px);
    padding-top: 74px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  .stage.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
  /* Ensure transition fires after display:block */
  .stage.entering {
    display: block;
    opacity: 0;
    transform: translateY(16px);
  }

  /* ══════════════════════════════════════════════════
     STAGE: INICIO (HERO)
  ══════════════════════════════════════════════════ */
  #stage-inicio {
    display: none; /* overridden by .active */
    background: var(--white);
  }
  .hero-split {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: calc(100vh - 74px);
  }
  .hero-left {
    background: var(--white); display: flex; flex-direction: column;
    justify-content: center; padding: 5rem 4rem 5rem 3.5rem; position: relative;
  }
  .hero-left::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 160px; height: 3px; background: var(--teal);
  }
  .hero-left::after {
    content: ''; position: absolute; top: 12%; bottom: 12%; right: 0; width: 1px;
    background: linear-gradient(to bottom, transparent, var(--rule) 25%, var(--rule) 75%, transparent);
  }
  .hero-left .badge-gold { margin-bottom: 1.75rem; }
  .hero-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; }
  .hero-h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 3.5vw, 3.4rem); font-weight: 700; line-height: 1.15; color: var(--navy); margin-bottom: 1.5rem; }
  .hero-h1 em { font-style: italic; color: var(--navy-mid); }
  .hero-p { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.75; color: var(--text-body); max-width: 440px; margin-bottom: 2.5rem; }
  .hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
  .h-stat { flex: 1 1 80px; min-width: 70px; }
  .h-stat + .h-stat { padding-left: 0; border-left: none; }
  .h-stat-num { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1; }
  .h-stat-num sup { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--teal); }
  .h-stat.gold .h-stat-num, .h-stat.gold .h-stat-num sup { color: var(--gold); }
  .h-stat-lbl { font-family: 'Montserrat', sans-serif; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.35rem; }

  .hero-right { background: var(--navy); position: relative; overflow: hidden; }
  .hero-right img.bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: grayscale(20%); }
  .hero-right::before { content: ''; position: absolute; top: 0; left: -1px; bottom: 0; width: 64px; background: var(--white); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 3; }
  .hero-right-inner { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 4rem 3rem 4rem 4.5rem; }
  .hero-right-h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 1.9vw, 1.9rem); font-weight: 600; line-height: 1.4; color: var(--white); margin-bottom: 2rem; }
  .hero-right-h2 em { font-style: italic; color: var(--teal); }
  .svc-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
  .svc-list li { font-family: 'Inter', sans-serif; display: flex; align-items: flex-start; gap: 0.9rem; font-size: 0.86rem; color: rgba(255,255,255,0.62); line-height: 1.6; }
  .svc-list li::before { content: ''; display: block; width: 18px; height: 1px; background: var(--teal); flex-shrink: 0; margin-top: 0.7em; opacity: 0.7; }
  .contact-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.09); }

  /* ══════════════════════════════════════════════════
     STAGE: CONÓCENOS
  ══════════════════════════════════════════════════ */
  #stage-conocenos { background: var(--white); }
  /* Top photo banner — full width, asymmetric */
  .conocenos-banner {
    width: 100%; height: 340px; position: relative; overflow: hidden;
  }
  .conocenos-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(0.55); }
  .conocenos-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,35,66,0.85) 0%, rgba(10,35,66,0.3) 60%, transparent 100%);
    display: flex; align-items: flex-end; padding: 3rem 4rem;
  }
  .conocenos-banner h1 {
    font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem);
    font-weight: 700; color: var(--white); line-height: 1.15;
  }
  .conocenos-banner h1 em { font-style: italic; color: var(--teal); }

  /* 60/40 asymmetric content grid */
  .conocenos-body {
    display: grid; grid-template-columns: 3fr 2fr;
    gap: 0; max-width: 100%;
  }
  .conocenos-main {
    padding: 4rem 4rem 4rem 4rem; border-right: 1px solid var(--rule);
  }
  .conocenos-aside { padding: 4rem 3rem; background: var(--off-white); }

  .offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
  .office-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--rule); border-radius: 4px; border-top: 3px solid var(--teal); transition: box-shadow 0.2s; }
  .office-card:hover { box-shadow: 0 8px 24px rgba(10,35,66,0.08); }
  .office-card h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
  .office-card p { font-size: 0.83rem; color: var(--text-body); line-height: 1.65; }

  /* Photo stack in aside */
  .photo-stack { display: flex; flex-direction: column; gap: 1rem; }
  .photo-stack img { width: 100%; border-radius: 4px; object-fit: cover; display: block; }
  .photo-stack img:first-child { height: 220px; }
  .photo-stack img:last-child { height: 160px; }
  .contact-info-block { margin-top: 1.75rem; padding: 1.25rem; background: var(--navy); border-radius: 4px; }
  .contact-info-block p { font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
  .contact-info-block a { color: var(--teal); text-decoration: none; }

  /* ══════════════════════════════════════════════════
     STAGE: QUÉ OFRECEMOS
  ══════════════════════════════════════════════════ */
  #stage-ofrecemos { background: var(--off-white); }
  .ofrecemos-header {
    background: var(--navy); padding: 4rem 4rem 3rem;
    display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: end;
  }
  .ofrecemos-header-img {
    border-radius: 4px; overflow: hidden; height: 200px;
  }
  .ofrecemos-header-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; filter: grayscale(15%); }
  .ofrecemos-intro-text {
    font-size: 0.95rem; font-weight: 300; line-height: 1.85;
    color: rgba(255,255,255,0.65); margin-top: 1.25rem;
  }

  .ofrecemos-body { padding: 3.5rem 4rem; }
  /* 10 cards: 2 columns on desktop → 5 rows of 2 */
  .services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .svc-card { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 2rem 1.75rem; position: relative; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
  .svc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--rule); transition: background 0.25s; }
  .svc-card:hover::before { background: var(--teal); }
  .svc-card:hover { box-shadow: 0 12px 36px rgba(10,35,66,0.09); transform: translateY(-3px); }
  .svc-icon { width: 44px; height: 44px; border-radius: 8px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
  .svc-icon svg { color: var(--teal); }
  .svc-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; line-height: 1.3; }
  .svc-card p { font-size: 0.85rem; color: var(--text-body); line-height: 1.7; }

  /* ══════════════════════════════════════════════════
     STAGE: QUIÉNES SOMOS
  ══════════════════════════════════════════════════ */
  #stage-quienes { background: var(--navy); }
  .quienes-layout {
    display: grid; grid-template-columns: 2fr 3fr; min-height: calc(100vh - 74px);
  }
  /* Left: dark image column */
  .quienes-img-col {
    position: relative; overflow: hidden; min-height: 400px;
  }
  .quienes-img-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; filter: grayscale(20%); }
  .quienes-img-col::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(10,35,66,0.2), rgba(10,35,66,0.7));
  }
  .quienes-img-overlay { position: relative; z-index: 2; padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
  .quienes-img-overlay .badge-gold { margin-bottom: 1.5rem; }
  /* Right: content column */
  .quienes-content { padding: 4rem 4rem 4rem 4rem; overflow-y: auto; }
  .quienes-p { font-size: 1rem; font-weight: 300; line-height: 1.9; color: rgba(255,255,255,0.72); margin-bottom: 1.5rem; }
  .quienes-highlight { background: rgba(255,255,255,0.05); border-left: 3px solid var(--teal); padding: 1.25rem 1.5rem; border-radius: 0 4px 4px 0; font-size: 0.95rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.78); margin: 2rem 0; }
  .dept-list { display: flex; flex-direction: column; gap: 0.85rem; }
  .dept-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; transition: background 0.2s, border-color 0.2s; }
  .dept-item:hover { background: rgba(0,184,190,0.08); border-color: rgba(0,184,190,0.25); }
  .dept-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
  .dept-item span { font-size: 0.88rem; color: rgba(255,255,255,0.68); }
  .founder-block { margin-top: 2rem; padding: 1.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; }
  .founder-block .mono-label { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0,184,190,0.7); margin-bottom: 0.4rem; }
  .founder-block .founder-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--white); }
  .founder-block .founder-role { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 0.2rem; }

  /* ══════════════════════════════════════════════════
     STAGE: FILOSOFÍA
  ══════════════════════════════════════════════════ */
  #stage-filosofia { background: var(--white); }

  /* Row 1: copy left / photo right — photo is panoramic */
  .filo-hero {
    display: grid;
    grid-template-columns: 3fr 2fr;
    background: var(--off-white);
    border-bottom: 1px solid var(--rule);
    align-items: center;        /* vertical center copy ↔ image */
  }
  .filo-hero-copy {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* Image column: add padding so photo floats with breathing room */
  .filo-hero-img-wrap {
    padding: 2.5rem 2.5rem 2.5rem 0;  /* top / right / bottom / left gap */
  }
  .filo-hero-img {
    overflow: hidden;
    border-radius: 6px;            /* slight rounding — professional finish */
    aspect-ratio: 16 / 10;         /* wide panoramic, not portrait */
    position: relative;
    box-shadow: 0 8px 32px rgba(10,35,66,0.12);
  }
  .filo-hero-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.82);
    display: block;
  }

  /* Row 2: image left / Mission+Vision text right */
  .filo-mv-row {
    display: grid;
    grid-template-columns: 2fr 3fr;
    border-bottom: 1px solid var(--rule);
    align-items: center;
    background: var(--white);
  }
  /* Padding wrapper so image breathes away from grid borders */
  .filo-mv-img-wrap {
    padding: 2.5rem 0 2.5rem 2.5rem;  /* top / right / bottom / left */
  }
  .filo-mv-img {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;             /* clean rectangular panoramic */
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(10,35,66,0.14);
  }
  .filo-mv-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;     /* show top of scene, avoid cutting heads */
    filter: brightness(0.68);
    display: block;
  }
  .filo-mv-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,35,66,0.35) 0%, transparent 60%);
    border-radius: 6px;
  }
  .filo-mv-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
  .mv-block { margin-bottom: 2.5rem; }
  .mv-block:last-child { margin-bottom: 0; }
  .mv-block h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
  .mv-block .teal-rule { width: 28px; height: 2px; margin-bottom: 1rem; }
  .mv-block p { font-size: 0.95rem; font-weight: 300; line-height: 1.85; color: var(--text-body); }

  /* Values grid */
  .filo-values { padding: 4rem; }
  .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
  .value-card { padding: 1.75rem 1.5rem; background: var(--off-white); border: 1px solid var(--rule); border-radius: 4px; transition: border-color 0.2s, box-shadow 0.2s; }
  .value-card:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(0,184,190,0.1); }
  .value-card h4 { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
  .value-card p { font-size: 0.81rem; color: var(--text-body); line-height: 1.7; }
  .value-card .v-icon { font-size: 1.3rem; margin-bottom: 0.65rem; }

  /* ══════════════════════════════════════════════════
     STAGE: HISTORIA
  ══════════════════════════════════════════════════ */
  #stage-historia { background: var(--off-white); }
  .historia-layout {
    display: grid; grid-template-columns: 5fr 4fr; min-height: calc(100vh - 74px);
  }
  .historia-main { padding: 4rem; }
  .historia-aside { background: var(--navy); padding: 4rem 3rem; position: relative; overflow: hidden; }
  .historia-aside img.aside-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
  .historia-aside-inner { position: relative; z-index: 2; }
  .historia-intro { font-size: 1rem; font-weight: 300; line-height: 1.85; color: var(--text-body); margin-bottom: 3.5rem; max-width: 560px; }

  /* Timeline */
  .timeline { position: relative; }
  .timeline::before { content: ''; position: absolute; left: 90px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--teal) 0%, var(--rule) 80%, transparent); }
  .tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 0 2rem; margin-bottom: 1.75rem; position: relative; align-items: start; }
  .tl-year { text-align: right; padding-top: 0.1rem; padding-right: 1.25rem; }
  .tl-year span { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--navy); }
  .tl-item::after { content: ''; position: absolute; left: 86px; top: 0.4rem; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); z-index: 1; }
  .tl-item.featured::after { background: var(--teal); width: 11px; height: 11px; left: 85px; }
  .tl-content { padding: 0 0 1.5rem; border-bottom: 1px solid var(--rule); }
  .tl-item:last-child .tl-content { border-bottom: none; }
  .tl-content h4 { font-size: 0.88rem; font-weight: 500; color: var(--navy); line-height: 1.4; }

  /* Aside milestones */
  .milestone-cards { display: flex; flex-direction: column; gap: 1rem; }
  .ms-card { padding: 1.25rem 1.5rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; transition: border-color 0.2s; }
  .ms-card:hover { border-color: var(--teal); }
  .ms-year { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 0.3rem; }
  .ms-label { font-size: 0.84rem; color: rgba(255,255,255,0.7); line-height: 1.45; }

  /* ══════════════════════════════════════════════════
     STAGE: TESTIMONIOS
  ══════════════════════════════════════════════════ */
  #stage-testimonios { background: var(--white); }
  .testi-header { background: var(--navy); padding: 4rem 4rem 3rem; position: relative; overflow: hidden; }
  .testi-header img.testi-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.12; filter: grayscale(20%); }
  .testi-header-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: end; }
  .testi-note { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--teal-soft); border-radius: 3px; font-size: 0.8rem; color: var(--teal); font-weight: 500; margin-bottom: 2rem; }
  .testi-body { padding: 4rem; }
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; }
  .testi-card { background: var(--off-white); border: 1px solid var(--rule); border-radius: 4px; padding: 2.25rem 2rem; transition: box-shadow 0.25s; display: flex; flex-direction: column; }
  .testi-card:hover { box-shadow: 0 12px 36px rgba(10,35,66,0.08); }
  .quote-mark { font-family: 'Playfair Display', serif; font-size: 3.5rem; line-height: 1; color: var(--teal); opacity: 0.3; margin-bottom: 0.5rem; }
  .testi-text { font-size: 0.93rem; font-weight: 300; line-height: 1.8; color: var(--text-body); margin-bottom: 1.75rem; font-style: italic; flex: 1; }
  .testi-author { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); margin-top: auto; }
  .testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .testi-avatar span { font-family: 'Playfair Display', serif; font-size: 0.85rem; font-weight: 700; color: var(--white); }
  .testi-name { font-size: 0.83rem; font-weight: 600; color: var(--navy); }
  .testi-role { font-size: 0.75rem; color: var(--text-muted); }

  /* ── CTA Banner (reused in testimonios stage) ── */
  .cta-banner { background: var(--navy); padding: 5rem 4rem; text-align: center; }
  .cta-inner { max-width: 680px; margin: 0 auto; }
  .cta-p { font-size: 1rem; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,0.65); margin: 1.5rem 0 2.5rem; }
  .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

  /* ══════════════════════════════════════════════════
     FOOTER — 3-column compact professional
  ══════════════════════════════════════════════════ */
  footer {
    background: #060F1A;
    padding: 2.5rem 2.5rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    max-width: 1320px;
    margin: 0 auto;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .footer-brand img {
    height: 34px;
    width: auto;
    display: block;
    margin-bottom: 0.85rem;
  }
  /* ── Footer logo (nuevo logo adjunto) ─────────── */
  .footer-brand img.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    padding: 6px 12px;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.30);
    transition: box-shadow 0.3s ease;
  }
  .footer-brand img.footer-logo-img:hover {
    box-shadow: 0 6px 24px rgba(0,184,190,0.25);
  }
  .footer-brand p {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.38);
    max-width: 280px;
  }
  .footer-col h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 0.85rem;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
  .footer-col a {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.48);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
  }
  .footer-col a:hover { color: var(--teal); }
  .footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
  }
  .footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.22);
  }
  .footer-bottom a { color: rgba(0,184,190,0.55); text-decoration: none; }
  .footer-bottom a:hover { color: var(--teal); }

  /* legacy slim-footer classes — kept for compat but unused */
  .footer-inner, .footer-logo, .footer-copy, .footer-contact, .footer-nav { display: none; }

  /* ══════════════════════════════════════════════════
     SCROLL REVEAL (within stages)
  ══════════════════════════════════════════════════ */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s 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.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* ══════════════════════════════════════════════════
     DESKTOP POLISH — min-width: 1025px only
     Mobile CSS is UNTOUCHED below this block.
  ══════════════════════════════════════════════════ */
  @media (min-width: 1025px) {

    /* ── Desktop compaction: tighten vertical breathing ─ */
    /* KEY FIX: remove forced full-screen height on all stages — let content dictate height */
    .stage                   { min-height: 0; }
    .hero-split              { min-height: calc(100vh - 74px); } /* Hero keeps full-screen intentionally */
    .quienes-layout          { min-height: 0; }
    .historia-layout         { min-height: 0; }

    /* ── Vertical padding reduction — all sections ───── */
    /* Conócenos */
    .conocenos-banner        { height: 220px; max-height: 240px; }
    .conocenos-banner-overlay{ padding: 1.5rem 3rem; }
    .conocenos-main          { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
    .conocenos-aside         { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }

    /* Ofrecemos */
    .ofrecemos-header        { padding-top: 1.75rem !important; padding-bottom: 1.5rem !important; }
    .ofrecemos-body          { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }

    /* Quiénes somos */
    .quienes-content         { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .quienes-img-overlay     { padding: 2rem; }

    /* Filosofía */
    .filo-hero-copy          { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .filo-hero-img-wrap      { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; padding-right: 2rem !important; }
    .filo-mv-content         { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .filo-mv-img-wrap        { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; padding-left: 2rem !important; }
    .filo-values             { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }

    /* Historia */
    .historia-main           { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .historia-aside          { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .historia-intro          { margin-bottom: 2rem; }

    /* Testimonios */
    .testi-header            { padding-top: 2rem !important; padding-bottom: 1.5rem !important; }
    .testi-body              { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }

    /* CTA banner */
    .cta-banner              { padding-top: 3rem !important; padding-bottom: 3rem !important; }

    /* Footer */
    footer                   { padding-top: 2rem !important; }

    /* ── Content wrapper: max-width + centered ─────── */
    .desk-wrap {
      max-width: 1320px;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
    }

    /* ── Navbar: cap inner content width ────────────── */
    #navbar {
      padding: 0 3rem;
    }

    /* ══ INICIO ══════════════════════════════════════ */
    .hero-split {
      max-width: 100%;           /* full bleed split is intentional */
      min-height: calc(100vh - 74px);
    }
    /* Cap the left copy column so text doesn't stretch on ultra-wide */
    .hero-left {
      padding: 4.5rem 4rem 4.5rem clamp(3rem, 6vw, 7rem);
    }
    .hero-right-inner {
      padding: 4rem 3.5rem 4rem 5rem;
      max-width: 560px;          /* keep right-panel text readable */
    }

    /* ══ CONÓCENOS ═══════════════════════════════════ */
    .conocenos-banner {
      height: 380px;
      max-height: 420px;
    }
    .conocenos-banner-overlay {
      padding: 3rem clamp(3rem, 6vw, 7rem);
    }
    /* Cap the 60/40 grid to 1320px, centered */
    .conocenos-body {
      max-width: 1320px;
      margin: 0 auto;
      grid-template-columns: 3fr 2fr;
      gap: 0;
    }
    .conocenos-main {
      padding: 4rem clamp(2.5rem, 4vw, 4.5rem);
    }
    .conocenos-aside {
      padding: 4rem 3rem;
    }
    /* Photo stack: cap heights so they don't tower */
    .photo-stack img:first-child { height: 200px; max-height: 200px; }
    .photo-stack img:last-child  { height: 150px; max-height: 150px; }
    /* Inline photo inside main col */
    .conocenos-main > div[style*="height:220px"] {
      height: 200px !important;
      max-height: 200px;
    }
    .offices-grid {
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }
    .office-card { padding: 1.5rem; }

    /* ══ QUÉ OFRECEMOS ═══════════════════════════════ */
    .ofrecemos-header {
      max-width: 100%;
      padding: 4rem clamp(3rem, 6vw, 7rem) 3rem;
      grid-template-columns: 3fr 2fr;
      gap: 4rem;
      align-items: center;       /* vertically center text ↔ image */
    }
    .ofrecemos-header-img {
      height: 260px;
      max-height: 260px;
    }
    .ofrecemos-header-img img {
      height: 100%;
      max-height: 260px;
      object-fit: cover;
    }
    .ofrecemos-body {
      max-width: 1320px;
      margin: 0 auto;
      padding: 3.5rem clamp(3rem, 6vw, 7rem);
    }
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.75rem;
    }
    .svc-card { padding: 2rem 1.75rem; }

    /* ══ QUIÉNES SOMOS ═══════════════════════════════ */
    .quienes-layout {
      grid-template-columns: 2fr 3fr;
      min-height: calc(100vh - 74px);
    }
    .quienes-img-col {
      /* Fixed column — no need to constrain height */
    }
    .quienes-content {
      max-width: 740px;           /* readable line length */
      padding: 4.5rem 4rem 4.5rem 4rem;
      overflow-y: auto;
    }
    .dept-list { gap: 0.75rem; }
    .dept-item { padding: 1rem 1.25rem; }

    /* ══ FILOSOFÍA ═══════════════════════════════════ */
    .filo-hero {
      grid-template-columns: 3fr 2fr;
      align-items: center;
    }
    .filo-hero-copy {
      padding: 4.5rem clamp(3rem, 5vw, 5rem);
    }
    .filo-hero-img-wrap {
      padding: 2.5rem 2.5rem 2.5rem 0;
    }
    .filo-mv-row {
      grid-template-columns: 2fr 3fr;
      align-items: center;
    }
    .filo-mv-img-wrap {
      padding: 2.5rem 0 2.5rem 2.5rem;
    }
    .filo-mv-content {
      padding: 4rem clamp(3rem, 5vw, 5rem);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .filo-values {
      max-width: 1320px;
      margin: 0 auto;
      padding: 4rem clamp(3rem, 6vw, 7rem);
    }
    .values-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    /* Last value card (Servicio) spans full row in 3-col grid */
    .values-grid .value-card:last-child {
      grid-column: 1 / -1;
    }

    /* ══ HISTORIA ════════════════════════════════════ */
    .historia-layout {
      grid-template-columns: 5fr 4fr;
      min-height: calc(100vh - 74px);
    }
    .historia-main {
      padding: 4.5rem clamp(3rem, 5vw, 5rem);
      overflow-y: auto;
    }
    .historia-intro {
      max-width: 560px;
    }
    .historia-aside {
      padding: 4rem 3rem;
      overflow-y: auto;
    }
    .historia-aside-inner {
      position: sticky;
      top: 0;
    }
    /* Cap timeline width so it's readable */
    .timeline {
      max-width: 560px;
    }

    /* ══ TESTIMONIOS ═════════════════════════════════ */
    .testi-header {
      padding: 4.5rem clamp(3rem, 6vw, 7rem) 3.5rem;
    }
    .testi-header-inner {
      max-width: 1320px;
      margin: 0 auto;
      grid-template-columns: 3fr 2fr;
      gap: 4rem;
      align-items: center;
    }
    .testi-header-inner img[style] {
      height: 220px !important;
      max-height: 220px;
      object-fit: cover;
    }
    .testi-body {
      max-width: 1320px;
      margin: 0 auto;
      padding: 4rem clamp(3rem, 6vw, 7rem);
    }
    .testi-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    /* ══ CTA BANNER ══════════════════════════════════ */
    .cta-banner {
      padding: 6rem 3rem;
    }
    .cta-inner {
      max-width: 700px;
    }

    /* ══ FOOTER — slim, already defined globally ═════ */
    footer {
      padding: 24px clamp(2rem, 4vw, 4rem);
    }
    .footer-inner {
      max-width: 1320px;
    }

    /* ══ LOGO CAROUSEL — desktop enhancements ════════ */
    /* (carousel removed — CSS retained as safety stub) */
  }

  /* ══════════════════════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════════════════════ */
  @media (max-width: 1024px) {
    /* Navbar */
    #navbar { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .menu-btn { display: block; }

    /* Hero */
    .hero-split { grid-template-columns: 1fr; }
    .hero-left::after { display: none; }
    .hero-right { min-height: 320px; display: block; } /* always visible */
    .hero-right::before { display: none; }
    .hero-left { padding: 3.5rem 2rem; }
    .hero-right-inner { padding: 2.5rem 2rem; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .h-stat + .h-stat { border-left: none; padding-left: 0; }

    /* Conócenos */
    .conocenos-banner { height: 260px; }
    .conocenos-body { grid-template-columns: 1fr; }
    .conocenos-main { border-right: none; border-bottom: 1px solid var(--rule); padding: 3rem 2rem; }
    .conocenos-aside { padding: 3rem 2rem; }
    .offices-grid { grid-template-columns: 1fr; }
    .photo-stack img:first-child { height: 200px; }
    .photo-stack img:last-child { height: 160px; }

    /* Ofrecemos */
    .ofrecemos-header { grid-template-columns: 1fr; padding: 3rem 2rem; gap: 1.5rem; }
    .ofrecemos-header-img { height: 180px; }
    .ofrecemos-body { padding: 3rem 2rem; }
    .services-grid { grid-template-columns: 1fr; }

    /* Quiénes */
    .quienes-layout { grid-template-columns: 1fr; }
    .quienes-img-col { min-height: 280px; }
    .quienes-content { padding: 3rem 2rem; }

    /* Filosofía */
    .filo-hero { grid-template-columns: 1fr; }
    .filo-hero-img-wrap { padding: 0 1.5rem 2rem; }
    .filo-hero-img { min-height: 200px; aspect-ratio: 16/9; border-radius: 4px; }
    .filo-hero-copy { padding: 3rem 2rem; }
    .filo-mv-row { grid-template-columns: 1fr; }
    .filo-mv-img-wrap { padding: 2rem 1.5rem 0; }
    .filo-mv-img { min-height: 200px; aspect-ratio: 16/9; border-radius: 4px; }
    .filo-mv-content { padding: 3rem 2rem; }
    .filo-values { padding: 3rem 2rem; }
    .values-grid { grid-template-columns: 1fr 1fr; }

    /* Historia */
    .historia-layout { grid-template-columns: 1fr; }
    .historia-main { padding: 3rem 2rem; }
    .historia-aside { min-height: auto; padding: 3rem 2rem; }
    .timeline::before { left: 70px; }
    .tl-item { grid-template-columns: 70px 1fr; }
    .tl-item::after { left: 66px; }
    .tl-item.featured::after { left: 65px; }

    /* Testimonios */
    .testi-header { padding: 3rem 2rem; }
    .testi-header-inner { grid-template-columns: 1fr; }
    .testi-body { padding: 3rem 2rem; }
    .testi-grid { grid-template-columns: 1fr 1fr; }

    /* CTA / Footer */
    .cta-banner { padding: 4rem 2rem; }
    footer { padding: 20px 1.5rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  }

  @media (max-width: 640px) {
    /* Hero */
    .hero-h1 { font-size: 2.1rem; }
    .hero-p { font-size: 0.95rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Values */
    .values-grid { grid-template-columns: 1fr; }

    /* Testimonials */
    .testi-grid { grid-template-columns: 1fr; }

    /* Footer — 3-col collapses to 1 col */
    footer { padding: 2rem 1.25rem 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* CTA */
    .cta-btns { flex-direction: column; align-items: stretch; }

    /* Banners */
    .conocenos-banner-overlay { padding: 2rem 1.5rem; }
    .testi-header { padding: 2.5rem 1.5rem; }

    /* Misc padding */
    .filo-values { padding: 2.5rem 1.5rem; }
    .historia-main { padding: 2.5rem 1.5rem; }
    .historia-aside { padding: 2.5rem 1.5rem; }
    .testi-body { padding: 2.5rem 1.5rem; }
  }

  /* ══════════════════════════════════════════════════
     CLIENT LOGOS CAROUSEL
  ══════════════════════════════════════════════════ */
  .client-logos-band {
    background: var(--off-white);
    border-top: 3px solid var(--teal);
    padding: 48px 0 40px;
    overflow: hidden;
  }
  .logos-wrapper {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  }
  .logos-track {
    display: flex;
    gap: 60px;
    width: fit-content;
    animation: scroll-logos 70s linear infinite;
    will-change: transform;
    align-items: flex-start;
  }

  @keyframes scroll-logos {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  .logo-container {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 10px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  .client-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) opacity(0.65);
    transition: filter 0.35s ease, transform 0.35s ease;
    display: block;
  }
  .company-name {
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.2;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  @media (hover: hover) and (pointer: fine) {
    .logos-track:hover { animation-play-state: paused; }
    .logo-card:hover .logo-container {
      box-shadow: 0 6px 18px rgba(10,35,66,0.12);
      transform: translateY(-3px);
    }
    .logo-card:hover .client-logo {
      filter: grayscale(0%) opacity(1);
    }
    .logo-card:hover .company-name {
      color: var(--teal);
    }
  }
  @media (max-width: 768px) {
    .client-logos-band { padding: 36px 0 28px; }
    .logos-track { gap: 40px; animation-duration: 55s; }
    .logo-container { width: 130px; height: 80px; }
    .client-logo { max-width: 110px; max-height: 60px; }
    .company-name { font-size: 0.65rem; max-width: 130px; }
  }
  @media (max-width: 480px) {
    .client-logos-band { padding: 28px 0 20px; border-top-width: 2px; }
    .logos-track { gap: 28px; animation-duration: 45s; }
    .logo-container { width: 108px; height: 68px; padding: 8px; }
    .client-logo { max-width: 90px; max-height: 50px; }
    .company-name { font-size: 0.6rem; max-width: 108px; }
  }

  /* Dark-background logos need inversion to be visible on white logo-container */
  .logo-card.logo-dark .client-logo {
    filter: invert(1) grayscale(100%) opacity(0.65);
  }
  @media (hover: hover) and (pointer: fine) {
    .logo-card.logo-dark:hover .client-logo {
      filter: invert(0) grayscale(0%) opacity(1);
    }
  }
  /* ── Touch tap colour reveal (mobile) ── */
  .logo-card.logo-tapped .logo-container {
    box-shadow: 0 6px 18px rgba(10,35,66,0.12);
    transform: translateY(-3px);
  }
  .logo-card.logo-tapped .client-logo {
    filter: grayscale(0%) opacity(1);
  }
  .logo-card.logo-tapped .company-name {
    color: var(--teal);
  }
  .logo-card.logo-dark.logo-tapped .client-logo {
    filter: invert(0) grayscale(0%) opacity(1);
  }

  /* ── Two-map block inside Conócenos ─────────────── */
  .sedes-maps-wrap {
    padding: 2.75rem 2rem 3.25rem;
    background: var(--off-white);
    border-top: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .sedes-maps-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    text-align: center;
    margin-bottom: 0.45rem;
  }
  .sedes-maps-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    line-height: 1.25;
    margin-bottom: 2rem;
  }
  .sedes-maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 360px);
    gap: 1.75rem;
    justify-content: center;
  }
  .sede-map-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(10,35,66,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
  }
  .sede-map-card:hover {
    box-shadow: 0 10px 30px rgba(10,35,66,0.13);
    transform: translateY(-3px);
  }
  .sede-map-card iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
  }
  .sede-map-card-label {
    padding: 0.9rem 1rem;
    text-align: center;
    border-top: 1px solid var(--rule);
  }
  .sede-map-card-label p {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.2;
  }
  @media (max-width: 820px) {
    .sedes-maps-grid {
      grid-template-columns: 1fr;
      width: 100%;
      max-width: 420px;
    }
    .sedes-maps-wrap { padding: 2rem 1.25rem 2.5rem; }
  }
  @media (max-width: 480px) {
    .sede-map-card iframe { height: 210px; }
    .sedes-maps-wrap { padding: 1.5rem 1rem 2rem; }
  }

