/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Brand Colors */
:root {
    --primary-blue: #0d2341;
    --secondary-blue: #1e3a5f;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4e5c2;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --background-light: #f8fafc;
    --border-light: #e2e8f0;
    --white: #ffffff;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.brand-name {
    color: var(--primary-blue);
    font-weight: 700;
}

.brand-suffix {
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 0.25rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 0.38em;
}
.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}
.nav-brand .brand-suffix {
    font-size: 0.90rem;
    font-weight: 400;
    opacity: 0.65;
    letter-spacing: 0.01em;
    margin-left: 0;
}

.nav-cta {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.hero-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.28em;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-title .brand-name {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero-title .brand-suffix {
    font-size: 2.6rem;
    font-weight: 300;
    opacity: 0.72;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-services {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-slogan {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 500;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 35, 65, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-weight: 600;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* Approach Section — now handled by .approach--dark below */

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Contact Section — layout handled by .contact-grid below */
.contact {
    background: #f8fafc;
}

.contact-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Footer — layout handled by .footer-grid below */


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        gap: 0.22em;
    }
    
    .hero-title .brand-name {
        font-size: 3rem;
    }

    .hero-title .brand-suffix {
        font-size: 1.55rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-services {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        gap: 0.18em;
    }
    
    .hero-title .brand-name {
        font-size: 2.5rem;
    }

    .hero-title .brand-suffix {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ── Scroll canvas section ── */
.scroll-section {
    position: relative;
    height: 600vh;
}

.sticky-wrap {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

#solar-canvas {
    display: block;
    width: 100%;
    height: 100vh;
}

#loader {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    color: #0d2341;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

/* ── Shared eyebrow ── */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.gold-bar {
    display: block;
    width: 40px;
    height: 2px;
    background: #c9a84c;
    flex-shrink: 0;
}
.eyebrow-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
}
.section-title--white { color: #fff; }

/* ── Metrics ── */
.metrics {
    padding: 96px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}
.metrics-header {
    max-width: 640px;
    margin-bottom: 64px;
}
.metrics-subtitle {
    color: #6b7280;
    margin-top: 8px;
    line-height: 1.6;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e5e7eb;
}
@media (min-width: 768px) {
    .metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.metric-card {
    background: #fff;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}
.metric-card--dark {
    background: #0d2341;
}
.metric-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(13,35,65,0.05);
    color: #0d2341;
    margin-bottom: 24px;
}
.metric-icon svg { width: 20px; height: 20px; }
.metric-icon--gold {
    background: rgba(255,255,255,0.1);
    color: #c9a84c;
}
.metric-value {
    font-size: 48px;
    font-weight: 700;
    color: #0d2341;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 12px;
}
.metric-label {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}
.metric-sectors-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.metric-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.metric-tag {
    font-size: 11px;
    font-weight: 500;
    color: #c9a84c;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 999px;
    padding: 2px 10px;
}

/* ── Sectors ── */
.sectors {
    padding: 96px 0;
    background: #f8fafc;
}
.sectors-header {
    margin-bottom: 64px;
}
.sectors-header-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 768px) {
    .sectors-header-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}
.sectors-subtitle {
    font-size: 14px;
    color: #6b7280;
    max-width: 320px;
    line-height: 1.6;
}
.sectors-grid {
    display: grid;
    gap: 24px;
}
@media (min-width: 768px) {
    .sectors-grid { grid-template-columns: repeat(3, 1fr); }
}
.sector-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.sector-card:hover {
    box-shadow: 0 8px 40px rgba(13,35,65,0.08);
    border-color: #d1d5db;
}
.sector-stripe {
    height: 4px;
    background: linear-gradient(to right, rgba(13,35,65,0.2), rgba(201,168,76,0.6), transparent);
    transition: background 0.5s;
}
.sector-card:hover .sector-stripe {
    background: linear-gradient(to right, #0d2341, #c9a84c, transparent);
}
.sector-body { padding: 32px; }
.sector-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.sector-number {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #c9a84c;
}
.sector-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(13,35,65,0.05);
    color: #0d2341;
    transition: background 0.3s, color 0.3s;
}
.sector-card:hover .sector-icon {
    background: #0d2341;
    color: #fff;
}
.sector-icon svg { width: 24px; height: 24px; }
.sector-title {
    font-size: 17px;
    font-weight: 600;
    color: #0d2341;
    margin-bottom: 12px;
    line-height: 1.3;
}
.sector-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}
.sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.sector-tag {
    font-size: 11px;
    font-weight: 500;
    color: rgba(13,35,65,0.6);
    background: rgba(13,35,65,0.05);
    border-radius: 999px;
    padding: 2px 10px;
}

/* ── Approach dark ── */
.approach--dark {
    background: #0d2341;
    padding: 96px 0;
}
.approach-header { margin-bottom: 64px; }
.approach-grid--2col {
    display: grid;
    gap: 1px;
    background: rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
    .approach-grid--2col { grid-template-columns: repeat(2, 1fr); }
}
.approach-item--dark {
    background: #0d2341;
    padding: 40px;
    transition: background 0.2s;
}
.approach-item--dark:hover { background: rgba(13,35,65,0.6); }
.approach-item--dark .approach-number {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #c9a84c;
    display: block;
    margin-bottom: 16px;
}
.approach-item--dark .approach-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}
.approach-desc {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

/* ── About 2-col ── */
.about-grid {
    display: grid;
    gap: 64px;
    align-items: center;
}
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}
.about-texts { margin-bottom: 32px; }
.about-texts .about-text + .about-text { margin-top: 16px; }
.about-location-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 32px;
    border-top: 1px solid #f0f0f0;
    margin-top: 32px;
}
.about-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9a84c;
    flex-shrink: 0;
}
.about-location-text { font-size: 13px; color: #9ca3af; }
.about-card {
    background: #0d2341;
    border-radius: 8px;
    padding: 40px;
}
.about-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 20px;
}
.about-quote {
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    line-height: 1.5;
    border: none;
    padding: 0;
    margin: 0 0 32px;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.about-stat-value {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}
.about-stat-label {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}

/* ── FAQ ── */
.faq {
    padding: 96px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}
.faq-grid {
    display: grid;
    gap: 64px;
}
@media (min-width: 768px) {
    .faq-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}
.faq-intro {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
}
.faq-cta-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}
.faq-cta-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 8px;
}
.faq-cta-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}
.faq-item {
    border-bottom: 1px solid #f0f0f0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.faq-question span:first-child {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}
.faq-question:hover span:first-child { color: #0d2341; }
.faq-item--open .faq-question span:first-child { color: #0d2341; }
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #9ca3af;
    flex-shrink: 0;
    line-height: 1;
    transition: all 0.3s;
}
.faq-item--open .faq-icon {
    background: #0d2341;
    border-color: #0d2341;
    color: #fff;
    transform: rotate(45deg);
}
.faq-answer {
    overflow: hidden;
}
.faq-answer p {
    padding-bottom: 24px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    padding-right: 48px;
}

/* ── Contact 2-col ── */
.contact-grid {
    display: grid;
    gap: 64px;
}
@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}
.contact-items { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}
.contact-item .contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(13,35,65,0.05);
    color: #0d2341;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.contact-item .contact-icon svg { width: 20px; height: 20px; }
.contact-item:hover .contact-icon { background: #0d2341; color: #fff; }
.contact-label { font-size: 11px; color: #9ca3af; margin-bottom: 2px; }
.contact-value { font-size: 14px; font-weight: 500; color: #0d2341; }
.contact-right { display: flex; align-items: center; }
.contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 32px rgba(13,35,65,0.06);
    width: 100%;
}
.contact-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 8px;
}
.contact-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #0d2341;
    margin-bottom: 12px;
}
.contact-card-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
}
.contact-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}
.contact-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
}
.contact-available { font-size: 12px; color: #9ca3af; }

/* ── Footer 3-col ── */
.footer {
    background: #0a1929;
    color: #fff;
    padding-top: 0;
}
.footer .container { padding-top: 48px; padding-bottom: 0; }
.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 48px;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.footer-brand-name {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}
.footer-brand-main { font-size: 18px; font-weight: 700; color: #fff; }
.footer-brand-sub { font-size: 15px; font-weight: 300; color: #c9a84c; }
.footer-dot { width: 6px; height: 6px; border-radius: 50%; background: #c9a84c; }
.footer-tagline { font-size: 13px; color: #9ca3af; line-height: 1.6; max-width: 240px; }
.footer-location { font-size: 12px; color: #6b7280; margin-top: 12px; }
.footer-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 16px;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13px; color: #9ca3af; text-decoration: none; transition: color 0.15s; }
.footer-link:hover { color: #fff; }
.footer-link--green { color: #25d366; }
.footer-link--green:hover { color: #1ebe5d; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (min-width: 640px) {
    .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom p { font-size: 12px; color: #6b7280; }
.footer-bottom-sub { font-size: 12px; color: #4b5563; }

/* ── Buttons shared ── */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
}
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-block { width: 100%; justify-content: center; padding: 16px 20px; font-size: 15px; }

/* ── FAQ Consult Button — Liquid Glass ── */
.faq-consult-btn {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(175%) contrast(110%);
  -webkit-backdrop-filter: blur(18px) saturate(175%) contrast(110%);
  box-shadow:
    0 12px 34px rgba(15, 45, 92, 0.14),
    inset 0 1px 0   rgba(255, 255, 255, 0.48),
    inset 0 -8px 18px rgba(255, 255, 255, 0.06),
    inset 0 10px 20px rgba(255, 255, 255, 0.10);
  color: #0f2d5c;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-consult-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.42), transparent 28%),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.24)  0%,
      rgba(255,255,255,0.08) 18%,
      rgba(255,255,255,0.02) 48%,
      transparent 68%
    );
  opacity: 0.95;
}
.faq-consult-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0  1px 1px rgba(255, 255, 255, 0.62),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08),
    inset 0  0   0 1px rgba(255, 255, 255, 0.08);
}
/* cursor-tracked glow layer */
.faq-consult-btn__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    180px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.34),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}
.faq-consult-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 18px 44px rgba(15, 45, 92, 0.18),
    inset 0 1px 0   rgba(255, 255, 255, 0.56),
    inset 0 -8px 18px rgba(255, 255, 255, 0.08),
    inset 0 10px 22px rgba(255, 255, 255, 0.14);
}
.faq-consult-btn:hover .faq-consult-btn__glow { opacity: 1; }
.faq-consult-btn:active { transform: scale(0.97); }
@media (max-width: 768px) {
  .faq-consult-btn:hover {
    transform: none;
    box-shadow:
      0 12px 34px rgba(15, 45, 92, 0.14),
      inset 0 1px 0   rgba(255, 255, 255, 0.52),
      inset 0 -8px 18px rgba(255, 255, 255, 0.06),
      inset 0 10px 20px rgba(255, 255, 255, 0.10);
  }
  .faq-consult-btn .faq-consult-btn__glow { display: none; }
}

/* Scroll Down */

.scroll-section {
  position: relative;
  height: 600vh;
}

.sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

canvas {
  width: 100%;
  height: 100vh;
  display: block;
}

@media (max-width: 768px) {
  /* Mobile: replace the 600vh scroll animation with a static banner */
  .scroll-section {
    height: auto !important;
    min-height: 56vw;
  }

  .scroll-section .sticky-wrap,
  .scroll-section .scroll-stage {
    position: relative !important;
    height: auto !important;
    min-height: 56vw;
    background: linear-gradient(135deg, #0d2341 0%, #1a4080 60%, #0f5a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide canvas and loader — video scrubbing not supported on mobile */
  #solar-canvas,
  #loader,
  #solar-video {
    display: none !important;
  }

  /* Decorative mobile placeholder text over the gradient */
  .scroll-section .sticky-wrap::after,
  .scroll-section .scroll-stage::after {
    content: "Soluciones fotovoltaicas · Bogotá";
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-family: Inter, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    padding: 40px 24px;
  }
}

#loader {
  display: none;
}


.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ── Dynamic Island float effect ── */
.service-card,
.metric-card,
.sector-card,
.about-card,
.contact-card,
.faq-cta-box {
  position: relative;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform: translateY(0) scale(1);
}

.service-card::after,
.metric-card::after,
.sector-card::after,
.about-card::after,
.contact-card::after,
.faq-cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    circle at top center,
    rgba(255, 255, 255, 0.18),
    transparent 55%
  );
}

.service-card:hover,
.metric-card:hover,
.sector-card:hover,
.about-card:hover,
.contact-card:hover,
.faq-cta-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.14),
    0 8px 20px rgba(0, 0, 0, 0.08);
  filter: saturate(1.02);
}

