:root {
    --navy-deep: #0a1628;
    --navy: #0f1c2e;
    --navy-light: #162236;
    --navy-medium: #1e3a5f;
    --blue-soft: #3d5a80;
    --blue-light: #5b7aa5;
    --blue-pale: #98b4d4;
    --blue-ice: #b8d0eb;
    --white: #ffffff;
    --white-off: #f0f4f8;
    --white-soft: rgba(255, 255, 255, 0.9);
    --white-muted: rgba(255, 255, 255, 0.7);
    --white-dim: rgba(255, 255, 255, 0.5);
    --white-faint: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--white-soft);
    background: var(--navy-deep);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--white-faint);
    transition: all 0.4s ease;
    padding: 1.5rem 0;
}

nav.scrolled {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-cta {
    background: var(--white);
    color: var(--navy);
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--white-off);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4% 4rem;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(61, 90, 128, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--white-faint) 50%, transparent 100%);
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-pale);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--blue-pale);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--blue-ice);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white-muted);
    max-width: 550px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--navy);
    padding: 1.125rem 2.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--white-off);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Section Styling */
section {
    padding: 5rem 4%;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-pale);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
}

/* About SB253 Section */
.about-sb253 {
    background: var(--navy);
    border-top: 1px solid var(--white-faint);
}

.regulation-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.regulation-content p:not(.section-eyebrow) {
    font-size: 1.05rem;
    color: var(--white-muted);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--white-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

/* Deadlines Section */
.deadlines-section {
    background: var(--navy);
    border-top: 1px solid var(--white-faint);
    display: flex;
    justify-content: center;
}

.deadlines-section .deadline-card {
    max-width: 500px;
    width: 100%;
}

.deadline-card {
    background: var(--navy-light);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--white-faint);
}

.deadline-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.deadline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.deadline-item:last-child {
    margin-bottom: 0;
}

.deadline-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-ice);
    min-width: 55px;
}

.deadline-desc {
    color: var(--white-muted);
    font-size: 0.95rem;
}

/* Penalty Section */
.penalty-section {
    background: var(--navy-light);
    text-align: center;
    border-top: 1px solid var(--white-faint);
    border-bottom: 1px solid var(--white-faint);
}

.penalty-content {
    max-width: 600px;
    margin: 0 auto;
}

.penalty-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.penalty-per {
    font-size: 1.25rem;
    color: var(--blue-pale);
    margin-bottom: 1rem;
}

.penalty-note {
    font-size: 0.95rem;
    color: var(--white-dim);
}

/* Scope Section */
.scope-section {
    background: var(--navy);
}

.scope-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.scope-card {
    background: var(--navy-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--white-faint);
    transition: all 0.3s ease;
}

.scope-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue-soft);
}

.scope-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue-soft) 0%, var(--navy-medium) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.scope-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.scope-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.scope-card p {
    color: var(--white-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    background: var(--navy-light);
    text-align: center;
    padding: 4rem 4%;
    border-top: 1px solid var(--white-faint);
}

.proof-title {
    font-size: 1rem;
    color: var(--white-dim);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.client-logo-img {
    max-height: 35px;
    max-width: 140px;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}

.client-logo-img:hover {
    filter: grayscale(0%) brightness(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    opacity: 1;
    transform: translateY(-5px) scale(1.05);
}

/* About ECO Section */
.about-eco {
    background: var(--navy);
    border-top: 1px solid var(--white-faint);
}

.about-eco-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-eco-content p {
    font-size: 1.05rem;
    color: var(--white-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.credential-tag {
    background: var(--navy-light);
    border: 1px solid var(--white-faint);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--white-muted);
}

.eco-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--navy-light);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--white-faint);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--white-dim);
}

/* CTA / Calendly Section */
.cta-section {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    text-align: center;
    padding: 5rem 4%;
    border-top: 1px solid var(--white-faint);
}

.cta-content {
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-section .section-title {
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--white-dim);
}

.calendly-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.calendly-inline-widget {
    min-width: 100%;
    height: 700px;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--navy-deep);
    color: var(--white-dim);
    padding: 2.5rem 4%;
    border-top: 1px solid var(--white-faint);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-brand-text a {
    color: var(--blue-pale);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-brand-text a:hover {
    color: var(--white);
}

.footer-location {
    font-size: 0.9rem;
    color: var(--blue-pale);
}

.footer-logo-img {
    height: 35px;
    width: auto;
    display: block;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--white-muted);
}

.footer-contact {
    text-align: right;
}

.footer-copyright {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {

    .about-grid,
    .about-eco-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scope-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 1rem 5%;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    section {
        padding: 3.5rem 5%;
    }

    .hero {
        padding: 7rem 5% 3rem;
    }

    .eco-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact {
        text-align: center;
    }

    .calendly-inline-widget {
        height: 700px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}