/* =============================================================
   CARGOVISION - Stylesheet
   ============================================================= */

/* --- CUSTOM PROPERTIES ------------------------------------ */
:root {
    --prussian-blue:    #00072d;
    --deep-navy:        #001c55;
    --imperial-blue:    #0a2472;
    --cornflower-ocean: #0e6ba8;
    --frosted-blue:     #a6e1fa;

    --white:    #ffffff;
    --white-80: rgba(255,255,255,0.80);
    --white-60: rgba(255,255,255,0.60);
    --white-20: rgba(255,255,255,0.20);
    --white-10: rgba(255,255,255,0.10);
    --white-05: rgba(255,255,255,0.05);

    --font-title: 'Sora',  sans-serif;
    --font-body:  'Inter', sans-serif;

    --nav-height:    72px;
    --transition:    0.3s ease;
    --transition-md: 0.5s ease;
}

/* --- RESET & BASE ----------------------------------------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
    scroll-behavior: smooth;
    font-size: 18px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background: var(--prussian-blue);
    color: var(--white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

a    { text-decoration:none; color:inherit; }
img  { display:block; max-width:100%; }
ul   { list-style:none; }

/* =============================================================
   NAVBAR
   ============================================================= */

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-height);
    z-index: 1000;
    transition:
        background var(--transition-md),
        backdrop-filter var(--transition-md),
        box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 7, 45, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 1px 0 rgba(166,225,250,0.07),
        0 8px 40px rgba(0,0,0,0.35);
}

/* Container */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition), filter var(--transition);
    filter: brightness(1.05);
}

.nav-logo:hover img { opacity: 0.8; }

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white-60);
    padding: 8px 15px;
    border-radius: 8px;
    letter-spacing: 0.01em;
    position: relative;
    transition: color var(--transition), background var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 30px);
    height: 1.5px;
    background: var(--cornflower-ocean);
    border-radius: 2px;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* CTA link */
.nav-cta {
    color: var(--frosted-blue) !important;
    background: rgba(14,107,168,0.14);
    border: 1px solid rgba(14,107,168,0.38);
    border-radius: 9px;
    margin-left: 10px;
    padding: 8px 22px;
    transition: background var(--transition), border-color var(--transition),
                color var(--transition), box-shadow var(--transition);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: rgba(14,107,168,0.30);
    border-color: rgba(14,107,168,0.65);
    box-shadow: 0 0 22px rgba(14,107,168,0.28);
    color: var(--white) !important;
}

/* Hamburger - Hidden on desktop */
.hamburger {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
    z-index: 1001;
}

.hamburger:hover { 
    background: var(--white-10); 
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { 
    transform: translateY(7px) rotate(45deg); 
}

.hamburger.open span:nth-child(2) { 
    opacity: 0; 
    transform: scaleX(0); 
}

.hamburger.open span:nth-child(3) { 
    transform: translateY(-7px) rotate(-45deg); 
}

/* Mobile menu backdrop overlay */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: #00072d99;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.nav-backdrop.open {
    display: block;
    opacity: 1;
    pointer-events: all;
}

/* =============================================================
   HERO
   ============================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    opacity: 0.75   ;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.05);
    animation: heroZoom 14s ease-out forwards;
}

/* Gradient overlays */
.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            105deg,
            rgba(0,7,45,0.25) 0%,
            rgba(0, 7, 45, 0.158) 10%,
            rgba(0, 7, 45, 0.363) 30%
        ),
        linear-gradient(
            to top,
            rgba(0,7,45,0.80) 0%,
            transparent 50%
        );
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-text {
    width: 100%;
    max-width: 570px;
    padding-top: var(--nav-height);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(14,107,168,0.14);
    border: 1px solid rgba(14,107,168,0.32);
    border-radius: 100px;
    padding: 7px 18px;
    margin-bottom: 28px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--frosted-blue);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    animation: fadeSlideDown 0.7s ease 0.1s both;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cornflower-ocean);
    border-radius: 50%;
    animation: badgePulse 2.4s ease infinite;
    flex-shrink: 0;
}

/* Title */
.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 4.2vw, 3.75rem);
    font-weight: 800;
    line-height: 1.10;
    color: var(--white);
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    animation: fadeSlideUp 0.8s ease 0.25s both;
}