.service-card:hover::after,
.metric-card:hover::after,
.sector-card:hover::after,
.about-card:hover::after,
.contact-card:hover::after,
.faq-cta-box:hover::after,
.service-card.is-active::after,
.metric-card.is-active::after,
.sector-card.is-active::after,
.about-card.is-active::after,
.contact-card.is-active::after,
.faq-cta-box.is-active::after {
  opacity: 1;
}

.service-card:active,
.metric-card:active,
.sector-card:active,
.about-card:active,
.contact-card:active,
.faq-cta-box:active,
.service-card.is-active,
.metric-card.is-active,
.sector-card.is-active,
.about-card.is-active,
.contact-card.is-active,
.faq-cta-box.is-active {
  transform: translateY(-8px) scale(1.015);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.18),
    0 10px 24px rgba(0, 0, 0, 0.10);
}

@media (max-width: 768px) {
  .service-card:hover,
  .metric-card:hover,
  .sector-card:hover,
  .about-card:hover,
  .contact-card:hover,
  .faq-cta-box:hover {
    transform: none;
    box-shadow: inherit;
    filter: none;
  }
}

/* Focus states for accessibility */
.btn:focus,
.nav-cta:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ── Floating Chat Widget ── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── Chat Lead Form ── */
.chat-lead-form {
  position: relative;
  z-index: 3;
  flex: 1;
  overflow-y: auto;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
}
.chat-lead-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f2d5c;
  margin: 0 0 6px;
}
.chat-lead-subtitle {
  font-size: 13px;
  color: rgba(15, 45, 92, 0.60);
  margin: 0 0 20px;
  line-height: 1.55;
}
.chat-lead-field {
  margin-bottom: 13px;
}
.chat-lead-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(15, 45, 92, 0.55);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chat-lead-input {
  width: 100%;
  border: 1px solid rgba(15, 45, 92, 0.16);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: #183153;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.chat-lead-input::placeholder { color: rgba(24, 49, 83, 0.40); }
.chat-lead-input:focus {
  border-color: rgba(15, 45, 92, 0.40);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 0 0 2.5px rgba(15,45,92,0.12);
}
.chat-lead-error {
  font-size: 12px;
  color: rgba(252, 129, 129, 0.92);
  min-height: 18px;
  margin: 0 0 10px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.chat-lead-submit {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 45, 92, 0.82);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.96);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 14px rgba(15, 45, 92, 0.22);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: auto;
}
.chat-lead-submit:hover {
  background: rgba(15, 45, 92, 0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 6px 20px rgba(15,45,92,0.30);
}
.chat-lead-submit:active { transform: scale(0.97); }

/* ── Liquid Glass Bubble ── */
.chat-bubble.liquid-glass {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: transparent;

  /* outer depth + rim light */
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.30),
    0 4px  12px rgba(0, 0, 0, 0.18),
    inset 0  1px 0   rgba(255, 255, 255, 0.55),
    inset 0 -1px 0   rgba(255, 255, 255, 0.10),
    inset 0  0  30px rgba(255, 255, 255, 0.06);

  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  /* iPhone Safari: removes 300ms tap delay and grey flash */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Safari: forces backdrop-filter + compositing layer to clip to circle shape */
  -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
  mask-image: radial-gradient(circle, white 100%, black 100%);
}

