/* Animate CSS base rules */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.8s ease-out; }
.fade-in.visible { opacity: 1; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        :root {
            --navy:  #000412;
            --blue:  #3057be;
            --sky:   #74ACDF;
            --white: #ffffff;
            --off:   #f7f9fc;
            --text:  #1c2340;
            --muted: #5a6a8a;
            --border: #dde3ef;
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Lato', sans-serif;
            background: var(--white);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
        }
        h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; line-height: 1.1; }

        /* ─── MAPA FIJO FONDO TOTAL ───────────────────────────────── */
        #bg-map {
            position: fixed;
            top: 0; right: 0;
            width: 60%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }
        #bg-map svg {
            position: absolute;
            top: -60px;
            right: -40px;
            width: 560px;
            will-change: transform;
            transition: transform 0.1s linear;
        }

        /* ─── NAVBAR ─────────────────────────────────────────────── */
        #nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            height: 86px;
            display: flex;
            align-items: center;
            padding: 0 60px;
            justify-content: space-between;
            transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease;
        }
        #nav.solid {
            background: rgba(255,255,255,0.97);
            backdrop-filter: blur(14px);
            height: 70px;
            box-shadow: 0 1px 28px rgba(0,4,18,0.07);
        }
        /* ─── LOGO EN NAV ────────────────────────────────── */
        .nav-brand { display: flex; align-items: center; text-decoration: none; }

        #nav-logo {
            height: 72px;
            width: auto;
            display: block;
            transition: height 0.4s ease, opacity 0.3s;
        }

        #nav.solid #nav-logo { height: 58px; }
        .nav-links { display: flex; gap: 38px; }
        .nav-links a {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.72rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.75);
            text-decoration: none;
            transition: color 0.3s;
        }
        #nav.solid .nav-links a { color: var(--muted); }
        .nav-links a:hover,
        #nav.solid .nav-links a:hover { color: var(--blue); }
        .nav-right { display: flex; align-items: center; gap: 20px; }
        .lang-toggle {
            display: flex; align-items: center; gap: 6px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.68rem; letter-spacing: 0.08em;
        }
        .lang-toggle button {
            background: none; border: none; cursor: pointer;
            color: rgba(255,255,255,0.35);
            font: inherit; transition: color 0.3s;
        }
        .lang-toggle button.on { color: var(--sky); }
        #nav.solid .lang-toggle button { color: rgba(0,4,18,0.25); }
        #nav.solid .lang-toggle button.on { color: var(--blue); }
        .lang-toggle span { color: rgba(255,255,255,0.12); font-weight: 300; }
        #nav.solid .lang-toggle span { color: rgba(0,4,18,0.1); }
        .nav-cta {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800; font-size: 0.7rem;
            letter-spacing: 0.14em; text-transform: uppercase;
            text-decoration: none; color: white;
            background: var(--blue);
            padding: 12px 28px;
            border-radius: 50px;
            transition: background 0.3s, transform 0.2s;
        }
        .nav-cta:hover { background: var(--sky); transform: translateY(-2px); }

        /* ─── HERO ───────────────────────────────────────────────── */
        #hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(128deg, #000412 0%, #050d2a 50%, #0a1d48 100%);
            z-index: 1;
            overflow: hidden;
        }
        /* Dot grid sutil solo en el hero */
        #hero::before {
            content: '';
            position: absolute; inset: 0;
            background-image: radial-gradient(circle, rgba(116,172,223,0.18) 1px, transparent 1px);
            background-size: 36px 36px;
            mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(0,0,0,0.4) 0%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(0,0,0,0.4) 0%, transparent 70%);
            pointer-events: none;
        }
        .hero-inner {
            position: relative; z-index: 2;
            max-width: 1240px; margin: 0 auto;
            padding: 120px 60px 80px;
            width: 100%;
            display: grid;
            grid-template-columns: 5fr 7fr;
            gap: 40px;
            align-items: center;
        }

        /* ─── LOGO GIGANTE EN HERO ───────────────────────────────── */
        .hero-logo-col {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .hero-logo-giant {
            width: 100%;
            max-width: 680px;
            opacity: 0.92;
            filter: drop-shadow(0 0 90px rgba(116,172,223,0.3)) drop-shadow(0 0 35px rgba(48,87,190,0.25));
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50%       { transform: translateY(-14px); }
        }
        .hero-label {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.65rem;
            letter-spacing: 0.28em; text-transform: uppercase;
            color: var(--sky);
            display: flex; align-items: center; gap: 14px;
            margin-bottom: 32px;
        }
        .hero-label::before {
            content: ''; display: block;
            width: 36px; height: 1.5px;
            background: var(--sky); border-radius: 2px;
        }
        .hero-h1 {
            font-size: clamp(2rem, 3.2vw, 2.9rem);
            font-weight: 900;
            color: white;
            letter-spacing: -0.03em;
            line-height: 1.04;
            margin-bottom: 24px;
            max-width: 600px;
        }
        .hero-h1 .sky { color: var(--sky); }
        .hero-h1 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.7); }
        .hero-p {
            font-size: 1.1rem; font-weight: 300;
            color: rgba(255,255,255,0.5);
            line-height: 1.8; max-width: 520px;
            margin-bottom: 48px;
        }
        .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
        .btn-solid {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800; font-size: 0.7rem;
            letter-spacing: 0.16em; text-transform: uppercase;
            text-decoration: none; color: white;
            background: var(--blue);
            padding: 16px 36px; border-radius: 50px;
            transition: background 0.3s, transform 0.2s;
            box-shadow: 0 6px 28px rgba(48,87,190,0.4);
            display: inline-block;
        }
        .btn-solid:hover { background: var(--sky); transform: translateY(-3px); }
        .btn-ghost {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.7rem;
            letter-spacing: 0.16em; text-transform: uppercase;
            text-decoration: none; color: rgba(255,255,255,0.7);
            border: 1.5px solid rgba(255,255,255,0.2);
            padding: 16px 36px; border-radius: 50px;
            transition: all 0.3s;
            display: inline-block;
        }
        .btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
        .hero-wave {
            position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3;
            line-height: 0;
        }

        /* ─── LOGO TEST BG (fijo en sección azul) ─────────────────── */
        .logo-bg-section {
            position: relative;
            overflow: hidden;
        }
        .logo-bg-section::after {
            content: '';
            position: absolute;
            right: -5%;
            top: 50%;
            transform: translateY(-50%);
            width: 600px;
            height: 600px;
            background: url('assets/vectorpolaris-negro.png') center/contain no-repeat;
            opacity: 0.06;
            pointer-events: none;
        }

        /* --- SECCIONES COMUNES ---------------------------------------- */
        .section-white { background: #ffffff; position: relative; z-index: 1; padding: 96px 60px; }
        .section-off   { background: #f7f9fc; position: relative; z-index: 1; padding: 96px 60px; }
        .section-navy  { background: var(--navy); position: relative; z-index: 1; padding: 96px 60px; overflow: hidden; }
        .inner         { max-width: 1240px; margin: 0 auto; }
        .wave-wrap     { line-height: 0; position: relative; z-index: 1; }

        /* Diagonal clip transitions */
        .clip-down { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); margin-bottom: -4px; }
        .clip-up   { clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%); margin-top: -4px; padding-top: 120px !important; }

        /* Labels de sección */
        .sec-label {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800; font-size: 0.62rem;
            letter-spacing: 0.28em; text-transform: uppercase;
            color: var(--blue);
            display: flex; align-items: center; gap: 12px;
            margin-bottom: 20px;
        }
        .sec-label::before {
            content: ''; display: block;
            width: 28px; height: 1.5px;
            background: currentColor; border-radius: 2px;
            flex-shrink: 0;
        }
        .sec-label.light { color: var(--sky); }

        .sec-h2 {
            font-size: clamp(2rem, 3.5vw, 3rem);
            font-weight: 800;
            letter-spacing: -0.025em;
            margin-bottom: 20px;
        }
        .sec-h2.white { color: white; }
        .sec-h2.dark { color: var(--navy); }

        .sec-p {
            font-size: 1rem; font-weight: 300;
            line-height: 1.8;
            color: var(--muted);
            max-width: 560px;
        }
        .sec-p.light { color: rgba(255,255,255,0.5); max-width: none; }

        /* ─── CLIENTES ───────────────────────────────────────────── */
        .clients-label {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.6rem;
            letter-spacing: 0.25em; text-transform: uppercase;
            color: #9aaac5; text-align: center; margin-bottom: 36px;
        }
        .clients-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 14px;
        }
        .logo-card { border: 1.5px dashed #c8d4e8; border-radius: 16px; height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: white;
            transition: all 0.3s; cursor: default;
        }
        .logo-card:hover {
            border-color: var(--blue); border-style: solid;
            box-shadow: 0 4px 18px rgba(48,87,190,0.08);
        }
        .logo-card svg { color: #b8c5d8; width: 20px; height: 20px; }
        .logo-card span {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.5rem;
            letter-spacing: 0.18em; text-transform: uppercase;
            color: #aabbcc;
        }

        /* ─── QUIÉNES SOMOS ──────────────────────────────────────── */
        .qs-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px; align-items: center;
        }
        .qs-cards { display: flex; flex-direction: column; gap: 16px; }
        .qs-card {
            padding: 26px 30px;
            border-radius: 20px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.07);
            transition: border-color 0.3s;
        }
        .qs-card:hover { border-color: rgba(116,172,223,0.25); }
        .qs-card:nth-child(2) { margin-left: 30px; }
        .qs-card h4 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.95rem;
            color: white; margin-bottom: 8px;
        }
        .qs-card p {
            font-size: 0.875rem; font-weight: 300;
            color: rgba(255,255,255,0.4);
            line-height: 1.65;
        }
        .btn-link {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.7rem;
            letter-spacing: 0.16em; text-transform: uppercase;
            text-decoration: none; color: var(--sky);
            display: inline-flex; align-items: center; gap: 8px;
            border-bottom: 1px solid rgba(116,172,223,0.25);
            padding-bottom: 3px;
            transition: gap 0.3s, border-color 0.3s;
        }
        .btn-link:hover { gap: 14px; border-color: var(--sky); }

        /* ─── METODOLOGÍA ────────────────────────────────────────── */
        .method-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px; margin-top: 56px;
        }
        .method-card { padding: 36px 28px; border-radius: 24px; border: 1.5px solid var(--border); background: white;
            transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
            position: relative; overflow: hidden;
        }
        .method-card::after {
            content: '';
            position: absolute; bottom: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--blue), var(--sky));
            transform: scaleX(0); transform-origin: left;
            transition: transform 0.4s ease;
        }
        .method-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(48,87,190,0.1); border-color: rgba(48,87,190,0.2); }
        .method-card:hover::after { transform: scaleX(1); }
        .method-num {
            font-family: 'Montserrat', sans-serif;
            font-weight: 900; font-size: 3.5rem;
            color: rgba(48,87,190,0.08);
            line-height: 1; margin-bottom: 16px;
            letter-spacing: -0.04em;
        }
        .method-card h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 12px;
            line-height: 1.3;
        }
        .method-card p {
            font-size: 0.875rem; font-weight: 300;
            color: var(--muted); line-height: 1.65;
        }

        /* ─── SERVICIOS ──────────────────────────────────────────── */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .svc-card { padding: 38px 34px; border-radius: 24px; background: white; border: 1.5px solid var(--border);
            display: flex; flex-direction: column; gap: 14px;
            text-decoration: none;
            transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
            position: relative; overflow: hidden;
        }
        .svc-card::before {
            content: '';
            position: absolute; bottom: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--blue), var(--sky));
            transform: scaleX(0); transform-origin: left;
            transition: transform 0.4s ease;
        }
        .svc-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(48,87,190,0.12); border-color: rgba(48,87,190,0.2); }
        .svc-card:hover::before { transform: scaleX(1); }
        .svc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--off);
            display: flex; align-items: center; justify-content: center;
            transition: background 0.3s;
        }
        .svc-card:hover .svc-icon { background: rgba(48,87,190,0.08); }
        .svc-card:hover .svc-icon svg { stroke: var(--blue); }
        .svc-icon svg { stroke: #94a3b8; transition: stroke 0.3s; }
        .svc-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.3;
        }
        .svc-desc {
            font-size: 0.875rem; font-weight: 300;
            color: var(--muted); line-height: 1.65; flex-grow: 1;
        }
        .svc-link {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.65rem;
            letter-spacing: 0.14em; text-transform: uppercase;
            color: var(--blue);
            display: flex; align-items: center; gap: 6px;
            transition: gap 0.3s;
        }
        .svc-card:hover .svc-link { gap: 10px; }

        /* ─── NOTICIAS ───────────────────────────────────────────── */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
        .news-card { border-radius: 24px; background: white; border: 1px solid var(--border);
            overflow: hidden; text-decoration: none;
            display: flex; flex-direction: column;
            transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
        }
        .news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(0,4,18,0.09); }
        .news-thumb { height: 176px; background: linear-gradient(135deg, #eaeff9 0%, #dce5f2 100%);
            display: flex; flex-direction: column;
            align-items: center; justify-content: center; gap: 10px;
            border-bottom: 1px solid var(--border);
        }
        .news-thumb svg { opacity: 0.25; }
        .news-thumb-label {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.55rem;
            letter-spacing: 0.2em; text-transform: uppercase;
            color: var(--blue); opacity: 0.45;
            text-align: center; padding: 0 20px;
        }
        .news-body {
            padding: 28px; display: flex;
            flex-direction: column; gap: 10px; flex-grow: 1;
        }
        .news-cat {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800; font-size: 0.6rem;
            letter-spacing: 0.2em; text-transform: uppercase;
            color: var(--blue);
        }
        .news-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--navy); line-height: 1.4;
            transition: color 0.3s;
        }
        .news-card:hover .news-title { color: var(--blue); }
        .news-expt { font-size: 0.85rem; font-weight: 300; color: var(--muted); line-height: 1.6; flex-grow: 1; }
        .news-date { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.6rem; letter-spacing: 0.08em; color: #94a3b8; }

        /* ─── CTA CONTACTO ───────────────────────────────────────── */
        .cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
        .cta-h2 {
            font-size: clamp(2.6rem, 4.5vw, 4rem);
            font-weight: 900; color: white;
            letter-spacing: -0.03em; margin-bottom: 20px;
        }
        .cta-p {
            font-size: 1rem; font-weight: 300;
            color: rgba(255,255,255,0.45);
            line-height: 1.8; margin-bottom: 44px;
        }
        .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
        .btn-white {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800; font-size: 0.7rem;
            letter-spacing: 0.16em; text-transform: uppercase;
            text-decoration: none; color: var(--navy);
            background: white; padding: 16px 38px;
            border-radius: 50px;
            transition: background 0.3s, color 0.3s, transform 0.2s;
            display: inline-block;
        }
        .btn-white:hover { background: var(--sky); color: white; transform: translateY(-3px); }

        /* ─── FOOTER ─────────────────────────────────────────────── */
        footer {
            background: var(--navy);
            padding: 72px 60px 36px;
            position: relative; z-index: 1;
            border-top: 3px solid var(--blue);
        }
        .footer-grid {
            max-width: 1240px; margin: 0 auto;
            display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
            gap: 48px; margin-bottom: 52px;
        }
        .footer-logo { height: 60px; width: auto; margin-bottom: 18px; }
        .footer-tagline { font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 280px; }
        .footer-col h5 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800; font-size: 0.58rem;
            letter-spacing: 0.22em; text-transform: uppercase;
            color: rgba(255,255,255,0.22); margin-bottom: 18px;
        }
        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
        .footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.25s; }
        .footer-col a:hover { color: var(--sky); }
        .footer-bottom {
            max-width: 1240px; margin: 0 auto;
            border-top: 1px solid rgba(255,255,255,0.07);
            padding-top: 22px;
            display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
        }
        .footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.18); }
        .footer-legal { display: flex; gap: 22px; }
        .footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.18); text-decoration: none; transition: color 0.25s; }
        .footer-legal a:hover { color: white; }

        /* ─── CITY DOTS ANIMATION ────────────────────────────────── */
        .city-dot { animation: cdot 2.5s ease-in-out infinite; }
        .city-dot-sm { animation: cdot-sm 3.2s ease-in-out infinite; }
        @keyframes cdot { 0%,100%{opacity:.9;r:5} 50%{opacity:.5;r:7} }
        @keyframes cdot-sm { 0%,100%{opacity:.7;r:3} 50%{opacity:.3;r:4.5} }
        .draw-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 5s ease forwards; }
        @keyframes draw { to{stroke-dashoffset:0} }

        /* ─── PRODUCTOS DESTACADOS ───────────────────────────────── */
        .featured-products {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 60px;
        }
        .fp-card {
            background: var(--navy);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            cursor: default;
        }
        .fp-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,4,18,0.15); border-color: rgba(116,172,223,0.3); }
        .fp-badge {
            background: rgba(116,172,223,0.15);
            color: var(--sky);
            font-family: 'Montserrat', sans-serif;
            font-weight: 700; font-size: 0.6rem;
            letter-spacing: 0.15em; text-transform: uppercase;
            padding: 6px 14px; border-radius: 20px;
            margin-bottom: 8px;
        }
        .fp-card h4 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800; font-size: 1.15rem;
            color: white; margin-bottom: 2px;
        }
        .fp-card p {
            font-size: 0.85rem; font-weight: 300;
            color: rgba(255,255,255,0.5); line-height: 1.5;
            margin: 0;
        }

        /* ─── MOUSE PARALLAX CANVAS ───────────────────────────── */
        #parallax-canvas {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            pointer-events: none;
            z-index: 0;
            opacity: 0.55;
        }

        /* ─── SCROLL REVEAL ENHANCEMENTS ─────────────────────── */
        .reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s ease, transform 0.9s ease; }
        .reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.9s ease, transform 0.9s ease; }
        .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

        /* ─── HOVER GLOW ON CARDS ────────────────────────────── */
        .method-card:hover, .svc-card:hover, .news-card:hover, .fp-card:hover {
            box-shadow: 0 20px 60px rgba(48,87,190,0.15), 0 0 0 1px rgba(116,172,223,0.1);
        }

        /* ─── NAV MOBILE ─────────────────────────────────────── */
        .nav-mobile-toggle {
            display: none;
            background: none; border: none;
            cursor: pointer; padding: 8px;
            flex-direction: column; gap: 5px;
        }
        .nav-mobile-toggle span {
            display: block; width: 24px; height: 2px;
            background: white; border-radius: 2px;
            transition: all 0.3s;
        }
        #nav.solid .nav-mobile-toggle span { background: var(--navy); }

        /* ─── RESPONSIVE ─────────────────────────────────────────── */
        @media (max-width: 1024px) {
            #nav { padding: 0 30px; }
            .hero-inner {
                padding: 130px 30px 80px;
                grid-template-columns: 1fr; /* colapsa a 1 columna */
            }
            /* En tablet el logo va abajo del texto, más pequeño */
            .hero-logo-col {
                display: flex;
                justify-content: center;
                margin-top: 20px;
            }
            .hero-logo-giant { max-width: 320px; }
            #bg-map { width: 80%; opacity: 0.6; }
            .section-white, .section-off, .section-navy, footer { padding: 72px 30px; }
            .qs-grid { grid-template-columns: 1fr; gap: 40px; }
            .method-grid { grid-template-columns: 1fr 1fr; }
            .services-grid, .news-grid { grid-template-columns: 1fr 1fr; }
            .featured-products { grid-template-columns: 1fr 1fr; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .clients-grid { grid-template-columns: repeat(3, 1fr); }
            #nav-logo { height: 58px; }
            #nav.solid #nav-logo { height: 46px; }
        }
        @media (max-width: 680px) {
            #nav { padding: 0 20px; }
            .nav-links { display: none; }
            .hero-inner {
                padding: 110px 24px 60px;
                position: relative; /* necesario para el logo absoluto */
            }
            /* Ocultamos la columna del logo como elemento */
            .hero-logo-col { display: none; }
            /* Logo como fondo del hero en mobile */
            #hero::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 85%;
                max-width: 340px;
                aspect-ratio: 1;
                background: url('assets/vectorpolaris-blanco.png') center/contain no-repeat;
                opacity: 0.07;
                pointer-events: none;
                z-index: 1;
            }
            /* Texto por encima del logo de fondo */
            .hero-inner > div:first-child { position: relative; z-index: 2; }
            #bg-map { display: none; }
            .services-grid, .news-grid { grid-template-columns: 1fr; }
            .method-grid { grid-template-columns: 1fr; }
            .featured-products { grid-template-columns: 1fr; }
            .clients-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr; }
            .section-white, .section-off, .section-navy, footer { padding: 60px 20px; }
        }
