/* ═══════════════════════════════════════════
   Holly Springs Family Practice
   Classic & Elegant — Burgundy + Blush
   ═══════════════════════════════════════════ */

/* ── Custom Properties ── */
:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FBF5F3;
    --blush-mid: #EEDDD6;
    --cream: #FDF8F6;
    --warm-white: #FEFAF9;
    --text-dark: #2A1A1C;
    --text-body: #4A3236;
    --text-muted: #7A5C61;
    --text-light: #A08086;
    --gold: #C4A265;
    --gold-light: #D4B87A;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 16px rgba(123, 45, 59, 0.08);
    --shadow-lg: 0 8px 32px rgba(123, 45, 59, 0.10);
    --shadow-xl: 0 16px 48px rgba(123, 45, 59, 0.12);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--burgundy-light);
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ── Typography ── */
.section-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 16px;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--burgundy);
    border-color: #fff;
}

.btn-light:hover {
    background: var(--blush-light);
    color: var(--burgundy-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

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

.btn-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: all var(--transition);
}

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

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

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

.logo-mark {
    font-size: 20px;
    color: var(--burgundy);
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

.nav-list a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-body);
    position: relative;
    padding: 4px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width var(--transition);
}

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

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--burgundy);
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-sm);
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--burgundy-deep);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ── Mobile Nav Toggle ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    position: absolute;
    left: 0;
    transition: all var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--burgundy-deep);
}

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(92, 31, 43, 0.92) 0%,
        rgba(123, 45, 59, 0.85) 40%,
        rgba(154, 61, 78, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 820px;
}

.hero-frame {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: clamp(40px, 8vw, 72px) clamp(28px, 5vw, 64px);
    position: relative;
}

.hero-frame::before,
.hero-frame::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(196, 162, 101, 0.6);
    border-style: solid;
}

.hero-frame::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.hero-frame::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto 36px;
}

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

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

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

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

.about-image-wrap img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid var(--blush-mid);
    border-radius: var(--radius-md);
    z-index: -1;
}

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

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
}

.about-values {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.value-icon {
    color: var(--burgundy);
    font-size: 8px;
    flex-shrink: 0;
}

.value-text {
    font-size: 15px;
    color: var(--text-body);
    font-weight: 400;
}

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

.services .section-header {
    margin-bottom: 56px;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--burgundy-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ── Patients ── */
.patients {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.patients-content {
    padding-top: 16px;
}

.patients-content .section-title {
    margin-bottom: 24px;
}

.patients-content p {
    margin-bottom: 16px;
}

.patients-list {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patients-list li {
    font-size: 15px;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.list-mark {
    color: var(--burgundy);
    font-weight: 300;
    flex-shrink: 0;
    margin-top: 2px;
}

.patients-image-stack {
    position: relative;
    height: 620px;
}

.patient-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: absolute;
}

.patient-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.patient-img-primary {
    width: 300px;
    height: 380px;
    top: 0;
    right: 0;
    z-index: 1;
}

.patient-img-secondary {
    width: 280px;
    height: 320px;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 4px solid var(--warm-white);
}

/* ── What to Expect ── */
.expect {
    padding: 100px 0;
    background: var(--blush);
}

.expect .section-header {
    margin-bottom: 56px;
}

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

.step-card {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 44px;
    right: -12px;
    width: 24px;
    height: 1px;
    background: var(--burgundy-light);
    opacity: 0.4;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--burgundy);
    opacity: 0.15;
    line-height: 1;
    display: block;
    margin-bottom: 16px;
}

.step-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 80px 0;
    background: var(--burgundy-deep);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text {
    flex: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.cta-body {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.contact-info {
    padding-top: 8px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: var(--blush);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--burgundy);
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--burgundy);
}

.contact-detail a:hover {
    color: var(--burgundy-light);
    text-decoration: underline;
}

/* ── Contact Form ── */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-body);
    margin-bottom: 6px;
}

.required {
    color: var(--burgundy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--blush-mid);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--blush-light);
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B2D3B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: #f0faf0;
    border: 1px solid #c8e6c8;
    border-radius: var(--radius-sm);
}

.success-icon {
    width: 24px;
    height: 24px;
    background: #4a9e4a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.form-success p {
    font-size: 14px;
    color: #2d6a2d;
    line-height: 1.5;
}

/* ── Footer ── */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 64px 0 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .logo-mark {
    color: var(--gold);
    font-size: 24px;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--gold-light);
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-legal {
    max-width: 400px;
    opacity: 0.6;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        padding: 100px 32px 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 99;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-list a {
        font-size: 16px;
    }

    .nav-cta {
        margin-top: 12px;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(42, 26, 28, 0.5);
        z-index: 98;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero-frame {
        padding: 32px 20px;
    }

    .hero-frame::before,
    .hero-frame::after {
        width: 24px;
        height: 24px;
    }

    .about-grid,
    .patients-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img {
        height: 400px;
    }

    .about-image-wrap::before {
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
    }

    .patients-image-stack {
        height: 400px;
        order: -1;
    }

    .patient-img-primary {
        width: 220px;
        height: 280px;
    }

    .patient-img-secondary {
        width: 200px;
        height: 240px;
    }

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

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

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

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

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

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