/* Layer 0 — isolated backdrop blur (no filter here, avoids Safari conflict) */
.liquid-glass__backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  background: rgba(10, 26, 54, 0.48);
  -webkit-backdrop-filter: blur(18px) saturate(180%) contrast(115%);
  backdrop-filter: blur(18px) saturate(180%) contrast(115%);
}

/* Layer 1 — edge-lighting gradient (::before) */
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    138deg,
    rgba(255,255,255,0.44) 0%,
    rgba(255,255,255,0.09) 38%,
    rgba(255,255,255,0.01) 60%,
    rgba(0,0,0,0.12) 100%
  );
  -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
  mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
  opacity: 0.52;
}

/* Layer 2 — inset specular ring (::after) */
.liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    inset 0  1px 2px rgba(255,255,255,0.72),
    inset 0 -1px 1px rgba(255,255,255,0.14),
    inset 0  0   0 1px rgba(255,255,255,0.16);
}

/* Layer 3 — refracted surface with SVG liquid displacement */
/* Applied ONLY to this gradient layer — icon above stays sharp */
.liquid-glass__surface {
  position: absolute;
  inset: 0; /* Safari: inset:-6px bleeds through overflow:hidden with SVG filter */
  clip-path: inset(0 round 999px); /* force-clip Safari filter output to circle */
  border-radius: inherit;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 22%, rgba(255,255,255,0.62), transparent 32%),
    radial-gradient(circle at 72% 78%, rgba(255,255,255,0.14), transparent 38%),
    radial-gradient(circle at 55% 50%, rgba(255,255,255,0.04), transparent 55%),
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.28) 0%,
      rgba(255,255,255,0.10) 32%,
      rgba(255,255,255,0.02) 60%,
      rgba(0,0,0,0.10) 100%
    );
  mix-blend-mode: screen;
  /* SVG liquid distortion — only on this layer */
  filter: url(#liquid-distortion);
}

