
  :root {
    /* Default palette: JPV Brand (azules del logo) */
    --bg: #f4f8fc;
    --bg-elev: #ffffff;
    --ink: #08244a;
    --ink-soft: #334d72;
    --ink-mute: #7890ad;
    --line: #d7e4f2;
    --line-soft: #edf3f9;
    --brand: #0078d7;        /* azul JPV */
    --brand-bright: #12b5df;
    --brand-ink: #ffffff;
    --accent: #063b7a;       /* azul profundo */
    --accent-soft: #9fd3ec;
    --highlight: #f6bd00;    /* amarillo JPV (del botón Pide presupuesto) */
    --card: #ffffff;
  }

  [data-palette="jpv"] {
    /* JPV Brand — azules del logo + amarillo del CTA */
    --bg: #f4f8fc;
    --bg-elev: #ffffff;
    --ink: #08244a;
    --ink-soft: #334d72;
    --ink-mute: #7890ad;
    --line: #d7e4f2;
    --line-soft: #edf3f9;
    --brand: #0078d7;
    --brand-bright: #12b5df;
    --accent: #063b7a;
    --accent-soft: #9fd3ec;
    --highlight: #f6bd00;
    --card: #ffffff;
  }

  [data-palette="jpv-dark"] {
    /* JPV Dark — fondo azul saturado como la home actual */
    --bg: #08244a;
    --bg-elev: #0d3e78;
    --ink: #ffffff;
    --ink-soft: #d7e8f9;
    --ink-mute: #9db7d4;
    --line: #24537f;
    --line-soft: #173e68;
    --brand: #ffffff;
    --brand-bright: #12b5df;
    --brand-ink: #08244a;
    --accent: #f6bd00;
    --accent-soft: #ffe07a;
    --highlight: #f6bd00;
    --card: #0d3e78;
  }

  [data-palette="jpv-light"] {
    /* JPV Light — versión aireada, más blanco */
    --bg: #ffffff;
    --bg-elev: #f5f9fc;
    --ink: #08244a;
    --ink-soft: #455f82;
    --ink-mute: #7f93ad;
    --line: #dce8f4;
    --line-soft: #edf3f9;
    --brand: #0078d7;
    --brand-bright: #12b5df;
    --accent: #063b7a;
    --accent-soft: #b8dced;
    --highlight: #f6bd00;
    --card: #ffffff;
  }

  @keyframes fadeUpReveal {
    from { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  .hero-reveal {
    animation: fadeUpReveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .hero-reveal.d1 { animation-delay: 0.1s; }
  .hero-reveal.d2 { animation-delay: 0.2s; }
  .hero-reveal.d3 { animation-delay: 0.3s; }
  .hero-reveal.d4 { animation-delay: 0.4s; }

  @keyframes coverageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  /* Typography systems */
  :root {
    --font-display: "Instrument Serif", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", monospace;
  }

  [data-type="editorial"] {
    --font-display: "Instrument Serif", Georgia, serif;
    --font-body: "Manrope", system-ui, sans-serif;
  }
  [data-type="classic"] {
    --font-display: "DM Serif Display", Georgia, serif;
    --font-body: "Inter", system-ui, sans-serif;
  }
  [data-type="contemporary"] {
    --font-display: "Newsreader", Georgia, serif;
    --font-body: "Geist", system-ui, sans-serif;
  }

  * { box-sizing: border-box; }
  html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }

  /* Layout helpers */
  .wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
  @media (max-width: 720px) { .wrap { padding: 0 24px; } }

  /* Nav */
  .nav {
    padding: 22px 0;
    border-bottom: 1px solid var(--line-soft);
    background: var(--bg);
    position: sticky; top: 0; z-index: 10;
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .nav-links { display: flex; gap: 32px; align-items: center; }
  .nav-links a {
    font-size: 14px; color: var(--ink-soft);
    letter-spacing: 0.01em;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta {
    padding: 10px 18px;
    background: var(--ink);
    color: var(--bg);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    transition: transform .2s, background .2s, box-shadow .2s;
  }
  .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(8,36,74,0.15); color: var(--bg) !important; }

  @keyframes wave-hand {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(15deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }
  .wave {
    display: inline-block;
    transform-origin: 70% 70%;
    margin-left: 4px;
  }
  .nav-cta:hover .wave {
    animation: wave-hand 1.2s infinite;
  }

  /* Logo (imagen original) */
  .logo { display: inline-flex; align-items: center; }
  .logo img {
    height: 42px; width: auto; display: block;
    transition: transform .25s ease;
  }
  @keyframes logo-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    30% { transform: translateY(-4px) scale(1.05); }
    50% { transform: translateY(0) scale(1.02); }
    70% { transform: translateY(-2px) scale(1.04); }
  }
  .logo:hover img { animation: logo-bounce 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
  [data-palette="jpv-dark"] .logo img { filter: brightness(0) invert(1); }
  .footer .logo img { height: 38px; }

  /* HERO */
  .hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
  }
  @media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .eyebrow::before {
    content: ""; display: inline-block;
    width: 24px; height: 1px; background: var(--ink-mute);
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.2vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin: 0 0 28px;
    color: var(--ink);
  }
  .hero-title em {
    font-style: italic;
    color: var(--accent);
  }

  /* Rotating words — CSS only, 1 keyframe */
  
  .rotate span {
    display: block;
    font-style: italic;
    color: var(--accent);
    animation: rotate 9s infinite;
    opacity: 0;
    position: absolute;
    left: 0; top: 0;
    white-space: nowrap;
  }
  .rotate span:nth-child(1) { animation-delay: 0s; }
  .rotate span:nth-child(2) { animation-delay: 3s; }
  .rotate span:nth-child(3) { animation-delay: 6s; }
  @keyframes rotate {
    0%   { opacity: 0; transform: translateY(40%); }
    4%, 30% { opacity: 1; transform: translateY(0); }
    34%, 100% { opacity: 0; transform: translateY(-40%); }
  }
  .hero-title .underline {
    position: relative;
    background-image: linear-gradient(to right, color-mix(in oklab, var(--highlight) 40%, transparent) 0%, color-mix(in oklab, var(--highlight) 40%, transparent) 100%);
    background-size: 100% 0.3em;
    background-position: 0 92%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
  }

  .hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 40px;
    text-wrap: pretty;
  }

  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 15px;
    transition: transform .2s, background .2s, color .2s;
    white-space: nowrap;
  }
  .btn-primary { background: var(--ink); color: var(--bg); }
  .btn-primary:hover { transform: translateY(-2px); }
  .btn-ghost {
    background: transparent; color: var(--ink);
    border: 1px solid var(--line);
  }
  .btn-ghost:hover { background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px); }
  .btn .arrow { display: inline-block; transition: transform .2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* Hero visual — composición dinámica */
  .hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 14px;
    overflow: hidden;
    background:
      radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--brand) 20%, var(--bg-elev)) 0%, var(--bg-elev) 60%);
    border: 1px solid var(--line);
  }
  .hero-visual::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, color-mix(in oklab, var(--brand) 28%, transparent) 1px, transparent 1.5px);
    background-size: 22px 22px;
    opacity: 0.35;
    mask-image: radial-gradient(circle at 50% 55%, #000 35%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 35%, transparent 78%);
  }
  .hero-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
  .hero-core {
    width: 42%; aspect-ratio: 1; border-radius: 50%;
    background: var(--brand); color: var(--brand-ink);
    display: flex; align-items: center; justify-content: center;
    box-shadow:
      0 0 0 14px color-mix(in oklab, var(--brand) 10%, transparent),
      0 0 0 32px color-mix(in oklab, var(--brand) 5%, transparent),
      0 20px 60px color-mix(in oklab, var(--brand) 35%, transparent);
    animation: breathe 6s ease-in-out infinite;
  }
  @keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
  .hero-core svg { width: 48%; height: 48%; }
  .hero-orbit, .hero-orbit-2 {
    position: absolute; border: 1px dashed color-mix(in oklab, var(--brand) 25%, transparent);
    border-radius: 50%;
  }
  .hero-orbit { inset: 10%; animation: spin 40s linear infinite; }
  .hero-orbit-2 { inset: 22%; border-color: color-mix(in oklab, var(--brand) 14%, transparent); animation: spin 60s linear infinite reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .hero-icon {
    position: absolute; width: 58px; height: 58px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px color-mix(in oklab, var(--brand) 18%, transparent);
    transition: transform .3s;
  }
  .hero-icon:hover { transform: scale(1.1); }
  .hero-icon svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .hero-icon.i1 { top: 10%; left: 16%; animation: float 5s ease-in-out infinite; }
  .hero-icon.i2 { top: 16%; right: 10%; animation: float 5s ease-in-out infinite .8s; }
  .hero-icon.i3 { bottom: 22%; left: 8%; animation: float 5s ease-in-out infinite 1.6s; }
  .hero-icon.i4 { bottom: 12%; right: 14%; animation: float 5s ease-in-out infinite 2.4s; }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .hero-icon .tag {
    position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
    font-family: var(--font-mono); font-size: 10px;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute);
    white-space: nowrap;
  }
  .hero-photo { display: none; }
  .hero-photo-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--ink-mute);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
    padding: 6px 10px;
    border-radius: 3px;
    border: 1px solid var(--line);
  }
  .hero-badge {
    position: absolute;
    left: 24px; top: 24px;
    background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  /* Illustration mode */
  .hero-illustration {
    position: absolute; inset: 0;
    background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
  }
  .hero-illustration svg { width: 100%; height: 100%; max-height: 440px; }

  /* Floating marker */
  .hero-chip {
    position: absolute;
    right: 24px; bottom: 24px;
    background: var(--ink);
    color: var(--bg);
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    max-width: 220px;
  }
  .hero-chip strong { font-weight: 600; display: block; margin-bottom: 2px; }
  .hero-chip .chip-mono {
    font-family: var(--font-mono);
    color: color-mix(in oklab, var(--bg) 60%, var(--ink));
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  /* Hero marquee — logos compañías */
  .hero-ticker {
    margin-top: 64px;
    padding: 20px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    display: flex; align-items: center; gap: 40px;
    overflow: hidden;
  }
  .ticker-label {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
  }
  .ticker-track {
    flex: 1;
    display: flex; gap: 48px;
    animation: scroll 40s linear infinite;
  }
  .ticker-track span {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink-soft);
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ABOUT SECTION */
  .about {
    padding: 120px 0 100px;
    position: relative;
  }
  .section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 72px;
  }
  @media (max-width: 920px) {
    .section-head { gap: 16px; }
  }
  .section-kicker {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    display: flex; align-items: center; gap: 12px;
  }
  .section-kicker::before {
    content: "";
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin: 0;
    color: var(--ink);
    text-wrap: balance;
  }
  .section-title em { font-style: italic; color: var(--accent); }

  /* Timeline */
  .timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 80px;
    position: relative;
  }
  @media (max-width: 920px) { .timeline { grid-template-columns: 1fr; gap: 32px; } }

  .timeline::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 4%;
    right: 4%;
    height: 1px;
    background: var(--line);
    z-index: 0;
  }
  @media (max-width: 920px) { .timeline::before { display: none; } }

  .t-node {
    position: relative;
    padding-top: 40px;
  }
  .t-node::before {
    content: "";
    position: absolute;
    top: 9px; left: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
    z-index: 1;
  }
  .t-year {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 10px;
    line-height: 1;
  }
  .t-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    margin-bottom: 6px;
  }
  .t-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
    text-wrap: pretty;
  }

  /* About quote + photo */
  .about-quote {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 60px;
    border-top: 1px solid var(--line-soft);
    align-items: center;
  }
  @media (max-width: 920px) { .about-quote { grid-template-columns: 1fr; gap: 40px; } }

  .quote-photo {
    aspect-ratio: 5/6;
    border-radius: 4px;
    overflow: hidden;
    background:
      repeating-linear-gradient(135deg,
        transparent 0, transparent 14px,
        rgba(0,0,0,0.04) 14px, rgba(0,0,0,0.04) 15px),
      linear-gradient(180deg,
        color-mix(in oklab, var(--accent) 18%, var(--bg-elev)) 0%,
        var(--bg-elev) 100%);
    display: flex; align-items: flex-end; padding: 20px;
    position: relative;
  }
  .quote-photo-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--ink-mute);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
  }
  .quote-photo-illus {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
    padding: 32px;
  }

  .quote-text {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.25;
    font-weight: 400;
    color: var(--ink);
    margin: 0 0 32px;
    letter-spacing: -0.01em;
    text-wrap: pretty;
  }
  .quote-text em { font-style: italic; color: var(--accent); }
  .quote-attrib {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
  }

  /* TRUST SECTION */
  .trust {
    padding: 100px 0 120px;
    background: var(--ink);
    color: var(--bg);
    position: relative;
    overflow: hidden;
  }
  .trust .section-title { color: var(--bg); }
  .trust .section-kicker { color: color-mix(in oklab, var(--bg) 60%, var(--ink)); }
  .trust .section-kicker::before { background: var(--highlight); }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 80px;
    background: color-mix(in oklab, var(--bg) 10%, var(--ink));
    border: 1px solid color-mix(in oklab, var(--bg) 10%, var(--ink));
  }
  @media (max-width: 920px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

  .stat {
    background: var(--ink);
    padding: 40px 28px;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 220px;
  }
  .stat-num {
    font-family: var(--font-display);
    font-size: clamp(56px, 6vw, 88px);
    line-height: 0.95;
    color: var(--bg);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
  }
  .stat { transition: background .3s ease; }
  .stat:hover { background: color-mix(in oklab, var(--bg) 4%, var(--ink)); }
  .stat-num .plus {
    color: var(--highlight);
    font-style: italic;
  }
  .stat-label {
    font-size: 14px;
    line-height: 1.45;
    color: color-mix(in oklab, var(--bg) 70%, var(--ink));
    text-wrap: pretty;
  }
  .stat-mini {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: color-mix(in oklab, var(--bg) 40%, var(--ink));
    margin-bottom: 32px;
  }

  /* Companies grid */
  .companies {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: color-mix(in oklab, var(--bg) 10%, var(--ink));
    border: 1px solid color-mix(in oklab, var(--bg) 10%, var(--ink));
    margin-bottom: 56px;
  }
  @media (max-width: 920px) { .companies { grid-template-columns: repeat(3, 1fr); } }
  .company {
    background: var(--ink);
    aspect-ratio: 3/1;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: color-mix(in oklab, var(--bg) 60%, var(--ink));
    letter-spacing: -0.01em;
    transition: color .3s, background .3s;
    padding: 12px;
    text-align: center;
    line-height: 1.1;
  }
  .company:hover {
    color: var(--bg);
    background: color-mix(in oklab, var(--bg) 6%, var(--ink));
  }
  .companies-note {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: color-mix(in oklab, var(--bg) 40%, var(--ink));
  }

  /* Products ribbon */
  .products {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  .products-head {
    display: flex; justify-content: space-between; align-items: end;
    margin-bottom: 56px; gap: 40px; flex-wrap: wrap;
  }
  .products-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin: 0;
    max-width: 18ch;
    text-wrap: balance;
  }
  .products-title em { font-style: italic; color: var(--accent); }
  .products-help {
    font-size: 14px;
    color: var(--ink-soft);
    max-width: 28ch;
    line-height: 1.5;
    margin: 0;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  @media (max-width: 920px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .products-grid { grid-template-columns: 1fr; } }

  .product {
    background: var(--card);
    padding: 28px 24px 24px;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 200px;
    cursor: pointer;
    transition: background .2s;
    position: relative;
  }
  .product:hover { background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px); }
  .product-icon {
    width: 36px; height: 36px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 40px;
  }
  .product-name {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    color: var(--ink);
  }
  .product-desc {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0 0 20px;
    text-wrap: pretty;
  }
  .product-arrow {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    display: flex; align-items: center; gap: 8px;
    transition: color .2s, gap .2s;
  }
  .product:hover .product-arrow { color: var(--accent); gap: 12px; }
  .product::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--highlight);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .3s ease;
  }
  .product:hover::before { transform: scaleY(1); transform-origin: top; }

  /* CTA final */
  .cta-final {
    padding: 120px 0;
    text-align: center;
  }
  .cta-final-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 5.4vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin: 0 auto 32px;
    max-width: 18ch;
    text-wrap: balance;
  }
  .cta-final-title em { font-style: italic; color: var(--accent); }

  .cta-sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 48ch;
    margin: 0 auto 40px;
    line-height: 1.55;
    text-wrap: pretty;
  }

  /* Footer */
  .footer {
    border-top: 1px solid var(--line);
    padding: 48px 0;
    font-size: 13px;
    color: var(--ink-soft);
  }
  .footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
  .footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    margin: 0 0 14px;
    font-weight: 500;
  }
  .footer-col p, .footer-col a { display: block; margin: 0 0 6px; }

  /* Tweaks panel */
  .tweaks-panel {
    position: fixed;
    bottom: 20px; right: 20px;
    background: #0f121a;
    color: #fafafa;
    border-radius: 14px;
    padding: 18px 20px;
    width: 280px;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    display: none;
  }
  .tweaks-panel.open { display: block; }
  .tweaks-panel h3 {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: #a3a8b8;
  }
  .tweak-group { margin-bottom: 16px; }
  .tweak-group:last-child { margin-bottom: 0; }
  .tweak-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a3a8b8;
    margin-bottom: 6px;
  }
  .tweak-options { display: flex; gap: 6px; flex-wrap: wrap; }
  .tweak-opt {
    padding: 7px 11px;
    background: #1d2230;
    border: 1px solid #262b3a;
    color: #d2d5dc;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s;
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }
  .tweak-opt:hover { background: #262b3a; }
  .tweak-opt.active {
    background: #fafafa;
    color: #0f121a;
    border-color: #fafafa;
  }

  /* Simple illustrations */
  .illus-line { stroke: var(--brand); stroke-width: 1.2; fill: none; }
  .illus-fill { fill: var(--accent-soft); }
  .illus-ink { fill: var(--ink); }

  /* Pins (dev markers) */
  .pin {
    position: absolute;
    width: 24px; height: 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(0,0,0,0.2), 0 0 0 0 var(--accent-soft); }
    50% { box-shadow: 0 2px 10px rgba(0,0,0,0.2), 0 0 0 8px transparent; }
  }

  /* Production polish */
  .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  @media (max-width: 920px) {
    .nav { position: static; }
    .nav-inner { align-items: flex-start; flex-wrap: wrap; }
    .nav-links {
      width: 100%;
      gap: 16px 22px;
      flex-wrap: wrap;
    }
  }
  @media (max-width: 560px) {
    .nav-links { gap: 12px 16px; }
    .nav-links a { font-size: 13px; }
    .nav-cta { padding: 9px 14px; }
  }
  .nav-links .nav-cta {
    color: #ffffff;
  }

  .rotate {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    height: 1.1em;
    overflow: visible;
    vertical-align: bottom;
  }
  .hero-title {
    font-size: clamp(42px, 5.4vw, 78px);
    line-height: 1.04;
  }
  .rotate .rotate-word {
    position: static;
    display: inline-block;
    opacity: 1;
    animation: rotateWordIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    white-space: nowrap;
    line-height: 1;
  }
  @keyframes rotateWordIn {
    0% { opacity: 0; transform: translateY(0.4em); filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  @media (max-width: 620px) {
    .hero { padding-top: 52px; }
    .eyebrow {
      max-width: 100%;
      font-size: 10px;
      letter-spacing: .06em;
      flex-wrap: wrap;
    }
    .hero-title {
      font-size: clamp(38px, 12vw, 52px);
      line-height: 1.08;
      max-width: 100%;
      overflow-wrap: normal;
    }
    .hero-title .rotate {
      display: block;
      width: 100%;
      min-width: 0;
      margin-top: .06em;
    }
    .hero-title .underline { white-space: normal; }
  }

  .hero-visual {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background:
      linear-gradient(145deg, rgba(0,120,215,.10), rgba(18,181,223,.06) 42%, rgba(246,189,0,.10)),
      var(--bg-elev);
    box-shadow: 0 24px 80px rgba(8,36,74,.10);
    touch-action: pan-y;
  }
  .hero-visual::before {
    background-image:
      linear-gradient(rgba(8,36,74,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(8,36,74,.05) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 1;
    mask-image: linear-gradient(180deg, #000, transparent 92%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 92%);
  }
  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(0,120,215,.14);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero-core {
    width: 34%;
    background: linear-gradient(135deg, var(--brand-bright), var(--brand) 56%, var(--accent));
    box-shadow:
      0 0 0 16px rgba(0,120,215,.08),
      0 0 0 34px rgba(18,181,223,.05),
      0 22px 70px rgba(8,36,74,.22);
  }
  .hero-core span {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 96px);
    font-weight: 700;
    letter-spacing: -0.05em;
  }
  .hero-orbit { inset: 9%; border-style: solid; border-color: rgba(0,120,215,.16); }
  .hero-orbit-2 { inset: 23%; border-style: solid; border-color: rgba(246,189,0,.22); }
  .hero-node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    z-index: 4;
    border: 0;
    padding: 0;
    color: inherit;
  }
  .hero-node-card {
    width: clamp(52px, 5.6vw, 66px);
    height: clamp(52px, 5.6vw, 66px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8,36,74,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    color: var(--brand);
    box-shadow: 0 14px 34px rgba(8,36,74,.12);
    backdrop-filter: blur(12px);
    animation: floatCard 5.6s ease-in-out infinite;
    animation-delay: var(--delay);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
  }
  .hero-node-card svg {
    width: 29px;
    height: 29px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .hero-node:hover .hero-node-card,
  .hero-node:focus-visible .hero-node-card,
  .hero-node.is-active .hero-node-card {
    animation-name: none;
    transform: translateY(-7px) scale(1.08);
    border-color: rgba(246,189,0,.8);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(8,36,74,.18);
  }
  .hero-node:focus-visible { outline: none; }
  .hero-node:focus-visible .hero-node-card { outline: 3px solid rgba(246,189,0,.45); outline-offset: 4px; }
  .hero-service-tag {
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translate(-50%, 6px);
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .hero-node:hover .hero-service-tag,
  .hero-node:focus-visible .hero-service-tag,
  .hero-node.is-active .hero-service-tag {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .hero-legend {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 18px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(8,36,74,.94);
    color: #ffffff;
    z-index: 5;
  }
  .hero-legend strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
  }
  .hero-legend span {
    color: rgba(255,255,255,.76);
    font-size: 13px;
    line-height: 1.4;
  }
  .hero-legend .chip-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--highlight);
  }
  @keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  @media (max-width: 620px) {
    .hero-visual { aspect-ratio: 1 / 1.12; }
    .hero-badge { left: 16px; top: 16px; padding: 10px 12px; font-size: 10px; }
    .hero-legend { left: 16px; right: 16px; bottom: 16px; grid-template-columns: 1fr; gap: 6px; }
    .hero-node-card { width: 48px; height: 48px; border-radius: 13px; }
    .hero-node-card svg { width: 24px; height: 24px; }
    .hero-node[aria-label="Ver seguros de Moto"],
    .hero-node[aria-label="Ver seguros de Mascota"] { --y: 60%; }
  }

  .about-quote {
    grid-template-columns: minmax(280px, .88fr) 1.12fr;
  }
  .story-visual {
    position: relative;
    aspect-ratio: 5 / 6;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(0,120,215,.08), rgba(246,189,0,.08)),
      var(--bg-elev);
    box-shadow: 0 20px 70px rgba(8,36,74,.08);
  }
  .story-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(8,36,74,.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(8,36,74,.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  }
  .story-ring {
    position: absolute;
    inset: 14%;
    border: 1px solid rgba(0,120,215,.16);
    border-radius: 50%;
    animation: spin 42s linear infinite;
  }
  .story-ring.two {
    inset: 27%;
    border-color: rgba(246,189,0,.26);
    animation-duration: 58s;
    animation-direction: reverse;
  }
  .story-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .story-path path {
    stroke: rgba(8,36,74,.18);
    stroke-width: 1.1;
    stroke-dasharray: 5 8;
    fill: none;
    animation: dashMove 18s linear infinite;
  }
  @keyframes dashMove { to { stroke-dashoffset: -130; } }
  .story-center {
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--brand-bright), var(--brand) 55%, var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 58px rgba(8,36,74,.20);
    animation: breathe 6s ease-in-out infinite;
  }
  .story-center svg {
    width: 48%;
    height: 48%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .story-node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(8,36,74,.12);
    color: var(--brand);
    box-shadow: 0 12px 30px rgba(8,36,74,.11);
    animation: storyNode 5s ease-in-out infinite;
    animation-delay: var(--delay);
  }
  .story-node svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .story-caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 14px 16px;
    border-left: 3px solid var(--highlight);
    background: rgba(255,255,255,.88);
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.45;
  }
  .story-caption strong {
    display: block;
    color: var(--ink);
    margin-bottom: 3px;
  }
  @keyframes storyNode {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-7px); }
  }

  
