*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #0f2b4c;
    --midnight-light: #1a3f6e;
    --midnight-dark: #091d35;
    --mint: #3db59b;
    --mint-light: #5ec9b0;
    --mint-pale: #d4f0ea;
    --mint-ghost: #eaf8f4;
    --cream: #F0FAF7;
    --cream-dark: #e6f5ef;
    --white: #ffffff;
    --text-dark: #1a2a3a;
    --text-mid: #4a5a6a;
    --text-light: #6a7a8a;
    --shadow-sm: 0 1px 3px rgba(15, 43, 76, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 43, 76, 0.08);
    --shadow-lg: 0 8px 32px rgba(15, 43, 76, 0.12);
    --shadow-xl: 0 16px 48px rgba(15, 43, 76, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--midnight);
}

a {
    color: var(--mint);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--mint-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--midnight);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(240, 250, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 181, 155, 0.1);
    transition: box-shadow var(--transition), background var(--transition);
}

.header.scrolled {
    background: rgba(240, 250, 247, 0.95);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--midnight);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.logo-icon {
    color: var(--mint);
}

.logo-light {
    color: var(--white);
}

.logo-light .logo-icon {
    color: var(--mint-light);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav a {
    color: var(--text-mid);
    font-weight: 500;
    font-size: 0.938rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav a:hover {
    color: var(--midnight);
    background: var(--mint-pale);
}

.btn-nav {
    background: var(--midnight);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    padding: 10px 20px !important;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background: var(--midnight-light);
    color: var(--white) !important;
    background: var(--midnight-light) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--midnight);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2b4c 0%, #1a4a6e 30%, #1a6b5a 60%, #3db59b 100%);
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(61, 181, 155, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26, 74, 110, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(94, 201, 176, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--mint-pale);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-mint {
    color: var(--mint-light);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--mint-light);
    border-color: var(--mint-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 181, 155, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--midnight);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.063rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Section shared ── */
.section-tag {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.063rem;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ── Services ── */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(61, 181, 155, 0.1);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--mint-pale);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-ghost);
    border-radius: var(--radius-md);
    color: var(--mint);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--mint);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.188rem;
    margin-bottom: 10px;
    color: var(--midnight);
}

.service-card p {
    font-size: 0.938rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ── Why Us ── */
.why-us {
    padding: 100px 0;
    background: var(--white);
}

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

.why-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.why-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--mint-pale);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.why-intro {
    font-size: 1.063rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 36px;
}

.why-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-ghost);
    border-radius: 50%;
    color: var(--mint);
    margin-top: 2px;
}

.why-feature h4 {
    font-size: 1.063rem;
    color: var(--midnight);
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.938rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── Materials ── */
.materials {
    padding: 100px 0;
    background: var(--cream);
}

.materials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.material-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid rgba(61, 181, 155, 0.1);
    transition: all var(--transition);
}

.material-category:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--mint-pale);
}

.material-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.material-cat-header svg {
    color: var(--mint);
}

.material-cat-header h3 {
    font-size: 1.313rem;
    color: var(--midnight);
}

.material-list {
    list-style: none;
}

.material-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--cream);
    font-size: 0.938rem;
}

.material-list li:last-child {
    border-bottom: none;
}

.material-list li span:first-child {
    font-weight: 600;
    color: var(--midnight);
}

.material-list li span:last-child {
    color: var(--text-light);
    text-align: right;
}

.materials-cta {
    text-align: center;
    font-size: 1.063rem;
    color: var(--text-mid);
}

.materials-cta a {
    font-weight: 600;
    color: var(--mint);
}

.materials-cta a:hover {
    color: var(--mint-light);
}

/* ── Process ── */
.process {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: start;
}

.process-step {
    text-align: center;
    padding: 0 24px;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--mint-pale);
    line-height: 1;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.313rem;
    color: var(--midnight);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.938rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.step-content a {
    font-weight: 600;
    color: var(--mint);
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    color: var(--mint-pale);
}

/* ── CTA Banner ── */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--midnight-dark) 0%, var(--midnight) 40%, #1a6b5a 100%);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(61, 181, 155, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 100% 50%, rgba(26, 107, 90, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

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

.contact-intro {
    font-size: 1.063rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-ghost);
    border-radius: var(--radius-md);
    color: var(--mint);
}

.contact-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--midnight);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.938rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-item a {
    color: var(--mint);
    font-weight: 600;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    border: 1px solid rgba(61, 181, 155, 0.1);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--midnight);
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    font-size: 0.938rem;
    color: var(--text-mid);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--midnight);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.938rem;
    color: var(--text-dark);
    background: var(--cream);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(61, 181, 155, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-ghost);
    border-radius: 50%;
    color: var(--mint);
}

.form-success h4 {
    font-size: 1.375rem;
    color: var(--midnight);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ── Footer ── */
.footer {
    background: var(--midnight-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.938rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--mint-light);
}

.footer-contact p {
    font-size: 0.938rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--mint-light);
    font-weight: 600;
}

.footer-hours {
    margin-top: 12px;
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 100px 32px 40px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 1000;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    
    .nav a {
        padding: 14px 16px;
        font-size: 1.063rem;
    }
    
    .btn-nav {
        text-align: center;
        margin-top: 12px;
    }
    
    .hero {
        padding: 140px 20px 100px;
        min-height: auto;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .why-image {
        order: -1;
    }
    
    .why-image img {
        height: 400px;
    }
    
    .why-image-accent {
        display: none;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .step-connector {
        transform: rotate(90deg);
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
