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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-700);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ─── NAVIGATION ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.15em;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.08em;
    color: var(--teal-700);
}

.logo-wordmark {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
    color: var(--slate-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-600);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--teal-700);
}

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--slate-700);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}

.btn--primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

.btn--outline-light {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

.btn--outline-dark {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn--outline-dark:hover {
    border-color: var(--teal-600);
    color: var(--teal-700);
}

.btn--small {
    padding: 0.5625rem 1.25rem;
    font-size: 0.8125rem;
}

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

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--slate-950);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2,6,23,0.82) 0%,
        rgba(15,23,42,0.70) 50%,
        rgba(17,94,89,0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    max-width: 720px;
    padding-bottom: var(--space-3xl);
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    margin-bottom: var(--space-xl);
    max-width: 640px;
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ─── SECTION COMMON ─── */
.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: var(--space-lg);
}

.section-lead {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--slate-600);
    line-height: 1.8;
    max-width: 560px;
}

.section-body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

/* ─── INTRO ─── */
.intro {
    padding: var(--space-4xl) 0;
    border-bottom: 1px solid var(--slate-200);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ─── SERVICES ─── */
.services {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-700);
    margin-bottom: var(--space-lg);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.service-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--teal-600);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 0.5rem;
}

/* ─── ABOUT ─── */
.about {
    padding: var(--space-4xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-stat {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--teal-700);
    color: #fff;
    padding: var(--space-xl) var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.85;
    line-height: 1.4;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--slate-700);
}

.about-feature svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--teal-600);
}

/* ─── PROCESS ─── */
.process {
    padding: var(--space-4xl) 0;
    background: var(--slate-900);
    color: #fff;
}

.process .section-eyebrow {
    color: var(--teal-400);
}

.process .section-title {
    color: #fff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.process-step {
    position: relative;
    padding-top: var(--space-xl);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--teal-600), transparent);
}

.process-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--teal-500);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.process-title {
    font-size: 1.0625rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.process-desc {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-400);
    line-height: 1.75;
}

/* ─── AREAS ─── */
.areas {
    padding: var(--space-4xl) 0;
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--space-xl);
}

.area-tag {
    display: inline-block;
    padding: 0.4375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.area-tag:hover {
    border-color: var(--teal-400);
    color: var(--teal-700);
    background: var(--teal-50);
}

.areas-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    border: 1px solid var(--slate-200);
}

/* ─── CTA ─── */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 100%);
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: var(--space-md);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.cta-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ─── CONTACT ─── */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--slate-200);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-detail svg {
    flex-shrink: 0;
    color: var(--teal-600);
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 0.1875rem;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--slate-700);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--teal-600);
}

/* ─── FORM ─── */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-700);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 0.6875rem 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    box-shadow: 0 0 0 3px rgba(20,184,166,0.1);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: var(--space-md);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    color: var(--teal-800);
    font-size: 0.9375rem;
    font-weight: 400;
}

.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand .logo-mark {
    color: var(--teal-400);
}

.footer-brand .logo-wordmark {
    color: var(--slate-300);
}

.footer-tagline {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.75;
    margin-top: var(--space-md);
    color: var(--slate-500);
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-500);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact p {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--slate-500);
    margin-bottom: 0.375rem;
}

.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--slate-600);
}

.footer-bottom a {
    color: var(--slate-500);
}

.footer-bottom a:hover {
    color: var(--teal-400);
}

/* ─── MOBILE NAV OVERLAY ─── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    padding: var(--space-2xl);
}

.nav-overlay.open {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
    justify-content: center;
}

.nav-overlay a {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--slate-700);
    padding: var(--space-md) 0;
}

.nav-overlay a:hover {
    color: var(--teal-600);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
    
    .process-step::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        padding-top: 96px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .intro-grid,
    .about-grid,
    .contact-grid,
    .areas-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .intro-image img,
    .about-image-wrap img {
        height: 280px;
    }
    
    .about-stat {
        right: 0;
        bottom: -16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .areas-map {
        height: 280px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }
}

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