/* Layer 4 — top glossy highlight cap (no distortion, clean) */
.liquid-glass__highlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  background:
    radial-gradient(ellipse 70% 38% at 50% 5%, rgba(255,255,255,0.80), transparent 68%),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.48)  0%,
      rgba(255,255,255,0.18) 20%,
      rgba(255,255,255,0.03) 42%,
      transparent 65%
    );
  opacity: 0.92;
}

/* Layer 5 — icon, always sharp above everything */
.liquid-glass__icon {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.96);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.40)) drop-shadow(0 0 8px rgba(255,255,255,0.18));
}

/* hover */
.liquid-glass:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.34),
    0 6px  16px rgba(0,0,0,0.20),
    inset 0  1px 0   rgba(255,255,255,0.65),
    inset 0 -1px 0   rgba(255,255,255,0.14),
    inset 0  0  36px rgba(255,255,255,0.08);
}

/* press */
.liquid-glass:active { transform: scale(0.95); }

.chat-bubble-icon {
  width: 26px;
  height: 26px;
  display: block;
  transition: opacity 0.18s, transform 0.18s;
}
.chat-bubble-icon--close { display: none; }
.chat-widget--open .chat-bubble-icon--open { display: none; }
.chat-widget--open .chat-bubble-icon--close { display: block; }