.hero-title-accent {
    color: var(--frosted-blue);
}

/* Subtitle */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 400;
    line-height: 1.75;
    color: rgb(198, 230, 243);
    margin-bottom: 38px;
    animation: fadeSlideUp 0.8s ease 0.38s both;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 52px;
    animation: fadeSlideUp 0.8s ease 0.50s both;
}

.btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--cornflower-ocean);
    color: var(--white);
    box-shadow: 0 4px 26px rgba(14,107,168,0.42);
}
.btn-primary:hover {
    background: #1278bc;
    box-shadow: 0 6px 36px rgba(14,107,168,0.58);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white-60);
    border: 1px solid var(--white-20);
}
.btn-ghost:hover {
    color: var(--white);
    border-color: var(--white-60);
    background: var(--white-05);
    transform: translateY(-2px);
}

.btn-arrow { transition: transform var(--transition); }
.btn-ghost:hover .btn-arrow { transform: translateX(5px); }

/* Stats bar */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 26px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeSlideUp 0.8s ease 0.62s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.stat-number {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 400;
    color: rgba(166,225,250,0.55);
    text-align: center;
    letter-spacing: 0.03em;
}

.stat-divider {
    width: 1px;
    height: 38px;
    background: rgba(255,255,255,0.10);
    flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeIn 1s ease 1.4s both;
}

.scroll-dot {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 13px;
    position: relative;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 9px;
    background: var(--frosted-blue);
    border-radius: 2px;
    animation: scrollBounce 2.2s ease infinite;
}

/* =============================================================
   PLACEHOLDER SECTIONS
   ============================================================= */

.section-placeholder {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px dashed rgba(166,225,250,0.08);
}

.section-placeholder:nth-of-type(even) { background: var(--deep-navy); }
.section-placeholder:nth-of-type(odd)  { background: var(--prussian-blue); }

.section-footer {
    min-height: 320px;
    background: #000514 !important;
}

.placeholder-label {
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(166,225,250,0.18);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px dashed rgba(166,225,250,0.10);
    border-radius: 8px;
    padding: 10px 22px;
}

/* =============================================================
   ANIMATIONS
   ============================================================= */

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.00); }
}

@keyframes fadeSlideDown {
    from { opacity:0; transform: translateY(-12px); }
    to   { opacity:1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
    from { opacity:0; transform: translateY(28px); }
    to   { opacity:1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity:0; }
    to   { opacity:1; }
}

@keyframes badgePulse {
    0%,100% { box-shadow: 0 0 6px var(--cornflower-ocean); opacity:1; }
    50%     { box-shadow: 0 0 16px var(--cornflower-ocean), 0 0 28px rgba(14,107,168,0.4); opacity:0.65; }
}

@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0);     opacity: 1;   }
    55%     { transform: translateX(-50%) translateY(11px);  opacity: 0.35; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
    .nav-container,
    .hero-content {
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 768px) {
    :root { 
        --nav-height: 64px; 
    }

    /* Show hamburger button on mobile */
    .hamburger { 
        display: flex !important; 
    }

    /* Hide desktop nav links and convert to mobile menu */
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - var(--nav-height));
        flex-direction: column;
        gap: 0;
        padding: 16px 20px 24px;
        margin: 0;
        background: rgba(0, 7, 45, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(166, 225, 250, 0.07);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.35s ease,
                    visibility 0.35s ease;
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile menu open state */
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* Mobile nav link styles */
    .nav-link {
        width: 100%;
        padding: 14px 16px 14px 20px;
        margin: 0;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--white-80);
        transition: all var(--transition);
        display: flex;
        align-items: center;
        position: relative;
    }
    
    /* Active indicator for mobile */
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: var(--cornflower-ocean);
        border-radius: 2px;
        transition: height var(--transition);
    }
    
    .nav-link:hover {
        background: rgba(14, 107, 168, 0.15);
        color: var(--white);
    }
    
    .nav-link.active {
        color: var(--white);
        background: rgba(14, 107, 168, 0.12);
    }
    
    .nav-link.active::before {
        height: 20px;
    }
    
    /* Hide desktop nav link underline */
    .nav-link::after {
        display: none !important;
    }

    /* Mobile CTA button */
    .nav-cta {
        margin: 10px 0 0 0;
        padding: 14px 16px;
        text-align: center;
        border-radius: 8px;
        font-size: 1rem;
    }

    /* Hero mobile adjustments */
    .hero-overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(0,7,45,0.35)  0%,
                rgba(0, 7, 45, 0.582) 58%
                
            );
    }
    
    .hero-content {
        justify-content: center;
        align-items: flex-end;
        padding-bottom: 90px;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
        padding-top: calc(var(--nav-height) + 20px);
    }
    
    .hero-badge  { 
        justify-content: center; 
    }
    
    .hero-actions { 
        justify-content: center; 
        flex-wrap: wrap; 
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-links {
        padding: 12px 16px 20px;
    }

    .nav-link {
        padding: 12px 14px;
        font-size: 0.95rem;
        padding-left: 18px;
    }

    .nav-link::before {
        width: 2px;
    }

    .nav-cta {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 14px;
    }
    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

/*ABOUT US*/

.about {
    position: relative;
    background: #ffffff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0;
}

/* ── Gallery layer (behind everything) ── */
.about-gallery {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    overflow: clip;
}




/* ── Blur mask: desaturates images that drift behind text ── */
.about-blur-center {
    position: absolute;
    top: 0; bottom: 0;
    left: 22%; right: 22%;
    z-index: 1;
    backdrop-filter:          blur(22px) saturate(0.3) brightness(1.22);
    -webkit-backdrop-filter:  blur(22px) saturate(0.3) brightness(1.22);
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        white 20%,
        white 80%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        white 20%,
        white 80%,
        transparent 100%
    );
    pointer-events: none;
}

