/* INAF GROUP — Design System */

:root {
    --navy: #1E3A6F;
    --navy-deep: #0F2547;
    --navy-ink: #0A1830;
    --celeste: #4AB3E3;
    --celeste-soft: #A9DCF1;
    --green: #6FB248;
    --cream: #F7F4EC;
    --cream-warm: #EFEADD;
    --paper: #FDFBF5;
    --ink: #0F1419;
    --smoke: #5B6470;
    --hairline: #DDD6C4;

    /* Aerosense brand manual colors */
    --aero-celeste: #3694D7;
    --aero-navy: #223F80;
    --aero-violet: #3E1964;
    --aero-ink: #0F1B3D;
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--paper); color: var(--ink);
    line-height: 1.55; font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }

  .container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
  @media (max-width: 768px) {
    .container { padding: 0 24px; }
    body { font-size: 16px; }
  }

  /* TOP BAR */
  .topbar { background: var(--navy-ink); color: rgba(255,255,255,0.75); font-size: 13px; padding: 10px 0; letter-spacing: 0.02em; }
  .topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  .topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
  .topbar-left span::before { content: "→"; margin-right: 8px; color: var(--celeste); }
  .topbar-right a { color: var(--celeste-soft); font-weight: 500; transition: color 0.2s; }
  .topbar-right a:hover { color: white; }
  @media (max-width: 640px) { .topbar-right { display: none; } .topbar-left { font-size: 12px; } }

  /* NAV */
  .nav { position: sticky; top: 0; z-index: 100; background: rgba(253, 251, 245, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--hairline); }
  .nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; gap: 24px; }
  .logo { display: flex; align-items: center; gap: 0; }
  .logo img { height: 42px; width: auto; }

  .nav-menu { display: flex; gap: 36px; list-style: none; align-items: center; margin: 0; }
  .nav-menu a { font-size: 15px; font-weight: 500; color: var(--navy-deep); letter-spacing: -0.01em; position: relative; padding-bottom: 2px; transition: color 0.2s; }
  .nav-menu a:hover { color: var(--celeste); }
  .nav-menu a.active::after { content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; background: var(--celeste); }

  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 3px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; transition: all 0.2s; cursor: pointer; border: none; font-family: inherit; text-align: center; white-space: nowrap; }
  .btn-primary { background: var(--navy-deep); color: white; }
  .btn-primary:hover { background: var(--celeste); color: var(--navy-deep); transform: translateY(-1px); }
  .btn-white { background: white; color: var(--navy-deep); }
  .btn-white:hover { background: var(--celeste); color: white; }
  .btn-ghost-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.5); }
  .btn-ghost-white:hover { background: white; color: var(--navy-deep); border-color: white; }
  .btn-aero { background: var(--aero-celeste); color: white; }
  .btn-aero:hover { background: white; color: var(--aero-navy); }
  .btn-arrow::after { content: "→"; font-weight: 400; transition: transform 0.2s; }
  .btn:hover.btn-arrow::after { transform: translateX(4px); }

  /* Mobile menu toggle */
  .nav-toggle { display: none; width: 44px; height: 44px; padding: 0; position: relative; color: var(--navy-deep); }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform 0.3s, opacity 0.3s; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Desktop: show desktop CTA, hide mobile-only CTA inside menu */
  .nav-menu .mobile-cta { display: none; }

  @media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-cta-desktop { display: none; }
    .logo img { height: 36px; }

    .nav-menu {
      position: fixed;
      top: 76px;
      left: 0; right: 0; bottom: 0;
      background: var(--paper);
      flex-direction: column;
      padding: 40px;
      gap: 28px;
      align-items: flex-start;
      transform: translateX(100%);
      transition: transform 0.4s ease;
      border-top: 1px solid var(--hairline);
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu a:not(.btn) {
      font-size: 22px;
      font-family: 'Fraunces', serif;
      font-weight: 400;
      letter-spacing: -0.02em;
    }
    .nav-menu .mobile-cta {
      display: inline-flex;
      margin-top: 20px;
      width: 100%;
      justify-content: center;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
    }
  }

  /* HERO */
  .hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; background: var(--navy-ink); }
  .hero-bg { position: absolute; inset: 0; background-image: url('assets/img/hero.jpg?v=v9'); background-size: cover; background-position: center; }
  .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,24,48,0.92) 0%, rgba(10,24,48,0.7) 45%, rgba(10,24,48,0.35) 100%), linear-gradient(180deg, rgba(10,24,48,0.15) 0%, rgba(10,24,48,0.5) 100%); }
  .hero-content { position: relative; z-index: 2; padding: 100px 0 140px; max-width: 900px; color: white; }
  .hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--celeste-soft); font-weight: 600; margin-bottom: 30px; }
  .hero-eyebrow::before { content: ""; display: inline-block; width: 40px; height: 1.5px; background: var(--celeste); }
  .hero h1 { font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(42px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 32px; font-variation-settings: 'opsz' 144; }
  .hero h1 em { font-style: italic; color: var(--celeste); font-weight: 300; }
  .hero-sub { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 48px; font-weight: 300; }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero-badges { position: absolute; bottom: 40px; left: 0; right: 0; z-index: 2; }
  .hero-badges-inner { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; color: rgba(255,255,255,0.8); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
  .hero-badge { display: flex; align-items: baseline; gap: 10px; }
  .hero-badge strong { color: var(--celeste); font-weight: 700; font-size: 15px; }

  @media (max-width: 640px) {
    .hero-content { padding: 80px 0 180px; }
    .hero-badges { bottom: 24px; }
    .hero-badges-inner { gap: 18px; font-size: 11px; padding-top: 16px; }
    .hero-badge strong { font-size: 13px; }
  }

  /* SECTIONS */
  section { padding: 120px 0; }
  @media (max-width: 768px) { section { padding: 72px 0; } }

  .section-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--celeste); font-weight: 700; margin-bottom: 24px; }
  .section-eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: var(--celeste); }
  .section-eyebrow.centered { justify-content: center; }
  .section-title { font-family: 'Fraunces', serif; font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 400; color: var(--navy-deep); margin-bottom: 24px; max-width: 900px; }
  .section-title em { font-style: italic; color: var(--celeste); }
  .section-lead { font-size: 19px; line-height: 1.55; color: var(--smoke); max-width: 720px; font-weight: 300; }
  .section-lead.mb-tight { margin-bottom: 32px; }

  /* ROUTES */
  .routes { background: var(--paper); }
  .routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
  @media (max-width: 900px) { .routes-grid { grid-template-columns: 1fr; } }
  .route-card { position: relative; overflow: hidden; aspect-ratio: 3/4; color: white; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 36px; text-decoration: none; transition: transform 0.4s ease; border-radius: 2px; }
  .route-card:hover { transform: translateY(-6px); }
  .route-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s ease; }
  .route-card:hover .route-bg { transform: scale(1.06); }
  .route-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,24,48,0.2) 0%, rgba(10,24,48,0.5) 50%, rgba(10,24,48,0.95) 100%); }
  .route-content { position: relative; z-index: 2; }
  .route-number { font-family: 'Fraunces', serif; font-size: 15px; color: var(--celeste); margin-bottom: 18px; font-style: italic; }
  .route-card h3 { font-family: 'Fraunces', serif; font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 14px; }
  .route-desc { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.55; margin-bottom: 24px; }
  .route-arrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; color: var(--celeste); }
  .route-arrow::after { content: "→"; transition: transform 0.3s; }
  .route-card:hover .route-arrow::after { transform: translateX(6px); }

  /* METHOD */
  .method { background: var(--navy-deep); color: white; position: relative; overflow: hidden; }
  .method::before { content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(74,179,227,0.15) 0%, transparent 70%); pointer-events: none; }
  .method-ig-watermark { position: absolute; bottom: -80px; right: -80px; width: 380px; opacity: 0.04; pointer-events: none; }
  .method-header { max-width: 820px; margin-bottom: 80px; position: relative; }
  .method .section-eyebrow { color: var(--celeste-soft); }
  .method .section-eyebrow::before { background: var(--celeste-soft); }
  .method .section-title { color: white; }
  .method .section-lead { color: rgba(255,255,255,0.75); }

  .pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.12); position: relative; }
  @media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
  .pillar { padding: 48px 36px 48px 0; border-right: 1px solid rgba(255,255,255,0.12); }
  .pillar:last-child { border-right: none; }
  @media (max-width: 900px) {
    .pillar:nth-child(2n) { border-right: none; }
    .pillar:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
    .pillar { padding-right: 24px; }
  }
  @media (max-width: 560px) {
    .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 36px 0; }
    .pillar:last-child { border-bottom: none; }
  }
  .pillar-number { font-family: 'Fraunces', serif; font-style: italic; font-size: 16px; color: var(--celeste); margin-bottom: 16px; font-weight: 300; }
  .pillar-name { font-family: 'Fraunces', serif; font-size: 38px; line-height: 1; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 20px; }
  .pillar-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.7); }

  /* CASES */
  .cases { background: var(--cream); }
  .cases-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 80px; }
  @media (max-width: 900px) { .cases-intro { grid-template-columns: 1fr; gap: 32px; } }
  .cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--hairline); border: 1px solid var(--hairline); }
  @media (max-width: 768px) { .cases-grid { grid-template-columns: 1fr; } }
  .case-card { background: white; padding: 48px 40px; display: flex; flex-direction: column; transition: background 0.3s; }
  .case-card:hover { background: var(--paper); }
  .case-year { font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; color: var(--celeste); margin-bottom: 20px; }
  .case-card h4 { font-family: 'Fraunces', serif; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; color: var(--navy-deep); margin-bottom: 18px; }
  .case-sector { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--smoke); margin-bottom: 20px; font-weight: 600; }
  .case-desc { font-size: 15px; line-height: 1.6; color: var(--smoke); margin-bottom: 28px; flex-grow: 1; }
  .case-tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 20px; border-top: 1px solid var(--hairline); }
  .case-tag { font-size: 11px; padding: 4px 10px; background: var(--cream); color: var(--navy); letter-spacing: 0.02em; font-weight: 500; }

  /* ===== AEROSENSE — USING BRAND MANUAL COLORS ===== */
  .aerosense {
    background: linear-gradient(135deg, var(--aero-navy) 0%, var(--aero-ink) 60%, var(--aero-violet) 120%);
    color: white;
    position: relative;
    overflow: hidden;
    font-family: 'Hanken Grotesk', 'Plus Jakarta Sans', sans-serif;
  }

  /* Decorative glow spots referencing manual */
  .aerosense::before {
    content: "";
    position: absolute;
    top: -300px;
    left: 20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(54,148,215,0.35) 0%, transparent 60%);
    pointer-events: none;
  }
  .aerosense::after {
    content: "";
    position: absolute;
    bottom: -250px;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(62,25,100,0.5) 0%, transparent 60%);
    pointer-events: none;
  }

  .aerosense-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  @media (max-width: 900px) {
    .aerosense-grid { grid-template-columns: 1fr; gap: 48px; }
  }

  /* Aerosense logotype recreation */
  .aero-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 36px;
  }

  .aero-logo-text {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(60px, 8vw, 110px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: white;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    display: inline-block;
  }

  .aero-logo-text span { display: block; }

  .aero-logo-arc {
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    width: 110%;
    height: 120%;
    border: 2px solid var(--aero-celeste);
    border-right-color: transparent;
    border-top-color: transparent;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
  }

  .aero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(54,148,215,0.5);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--aero-celeste);
    margin-bottom: 20px;
  }
  .aero-tag::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--aero-celeste);
    box-shadow: 0 0 12px var(--aero-celeste);
    animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

  .aero-headline {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 600px;
  }
  .aero-headline strong { font-weight: 700; color: var(--aero-celeste); }

  .aero-mission {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 540px;
  }

  .aero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    margin-bottom: 40px;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  @media (max-width: 520px) { .aero-features { grid-template-columns: 1fr; } }

  .aero-feature { display: flex; gap: 14px; align-items: flex-start; }
  .aero-feature-num {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    color: var(--aero-celeste);
    font-size: 13px;
    flex-shrink: 0;
    padding-top: 3px;
    letter-spacing: 0.1em;
  }
  .aero-feature-text { font-size: 14px; color: rgba(255,255,255,0.88); line-height: 1.45; }
  .aero-feature-text strong { font-weight: 700; display: block; color: white; margin-bottom: 2px; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }

  .aero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

  .aero-visual {
    position: relative;
    aspect-ratio: 4/5;
    background-image: url('assets/img/aerosense.jpg?v=v9');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .aero-visual::before {
    content: "NUEVO";
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 14px;
    background: var(--aero-celeste);
    color: white;
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-family: 'Hanken Grotesk', sans-serif;
  }
  .aero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15,27,61,0.3) 100%);
  }

  /* Kunak credit */
  .aero-kunak {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(15,27,61,0.85);
    padding: 14px 18px;
    border: 1px solid rgba(54,148,215,0.3);
    backdrop-filter: blur(8px);
    z-index: 3;
    max-width: 280px;
  }
  .aero-kunak-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--aero-celeste);
    font-weight: 700;
    margin-bottom: 6px;
  }
  .aero-kunak-text {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
  }
  .aero-kunak-text a {
    color: white;
    border-bottom: 1px solid var(--aero-celeste);
    font-weight: 600;
  }
  .aero-kunak-text a:hover { color: var(--aero-celeste); }

  /* NUMBERS */
  .numbers { background: var(--paper); padding: 100px 0; }
  .numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; align-items: start; }
  @media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
  .number { border-top: 1.5px solid var(--navy-deep); padding-top: 24px; }
  .number-value { font-family: 'Fraunces', serif; font-size: clamp(50px, 5vw, 76px); line-height: 1; letter-spacing: -0.04em; color: var(--navy-deep); font-weight: 400; margin-bottom: 18px; }
  .number-value sup { font-size: 0.45em; top: -1em; font-style: italic; color: var(--celeste); margin-left: 4px; font-weight: 300; }
  .number-label { font-size: 14px; line-height: 1.4; color: var(--smoke); font-weight: 500; }

  /* ACCREDITATION */
  .accreditation { background: var(--cream-warm); position: relative; overflow: hidden; }
  .accred-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; }
  @media (max-width: 900px) { .accred-grid { grid-template-columns: 1fr; gap: 48px; } }
  .accred-seal { aspect-ratio: 1/1; max-width: 440px; margin: 0 auto; background: white; border: 1.5px solid var(--hairline); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px; text-align: center; position: relative; }
  .accred-seal::before, .accred-seal::after { content: ""; position: absolute; width: 28px; height: 28px; border: 1.5px solid var(--navy-deep); }
  .accred-seal::before { top: 18px; left: 18px; border-right: none; border-bottom: none; }
  .accred-seal::after { bottom: 18px; right: 18px; border-left: none; border-top: none; }
  .accred-iso { font-family: 'Fraunces', serif; font-size: clamp(56px, 7vw, 80px); line-height: 1; color: var(--navy-deep); font-weight: 400; letter-spacing: -0.03em; margin-bottom: 16px; }
  .accred-iso em { font-style: italic; color: var(--celeste); }
  .accred-norm { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-deep); font-weight: 600; margin-bottom: 40px; }
  .accred-code { font-family: 'Fraunces', serif; font-size: 22px; font-style: italic; color: var(--smoke); padding-top: 24px; border-top: 1px solid var(--hairline); width: 100%; }

  /* FINAL CTA */
  .final-cta { background: var(--navy-ink); color: white; position: relative; overflow: hidden; padding: 140px 0; }
  @media (max-width: 768px) { .final-cta { padding: 96px 0; } }
  .final-cta::before { content: ""; position: absolute; left: -100px; top: 50%; transform: translateY(-50%); width: 400px; height: 400px; background: radial-gradient(circle, rgba(111,178,72,0.12) 0%, transparent 70%); pointer-events: none; }
  .final-cta::after { content: ""; position: absolute; right: -200px; bottom: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(74,179,227,0.15) 0%, transparent 70%); pointer-events: none; }
  .final-cta-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
  .final-cta h2 { font-family: 'Fraunces', serif; font-size: clamp(40px, 5vw, 76px); line-height: 1.05; font-weight: 400; letter-spacing: -0.03em; margin-bottom: 36px; }
  .final-cta h2 em { font-style: italic; color: var(--celeste); }
  .final-cta p { font-size: 20px; color: rgba(255,255,255,0.75); margin-bottom: 48px; font-weight: 300; line-height: 1.55; }
  @media (max-width: 640px) { .final-cta p { font-size: 17px; } }
  .final-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

  /* FOOTER */
  footer { background: var(--navy-ink); color: rgba(255,255,255,0.7); padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,0.08); }
  .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
  @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
  @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
  .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
  .footer-logo img.full { height: 44px; width: auto; }
  .footer-brand p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 320px; font-weight: 300; }
  .footer-col h5 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--celeste); font-weight: 700; margin-bottom: 24px; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 12px; }
  .footer-col a, .footer-col .meta { color: rgba(255,255,255,0.7); font-size: 15px; transition: color 0.2s; }
  .footer-col .meta { color: rgba(255,255,255,0.5); }
  .footer-col a:hover { color: var(--celeste); }
  .footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap: wrap; }

  /* ANIMATIONS */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  .hero-eyebrow { animation: fadeUp 0.9s 0.1s both; }
  .hero h1 { animation: fadeUp 0.9s 0.25s both; }
  .hero-sub { animation: fadeUp 0.9s 0.45s both; }
  .hero-ctas { animation: fadeUp 0.9s 0.6s both; }
  .hero-badges { animation: fadeUp 1s 0.8s both; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }

  /* IG stamp in final CTA */
  .final-cta-ig-stamp {
    position: absolute;
    left: 8%;
    bottom: -40px;
    width: 180px;
    opacity: 0.06;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-8deg);
  }
  @media (max-width: 768px) {
    .final-cta-ig-stamp { width: 120px; left: 4%; opacity: 0.08; }
  }

  /* Social media icons */
  .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
  }
  .footer-social a {
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
  }
  .footer-social a:hover {
    background: var(--celeste);
    color: white;
    border-color: var(--celeste);
    transform: translateY(-2px);
  }
  .footer-social svg {
    width: 18px; height: 18px;
    fill: currentColor;
  }

  /* Scroll-to-top with IG monogram */
  .scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: var(--navy-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 99;
    box-shadow: 0 6px 20px rgba(10,24,48,0.25);
    cursor: pointer;
    border: none;
  }
  .scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
  .scroll-top:hover { background: var(--celeste); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(74,179,227,0.4); }
  .scroll-top img { width: 26px; height: auto; filter: brightness(0) invert(1); }
  @media (max-width: 640px) {
    .scroll-top { bottom: 16px; right: 16px; width: 48px; height: 48px; }
    .scroll-top img { width: 22px; }
  }