/* Hero Premium Visual - Glassmorphism & Organic Animation */
.hero-premium-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(8,36,74,0.12), inset 0 0 0 1px rgba(255,255,255,0.8);
  isolation: isolate;
}

@media (max-width: 920px) {
  .hero-premium-visual { aspect-ratio: 1/1.1; }
}

/* Organic Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
  animation: orbFloat 20s infinite alternate ease-in-out;
}
.orb-1 { width: 300px; height: 300px; background: rgba(0, 120, 215, 0.4); top: -10%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 250px; height: 250px; background: rgba(246, 189, 0, 0.3); bottom: -10%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 200px; height: 200px; background: rgba(18, 181, 223, 0.4); top: 40%; left: 60%; animation-delay: -10s; }
.orb-4 { width: 350px; height: 350px; background: rgba(0, 120, 215, 0.2); bottom: 20%; left: -20%; animation-delay: -15s; }

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Premium Core */
.premium-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 20px 40px rgba(8,36,74,0.1),
    0 0 0 10px rgba(255,255,255,0.4),
    inset 0 0 20px rgba(255,255,255,1);
  z-index: 2;
  animation: corePulse 4s infinite alternate ease-in-out;
}
.premium-logo { width: 70%; max-width: 100px; margin-bottom: 8px; mix-blend-mode: multiply; }
.premium-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: rgba(0,120,215,0.1);
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 600;
}