/* ── Text content ── */
.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 520px;
    padding: 0 32px;
}

.about-eyebrow {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cornflower-ocean);
    margin-bottom: 18px;
}

.about-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 700;
    line-height: 1.16;
    color: var(--prussian-blue);
    margin-bottom: 26px;
    letter-spacing: -0.022em;
}

.about-title-accent {
    color: var(--cornflower-ocean);
}

.about-body {
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.85;
    color: #4b5563;
    margin-bottom: 12px;
}

/* ── Floating image cards (generated by JS) ── */
.float-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 22px rgba(0,0,0,0.09),
        0 1px 4px  rgba(0,0,0,0.05);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.float-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ── Drift keyframes ── */
@keyframes driftUp {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-240vh); }
}

@keyframes driftDown {
    0%   { transform: translateY(0); }
    100% { transform: translateY(240vh); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-blur-center { left: 18%; right: 18%; }
}

@media (max-width: 768px) {
    .about-blur-center { display: none; }
    .about-gallery { opacity: 0.12; }
    .about-content { max-width: 88%; }
}


/* =============================================================
   PROBLEMS & SOLUTIONS
   ============================================================= */

/* ── Reveal utility ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Wrapper ── */
.ps-section {
    position: relative;
    background: #ffffff;
}

/* Shared container */
.ps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ─────────────────────────────── PROBLEMS ── */
.ps-problems {
    background: #ffffff;
    padding: 100px 0 90px;
}

.ps-eyebrow {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cornflower-ocean);
    margin-bottom: 16px;
}

.ps-eyebrow--light {
    color: var(--frosted-blue);
}

.ps-header {
    max-width: 700px;
   
    text-align: left;
}

.ps-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 4.8vw, 5rem);
    font-weight: 700;
    line-height: 0.95;
    color: var(--prussian-blue);
    letter-spacing: -0.022em;
    margin-bottom: 20px;
}

.ps-title-accent {
    color: var(--cornflower-ocean);
}

.ps-lead {
    max-width: 900px;
        color: #4b5563;
    margin: 60px auto 0;
    padding-top: 35px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: center;
}

/* ── Problem cards ── */
.ps-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ps-card {
    position: relative;
    background: #ffffff;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.05),
        0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 20px;
    padding: 36px 30px 32px;
    overflow: hidden;
    transition:
        transform    var(--transition),
        box-shadow   var(--transition),
        border-color var(--transition);
}

.ps-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cornflower-ocean), var(--imperial-blue));
    opacity: 0;
    transition: opacity var(--transition);
}

