/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a2e23;
    background-color: #faf8f4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: #0f1f17;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b8f71;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: #0f1f17;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #4a6352;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #1a3c2a;
    color: #faf8f4;
    border-color: #1a3c2a;
}

.btn-primary:hover {
    background-color: #254d38;
    border-color: #254d38;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 60, 42, 0.25);
}

.btn-outline-light {
    background-color: transparent;
    color: #faf8f4;
    border-color: rgba(250, 248, 244, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(250, 248, 244, 0.1);
    border-color: #faf8f4;
}

.btn-outline-dark {
    background-color: transparent;
    color: #1a3c2a;
    border-color: #1a3c2a;
}

.btn-outline-dark:hover {
    background-color: #1a3c2a;
    color: #faf8f4;
}

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

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(15, 31, 23, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a3c2a;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a3c2a;
    border-radius: 4px;
}

.nav-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: #0f1f17;
    letter-spacing: 0.02em;
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #2d4a3a;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #1a3c2a;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-links a:hover {
    color: #1a3c2a;
}

.nav-cta {
    background-color: #1a3c2a;
    color: #faf8f4 !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: #254d38;
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #1a3c2a;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0f1f17;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 31, 23, 0.92) 0%,
        rgba(26, 60, 42, 0.85) 50%,
        rgba(15, 31, 23, 0.88) 100%
    );
}

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a8c4a0;
    margin-bottom: 28px;
    padding: 8px 16px;
    border: 1px solid rgba(168, 196, 160, 0.3);
    border-radius: 100px;
    background-color: rgba(168, 196, 160, 0.08);
}

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 600;
    color: #faf8f4;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-accent {
    font-style: italic;
    font-weight: 500;
    color: #c8a86e;
}

.hero-subheadline {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(250, 248, 244, 0.75);
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* ===== STAT CARDS ===== */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(250, 248, 244, 0.07);
    border: 1px solid rgba(250, 248, 244, 0.12);
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(250, 248, 244, 0.1);
    border-color: rgba(200, 168, 110, 0.3);
    transform: translateX(-4px);
}

.stat-card--1 { order: 1; }
.stat-card--2 { order: 2; }
.stat-card--3 { order: 3; }

.stat-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c8a86e;
    margin-bottom: 12px;
}

.stat-card-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #faf8f4;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 13px;
    color: rgba(250, 248, 244, 0.6);
    line-height: 1.6;
}

/* ===== SERVICES ===== */
.services {
    background-color: #faf8f4;
}

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

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 31, 23, 0.06);
    border: 1px solid rgba(26, 60, 42, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 31, 23, 0.12);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 28px;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3c2a;
    margin-bottom: 16px;
    border: 1.5px solid rgba(26, 60, 42, 0.2);
    border-radius: 8px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #0f1f17;
}

.service-desc {
    font-size: 15px;
    color: #4a6352;
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    background-color: #f0ebe3;
}

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

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

.about-image-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 31, 23, 0.15);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 31, 23, 0.2);
    border: 4px solid #f0ebe3;
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 16px 0;
}

.about-intro {
    font-size: 1.1rem;
    color: #2d4a3a;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 1rem;
    color: #4a6352;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1a3c2a;
}

.value-item svg {
    color: #c8a86e;
    flex-shrink: 0;
}

/* ===== PATIENT INFO ===== */
.patient-info {
    background-color: #1a3c2a;
    color: #faf8f4;
}

.patient-info .section-tag {
    color: #a8c4a0;
}

.patient-info .section-title {
    color: #faf8f4;
}

.patient-info .section-subtitle {
    color: rgba(250, 248, 244, 0.65);
}

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

.step-card {
    background: rgba(250, 248, 244, 0.05);
    border: 1px solid rgba(250, 248, 244, 0.1);
    border-radius: 8px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(250, 248, 244, 0.08);
    border-color: rgba(200, 168, 110, 0.3);
    transform: translateY(-4px);
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c8a86e;
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-size: 1.3rem;
    color: #faf8f4;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: rgba(250, 248, 244, 0.65);
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact {
    background-color: #faf8f4;
}

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

.contact-intro {
    font-size: 1.05rem;
    color: #4a6352;
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a3c2a;
    border: 1.5px solid rgba(26, 60, 42, 0.2);
    border-radius: 8px;
}

.contact-detail strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a3c2a;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 15px;
    color: #4a6352;
    line-height: 1.6;
}

.contact-detail a {
    color: #1a3c2a;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 60, 42, 0.2);
    transition: border-color 0.2s ease;
}

.contact-detail a:hover {
    border-color: #1a3c2a;
}

/* Contact Form */
.contact-form-wrap {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(15, 31, 23, 0.08);
    border: 1px solid rgba(26, 60, 42, 0.06);
}

.contact-form-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
    color: #0f1f17;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #2d4a3a;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a2e23;
    background-color: #faf8f4;
    border: 1.5px solid rgba(26, 60, 42, 0.15);
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8fa090;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a3c2a;
    box-shadow: 0 0 0 3px rgba(26, 60, 42, 0.08);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L2 4h8z' fill='%231a3c2a'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-note {
    font-size: 13px;
    color: #6b8f71;
    margin-top: 16px;
    text-align: center;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    color: #1a3c2a;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #0f1f17;
}

.form-success p {
    font-size: 15px;
    color: #4a6352;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===== MAP ===== */
.map-section {
    border-top: 1px solid rgba(26, 60, 42, 0.08);
}

.map-container {
    height: 400px;
    filter: saturate(0.6) contrast(1.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0f1f17;
    color: rgba(250, 248, 244, 0.65);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: #c8a86e;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #c8a86e;
    border-radius: 4px;
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: #faf8f4;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c8a86e;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(250, 248, 244, 0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #faf8f4;
}

.footer-contact address p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-phone a {
    color: #c8a86e;
    font-weight: 500;
    border-bottom: 1px solid rgba(200, 168, 110, 0.3);
    transition: border-color 0.2s ease;
}

.footer-phone a:hover {
    border-color: #c8a86e;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 244, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(250, 248, 244, 0.4);
}

.footer-legal {
    font-size: 12px;
    color: rgba(250, 248, 244, 0.3);
    max-width: 480px;
    line-height: 1.6;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 500px;
    }

    .stat-card {
        flex: 1;
        min-width: 140px;
    }

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

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

    .about-image-accent {
        right: 16px;
        bottom: -24px;
    }

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

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

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(26, 60, 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 {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-container {
        padding: 80px 24px 60px;
    }

    .hero-stats {
        flex-direction: column;
        max-width: none;
    }

    .stat-card {
        order: unset !important;
    }

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

    .about-image-accent {
        display: none;
    }

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

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

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

    .contact-form-wrap {
        padding: 28px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

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

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

    .section-title {
        font-size: 1.8rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