@keyframes corePulse {
  0% { box-shadow: 0 20px 40px rgba(8,36,74,0.1), 0 0 0 10px rgba(255,255,255,0.4), inset 0 0 20px rgba(255,255,255,1); }
  100% { box-shadow: 0 25px 50px rgba(8,36,74,0.15), 0 0 0 15px rgba(255,255,255,0.6), inset 0 0 25px rgba(255,255,255,1); }
}

/* Floating Cards */
.premium-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(8,36,74,0.06);
  z-index: 3;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cardFloat 6s infinite alternate ease-in-out;
  cursor: default;
}

.premium-card:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.05) translateY(-5px) !important;
  box-shadow: 0 20px 40px rgba(0,120,215,0.15);
  border-color: rgba(246,189,0,0.8);
  z-index: 10;
}

.p-card-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand));
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,120,215,0.3);
}
.p-card-icon svg { width: 20px; height: 20px; }

.p-card-info strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.p-card-info span { display: block; font-size: 11px; color: var(--ink-mute); }

/* Positions */
.p-card-1 { top: 12%; left: 8%; animation-delay: 0s; }
.p-card-2 { top: 22%; right: 6%; animation-delay: -2s; }
.p-card-3 { bottom: 25%; left: 6%; animation-delay: -4s; }
.p-card-4 { bottom: 15%; right: 8%; animation-delay: -6s; }

