:root {
    --color-terracotta: #C67B5C;
    --color-terracotta-dark: #A85D3F;
    --color-sand: #E8D5C4;
    --color-sand-light: #F5EDE6;
    --color-cream: #FDF8F5;
    --color-text: #2D2A26;
    --color-text-light: #6B6560;
    --color-white: #FFFFFF;
    --color-border: #E8E0D8;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 42, 38, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 42, 38, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--color-text);
    margin-bottom: 24px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn--primary:hover {
    background-color: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.btn--secondary:hover {
    background-color: var(--color-terracotta);
    color: var(--color-white);
}

.btn--large {
    padding: 18px 36px;
    font-size: 16px;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand-light) 100%);
    overflow: hidden;
}

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

.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background-color: rgba(198, 123, 92, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero__text {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

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

.hero__image {
    position: relative;
}

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

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background-color: var(--color-terracotta);
    border-radius: var(--radius-lg);
    opacity: 0.1;
    z-index: -1;
}

/* About */
.about {
    padding: 100px 0;
    background-color: var(--color-white);
}

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

.about__image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.about__content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.features-list {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-terracotta);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--color-text);
}

/* Services */
.services {
    padding: 100px 0;
    background-color: var(--color-sand-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(198, 123, 92, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-terracotta);
    margin-bottom: 24px;
}

.service-card__title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.service-card__text {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* New Patients */
.new-patients {
    padding: 100px 0;
    background-color: var(--color-white);
}

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

.new-patients__content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.new-patients__contact {
    margin-top: 32px;
}

.new-patients__image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

/* Contact */
.contact {
    padding: 100px 0;
    background-color: var(--color-sand-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
}

.contact__item p {
    font-size: 16px;
    color: var(--color-text);
}

.contact__item a {
    color: var(--color-terracotta);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact__item a:hover {
    color: var(--color-terracotta-dark);
}

.contact__map {
    margin-top: 16px;
}

/* Form */
.contact__form {
    background-color: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact__form h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--color-text);
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background-color: var(--color-cream);
    transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    background-color: var(--color-white);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__success {
    margin-top: 24px;
    padding: 20px;
    background-color: rgba(198, 123, 92, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-terracotta-dark);
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer__brand {
    text-align: center;
}

.footer__brand .logo {
    color: var(--color-white);
    font-size: 28px;
}

.footer__brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.footer__contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer__contact a {
    color: var(--color-sand);
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer__contact a:hover {
    color: var(--color-white);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero__container,
    .about__container,
    .new-patients__container,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__image {
        order: -1;
    }

    .hero__image-accent {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(253, 248, 245, 0.98);
        backdrop-filter: blur(10px);
        padding: 32px 24px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero__actions {
        flex-direction: column;
    }

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

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

    .contact__form {
        padding: 32px 24px;
    }

    .footer__links {
        flex-direction: column;
        gap: 16px;
    }
}

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

    .section-title {
        font-size: 28px;
    }

    .hero__title {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

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