.ps-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10,36,114,0.10);
    border-color: rgba(14,107,168,0.24);
}

.ps-card:hover::before { opacity: 1; }

.ps-card-num {
    position: absolute;
    top: 10px;
    right: 20px;

    font-family: var(--font-title);
    font-size: 5.5rem;
    font-weight: 800;

    color: rgba(14,107,168,0.14);
    line-height: 1;
}

.ps-card-icon {
    width: 44px;
    height: 44px;
    color: var(--cornflower-ocean);
    margin-bottom: 18px;
}

.ps-card-icon svg {
    width: 100%;
    height: 100%;
}

.ps-card-title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--prussian-blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.ps-card-body {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.75;
    color: #4b5563;
}

/* ─────────────────────────────── SOLUTION ── */
.ps-solution {
    position: relative;
    background: var(--prussian-blue);
    margin-top: 140px;
    padding: 100px 0 120px;
}


.ps-solution::before {
    content: '';
    position: absolute;
    transform: translateY(1px);
    top: -120px;
    left: 0;

    width: 100%;
    height: 120px;

    background: var(--prussian-blue);

    clip-path: polygon(
        0 100%,
        100% 70%,
        100% 100%,
        0 100%
    );
}

/* Ambient glow bottom-right */
.ps-solution::after {
    content: '';
    position: absolute;
    bottom: -140px;
    right: -140px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(14,107,168,0.16) 0%, transparent 65%);
    pointer-events: none;
}

.ps-sol-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Solution text ── */
.ps-sol-text { /* text column */ }

.ps-sol-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--white);
    letter-spacing: -0.022em;
    margin-bottom: 20px;
}

.ps-sol-accent {
    color: var(--frosted-blue);
}

.ps-sol-body {
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.82;
    color: rgba(166,225,250,0.65);
    margin-bottom: 28px;
}

.ps-sol-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ps-sol-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-80);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.ps-sol-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(14,107,168,0.20);
    border: 1px solid rgba(14,107,168,0.45);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    color: var(--frosted-blue);
    margin-top: 1px;
}

/* ── Video player ── */
.ps-sol-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.ps-player {
    width: 100%;
    max-width: 720px;

    border-radius: 18px;
    overflow: hidden;

    background: #060b18;

    border: 1px solid rgba(166,225,250,0.09);

    transform:
        perspective(1800px)
        rotateY(-14deg)
        rotateX(4deg);

    transform-style: preserve-3d;

    box-shadow:
        0 40px 100px rgba(0,0,0,0.55),
        0 0 80px rgba(14,107,168,0.18);
}


.ps-player-topbar {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 10px;
}

.ps-live-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #ff4d4d;
    text-transform: uppercase;
}

.ps-live-dot {
    width: 7px;
    height: 7px;
    background: #ff4d4d;
    border-radius: 50%;
    animation: livePulse 1.4s ease infinite;
    flex-shrink: 0;
}

.ps-player-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.ps-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CRT scanlines */
.ps-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.07) 2px,
        rgba(0,0,0,0.07) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* Corner brackets */
.ps-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: rgba(14,107,168,0.55);
    border-style: solid;
    z-index: 2;
}

.ps-corner--tl { top: 8px;    left: 8px;   border-width: 2px 0 0 2px; }
.ps-corner--tr { top: 8px;    right: 8px;  border-width: 2px 2px 0 0; }
.ps-corner--bl { bottom: 8px; left: 8px;   border-width: 0 0 2px 2px; }
.ps-corner--br { bottom: 8px; right: 8px;  border-width: 0 2px 2px 0; }

/* ── Keyframes ── */
@keyframes livePulse {
    0%,100% { opacity: 1;   box-shadow: 0 0 4px #ff4d4d; }
    50%     { opacity: 0.4; box-shadow: 0 0 14px #ff4d4d; }
}

/* ── PS Responsive ── */
@media (max-width: 1024px) {
    .ps-container { padding: 0 28px; }
    .ps-sol-grid  { gap: 48px; }
}

@media (max-width: 768px) {
    .ps-problems { padding: 72px 0 60px; }
    .ps-solution { padding: 80px 0 90px; }

    .ps-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ps-sol-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ps-sol-visual { order: -1; }
}

/* =============================================================
   CÓMO FUNCIONA
   ============================================================= */

.how-section {
    background: #ffffff;
    padding: 110px 0 100px;
    position: relative;
    overflow: hidden;
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.how-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.how-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--prussian-blue);
    letter-spacing: -0.022em;
    margin-bottom: 18px;
}

.how-title-accent { color: var(--cornflower-ocean); }

.how-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: #4b5563;
}

