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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --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;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* ─── Header ─────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}

header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--slate-800);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width var(--transition);
}

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-700);
    padding: 0.5rem;
}

/* ─── Buttons ────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
}

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

.btn--primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

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

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

.btn--sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.8125rem;
}

.btn--full {
    width: 100%;
}

/* ─── Hero ───────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, var(--teal-50) 50%, var(--slate-50) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(13, 148, 136, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(15, 113, 110, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--teal-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--slate-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

.hero-visual {
    position: relative;
}

.hero-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.hero-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-accent-card {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--slate-700);
    font-size: 0.875rem;
    font-weight: 500;
}

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

/* ─── Section Shared ─────────────────────────── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 300;
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--teal-500);
    margin-bottom: 2rem;
}

/* ─── Services ───────────────────────────────── */
.services {
    padding: 7rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-header .section-line {
    margin: 0 auto 2rem;
}

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

.service-card {
    padding: 2.25rem;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--teal-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--teal-300);
    box-shadow: 0 8px 32px rgba(13, 148, 136, 0.08);
    transform: translateY(-2px);
}

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

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

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

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

/* ─── About ──────────────────────────────────── */
.about {
    padding: 7rem 0;
    background: var(--slate-50);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

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

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about-img-main img {
    display: block;
    width: 100%;
    height: auto;
}

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
}

.about-img-secondary img {
    display: block;
    width: 100%;
    height: auto;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--slate-700);
    font-weight: 400;
}

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

/* ─── Approach ───────────────────────────────── */
.approach {
    padding: 7rem 0;
    background: #fff;
}

.approach .section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.approach .section-header .section-line {
    margin: 0 auto 2rem;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.approach-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.approach-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -1rem;
    width: 2rem;
    height: 1px;
    background: var(--slate-300);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--teal-200);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.approach-step h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
}

.approach-step p {
    font-size: 0.9375rem;
    color: var(--slate-500);
    line-height: 1.75;
}

/* ─── Contact ────────────────────────────────── */
.contact {
    padding: 7rem 0;
    background: var(--slate-900);
    color: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

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

.contact .section-title {
    color: #fff;
    margin-bottom: 1.25rem;
}

.contact .section-line {
    background: var(--teal-500);
    margin-bottom: 2rem;
}

.contact-intro {
    font-size: 1rem;
    color: var(--slate-400);
    line-height: 1.85;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-detail svg {
    color: var(--teal-400);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-detail strong {
    display: block;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.contact-detail p {
    color: var(--slate-400);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.contact-detail a {
    color: var(--slate-300);
    text-decoration: none;
    transition: color var(--transition);
}

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

.contact-form-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate-400);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    transition: all var(--transition);
    outline: none;
    width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
    background: var(--slate-800);
    color: #fff;
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

.form-success svg {
    color: var(--teal-400);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
}

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

/* ─── Footer ─────────────────────────────────── */
.footer {
    padding: 3rem 0;
    background: var(--slate-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-logo-icon {
    color: var(--teal-500);
}

.footer-tagline {
    color: var(--slate-500);
    font-size: 0.875rem;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-bottom a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* ─── Scroll Animations ──────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

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

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

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

    .hero-accent-card {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-img-secondary {
        right: 0;
    }

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

    .approach-step:not(:last-child)::after {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

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

    .approach-steps {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav {
        padding: 0 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}