@keyframes cardFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* Dropdown */
.nav-contact-wrapper { position: relative; }
.contact-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(8,36,74,0.1), 0 0 0 1px rgba(8,36,74,0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  z-index: 100;
  animation: dropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top right;
}
.contact-dropdown a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 500;
  transition: all 0.2s;
}
.contact-dropdown a:hover {
  background: var(--bg);
  color: var(--brand) !important;
}
.contact-dropdown svg { width: 18px; height: 18px; color: var(--accent); }

@keyframes dropFade {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Motion refresh: protection map + family thread */
  #global-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(
      800px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
      rgba(0, 120, 215, 0.05),
      transparent 45%
    );
    opacity: 1;
    transition: background 0.1s ease;
    mix-blend-mode: multiply;
  }

  .hero-map-visual {
    aspect-ratio: 1.05 / 1;
    padding: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, #f8fbff 0%, #f0f4fa 55%, #f5f0fa 100%);
    border: 1px solid rgba(8, 36, 74, 0.09);
    box-shadow:
      0 50px 120px -20px rgba(0, 120, 215, 0.22),
      0 20px 60px -30px rgba(246,189,0,0.1),
      0 0 0 1px rgba(255,255,255,1) inset;
    isolation: isolate;
    position: relative;
    overflow: hidden;
  }
  .hero-map-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 25% 25%, rgba(0,120,215,0.09) 0%, transparent 55%),
      radial-gradient(ellipse at 78% 76%, rgba(246,189,0,0.07) 0%, transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(18,181,223,0.05) 0%, transparent 65%);
    z-index: -1;
  }
  .hero-map-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(8,36,74,0.055) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: 0;
    pointer-events: none;
  }
  .orbital-rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
  }
  .ring-spin-slow {
    transform-origin: 50% 50%;
    animation: spinSvg 40s linear infinite;
  }
  .ring-spin-reverse {
    transform-origin: 50% 50%;
    animation: spinSvg 30s linear infinite reverse;
  }
  @keyframes spinSvg {
    100% { transform: rotate(360deg); }
  }

  .hub-aura {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0,120,215,0.16) 0%, rgba(0,120,215,0.05) 40%, transparent 70%);
    animation: hubAura 5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
  }
  @keyframes hubAura {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
    50%       { transform: translate(-50%, -50%) scale(1.6); opacity: 1; }
  }

  .center-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32%;
    min-width: 140px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,246,255,0.88));
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow:
      0 30px 60px -10px rgba(8,36,74,0.15),
      0 10px 20px -5px rgba(0,120,215,0.1),
      inset 0 0 20px rgba(255,255,255,1),
      inset 0 -2px 10px rgba(0,120,215,0.05),
      0 0 0 8px rgba(0,120,215,0.04);
    backdrop-filter: blur(24px) saturate(140%);
    z-index: 2;
    overflow: hidden;
    animation: hubPulse 5s ease-in-out infinite;
  }
  @keyframes hubPulse {
    0%, 100% {
      box-shadow:
        0 30px 60px -10px rgba(8,36,74,0.15),
        0 10px 20px -5px rgba(0,120,215,0.1),
        inset 0 0 20px rgba(255,255,255,1),
        inset 0 -2px 10px rgba(0,120,215,0.05),
        0 0 0 8px rgba(0,120,215,0.04);
    }
    50% {
      box-shadow:
        0 30px 70px -10px rgba(8,36,74,0.2),
        0 10px 30px -5px rgba(0,120,215,0.18),
        inset 0 0 20px rgba(255,255,255,1),
        inset 0 -2px 10px rgba(0,120,215,0.08),
        0 0 0 18px rgba(0,120,215,0.07);
    }
  }
  
  .hub-default, .hub-detail {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .hub-default {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .hub-default.is-hidden {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    pointer-events: none;
  }
  .hub-default img {
    width: 65%;
    max-width: 120px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
  }
  .hub-default span {
    display: block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }

  .hub-detail {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    pointer-events: none;
  }
  .hub-detail.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .detail-icon {
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
  }
  .hub-detail.is-visible .detail-icon {
    opacity: 1;
    transform: translateY(0);
  }
  .detail-icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .detail-title {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  }
  .hub-detail.is-visible .detail-title {
    opacity: 1;
    transform: translateY(0);
  }
  .detail-desc {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.4;
    max-width: 95%;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  }
  .hub-detail.is-visible .detail-desc {
    opacity: 1;
    transform: translateY(0);
  }

  .coverage-node {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate(-50%, -50%);
    animation: nodeArrive .8s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: var(--delay);
    outline: none;
    cursor: pointer;
  }
  .coverage-node.is-active {
    transform: translate(-50%, -50%) scale(1.15);
    z-index: 10;
  }
  .hero-map-visual.has-active .coverage-node:not(.is-active) {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(0.95);
  }
  
  .coverage-inner {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(238,246,255,0.92));
    border: 1px solid rgba(255,255,255,0.85);
    box-shadow:
      0 8px 24px -4px rgba(8,36,74,0.14),
      0 2px 8px rgba(8,36,74,0.07),
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -1px 0 rgba(8,36,74,0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
  }
  .coverage-node.is-active .coverage-inner,
  .coverage-node:hover .coverage-inner,
  .coverage-node:focus-visible .coverage-inner {
    background: linear-gradient(145deg, rgba(255,255,255,1), rgba(255,252,232,0.96));
    border-color: rgba(246,189,0,.72);
    box-shadow:
      0 16px 40px -6px rgba(246,189,0,0.32),
      0 4px 16px rgba(246,189,0,0.2),
      0 0 0 5px rgba(246,189,0,0.1),
      inset 0 1px 0 rgba(255,255,255,1);
  }
  @keyframes nodePulse {
    0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.75; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
  }
  @keyframes fadeInLine {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  .coverage-node.is-active .coverage-inner::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1.5px solid rgba(246,189,0,0.65);
    transform: translate(-50%, -50%) scale(1);
    animation: nodePulse 2s ease-out infinite;
    pointer-events: none;
  }
  
  .coverage-node-icon {
    color: var(--brand);
    display: grid;
    place-items: center;
    transition: all 0.4s ease;
  }
  .coverage-node.is-active .coverage-node-icon,
  .coverage-node:hover .coverage-node-icon,
  .coverage-node:focus-visible .coverage-node-icon {
    color: var(--accent);
    transform: scale(1.05);
  }
  .coverage-node-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .coverage-node-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: transparent;
    padding: 0;
    border: none;
    transition: all 0.4s ease;
  }
  .coverage-node.is-active .coverage-node-label,
  .coverage-node:hover .coverage-node-label,
  .coverage-node:focus-visible .coverage-node-label {
    color: var(--ink);
    font-weight: 700;
  }

  @keyframes nodeArrive {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.6) translateY(20px); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1) translateY(0); }
  }

  .story-line-visual {
    background:
      radial-gradient(circle at 26% 30%, rgba(18,181,223,.14), transparent 28%),
      linear-gradient(180deg, rgba(0,120,215,.08), rgba(246,189,0,.08)),
      var(--bg-elev);
  }
  .story-line-visual::before {
    background-image:
      linear-gradient(rgba(8,36,74,.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(8,36,74,.045) 1px, transparent 1px);
    background-size: 30px 30px;
  }
  .story-thread {
    position: absolute;
    inset: 5%;
    width: 90%;
    height: 90%;
    overflow: visible;
  }
  .story-main-path {
    fill: none;
    stroke: url(#storyThread);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 740;
    stroke-dashoffset: 740;
    animation: drawStory 2.6s .2s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .story-ghost-path {
    fill: none;
    stroke: rgba(8,36,74,.16);
    stroke-width: 1;
    stroke-dasharray: 7 9;
    animation: driftThread 20s linear infinite;
  }
  @keyframes drawStory { to { stroke-dashoffset: 0; } }
  .story-mark {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(8,36,74,.10);
    box-shadow: 0 12px 30px rgba(8,36,74,.10);
    animation: markArrive .7s cubic-bezier(.2,.8,.2,1) both;
  }
  .story-mark::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: -5px;
    top: calc(50% - 5px);
    border-radius: 50%;
    background: var(--highlight);
    box-shadow: 0 0 0 7px rgba(246,189,0,.12);
  }
  .story-mark span {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    color: var(--accent);
  }
  .story-mark strong {
    font-size: 11px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }
  .story-mark.m1 { left: 12%; top: 67%; animation-delay: .35s; }
  .story-mark.m2 { left: 43%; top: 18%; animation-delay: .65s; }
  .story-mark.m3 { right: 10%; top: 58%; animation-delay: .95s; }
  @keyframes markArrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .story-brand-card {
    position: absolute;
    left: 12%;
    top: 36%;
    width: 48%;
    padding: 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(8,36,74,.10);
    box-shadow: 0 14px 38px rgba(8,36,74,.10);
  }
  .story-brand-card img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
  .story-brand-card div {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .story-brand-card span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-mute);
  }

  @media (max-width: 620px) {
    .about-quote {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .hero-map-visual { aspect-ratio: 1 / 1.35; border-radius: 16px; }
    .center-hub { width: 44%; padding: 16px; }
    .hub-default img { width: 75%; }
    .detail-title { font-size: 20px; margin-bottom: 4px; }
    .detail-desc { font-size: 11px; max-width: 100%; }
    .coverage-inner { width: 44px; height: 44px; }
    .coverage-node-icon svg { width: 20px; height: 20px; }
    .coverage-node-label { font-size: 11px; }
    
    .story-line-visual { aspect-ratio: 1 / 1.25; }
    .story-brand-card {
      left: 10%;
      top: 34%;
      width: 58%;
      padding: 10px;
    }
    .story-mark { padding: 8px 10px; }
    .story-mark span { font-size: 23px; }
    .story-mark strong { font-size: 9px; }
    .story-mark.m1 { left: 9%; top: 68%; }
    .story-mark.m2 { left: 40%; top: 16%; }
    .story-mark.m3 { right: 7%; top: 58%; }
  }

  .trust { background: #08244a; }
  .trust .section-title em { color: var(--highlight); }
  .trust .section-kicker { color: rgba(255,255,255,.66); }
  .stats-grid,
  .companies {
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.13);
  }
  .stat,
  .company { background: #08244a; }
  .stat:hover,
  .company:hover { background: #0b2f5f; }
  @media (max-width: 560px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat { min-height: 190px; padding: 32px 24px; }
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
  .product {
    min-height: 240px;
    color: inherit;
  }
  .product-icon {
    width: 44px;
    height: 44px;
    border-color: var(--line);
    background: linear-gradient(145deg, rgba(0,120,215,.08), rgba(246,189,0,.10));
    color: var(--brand);
  }
  .product-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .product-name {
    font-size: clamp(23px, 2.2vw, 28px);
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .product:hover .product-icon {
    border-color: rgba(246,189,0,.75);
    color: var(--accent);
  }

  .footer-col a:hover { color: var(--accent); }

  .seo-fallback {
    max-width: 900px;
    margin: 48px auto;
    padding: 0 24px;
    font-family: system-ui, sans-serif;
    color: #08244a;
  }

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

/* --- CINEMATIC HERO & NAV --- */






.cinematic-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0;
  color: #fff;
  overflow: hidden; /* prevents scrolling bugs with the video */
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.08); /* Scales video up to hide watermarks on the edges */
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8,36,74,0.85) 0%, rgba(8,36,74,0.4) 50%, rgba(8,36,74,0.7) 100%);
  z-index: -1;
}
.hero-cinematic-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 120px 24px 80px; /* Accounts for nav at top and ticker at bottom */
}

.hero-text-center {
  max-width: 900px;
  width: 100%;
}
.cinematic-hero .hero-title {
  color: #fff;
  font-size: clamp(48px, 8vw, 100px);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.cinematic-hero .hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 22px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.cinematic-hero .eyebrow {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.4);
}
.cinematic-hero .eyebrow::before {
  background: rgba(255,255,255,0.4);
}
.cinematic-hero .rotate span {
  color: var(--highlight);
  text-shadow: 0 2px 10px rgba(246,189,0,0.3);
}

.glass-btn {
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 18px 32px;
  font-size: 16px;
}
.glass-btn:hover {
  background: rgba(255,255,255,0.25) !important;
  border-color: #fff;
  transform: translateY(-3px);
}

.cinematic-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  background: rgba(8,36,74,0.4);
  backdrop-filter: blur(12px);
  margin-top: 0;
  padding: 20px 0;
  z-index: 2;
}
.cinematic-ticker .ticker-label,
.cinematic-ticker .ticker-track span {
  color: rgba(255,255,255,0.7);
}