/* ── Steps grid ── */
.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

/* Horizontal connector line */
.how-connector {
    position: absolute;
    top: 72px;
    left: calc(12.5% + 4px);
    right: calc(12.5% + 4px);
    height: 2px;
    background: linear-gradient(90deg, var(--cornflower-ocean), var(--imperial-blue));
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

/* ── Individual card ── */
.how-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    z-index: 1;
}

.how-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cornflower-ocean), var(--imperial-blue));
    opacity: 0;
    transition: opacity var(--transition);
}

.how-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 52px rgba(10,36,114,0.10);
    border-color: rgba(14,107,168,0.22);
}

.how-card:hover::before { opacity: 1; }

.how-card-num {
    position: absolute;
    top: 10px;
    right: 18px;
    font-family: var(--font-title);
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(14,107,168,0.08);
    line-height: 1;
    user-select: none;
}

.how-card-icon {
    width: 48px;
    height: 48px;
    color: var(--cornflower-ocean);
    margin: 0 auto 20px;
}

.how-card-icon svg {
    width: 100%;
    height: 100%;
}

/* Node dot on connector */
.how-card-node {
    position: absolute;
    top: 71px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--cornflower-ocean);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(14,107,168,0.14);
    z-index: 2;
}

.how-card-title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--prussian-blue);
    margin-bottom: 10px;
    line-height: 1.3;
}

.how-card-body {
    font-family: var(--font-body);
    font-size: 0.87rem;
    font-weight: 400;
    line-height: 1.72;
    color: #4b5563;
}

/* ── Flow tag ── */
.how-flow-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 52px;
    padding: 16px 28px;
    background: rgba(14,107,168,0.06);
    border: 1px solid rgba(14,107,168,0.15);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cornflower-ocean);
    letter-spacing: 0.03em;
}

.how-arrow {
    color: rgba(14,107,168,0.45);
    font-size: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .how-steps { grid-template-columns: repeat(2, 1fr); }
    .how-connector { display: none; }
    .how-card-node { display: none; }
}

@media (max-width: 560px) {
    .how-steps { grid-template-columns: 1fr; }
    .how-container { padding: 0 20px; }
    .how-flow-tag { border-radius: 14px; padding: 14px 20px; }
}

/* =============================================================
   VIDEO DEMOSTRATIVO
   ============================================================= */

.demo-section {
    background: var(--prussian-blue);
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Top diagonal cut matching ps-solution::before style */
.demo-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
    pointer-events: none;
}

/* Ambient glow */
.demo-section::after {
    content: '';
    position: absolute;
    top: -160px;
    left: -160px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,107,168,0.14) 0%, transparent 65%);
    pointer-events: none;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

.demo-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 60px;
}

.demo-title {
    font-family: var(--font-title);
    font-size: clamp(2.1rem, 3.4vw, 3rem);
    font-weight: 700;
    line-height: 1.14;
    color: var(--white);
    letter-spacing: -0.022em;
    margin-bottom: 18px;
}

.demo-title-accent { color: var(--frosted-blue); }

.demo-subtitle {
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.78;
    color: rgba(166,225,250,0.65);
}

/* ── Player ── */
.demo-player-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.demo-player {
    transform: perspective(1800px) rotateX(3deg);
    box-shadow: 0 50px 120px rgba(0,0,0,0.65), 0 0 100px rgba(14,107,168,0.20);
}

.demo-topbar-pills {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.demo-pill {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--white-60);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 100px;
    padding: 4px 12px;
}

.demo-screen {
    min-height: 320px;
}

/* Placeholder (shown when no video is loaded) */
.demo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, #060d22 0%, #0a1a3a 100%);
    z-index: 0;
}

