*, *::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;
    --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;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.nav.scrolled {
    box-shadow: 0 1px 0 var(--slate-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--slate-900);
}

.logo-accent {
    color: var(--teal-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--teal-600) !important;
    font-weight: 500 !important;
    border: 1px solid var(--teal-600);
    padding: 8px 16px;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
    background: var(--teal-600);
    color: white !important;
}

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

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

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--slate-50);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--teal-600);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--slate-500);
    max-width: 440px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

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

.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-300);
}

.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
}

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

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

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

.hero-image-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6/7;
    object-fit: cover;
}

.stat-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--slate-100);
}

.stat-card--1 {
    bottom: -20px;
    left: -30px;
}

.stat-card--2 {
    top: 40px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-card--3 {
    bottom: 80px;
    right: -30px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal-600);
    display: block;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    line-height: 1.4;
}

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

.hero-line::after {
    content: '';
    display: block;
    height: 1px;
    background: var(--slate-200);
}

/* ─── SECTION COMMON ─── */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* ─── SERVICES ─── */
.services {
    padding: 120px 0;
    background: white;
}

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

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

.service-card {
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    background: white;
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ─── ABOUT ─── */
.about {
    padding: 120px 0;
    background: var(--slate-50);
}

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

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
}

.about-image-main img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.15);
    border: 4px solid white;
}

.about-image-secondary img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 7/5;
    object-fit: cover;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

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

/* ─── GALLERY ─── */
.gallery {
    padding: 120px 0;
    background: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
}

/* ─── CTA SECTION ─── */
.cta-section {
    padding: 120px 0;
    background: var(--slate-900);
}

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

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.cta-actions .btn-ghost {
    border-color: var(--slate-600);
    color: var(--slate-300);
}

.cta-actions .btn-ghost:hover {
    border-color: var(--teal-400);
    color: var(--teal-400);
}

/* ─── CONTACT ─── */
.contact {
    padding: 120px 0;
    background: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-text {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

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

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

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

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

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--slate-800);
    text-decoration: none;
    font-weight: 400;
    line-height: 1.5;
}

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

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

/* Contact form */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 48px;
    border: 1px solid var(--slate-200);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.9375rem;
    color: var(--slate-500);
    margin-bottom: 32px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--slate-800);
    background: var(--slate-50);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: white;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--slate-500);
    font-size: 0.9375rem;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--slate-900);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand p {
    color: var(--slate-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-200);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 6px 0;
    transition: color 0.2s;
}

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

.footer-contact p {
    color: var(--slate-400);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact a {
    display: block;
    color: var(--teal-400);
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-600);
    font-size: 0.8125rem;
}

/* ─── ANIMATIONS ─── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image-secondary {
        right: -20px;
        bottom: -20px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        padding-top: 40px;
    }

    .stat-card--1 {
        left: 0;
        bottom: -16px;
    }

    .stat-card--2 {
        right: 0;
        top: 20px;
    }

    .stat-card--3 {
        right: 0;
        bottom: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 2.75rem;
    }
}