@media (max-width: 768px) {
  .chat-bubble.liquid-glass {
    width: 60px;
    height: 60px;
  }
  .liquid-glass__backdrop {
    -webkit-backdrop-filter: blur(14px) saturate(170%) contrast(110%);
    backdrop-filter: blur(14px) saturate(170%) contrast(110%);
  }
  .chat-bubble-icon { width: 22px; height: 22px; }
}

/* ── Liquid Glass Panel ── */
/* Animation wrapper — NO backdrop-filter, only handles transform/opacity */
.chat-panel-wrap {
  display: none; /* fully removed from layout when closed — fixes iOS touch-event bug */
  flex-shrink: 0;
  -webkit-transform-origin: bottom right;
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Visual shell — backdrop-filter lives here, never the animated element */
.chat-panel {
  position: relative;
  width: 360px;
  max-height: 540px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;

  /* solid panel — removes backdrop-filter from animated subtree (Safari flicker fix) */
  background: rgba(238, 244, 255, 0.97);

  /* outer depth + rim */
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 20px 60px rgba(15, 45, 92, 0.16),
    0 6px  20px rgba(15, 45, 92, 0.10),
    inset 0  1px 0   rgba(255, 255, 255, 0.50),
    inset 0 -1px 0   rgba(255, 255, 255, 0.06),
    inset 0  0  40px rgba(255, 255, 255, 0.06);
}

/* glossy top highlight cap */
.chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 32% at 50% 0%, rgba(255,255,255,0.38), transparent 65%),
    radial-gradient(circle at 22% 10%, rgba(255,255,255,0.28), transparent 28%),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.22) 0%,
      rgba(255,255,255,0.08) 18%,
      rgba(255,255,255,0.01) 42%,
      transparent 60%
    );
  opacity: 0.88;
}

/* inner specular ring */
.chat-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 11;
  border-radius: inherit;
  box-shadow:
    inset 0  1px 1px rgba(255,255,255,0.55),
    inset 0 -1px 1px rgba(255,255,255,0.10),
    inset 0  0   0 1px rgba(255,255,255,0.12);
}