.demo-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(14,107,168,0.18);
    border: 1px solid rgba(14,107,168,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cornflower-ocean);
    animation: demoPulse 2.4s ease infinite;
}

.demo-placeholder-icon svg {
    width: 30px;
    height: 30px;
    margin-left: 4px; /* optical center for play icon */
}

@keyframes demoPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(14,107,168,0.25); }
    50%      { box-shadow: 0 0 0 16px rgba(14,107,168,0); }
}

.demo-placeholder-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-60);
    text-align: center;
    line-height: 1.6;
}

.demo-placeholder-text span {
    font-size: 0.75rem;
    color: rgba(166,225,250,0.40);
    font-weight: 400;
}

/* HUD overlay metrics */
.demo-hud {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.demo-hud-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,7,45,0.72);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(14,107,168,0.30);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white-80);
    letter-spacing: 0.04em;
}

.demo-hud-item svg {
    width: 13px;
    height: 13px;
    color: var(--cornflower-ocean);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .demo-section::before { height: 50px; }
    .demo-container { padding: 0 20px; }
    .demo-player { transform: none; }
    .demo-topbar-pills { display: none; }
    .demo-hud { flex-wrap: wrap; bottom: 10px; left: 10px; gap: 6px; }
}

/* =============================================================
   CASOS DE USO
   ============================================================= */

.uc-section {
    background: #ffffff;
    padding: 110px 0 100px;
    position: relative;
}

.uc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.uc-header {
    text-align: center;
    margin-bottom: 80px;
}

.uc-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--prussian-blue);
    letter-spacing: -0.022em;
    margin-bottom: 0;
}

.uc-title-accent { color: var(--cornflower-ocean); }

/* ── Block layout ── */
.uc-block {
    padding: 0;
}

.uc-divider {
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.07);
    margin: 80px 0;
}

/* ── Block eyebrow ── */
.uc-block-eyebrow {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cornflower-ocean);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.uc-block-icon-wrap {
    font-size: 1.4rem;
    line-height: 1;
}

.uc-block-title {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 2.8vw, 2.4rem);
    font-weight: 700;
    line-height: 1.16;
    color: var(--prussian-blue);
    letter-spacing: -0.022em;
    margin-bottom: 20px;
}

.uc-list {
    display: flex;
    flex-direction: column;
    gap: 14px;        /* espacio entre ítems — era implícito, ahora explícito */
    margin-bottom: 24px;
}


.uc-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.uc-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(14,107,168,0.10);
    border: 1px solid rgba(14,107,168,0.35);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    color: var(--cornflower-ocean);
    margin-top: 1px;
}


.uc-body {
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.82;
    color: #4b5563;
    margin-bottom: 28px;
}


.uc-block-accent { color: var(--cornflower-ocean); }

.uc-list { margin-bottom: 24px; }

/* ── Benefit tag ── */
.uc-benefit-tag {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: rgba(14,107,168,0.06);
    border-left: 3px solid var(--cornflower-ocean);
    border-radius: 0 10px 10px 0;
    margin-top: 8px;
}

.uc-benefit-label {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cornflower-ocean);
}

.uc-benefit-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--prussian-blue);
    line-height: 1.55;
}

/* ── Visual card ── */
.uc-visual {
    justify-content: center;
}

.uc-visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 60px rgba(10,36,114,0.12);
    border: 1px solid rgba(14,107,168,0.14);
}

.uc-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.uc-visual-overlay {
    position: absolute;
    inset: 0;
    
}

.uc-visual-metrics {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
    flex-wrap: wrap;
}

.uc-metric {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,7,45,0.70);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(14,107,168,0.28);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white-80);
    letter-spacing: 0.04em;
}

.uc-metric svg {
    width: 12px;
    height: 12px;
    color: var(--cornflower-ocean);
    flex-shrink: 0;
}

.uc-metric-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.uc-metric-dot--live {
    background: #ff4d4d;
    animation: livePulse 1.4s ease infinite;
}

.uc-metric-dot--rec {
    background: #ff4d4d;
    animation: livePulse 1.4s ease infinite;
}

/* Reverse layout for block 2 on desktop */
.uc-grid-reverse .ps-sol-text { order: 2; }
.uc-grid-reverse .ps-sol-visual { order: 1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .uc-container { padding: 0 28px; }
}