/* --- CONTACT FORM ----------------------------------------- */
.contact-form { background: white; padding: 50px; border-radius: 24px; border: 1.5px solid var(--border); box-shadow: 0 20px 50px rgba(0,4,18,0.05); }
.form-group {
    margin-bottom: 24px;
}
.form-group label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px;
}
.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem; color: var(--text);
    background: var(--off);
    transition: all 0.3s;
}
.form-input:focus { outline: none; border-color: var(--blue); background: white;
    box-shadow: 0 0 0 4px rgba(48,87,190,0.1);
}
textarea.form-input {
    resize: vertical;
    min-height: 140px;
}
.contact-info-card {
    background: var(--navy);
    padding: 50px;
    border-radius: 24px;
    color: white;
    display: flex; flex-direction: column; gap: 30px;
    justify-content: center;
}

/* --- DARK CARDS (UI/UX PRO MAX FOR SUBPAGES) --- */
.card-dark {
    background: rgba(255,255,255,0.03) !important;
    border: 1.5px solid rgba(255,255,255,0.08) !important;
}
.card-dark h4 { color: white !important; }
.card-dark p, .card-dark .svc-desc, .card-dark .news-expt { color: rgba(255,255,255,0.6) !important; }
.card-dark .svc-title, .card-dark .news-title { color: white !important; }
.card-dark .svc-icon { background: rgba(255,255,255,0.05) !important; }
.card-dark .news-thumb { background: linear-gradient(135deg, #0a1d48 0%, #050d2a 100%) !important; }
.card-dark:hover { border-color: rgba(116,172,223,0.3) !important; box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important; }