/* Panel animation states */
.chat-panel-wrap.is-opening {
  pointer-events: auto;
  -webkit-animation: chatExpandFromBubble 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation: chatExpandFromBubble 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.chat-panel-wrap.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, 0) scale(1);
}
.chat-panel-wrap.is-closing {
  pointer-events: none;
  -webkit-animation: chatMinimizeToBubble 360ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation: chatMinimizeToBubble 360ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@-webkit-keyframes chatExpandFromBubble {
  0%   { opacity: 0; -webkit-transform: translate(18px, 28px) scale(0.78); transform: translate(18px, 28px) scale(0.78); }
  60%  { opacity: 1; -webkit-transform: translate(0, 0) scale(1.015);     transform: translate(0, 0) scale(1.015); }
  100% { opacity: 1; -webkit-transform: translate(0, 0) scale(1);          transform: translate(0, 0) scale(1); }
}
@keyframes chatExpandFromBubble {
  0%   { opacity: 0; transform: translate(18px, 28px) scale(0.78); }
  60%  { opacity: 1; transform: translate(0, 0) scale(1.015); }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@-webkit-keyframes chatMinimizeToBubble {
  0%   { opacity: 1; -webkit-transform: translate(0, 0) scale(1);           transform: translate(0, 0) scale(1); }
  100% { opacity: 0; -webkit-transform: translate(22px, 30px) scale(0.72); transform: translate(22px, 30px) scale(0.72); }
}
@keyframes chatMinimizeToBubble {
  0%   { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(22px, 30px) scale(0.72); }
}

.chat-panel-header {
  position: relative;
  z-index: 5;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  /* cool glass header */
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  /* top highlight inside header */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
.chat-panel-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-panel-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 45, 92, 0.82);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  flex-shrink: 0;
}
.chat-panel-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f2d5c;
  text-shadow: none;
}
.chat-panel-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(15, 45, 92, 0.55);
  margin-top: 1px;
}
.chat-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
  flex-shrink: 0;
}
/* close button — liquid glass pill */
.chat-close {
  position: relative;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0f2d5c;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.40),
    0 2px 8px rgba(15,45,92,0.10);
  transition: background 0.2s, box-shadow 0.2s;
}
.chat-close:hover {
  background: rgba(255,255,255,0.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.50), 0 4px 12px rgba(15,45,92,0.14);
}
.chat-close svg { width: 14px; height: 14px; }

.chat-messages {
  position: relative;
  z-index: 3;
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  background: rgba(255,255,255,0.03);
}
.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(15,45,92,0.18); border-radius: 2px; }

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.55;
}
/* bot bubble — frosted white glass */
.chat-msg--bot {
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    0 4px 12px rgba(0,0,0,0.12);
  color: #183153;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}
.chat-msg--bot a { color: #0f2d5c; font-weight: 600; }
/* user bubble — solid navy with highlight */
.chat-msg--user {
  background: rgba(10, 26, 54, 0.88);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 4px 12px rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.97);
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}
/* typing bubble */
.chat-msg--typing {
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  padding: 12px 16px;
}
.chat-typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}
.chat-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(15, 45, 92, 0.50);
  animation: chatDot 1.2s infinite ease-in-out;
}
.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.chat-suggestion {
  font-size: 12px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(15,45,92,0.18);
  background: rgba(255,255,255,0.55);
  color: #0f2d5c;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.60);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
  font-family: inherit;
}
.chat-suggestion:hover {
  background: rgba(255,255,255,0.75);
  border-color: rgba(15,45,92,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70), 0 4px 10px rgba(15,45,92,0.10);
}

.chat-input-row {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  flex-shrink: 0;
  /* cool glass input bar */
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.chat-input {
  flex: 1;
  border: 1px solid rgba(15,45,92,0.18);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-family: inherit;
  color: #183153;
  outline: none;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
  transition: background 0.2s, border-color 0.2s;
}
.chat-input::placeholder { color: rgba(24, 49, 83, 0.45); }
.chat-input:focus {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 45, 92, 0.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 0 0 2px rgba(15,45,92,0.12);
}
/* send button — cool glass */
.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 45, 92, 0.82);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.95);
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    0 4px 12px rgba(15,45,92,0.20);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.chat-send:hover {
  background: rgba(15, 45, 92, 0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.40), 0 6px 18px rgba(15,45,92,0.28);
}
.chat-send:active { transform: scale(0.92); }
.chat-send svg { width: 15px; height: 15px; }

@media (max-width: 768px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
  .chat-bubble {
    width: 58px;
    height: 58px;
  }
  .chat-panel-wrap {
    width: min(360px, calc(100vw - 18px));
  }
  .chat-panel {
    width: 100%;
    max-height: 72svh;
    border-radius: 24px;
  }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM HAMBURGER NAVIGATION
═══════════════════════════════════════════════════════ */

/* ── Hamburger button ── */
.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.2s ease;
  position: relative;
  z-index: 1001;
}
.nav-hamburger:hover { background: rgba(15, 45, 92, 0.07); }
.nav-hamburger:focus-visible { outline: 2px solid rgba(15,45,92,0.35); outline-offset: 2px; }