@media (max-width: 768px) {
    .uc-section { padding: 80px 0 72px; }
    .uc-container { padding: 0 20px; }
    .uc-divider { margin: 56px 0; }
    .uc-header { margin-bottom: 52px; }
    .uc-grid-reverse .ps-sol-text { order: 2; }
    .uc-grid-reverse .ps-sol-visual { order: 1; }
    /* All visuals appear first on mobile */
    .uc-block .ps-sol-visual { order: -1; }
}

/* =============================================================
   BENEFICIOS
   ============================================================= */

.ben-section {
    background: var(--prussian-blue);
    padding: 110px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Top diagonal cut */
.ben-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 30%);
    pointer-events: none;
}

/* Ambient glow right */
.ben-section::after {
    content: '';
    position: absolute;
    bottom: -140px;
    right: -140px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(14,107,168,0.16) 0%, transparent 65%);
    pointer-events: none;
}

.ben-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

.ben-header {
    text-align: center;
    margin-bottom: 64px;
}

.ben-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
    letter-spacing: -0.022em;
    margin-bottom: 0;
}

.ben-title-accent { color: var(--frosted-blue); }

/* ── Benefits grid ── */
.ben-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ben-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.ben-card:hover {
    transform: translateY(-5px);
    background: rgba(14,107,168,0.10);
    border-color: rgba(14,107,168,0.30);
    box-shadow: 0 12px 40px rgba(0,0,0,0.30);
}

.ben-card-icon {
    width: 40px;
    height: 40px;
    color: var(--cornflower-ocean);
    margin-bottom: 16px;
}

.ben-card-icon svg {
    width: 100%;
    height: 100%;
}

.ben-card-title {
    font-family: var(--font-title);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.ben-card-body {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.72;
    color: rgb(198, 230, 243);
}

/* ── Closing message ── */
.ben-closing {
    margin-top: 60px;
    text-align: center;
    padding: 28px 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(166,225,250,0.10);
    border-radius: 16px;
}

.ben-closing-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.8;
    color: rgb(198, 230, 243);
}

.ben-closing-text strong {
    color: var(--white);
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ben-container { padding: 0 28px; }
    .ben-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .ben-container { padding: 0 20px; }
    .ben-grid { grid-template-columns: 1fr; gap: 14px; }
    .ben-closing { padding: 20px; }
}

/* =============================================================
   FORMULARIO DE CONTACTO
   ============================================================= */

.contact-section {
    background: var(--deep-navy);
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Ambient glow left */
.contact-section::after {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14,107,168,0.14) 0%, transparent 65%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

/* ── Two-column grid ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* ── Left column: text ── */
.contact-text {}

.contact-title {
    font-family: var(--font-title);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.16;
    color: var(--white);
    letter-spacing: -0.022em;
    margin-bottom: 20px;
    margin-top: 16px;
}

.contact-title-accent { color: var(--frosted-blue); }

.contact-body {
    font-family: var(--font-body);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.82;
    color:  rgb(255, 255, 255);
    margin-bottom: 28px;
}

.contact-list { margin-top: 4px; }

/* ── Form ── */
.contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(166,225,250,0.75);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-input {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(14,107,168,0.30);
    border-radius: 10px;
    padding: 12px 16px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}

.contact-input::placeholder {
    color: rgba(255,255,255,0.28);
}

.contact-input:focus {
    border-color: rgba(14,107,168,0.65);
    background: rgba(14,107,168,0.08);
    box-shadow: 0 0 0 3px rgba(14,107,168,0.18);
}

.contact-input:invalid:not(:placeholder-shown) {
    border-color: rgba(220, 60, 60, 0.65);
    box-shadow: 0 0 0 3px rgba(220, 60, 60, 0.12);
}

.contact-input:valid:not(:placeholder-shown) {
    border-color: rgba(14, 168, 90, 0.55);
    box-shadow: 0 0 0 3px rgba(14, 168, 90, 0.10);
}


/* Select arrow */
.contact-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230e6ba8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

.contact-select option {
    background: var(--deep-navy);
    color: var(--white);
}

/* Textarea */
.contact-textarea {
    resize: vertical;
    min-height: 110px;
}

/* CTA button */
.contact-submit {
    width: 100%;
    justify-content: center;
    padding: 15px 28px;
    font-size: 0.96rem;
    border-radius: 12px;
    margin-top: 4px;
}

.contact-submit-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.contact-submit:hover .contact-submit-arrow {
    transform: translateX(5px);
}

.contact-disclaimer {
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 400;
    color: rgba(166,225,250,0.38);
    text-align: center;
    line-height: 1.6;
}

/* reCAPTCHA v3 inline slot */
.recaptcha-slot {
    display: flex;
    align-items: center;
    min-height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

/* Override fixed/absolute positioning when badge lives inside the slot */
.recaptcha-slot .grecaptcha-badge {
    position: static !important;
    bottom: auto   !important;
    right:  auto   !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    border-radius: 8px;
    overflow: hidden;
}

/* Remove the default floating badge from the viewport corner */
.grecaptcha-badge {
    visibility: hidden;
}

/* Make it visible only when it's inside our slot */
.recaptcha-slot .grecaptcha-badge {
    visibility: visible;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .contact-container { padding: 0 28px; }
    .contact-grid { gap: 52px; }
}

@media (max-width: 768px) {
    .contact-section { padding: 80px 0 90px; }
    .contact-container { padding: 0 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }
}

/* =============================================================
   FOOTER
   ============================================================= */

.footer {
    background: #000514;
    padding: 72px 0 40px;
    border-top: 1px solid rgba(166,225,250,0.06);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ── Top row ── */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand column */
.footer-brand {}

.footer-logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.85);
    margin-bottom: 16px;
    transition: filter var(--transition);
}

.footer-logo:hover img { filter: brightness(1); }

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(166,225,250,0.42);
    max-width: 240px;
}

