:root {
    --brand: #2b7a78;
    --brand-2: #3aafa9;
    --accent: #def2f1;
    --bg: #feffff;
    --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h1 em, h2 em {
    font-style: italic;
    color: var(--brand);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) 0;
}

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

.logo {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--brand);
}

.nav-links {
    display: flex;
    gap: var(--space-6);
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 150ms var(--ease-out);
}

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

.btn-nav {
    background: var(--grad);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-2);
}

.hero {
    padding: var(--space-9) 0;
}

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

.eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--brand);
    margin-bottom: var(--space-3);
    font-family: 'Inter', sans-serif;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: var(--space-6);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-7);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
    transition: all 200ms var(--ease-out);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
}

.btn-full {
    width: 100%;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--brand);
    padding: 0.875rem 2rem;
    border: 2px solid var(--brand);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
    transition: all 200ms var(--ease-out);
}

.btn-ghost:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-2px);
}

.hero-meta {
    display: flex;
    gap: var(--space-7);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 0.25rem;
}

.meta-label {
    font-size: 0.875rem;
    color: var(--muted);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-3);
    object-fit: cover;
}

.services {
    background: var(--surface);
    padding: var(--space-10) 0;
}

.section-header {
    max-width: 600px;
    margin-bottom: var(--space-8);
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.service-card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-3);
    border: 1px solid var(--border);
    transition: all 200ms var(--ease-out);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: var(--radius-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: var(--space-4);
}

.service-card h3 {
    margin-bottom: var(--space-3);
    color: var(--text);
}

.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about {
    padding: var(--space-10) 0;
}

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

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-3);
    box-shadow: var(--shadow-2);
}

.lead {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: var(--space-6);
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.detail-item strong {
    display: block;
    color: var(--brand);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.detail-item p {
    color: var(--muted);
    line-height: 1.7;
}

.contacts {
    background: var(--surface);
    padding: var(--space-10) 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-7);
}

.contact-card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-3);
    border: 1px solid var(--border);
    text-align: center;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin: 0 auto var(--space-4);
}

.contact-card h3 {
    margin-bottom: var(--space-3);
    color: var(--text);
}

.contact-card p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-card a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.appointment {
    padding: var(--space-10) 0;
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.appointment-info {
    position: sticky;
    top: 120px;
}

.appointment-info p {
    color: var(--muted);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.appointment-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.benefit {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--muted);
}

.benefit svg {
    flex-shrink: 0;
    color: var(--brand);
}

.appointment-form {
    background: white;
    padding: var(--space-7);
    border-radius: var(--radius-3);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
}

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

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

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-2);
    font-family: inherit;
    font-size: 1rem;
    transition: all 150ms var(--ease-out);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--accent);
}

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

.success-message {
    text-align: center;
    padding: var(--space-7) var(--space-5);
}

.success-message svg {
    color: var(--brand);
    margin-bottom: var(--space-4);
}

.success-message h3 {
    color: var(--brand);
    margin-bottom: var(--space-3);
}

.success-message p {
    color: var(--muted);
    line-height: 1.7;
}

.site-footer {
    background: var(--surface-2);
    padding: var(--space-8) 0 var(--space-6);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-7);
    margin-bottom: var(--space-7);
}

.footer-brand {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    color: var(--brand);
    margin-bottom: var(--space-3);
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: var(--space-3);
}

.footer-col p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 500;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    transition: color 150ms var(--ease-out);
}

.footer-nav a:hover {
    color: var(--brand);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .nav-links {
        gap: var(--space-4);
        font-size: 0.85rem;
    }

    .btn-nav {
        padding: 0.4rem 1rem;
    }

    .hero-grid,
    .about-grid,
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .hero-image {
        order: -1;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

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

    .appointment-info {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 480px) {
    .nav-links a:not(.btn-nav) {
        display: none;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}