/* ================================
   Nuts Equipment SAS – main.css
   Arquitectura por capas: base, components, utilities
   ================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Colores Nuts Equipment */
    --brand-primary: #124c5a;
    --brand-secondary: #f49738;
    --brand-accent: #fec705;
    --brand-primary-light: rgba(18,76,90,.09);
    --brand-primary-hover: rgba(18,76,90,.25);
    --text: #1c1c1c;
    --text-muted: #6b6b6b;
    --surface: #ffffff;
    --bg: #f1f6f4;
    --bg-accent: #d9e8e3;
    --dark: #172b36;
    --dark-deeper: #0f1e27;
    --gray-95: #121212;
    --gray-90: #1f1f1f;
    --gray-70: #555;
    --gray-40: #a8a8ad;
    --gray-20: #e0e7e4;
    --gray-10: #eef3f1;

    /* Tipografía */
    --font-sans: "DM Sans", Inter, Roboto, "Helvetica Neue", "Segoe UI", Arial, system-ui, -apple-system, sans-serif;
    --font-display: "Space Grotesk", "Montserrat", Inter, system-ui, -apple-system, sans-serif;

    /* Espaciado y radios (base 4px) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 48px;

    --radius-1: 8px;
    --radius-2: 12px;
    --radius-3: 16px;
    --radius-4: 24px;

    /* Sombras */
    --shadow-1: 0 2px 8px rgba(18,76,90,.06);
    --shadow-2: 0 8px 24px rgba(18,76,90,.10);
    --shadow-glow: 0 0 20px rgba(244,151,56,.15);

    /* Hero */
    --hero-overlay-opacity: 0.50;
    --hero-block-gap: clamp(28px, 5vw, 52px);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: 12px;
}

/* ===================================
   @layer base
   =================================== */