/* Columns */
.footer-col {}

.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(166,225,250,0.50);
    margin-bottom: 18px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 400;
    color: rgba(255,255,255,0.50);
    transition: color var(--transition);
    display: inline-block;
}

.footer-link:hover { color: var(--white); }

.footer-text {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.50);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
}

.footer-social-link:hover {
    background: rgba(14,107,168,0.20);
    border-color: rgba(14,107,168,0.40);
    color: var(--white);
}

/* ── Bottom row ── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 400;
    color: rgba(255,255,255,0.28);
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-container { padding: 0 28px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 560px) {
    .footer-container { padding: 0 20px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-copy--right { display: none; }
}

@media (max-width: 768px) {
            .hamburger {
                display: flex !important;
                flex-direction: column;
                gap: 5px;
                background: none;
                border: none;
                cursor: pointer;
                padding: 8px;
                border-radius: 8px;
                z-index: 1001;
            }

            .nav-links {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                width: 100%;
                flex-direction: column !important;
                gap: 0 !important;
                transform: translateY(-110%);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                z-index: 1000;
            }

            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
                pointer-events: all;
            }

            .nav-backdrop {
                display: none;
                position: fixed;
                inset: 0;
                z-index: 999;
                opacity: 0;
                pointer-events: none;
            }

            .nav-backdrop.open {
                display: block;
                opacity: 1;
                pointer-events: all;
            }
        }


        @media (max-width: 768px) {
            .hamburger {
                display: flex !important;
                flex-direction: column;
                gap: 5px;
                background: none;
                border: none;
                cursor: pointer;
                padding: 8px;
                border-radius: 8px;
                z-index: 1001;
            }

            .nav-links {
                position: fixed;
                top: var(--nav-height);
                left: 0;
                right: 0;
                width: 100%;
                flex-direction: column !important;
                gap: 0 !important;
                transform: translateY(-110%);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                z-index: 1000;
            }

            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
                pointer-events: all;
            }

            .nav-backdrop {
                display: none;
                position: fixed;
                inset: 0;
                z-index: 999;
                opacity: 0;
                pointer-events: none;
            }

            .nav-backdrop.open {
                display: block;
                opacity: 1;
                pointer-events: all;
            }
        }



/* =============================================================
   WHATSAPP
   ============================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 65px;
    height: 65px;

    background: #25D366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 15px rgba(0,0,0,.25);

    z-index: 9999;

    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}


/* ── Responsive ── */

@media (max-width: 768px) {
    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}