/* Sub-sections need padding top to account for fixed nav */
#nosotros {
  padding-top: 140px;
}

.hero-text-glass {
  background: rgba(8, 36, 74, 0.35);
  backdrop-filter: blur(12px) saturate(120%);
  padding: 60px 70px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 720px) {
  .hero-text-glass { padding: 40px 30px; border-radius: 24px; }
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.1) !important;
}

.nav-cinematic {
  z-index: 100;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  transition: all 0.3s ease;
}

/* Base (Top of page over video) */

.nav-cinematic .nav-links a {
  color: rgba(255,255,255,0.9);
}
.nav-cinematic .nav-links a:hover {
  color: #fff;
}
.nav-cinematic .nav-cta {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Scrolled State */
.nav-cinematic.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8,36,74,0.08);
  box-shadow: 0 4px 20px rgba(8,36,74,0.06);
}
.nav-cinematic.scrolled .logo img {
  filter: none;
}
.nav-cinematic.scrolled .nav-links a {
  color: var(--ink-soft);
}
.nav-cinematic.scrolled .nav-links a:hover {
  color: var(--ink);
}
.nav-cinematic.scrolled .nav-cta {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid transparent;
}


.nav-cinematic .nav-links a { color: rgba(255,255,255,0.9); }
.nav-cinematic .nav-links a:hover { color: #fff; }
.nav-cinematic .nav-cta {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

/* Scrolled state */
.nav-cinematic.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8,36,74,0.08) !important;
  box-shadow: 0 4px 20px rgba(8,36,74,0.06);
}
.nav-cinematic.scrolled .logo img {
  filter: none;
}
.nav-cinematic.scrolled .nav-links a { color: var(--ink-soft); }
.nav-cinematic.scrolled .nav-links a:hover { color: var(--ink); }
.nav-cinematic.scrolled .nav-cta {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border: 1px solid transparent !important;
}

@media (max-width: 720px) {
  .nav-inner {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .nav-links {
    width: auto !important;
  }
  .nav-links > a {
    display: none !important;
  }
  .hero-cinematic-content {
    padding-top: 100px !important;
  }
  .hero-text-glass {
    padding: 32px 24px !important;
    border-radius: 20px !important;
  }
}