@layer base {
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    html, body { overflow-x: clip; }
    body {
        margin: 0;
        background: var(--bg);
        color: var(--text);
        font-family: var(--font-sans);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    a:focus-visible, button:focus-visible, select:focus-visible {
        outline: 3px solid var(--brand-secondary);
        outline-offset: 2px;
        border-radius: 6px;
    }
    h1, h2, h3 { margin: 0 0 var(--space-4); color: var(--gray-90); }
    p { margin: 0 0 var(--space-4); color: var(--text); }
}

/* ===================================
   @layer utilities
   =================================== */
@layer utilities {
    .container {
        max-width: 1200px;
        width: 100%;
        padding-inline: 16px;
        margin-inline: auto;
    }
    .visually-hidden {
        position: absolute !important;
        width:1px; height:1px; padding:0; margin:-1px;
        overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
    }
    .no-scroll { overflow: hidden; }
    .mt-6 { margin-top: var(--space-6); }
    .mt-8 { margin-top: var(--space-8); }
    .mb-8 { margin-bottom: var(--space-8); }
}

/* ===================================
   @layer components
   =================================== */
@layer components {

    /* ---------- Scroll Progress Bar ---------- */
    .scroll-progress {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
        transform-origin: left;
        transform: scaleX(0);
        z-index: 9999;
        will-change: transform;
        pointer-events: none;
    }

    /* ---------- Header / Navbar ---------- */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255,255,255,.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--gray-20);
        padding-top: env(safe-area-inset-top);
    }
    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
    }
    .nav__brand {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }
    .nav__brand img {
        width: 220px;
        height: auto;
    }
    .nav__links {
        display: flex;
        align-items: center;
        gap: var(--space-5);
    }
    .nav__links a {
        color: var(--gray-90);
        font-weight: 600;
        transition: color .15s ease;
        position: relative;
    }
    .nav__links a:not(.nav__cta):not(.lang-switch)::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--brand-secondary);
        transition: width .3s ease, left .3s ease;
        border-radius: 1px;
    }
    .nav__links a:not(.nav__cta):not(.lang-switch):hover::after,
    .nav__links a:not(.nav__cta):not(.lang-switch).is-active::after {
        width: 100%;
        left: 0;
    }
    .nav__links a:hover {
        color: var(--brand-primary);
    }
    .nav__links a.is-active {
        color: var(--brand-primary);
    }

    /* Language switch — minimalist globe + destination locale */
    .lang-switch {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid var(--gray-20);
        background: #fff;
        color: var(--gray-90) !important;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .06em;
        transition: border-color .2s ease, color .2s ease, background .2s ease;
    }
    .lang-switch svg {
        transition: transform .5s cubic-bezier(.22,1,.36,1);
    }
    .lang-switch:hover {
        border-color: var(--brand-primary);
        color: var(--brand-primary) !important;
        background: var(--brand-primary-light);
    }
    .lang-switch:hover svg {
        transform: rotate(180deg);
    }

    /* Contact CTA with arrow */
    .nav__cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, var(--brand-secondary), #e8872e);
        color: #fff !important;
        padding: 11px 22px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: .02em;
        box-shadow: 0 4px 14px rgba(244,151,56,.35), inset 0 1px 0 rgba(255,255,255,.3);
        transition: transform .25s ease, box-shadow .25s ease;
        overflow: hidden;
    }
    .nav__cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(244,151,56,.45), inset 0 1px 0 rgba(255,255,255,.3);
    }
    .nav__cta-arrow {
        transition: transform .3s cubic-bezier(.22,1,.36,1);
    }
    .nav__cta:hover .nav__cta-arrow {
        transform: translateX(4px);
    }

    /* Mobile menu */
    .nav__toggle {
        display: none;
        border: 1px solid var(--gray-20);
        background: #fff;
        border-radius: 10px;
        padding: 10px 12px;
        cursor: pointer;
        line-height: 0;
    }
    .nav__toggle-icon { display: block; }

    .drawer {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        overflow: hidden;
        z-index: 2000;
    }
    .drawer[aria-hidden="false"] {
        opacity: 1;
        pointer-events: auto;
    }
    .drawer__panel {
        position: absolute;
        top: 0; left: 0;
        height: 100%;
        width: 88%;
        max-width: 360px;
        background: #fff;
        box-shadow: var(--shadow-2);
        transform: translateX(-100%);
        transition: transform .25s ease;
        display: flex;
        flex-direction: column;
        padding: var(--space-6);
        padding-top: calc(var(--space-6) + env(safe-area-inset-top));
        gap: var(--space-4);
        z-index: 2001;
    }
    .drawer[aria-hidden="false"] .drawer__panel {
        transform: translateX(0);
    }
    .drawer__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: var(--space-4);
        padding-bottom: var(--space-3);
        border-bottom: 1px solid var(--gray-10);
    }
    .drawer__links {
        display: grid;
        gap: 12px;
    }
    .drawer__links a {
        padding: 14px 8px;
        border-radius: 8px;
        font-weight: 600;
    }
    .drawer__links a:hover {
        background: var(--gray-10);
    }
    .lang-switch--full {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }
    .nav__cta--block {
        width: 100%;
        justify-content: center;
        padding: 14px 22px;
    }

    @media (max-width: 1024px) {
        .nav__links { display: none; }
        .nav__toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .nav__brand img { width: 180px; }
    }

    /* ---------- HERO ---------- */
    .hero {
        position: relative;
        color: #fff;
        min-height: 100dvh;
        min-height: 100vh;
        overflow: hidden;
    }
    .hero__bg {
        position: absolute;
        inset: 0;
        background-color: #0e3a45;
        background-image: url('/uploads/products/pua2000.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 0;
        transform: scale(1.04);
        filter: saturate(1.05);
    }
    .hero__overlay {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg, rgba(14,58,69,.55) 0%, rgba(14,58,69,.35) 45%, rgba(10,28,35,.78) 100%),
            radial-gradient(ellipse at 20% 50%, rgba(244,151,56,.10) 0%, transparent 55%),
            radial-gradient(ellipse at 80% 20%, rgba(254,199,5,.08) 0%, transparent 55%);
        z-index: 1;
    }
    .hero__content {
        position: relative;
        z-index: 2;
        min-height: inherit;
        display: grid;
        place-items: center;
        padding: clamp(28px, 6vw, 48px);
        text-align: center;
    }
    .hero__text-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
        margin: 0 auto var(--hero-block-gap);
        padding: clamp(24px, 4vw, 40px);
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: var(--radius-4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .hero__title {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: clamp(26px, 4.6vw, 48px);
        line-height: 1.12;
        letter-spacing: -0.02em;
        color: #fff;
        margin: 0;
        text-shadow: 1px 1px 3px rgba(0,0,0,.3);
    }
    .hero__support {
        font-family: var(--font-sans);
        font-weight: 400;
        font-size: clamp(16px, 2vw, 19px);
        color: rgba(255,255,255,.9);
        max-width: 680px;
        margin: 0;
    }
    .hero__actions {
        display: inline-flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Hero entrance animations */
    .hero-entrance {
        animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) both;
    }
    .hero-entrance--delay-1 { animation-delay: .2s; }
    .hero-entrance--delay-2 { animation-delay: .4s; }
    @keyframes heroFadeUp {
        from { opacity: 0; transform: translateY(30px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Scroll indicator */
    .hero__scroll-hint {
        position: absolute;
        bottom: 32px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        animation: heroBounce 2s ease infinite;
        opacity: .7;
    }
    @keyframes heroBounce {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50%      { transform: translateX(-50%) translateY(10px); }
    }

    /* ---------- Buttons ---------- */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-weight: 700;
        border-radius: 999px;
        padding: 12px 22px;
        border: 2px solid transparent;
        cursor: pointer;
        transition: all .2s ease;
        font-family: var(--font-sans);
        position: relative;
        overflow: hidden;
    }
    .btn::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.25) 0%, transparent 60%);
        opacity: 0;
        transition: opacity .3s ease;
    }
    .btn:active::after { opacity: 1; }
    .btn--primary {
        background: linear-gradient(135deg, var(--brand-secondary), #e8872e);
        color: #fff;
        box-shadow: 0 2px 12px rgba(244,151,56,.25);
    }
    .btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(244,151,56,.35);
    }
    .btn--ghost {
        background: transparent;
        color: #fff;
        border: 2px solid rgba(255,255,255,.7);
    }
    .btn--ghost:hover {
        background: rgba(255,255,255,.1);
        border-color: #fff;
    }
    .btn--outline {
        background: transparent;
        color: var(--brand-primary);
        border: 2px solid var(--brand-primary);
    }
    .btn--outline:hover {
        background: var(--brand-primary);
        color: #fff;
    }
    .btn--pdf {
        background: #dc3545;
        color: #fff;
        border: 2px solid #dc3545;
    }
    .btn--pdf:hover {
        background: #c82333;
        border-color: #c82333;
        transform: translateY(-1px);
    }
    .btn--block { width: 100%; }

    /* ---------- Secciones ---------- */
    section.section {
        padding: clamp(32px, 5vw, 64px) 0;
        background: transparent;
    }
    section.section--alt {
        background: var(--bg-accent);
    }
    .section__title {
        text-align: center;
        font-family: var(--font-display);
        font-size: clamp(28px, 4.6vw, 42px);
        font-weight: 700;
        letter-spacing: -0.02em;
        color: var(--brand-primary);
    }
    .section__subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto var(--space-6);
    }

    /* Section dividers */
    .section-divider {
        line-height: 0;
        margin-top: -1px;
    }
    .section-divider svg {
        width: 100%;
        height: clamp(40px, 5vw, 80px);
        display: block;
    }

    /* ---------- Valores ---------- */
    .values-grid {
        display: grid;
        gap: var(--space-5);
        grid-template-columns: repeat(4, 1fr);
    }
    .value-card {
        background: var(--surface);
        border: 1px solid var(--gray-20);
        border-radius: var(--radius-3);
        padding: var(--space-6);
        text-align: center;
        box-shadow: var(--shadow-1);
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
        position: relative;
        overflow: hidden;
    }
    .value-card::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
        border-radius: var(--radius-3) var(--radius-3) 0 0;
    }
    .value-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 32px rgba(18,76,90,.12);
        border-color: var(--brand-primary-hover);
    }
    .value-card__icon {
        width: 60px;
        height: 60px;
        margin: 0 auto var(--space-4);
        border-radius: var(--radius-2);
        display: grid;
        place-items: center;
        background: var(--brand-primary-light);
        color: var(--brand-primary);
        transition: background .3s ease, color .3s ease;
    }
    .value-card:hover .value-card__icon {
        background: var(--brand-primary);
        color: #fff;
    }
    .value-card h3 {
        font-family: var(--font-display);
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--brand-primary);
        margin: 0 0 var(--space-2);
    }
    .value-card p {
        margin: 0;
        color: var(--text-muted);
        font-size: 0.95rem;
        line-height: 1.5;
    }
    @media (max-width: 900px) {
        .values-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 520px) {
        .values-grid { grid-template-columns: 1fr; }
    }

    /* ---------- Sobre Nosotros (trust band) ---------- */
    .about-band {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(24px, 4vw, 56px);
        align-items: center;
        background: var(--surface);
        border: 1px solid var(--gray-20);
        border-radius: var(--radius-4);
        overflow: hidden;
        box-shadow: 0 10px 30px -14px rgba(18,76,90,.18);
        margin-top: var(--space-6);
    }
    .about-band__media {
        aspect-ratio: 4 / 3;
        background: var(--gray-10);
        overflow: hidden;
    }
    .about-band__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .about-band__body {
        padding: clamp(24px, 4vw, 48px);
    }
    .about-band__kicker {
        display: inline-block;
        font-family: var(--font-sans);
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--brand-secondary);
        margin-bottom: var(--space-2);
    }
    .about-band__title {
        font-family: var(--font-display);
        font-size: clamp(24px, 3.4vw, 34px);
        font-weight: 700;
        color: var(--brand-primary);
        margin: 0 0 var(--space-3);
        letter-spacing: -0.02em;
        line-height: 1.15;
    }
    .about-band__text {
        color: var(--text-muted);
        line-height: 1.6;
        margin: 0 0 var(--space-5);
    }
    .about-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
        padding-top: var(--space-4);
        border-top: 1px solid var(--gray-20);
    }
    .about-stat__value {
        font-family: var(--font-display);
        font-size: clamp(22px, 3vw, 30px);
        font-weight: 700;
        color: var(--brand-primary);
        line-height: 1;
    }
    .about-stat__label {
        font-size: 0.82rem;
        color: var(--text-muted);
        margin-top: 6px;
        line-height: 1.3;
    }
    @media (max-width: 820px) {
        .about-band { grid-template-columns: 1fr; }
        .about-band__media { aspect-ratio: 16 / 9; }
    }
    @media (max-width: 520px) {
        .about-stats { grid-template-columns: 1fr; }
    }

    /* ---------- Cards ---------- */
    .cards {
        display: grid;
        gap: var(--space-5);
        grid-template-columns: repeat(3, 1fr);
    }
    @media (max-width: 768px) {
        .cards {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        }
    }
    .card {
        background: #fff;
        border: 1px solid var(--gray-20);
        border-radius: var(--radius-2);
        overflow: hidden;
        box-shadow: var(--shadow-1);
        transition: transform .3s ease, box-shadow .3s ease;
        position: relative;
    }
    .card::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: var(--radius-2);
        background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
        z-index: -1;
        opacity: 0;
        transition: opacity .3s ease;
    }
    .card:hover::before { opacity: 1; }
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 32px rgba(18,76,90,.15);
    }
    .card__media {
        aspect-ratio: 4 / 3;
        background: var(--gray-10);
        overflow: hidden;
    }
    .card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }
    .card:hover .card__media img {
        transform: scale(1.06);
    }
    .card__body { padding: var(--space-4); }
    .card__title {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--brand-primary);
    }
    .card__placeholder-img {
        display: grid;
        place-items: center;
        width: 100%;
        height: 100%;
        background-color: var(--gray-10);
    }
    .card__placeholder-img img {
        width: 40%;
        height: auto;
        opacity: 0.4;
    }

    /* Equipos grid */
    #equipos-home .cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
        justify-content: center;
    }

    /* ---------- Servicios ---------- */
    .services {
        display: grid;
        gap: var(--space-5);
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        align-items: stretch;
    }
    .service {
        display: grid;
        grid-template-rows: auto auto 1fr;
        background: #fff;
        border: 1px solid var(--gray-20);
        border-radius: var(--radius-2);
        padding: var(--space-6);
        box-shadow: var(--shadow-1);
        text-align: center;
        transition: transform .3s ease, box-shadow .3s ease;
        height: 100%;
    }
    .service:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-2);
    }
    .service__icon {
        width: 48px !important;
        height: 48px !important;
        object-fit: contain !important;
        margin: 0 auto var(--space-4) !important;
        display: block !important;
    }
    .service h3 {
        color: var(--brand-primary);
        font-family: var(--font-display);
        font-size: 1.1rem;
        margin-bottom: var(--space-2);
    }
    .service p {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin: 0;
    }

    /* ---------- Representaciones ---------- */
    .brands {
        display: grid;
        gap: var(--space-5);
        grid-template-columns: repeat(auto-fit, minmax(200px, 280px));
        justify-content: center;
    }
    .brand {
        background: #fff;
        border: 1px solid var(--gray-20);
        border-radius: var(--radius-2);
        padding: var(--space-6);
        display: grid;
        place-items: center;
        transition: transform .3s ease, box-shadow .3s ease;
    }
    .brand:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-2);
    }
    .brand img {
        max-height: 80px;
        width: auto;
    }
    .brand--featured {
        min-height: 180px;
        text-align: center;
        gap: 10px;
        background:
            radial-gradient(circle at top, rgba(18, 76, 90, 0.08), transparent 55%),
            #fff;
    }
    .brand__mark {
        font-family: var(--font-display);
        font-size: clamp(28px, 4vw, 40px);
        font-weight: 700;
        letter-spacing: 0.18em;
        color: #14448c;
    }
    .brand__meta {
        max-width: 340px;
        color: var(--text-muted);
        font-size: 0.98rem;
    }

    /* ---------- CTA Section ---------- */
    .cta-section {
        background: linear-gradient(135deg, var(--brand-primary) 0%, #0e3a45 100%);
        padding: var(--space-8) 0;
        text-align: center;
        color: #fff;
    }
    .cta__title {
        font-family: var(--font-display);
        font-size: clamp(28px, 4.6vw, 42px);
        font-weight: 700;
        color: #fff;
        margin: 0 auto var(--space-4);
        max-width: 600px;
    }
    .cta__support {
        font-size: 1.1rem;
        color: rgba(255,255,255,.85);
        margin: 0 auto var(--space-6);
        max-width: 550px;
    }
    .cta-section .btn--primary {
        background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
        color: var(--dark);
        font-weight: 800;
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    /* ---------- Empty State ---------- */
    .empty-state {
        grid-column: 1 / -1;
        text-align: center;
        padding: var(--space-8) var(--space-6);
        color: var(--text-muted);
    }
    .empty-state__icon {
        color: var(--gray-40);
        margin-bottom: var(--space-4);
    }
    .empty-state p {
        font-size: 1.05rem;
        color: var(--text-muted);
        max-width: 400px;
        margin: 0 auto;
    }

    /* ---------- Footer ---------- */
    .site-footer {
        position: relative;
        isolation: isolate;
        background:
            radial-gradient(circle at 12% 18%, rgba(254, 199, 5, 0.18), transparent 24%),
            radial-gradient(circle at 88% 12%, rgba(244, 151, 56, 0.16), transparent 22%),
            linear-gradient(180deg, #102631 0%, #09161d 100%);
        color: #fff;
        font-family: var(--font-sans);
        overflow: hidden;
    }
    .site-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(120deg, rgba(255,255,255,.04) 0%, transparent 36%),
            linear-gradient(300deg, rgba(18,76,90,.28) 0%, transparent 44%);
        pointer-events: none;
        z-index: -1;
    }
    .site-footer__backdrop {
        position: relative;
        padding-top: clamp(40px, 6vw, 72px);
    }
    .footer__hero {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        gap: clamp(24px, 4vw, 56px);
        align-items: start;
        padding-bottom: clamp(32px, 5vw, 48px);
    }
    .footer__identity {
        display: grid;
        gap: var(--space-3);
        align-content: start;
    }
    .footer__eyebrow {
        display: inline-flex;
        width: fit-content;
        align-items: center;
        gap: 8px;
        padding: 7px 12px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.14);
        background: rgba(255,255,255,.06);
        color: rgba(255,255,255,.78);
        font-size: .76rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
    }
    .footer__logo {
        display: inline-flex;
        width: fit-content;
    }
    .footer__logo-frame {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 18px 24px;
        border-radius: 24px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 18px 48px rgba(0,0,0,.18);
    }
    .footer__logo img {
        display: block;
        width: min(280px, 100%);
        height: auto;
    }
    .footer__tagline {
        margin: 0;
        color: rgba(255,255,255,.62);
        font-size: .82rem;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
    }
    .footer__headline {
        margin: 0;
        max-width: 13ch;
        color: #fff;
        font-family: var(--font-display);
        font-size: clamp(2rem, 4vw, 3.2rem);
        line-height: 1.02;
        letter-spacing: -0.04em;
    }
    .footer__description {
        margin: 0;
        max-width: 60ch;
        color: rgba(255,255,255,.78);
        font-size: 1rem;
        line-height: 1.7;
    }
    .footer__action-panel {
        display: grid;
        align-content: start;
        gap: var(--space-4);
        padding: clamp(24px, 3vw, 32px);
        border-radius: 28px;
        background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 20px 50px rgba(0,0,0,.18);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .footer__panel-kicker,
    .footer__location-title,
    .footer__stamp-label,
    .footer__card-label {
        display: inline-block;
        color: var(--brand-accent);
        font-size: .74rem;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
    }
    .footer__panel-text,
    .footer__location-text {
        margin: 0;
        color: rgba(255,255,255,.8);
        line-height: 1.65;
    }
    .footer__actions {
        display: grid;
        gap: 12px;
    }
    .footer__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding: 14px 18px;
        border-radius: 18px;
        border: 1px solid transparent;
        font-weight: 700;
        text-align: center;
        transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
    }
    .footer__button:hover {
        transform: translateY(-2px);
    }
    .footer__button--primary {
        background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
        color: var(--dark);
        box-shadow: 0 10px 24px rgba(244,151,56,.2);
    }
    .footer__button--secondary {
        background: rgba(255,255,255,.03);
        border-color: rgba(255,255,255,.14);
        color: #fff;
    }
    .footer__button--secondary:hover {
        background: rgba(255,255,255,.08);
        border-color: rgba(254,199,5,.3);
    }
    .footer__location-note {
        padding-top: var(--space-4);
        border-top: 1px solid rgba(255,255,255,.12);
    }
    .footer__meta-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, .8fr);
        gap: clamp(20px, 3vw, 32px);
        padding: clamp(28px, 4vw, 40px) 0 clamp(34px, 5vw, 50px);
    }
    .footer__column {
        min-width: 0;
    }
    .footer__section-title {
        margin: 0 0 18px;
        color: #fff;
        font-family: var(--font-display);
        font-size: 1rem;
        letter-spacing: -.02em;
    }
    .footer__contact-stack {
        display: grid;
        gap: 12px;
    }
    .footer__contact-card {
        display: block;
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        color: #fff;
        transition: transform .25s ease, background .25s ease, border-color .25s ease;
    }
    a.footer__contact-card:hover {
        transform: translateY(-2px);
        background: rgba(255,255,255,.08);
        border-color: rgba(254,199,5,.28);
    }
    .footer__icon-box {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, rgba(244,151,56,.24), rgba(254,199,5,.16));
        color: #fff;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
    }
    .footer__card-value,
    .footer__card-note {
        display: block;
    }
    .footer__card-value {
        margin-top: 2px;
        color: #fff;
        font-size: .95rem;
        font-weight: 700;
        line-height: 1.4;
    }
    .footer__card-note {
        margin-top: 4px;
        color: rgba(255,255,255,.72);
        line-height: 1.55;
    }
    .footer__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 12px;
    }
    .footer__link-line {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        color: rgba(255,255,255,.8);
        transition: color .2s ease, transform .2s ease;
    }
    .footer__link-line::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
        box-shadow: 0 0 0 4px rgba(254,199,5,.08);
        flex: 0 0 auto;
    }
    .footer__link-line:hover {
        color: #fff;
        transform: translateX(4px);
    }
    .footer__stamp {
        margin-top: 24px;
        padding: 18px;
        border-radius: 20px;
        background: rgba(18,76,90,.34);
        border: 1px solid rgba(255,255,255,.08);
    }
    .footer__stamp p {
        margin: 8px 0 0;
        color: rgba(255,255,255,.78);
        line-height: 1.65;
    }
    .footer__bottom {
        border-top: 1px solid rgba(255,255,255,.08);
        background: rgba(6,14,18,.42);
    }
    .footer__bottom-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding: 16px 0;
    }
    .footer__bottom p {
        margin: 0;
        color: rgba(255,255,255,.65);
        font-size: .92rem;
    }

    @media (max-width: 1024px) {
        .footer__hero {
            grid-template-columns: 1fr;
        }
        .footer__meta-grid {
            grid-template-columns: 1fr 1fr;
        }
        .footer__column--contact {
            grid-column: 1 / -1;
        }
    }
    @media (max-width: 720px) {
        .site-footer__backdrop {
            padding-top: 32px;
        }
        .footer__logo-frame {
            width: 100%;
            justify-content: center;
        }
        .footer__headline {
            max-width: none;
            font-size: clamp(1.9rem, 9vw, 2.8rem);
        }
        .footer__meta-grid {
            grid-template-columns: 1fr;
            padding-bottom: 32px;
        }
        .footer__button {
            width: 100%;
        }
        .footer__bottom-row {
            flex-direction: column;
            align-items: flex-start;
        }
    }

    /* ---------- WhatsApp ---------- */
    .float {
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 1200;
        width: 64px;
        height: 64px;
        display: grid;
        place-items: center;
        background: #25d366;
        color: #fff;
        border-radius: 999px;
        box-shadow: 0 4px 16px rgba(37,211,102,.3);
        transition: transform .15s ease;
    }
    .float:hover { transform: translateY(-2px); }
    .my-float {
        font-size: 32px !important;
        line-height: 1;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ---------- Scroll Animations ---------- */
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .fade-up.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation items */
    .stagger-item {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1);
    }
    .stagger-item.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsivo global ---------- */
@media (max-width: 1024px) {
    .split, .split--reverse { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .section__title { font-size: clamp(24px, 6vw, 32px); }
}
@media (max-width: 420px) {
    .hero__title { font-size: clamp(22px, 6.2vw, 30px); }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
    .stagger-item, .fade-up { opacity: 1; transform: none; }
    .hero-entrance { opacity: 1; transform: none; }
}