/* Cases-more: additional clients list */
.cases-more {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
.cases-more-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--celeste);
  font-weight: 700;
  margin-bottom: 24px;
}
.cases-more-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.client-chip {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--hairline);
  transition: all 0.2s;
}
.client-chip:hover {
  border-color: var(--celeste);
  color: var(--celeste);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .client-chip { font-size: 16px; padding: 8px 16px; }
}


/* ======================================================
   CAREERS LINK TOGGLE
   ------------------------------------------------------
   To DISABLE "Trabaja con nosotros" link from all footers,
   add class "careers-disabled" to the <body> tag of each
   HTML page. To enable again, remove it.
   Example: <body class="careers-disabled">
   ====================================================== */
body.careers-disabled [data-careers-link] {
  display: none !important;
}


/* ======================================================
   CLIENT LOGO BAND (marquee)
   ------------------------------------------------------
   To replace with real logos:
   1. Save logo PNGs (transparent, ~80px height) to /assets/logo/clients/
   2. Replace each <span class="logo-item">Nombre</span> with:
      <img class="logo-item-img" src="assets/logo/clients/name.png" alt="Name">
   3. IMPORTANT: keep both sets (set 1 + set 2 duplicate)
      identical for the animation to loop seamlessly.
   ====================================================== */
.logo-band {
  background: var(--paper);
  padding: 72px 0 80px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.logo-band-header {
  text-align: center;
  margin-bottom: 48px;
}
.logo-band-header .section-eyebrow {
  justify-content: center;
  display: inline-flex;
  align-items: center;
}

/* Marquee viewport */
.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Scrolling track */
.logo-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}

/* Pause animation on hover for accessibility */
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

/* Placeholder text items (while real logos arrive) */
.logo-item {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  opacity: 0.45;
  white-space: nowrap;
  transition: opacity 0.3s;
  flex-shrink: 0;
  padding: 12px 24px;
  border: 1px solid var(--hairline);
  background: white;
}
.logo-item:hover {
  opacity: 1;
  color: var(--celeste);
}

/* Real image logos */
.logo-item-img {
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.58;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.logo-item-img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Translate exactly -50% because the track contains 2 identical sets */
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .logo-band { padding: 56px 0 64px; }
  .logo-band-header { margin-bottom: 32px; }
  .logo-track { gap: 48px; animation-duration: 30s; }
  .logo-item { font-size: 18px; padding: 10px 18px; }
  .logo-item-img { height: 48px; max-width: 180px; }
}