.nav-hamburger__line {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: #0f2d5c;
  transform-origin: center center;
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity   220ms ease,
    width     380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-hamburger__line:nth-child(1) { width: 22px; }
.nav-hamburger__line:nth-child(2) { width: 17px; }
.nav-hamburger__line:nth-child(3) { width: 12px; }

/* Morph to × when active */
.nav-hamburger.is-active .nav-hamburger__line:nth-child(1) {
  width: 19px;
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.is-active .nav-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}
.nav-hamburger.is-active .nav-hamburger__line:nth-child(3) {
  width: 19px;
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Backdrop overlay ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 997;
  background: rgba(10, 24, 52, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Floating nav panel ── */
.nav-panel {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  width: calc(100% - 3rem);
  max-width: 960px;
  margin: 0 auto;
  z-index: 998;
  background: rgba(250, 252, 255, 0.93);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(15, 45, 92, 0.10);
  border-radius: 18px;
  box-shadow:
    0 4px 8px  rgba(15, 45, 92, 0.06),
    0 22px 56px rgba(15, 45, 92, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
  pointer-events: none;
  transform-origin: top right;
  transition:
    opacity   360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
.nav-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-panel__inner {
  padding: 28px 34px 32px;
}

/* 3-column grid on desktop */
.nav-panel__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0;
}
.nav-panel__section {
  padding: 0 32px 0 0;
}
.nav-panel__section:not(:first-child) {
  padding: 0 32px 0 32px;
  border-left: 1px solid rgba(15, 45, 92, 0.08);
}
.nav-panel__section:last-child {
  padding-right: 0;
}

/* ── Section titles ── */
.nav-panel__section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 45, 92, 0.40);
  margin: 0 0 9px;
  padding: 0 10px;
}
.nav-panel__section-title--spaced {
  margin-top: 22px;
}

/* ── Nav link list ── */
.nav-panel__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-panel__link {
  display: block;
  font-size: 13.5px;
  font-weight: 420;
  color: #1a3461;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
  line-height: 1.4;
  transition:
    background 0.17s ease,
    color      0.17s ease,
    transform  0.17s ease;
}
.nav-panel__link:hover {
  background: rgba(15, 45, 92, 0.07);
  color: #0f2d5c;
  transform: translateX(3px);
}
.nav-panel__link:focus-visible {
  outline: 2px solid rgba(15,45,92,0.30);
  outline-offset: 1px;
}

/* ── CTA / highlighted links ── */
.nav-panel__link--cta {
  font-weight: 600;
  color: #0d2a56;
  background: rgba(15, 45, 92, 0.07);
  border: 1px solid rgba(15, 45, 92, 0.13);
}
.nav-panel__link--cta:hover {
  background: rgba(15, 45, 92, 0.13);
  color: #0a2248;
  transform: translateX(3px);
}

/* ── Mobile: single-column stacked ── */
@media (max-width: 768px) {
  .nav-panel {
    top: 62px;
    width: calc(100% - 1.5rem);
    border-radius: 14px;
  }
  .nav-panel__inner {
    padding: 20px 16px 24px;
    max-height: calc(100svh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-panel__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .nav-panel__section {
    padding: 0 0 18px;
    margin-bottom: 18px;
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid rgba(15, 45, 92, 0.08);
  }
  .nav-panel__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .nav-panel__section-title {
    padding: 0 6px;
  }
}

@media (max-width: 480px) {
  .nav-panel {
    width: calc(100% - 1rem);
    border-radius: 12px;
  }
  .nav-panel__inner {
    padding: 16px 12px 20px;
  }
  .nav-container {
    padding: 0.85rem 1rem;
  }
}

/* ── Lead Capture Form Section ── */
.lead-section {
    padding: 96px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Left info column */
.lead-info-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 16px 0 36px;
}

.lead-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lead-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.lead-benefit-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 45, 92, 0.07);
}

.lead-benefit strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.lead-benefit p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Right form card */
.lead-form-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow:
        0 4px 6px rgba(15, 45, 92, 0.04),
        0 12px 40px rgba(15, 45, 92, 0.08);
    overflow: hidden;
}

.lead-form-header {
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, #f0f4ff 0%, #f8fafc 100%);
}

.lead-form-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 4px;
}

