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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--sand-50);
}

img, svg {
    display: block;
    max-width: 100%;
}

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

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--neutral-900);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

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

.btn--primary:hover {
    background: var(--terracotta-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201, 74, 31, 0.3);
}

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

.btn--ghost:hover {
    border-color: var(--terracotta-400);
    color: var(--terracotta-700);
}

.btn--submit {
    width: 100%;
    background: var(--terracotta-600);
    color: #fff;
    padding: 16px 32px;
    font-size: 16px;
}

.btn--submit:hover {
    background: var(--terracotta-700);
    box-shadow: 0 8px 24px rgba(201, 74, 31, 0.3);
}

/* ─── Section Headings ─── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 12px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 600px;
    line-height: 1.8;
}

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

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

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--neutral-900);
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 500;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-600);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--terracotta-500);
    transition: width 0.25s ease;
}

.nav__link:hover {
    color: var(--terracotta-700);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--terracotta-600);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.nav__link--cta:hover {
    background: var(--terracotta-700);
    transform: translateY(-1px);
}

.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: var(--neutral-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.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 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--sand-50);
    position: relative;
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 70% 20%, rgba(201, 74, 31, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(180, 144, 82, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 20px;
}

.hero__headline {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero__headline em {
    font-style: italic;
    color: var(--terracotta-700);
}

.hero__subheadline {
    font-size: 1.12rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-400);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* ─── Floating Stat Cards ─── */
.hero__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    padding: 24px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card--1 {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    grid-column: 1 / -1;
}

.stat-card--2 {
    background: var(--terracotta-600);
    color: #fff;
    box-shadow: 0 4px 24px rgba(201, 74, 31, 0.25);
}

.stat-card--3 {
    background: var(--sand-200);
    color: var(--sand-800);
    box-shadow: 0 4px 24px rgba(180, 144, 82, 0.15);
}

.stat-card--4 {
    background: var(--neutral-900);
    color: var(--sand-200);
    box-shadow: 0 4px 24px rgba(28, 25, 23, 0.2);
    grid-column: 1 / -1;
}

.stat-card__number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.stat-card__label {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

.stat-card__icon {
    margin-bottom: 4px;
    color: var(--sand-300);
}

.stat-card__address {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
}

/* ─── Services ─── */
.services {
    padding: 120px 0;
    background: var(--neutral-50);
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    border: 1px solid var(--sand-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: var(--terracotta-200);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--terracotta-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--neutral-900);
}

.service-card__description {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

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

.about__inner {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    align-items: center;
}

.about__image-wrapper {
    position: relative;
}

.about__image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 40%;
    background: var(--terracotta-100);
    border-radius: 16px;
    z-index: -1;
}

.about__content {
    max-width: 520px;
}

.about__title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 24px;
}

.about__body {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about__values {
    margin-top: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.value-item__marker {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta-500);
    margin-top: 7px;
}

/* ─── Patients ─── */
.patients {
    padding: 120px 0;
    background: #fff;
}

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

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

.info-block {
    background: var(--sand-50);
    border-radius: 16px;
    padding: 36px 32px;
    border: 1px solid var(--sand-200);
    transition: all 0.3s ease;
}

.info-block:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--terracotta-200);
}

.info-block--hours {
    background: var(--neutral-900);
    border-color: var(--neutral-900);
    color: var(--sand-200);
}

.info-block--hours .info-block__title,
.info-block--hours .info-block__list li span {
    color: var(--sand-100);
}

.info-block--hours .info-block__list li span:last-child {
    color: var(--sand-300);
}

.info-block__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--terracotta-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-block--hours .info-block__icon {
    background: rgba(201, 74, 31, 0.2);
}

.info-block__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--neutral-900);
}

.info-block__list {
    list-style: none;
}

.info-block__list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.info-block__list li:last-child {
    border-bottom: none;
}

.info-block__list li span:first-child {
    color: var(--neutral-600);
}

.info-block__list li span:last-child {
    color: var(--neutral-800);
    font-weight: 500;
}

.info-block__text {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.75;
}

/* ─── CTA / Contact ─── */
.cta {
    padding: 120px 0;
    background: var(--sand-100);
}

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

.cta__title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}

.cta__description {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta__contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--terracotta-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta__phone:hover {
    color: var(--terracotta-500);
}

.cta__address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ─── Form ─── */
.cta__form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--sand-200);
}

.cta__form-title {
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: var(--neutral-900);
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--neutral-700);
    margin-bottom: 7px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--neutral-900);
    background: var(--neutral-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--terracotta-400);
    box-shadow: 0 0 0 3px rgba(232, 93, 42, 0.1);
    background: #fff;
}

.form-input::placeholder {
    color: var(--neutral-400);
}

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

.form-privacy {
    font-size: 12px;
    color: var(--neutral-400);
    margin-top: 16px;
    text-align: center;
}

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

.form-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--terracotta-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success__text {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ─── Footer ─── */
.footer {
    background: var(--neutral-900);
    color: var(--sand-300);
    padding: 72px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--sand-100);
    margin-bottom: 16px;
}

.footer__logo-text {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 500;
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--neutral-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sand-400);
    margin-bottom: 20px;
}

.footer__contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--neutral-400);
}

.footer__phone {
    color: var(--terracotta-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__phone:hover {
    color: var(--terracotta-300);
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: var(--neutral-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: var(--sand-200);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 0;
    font-size: 0.82rem;
    color: var(--neutral-500);
    line-height: 1.6;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__disclaimer {
    max-width: 500px;
    text-align: right;
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    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;
        gap: 48px;
    }
    
    .hero__cards {
        max-width: 500px;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image-wrapper {
        max-width: 480px;
    }
    
    .cta__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--sand-200);
        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 {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero__cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .patients-grid {
        grid-template-columns: 1fr;
    }
    
    .about__values {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__disclaimer {
        text-align: center;
        max-width: 100%;
    }
    
    .cta__form-wrapper {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hero__cards {
        grid-template-columns: 1fr;
    }
    
    .stat-card--1,
    .stat-card--4 {
        grid-column: auto;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@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;
    }
    
    .hero__scroll-hint {
        animation: none;
    }
}