.lead-form-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.lead-form {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lf-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.lf-required {
    color: #e53e3e;
    font-weight: 700;
}

.lf-optional {
    color: var(--text-light);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.lf-input,
.lf-select,
.lf-textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    background: #fafbfc;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.lf-input::placeholder,
.lf-textarea::placeholder {
    color: #a0aec0;
}

.lf-input:focus,
.lf-select:focus,
.lf-textarea:focus {
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 35, 65, 0.08);
}

.lf-input.lf-input--error,
.lf-select.lf-input--error,
.lf-textarea.lf-input--error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.08);
}

.lf-select-wrap {
    position: relative;
}

.lf-select-wrap .lf-select {
    padding-right: 40px;
    cursor: pointer;
}

.lf-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light);
    pointer-events: none;
}

.lf-textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.55;
}

.lf-error {
    font-size: 13px;
    color: #e53e3e;
    font-weight: 500;
    min-height: 18px;
    margin: -4px 0;
}

.lf-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-blue);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(13, 35, 65, 0.22);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lf-submit:hover {
    background: var(--secondary-blue);
    box-shadow: 0 6px 20px rgba(13, 35, 65, 0.30);
}

.lf-submit:active {
    transform: scale(0.98);
}

.lf-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 12px;
    color: var(--text-light);
    padding-top: 4px;
}

/* Success state */
.lf-success {
    padding: 52px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lf-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ebf8f0;
    border: 2px solid #38a169;
    color: #38a169;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.lf-success-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.lf-success-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 320px;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .lead-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .lead-section {
        padding: 64px 0;
    }
    .lead-form-header,
    .lead-form {
        padding-left: 20px;
        padding-right: 20px;
    }
    .lf-trust {
        flex-direction: column;
        gap: 6px;
    }
}

/* ── iOS Mobile Chat Bottom-Sheet ── */

/* Dim overlay (tap to close, iOS feel) */
.chat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 9998;
  opacity: 0;
  -webkit-transition: opacity 340ms ease;
  transition: opacity 340ms ease;
}
.chat-overlay.is-visible {
  opacity: 1;
}

@media (max-width: 768px) {
  /* ── Bubble: solid bg removes the Safari rectangular compositing border ── */
  .chat-bubble.liquid-glass {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 10001 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #0f2d5c !important;
    box-shadow: 0 4px 24px rgba(13, 35, 65, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    will-change: auto !important;
  }

  /* ── Handle bar ── */
  .chat-panel-wrap::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(15, 45, 92, 0.2);
    z-index: 10;
    pointer-events: none;
  }

  /* ── Panel wrap: full-width bottom sheet, CSS transition (not keyframes) ── */
  .chat-panel-wrap {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 88vh !important;
    border-radius: 20px 20px 0 0 !important;
    z-index: 10000 !important;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
    will-change: auto !important;
    opacity: 1 !important;
    /* parked below the screen; JS + double-rAF slides it up */
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 360ms cubic-bezier(0.32, 0.72, 0, 1);
    transition: transform 360ms cubic-bezier(0.32, 0.72, 0, 1);
  }

  /* ── Panel card ── */
  .chat-panel {
    width: 100% !important;
    max-height: 88vh;
    border-radius: 20px 20px 0 0 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ── Open: cancel any desktop animation, slide into view via transition ── */
  .chat-panel-wrap.is-opening,
  .chat-panel-wrap.is-open {
    opacity: 1 !important;
    -webkit-animation: none !important;
    animation: none !important;
    -webkit-transform: translateY(0) !important;
    transform: translateY(0) !important;
  }

  /* ── Closing: slide back down, then JS hides display ── */
  .chat-panel-wrap.is-closing {
    opacity: 1 !important;
    -webkit-animation: none !important;
    animation: none !important;
    -webkit-transform: translateY(100%) !important;
    transform: translateY(100%) !important;
    -webkit-transition: -webkit-transform 300ms cubic-bezier(0.4, 0, 1, 1) !important;
    transition: transform 300ms cubic-bezier(0.4, 0, 1, 1) !important;
  }

  /* ── iOS: 16px on inputs prevents Safari auto-zoom on focus ── */
  .lf-input,
  .lf-select,
  .lf-textarea,
  .chat-lead-input,
  .chat-input {
    font-size: 16px !important;
  }

  /* ── Lead form mobile padding ── */
  .lead-section        { padding: 48px 0 !important; }
  .lead-form-header    { padding: 20px 16px 16px !important; }
  .lead-form           { padding: 16px 16px 20px !important; gap: 14px !important; }
  .lf-success          { padding: 36px 20px !important; }

  /* ── Extra top padding for handle bar ── */
  .chat-panel-header   { padding-top: 22px !important; }
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .contact-cta {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}
