/* ============================================
   Health Park OB/GYN — Styles
   Color Palette: Terracotta + Sand
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --terracotta: #C05A3A;
    --terracotta-dark: #A04828;
    --terracotta-light: #D4785A;
    --sand: #F5EDE3;
    --sand-light: #FAF6F1;
    --sand-mid: #EDE3D5;
    --dark: #1A1A2E;
    --dark-mid: #2D2D44;
    --text: #2A2A3A;
    --text-light: #5A5A6A;
    --white: #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.10);
    --shadow-lg: 0 16px 50px rgba(26, 26, 46, 0.14);
    --transition: 0.3s 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: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--sand-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--dark);
}

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

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

ul {
    list-style: none;
}

/* --- Accessibility --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terracotta);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus {
    top: 16px;
}

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

/* --- Section Tags --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(192, 90, 58, 0.10);
    border: 1px solid rgba(192, 90, 58, 0.20);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-tag--light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}
.section-tag--dark {
    color: var(--terracotta);
    background: rgba(192, 90, 58, 0.08);
    border-color: rgba(192, 90, 58, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 16px;
}
.section-title--light {
    color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .section-desc {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn:active {
    transform: translateY(0);
}

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

.btn--secondary {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.btn--secondary:hover {
    background: var(--dark);
    color: var(--white);
}

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

.btn--light {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}
.btn--light:hover {
    background: var(--sand);
    border-color: var(--sand);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(192, 90, 58, 0.08);
    transition: box-shadow var(--transition);
}
.nav.scrolled {
    box-shadow: var(--shadow-sm);
}
.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
    flex-shrink: 0;
}
.nav__brand-mark {
    color: var(--terracotta);
    width: 36px;
    height: 36px;
}
.nav__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.nav__brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}
.nav__brand-sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav__links a:hover {
    color: var(--terracotta);
    background: rgba(192, 90, 58, 0.06);
}
.nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--terracotta);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav__cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav__hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
    opacity: 0;
}
.nav__hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--sand);
    overflow: hidden;
    padding: 100px 0 0;
}
.hero__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero__shape {
    position: absolute;
}
.hero__shape--circle {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.07;
    top: -120px;
    right: -80px;
}
.hero__shape--circle.hero__shape--sm {
    width: 200px;
    height: 200px;
    background: var(--sand-mid);
    opacity: 0.6;
    bottom: 15%;
    left: 5%;
}
.hero__shape--dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.4;
    top: 25%;
    left: 12%;
}
.hero__shape--dot.hero__shape--dot--lg {
    width: 20px;
    height: 20px;
    opacity: 0.3;
    bottom: 30%;
    right: 15%;
}
.hero__shape--stripe {
    width: 120px;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--terracotta) 0px, var(--terracotta) 8px, transparent 8px, transparent 16px);
    opacity: 0.3;
    top: 42%;
    left: 3%;
    transform: rotate(-30deg);
}
.hero__shape--triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 70px 40px;
    border-color: transparent transparent var(--terracotta) transparent;
    opacity: 0.08;
    bottom: 12%;
    right: 8%;
    transform: rotate(15deg);
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__content {
    max-width: 560px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 24px;
}
.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero__headline {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
}
.hero__subheadline {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}
.hero__trust {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hero__trust-stat {
    display: flex;
    flex-direction: column;
}
.hero__trust-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}
.hero__trust-label {
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}
.hero__trust-divider {
    width: 1px;
    height: 32px;
    background: var(--sand-mid);
    flex-shrink: 0;
}
.hero__image-wrap {
    position: relative;
}
.hero__image-frame {
    border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/6;
}
.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--terracotta);
    border-radius: var(--radius-lg);
    opacity: 0.15;
    z-index: -1;
}
.hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--sand-light);
    line-height: 0;
}
.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    position: relative;
    padding: 100px 0 120px;
    background: var(--sand-light);
    overflow: hidden;
}
.services__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.services__shape {
    position: absolute;
    border-radius: 50%;
}
.services__shape--1 {
    width: 300px;
    height: 300px;
    background: var(--terracotta);
    opacity: 0.04;
    top: -50px;
    right: -80px;
}
.services__shape--2 {
    width: 150px;
    height: 150px;
    background: var(--sand-mid);
    opacity: 0.5;
    bottom: 80px;
    left: -40px;
}
.services__shape--3 {
    width: 60px;
    height: 60px;
    background: var(--terracotta);
    opacity: 0.1;
    top: 40%;
    left: 5%;
    border-radius: 12px;
    transform: rotate(30deg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(192, 90, 58, 0.07);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 90, 58, 0.15);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card--feature {
    grid-column: span 2;
    grid-row: span 2;
    padding: 48px 40px;
    background: var(--terracotta);
    color: var(--white);
    display: flex;
    flex-direction: column;
}
.service-card--feature::before {
    display: none;
}
.service-card--feature:hover {
    background: var(--terracotta-dark);
}
.service-card--feature .service-card__title,
.service-card--feature .service-card__text {
    color: var(--white);
}
.service-card--feature .service-card__text {
    opacity: 0.85;
}
.service-card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(192, 90, 58, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 20px;
}
.service-card--feature .service-card__icon-wrap {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}
.service-card__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.service-card__text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}
.service-card__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta-light);
    flex-shrink: 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    position: relative;
    padding: 100px 0;
    background: var(--sand-light);
    overflow: hidden;
}
.about__accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--terracotta);
    opacity: 0.04;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}
.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.about__image-stack {
    position: relative;
}
.about__image-main {
    border-radius: var(--radius-xl) 4px var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 13/16;
}
.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--sand-light);
    aspect-ratio: 7/5;
}
.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__image-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    background: var(--terracotta);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    box-shadow: var(--shadow-md);
}
.about__content {
    max-width: 480px;
}
.about__lead {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about__body {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}
.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}
.about__feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(192, 90, 58, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

/* ============================================
   NEW PATIENTS
   ============================================ */
.new-patient {
    padding: 80px 0;
    background: var(--sand);
}
.new-patient__card {
    position: relative;
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 72px 64px;
    overflow: hidden;
}
.new-patient__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.new-patient__bg-shape {
    position: absolute;
    border-radius: 50%;
}
.new-patient__bg-shape--1 {
    width: 400px;
    height: 400px;
    background: var(--terracotta);
    opacity: 0.12;
    top: -150px;
    right: -100px;
}
.new-patient__bg-shape--2 {
    width: 200px;
    height: 200px;
    background: var(--terracotta-light);
    opacity: 0.08;
    bottom: -60px;
    left: 10%;
}
.new-patient__content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}
.new-patient__desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 520px;
}
.new-patient__steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 48px;
}
.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.step__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}
.step__text a {
    color: var(--terracotta-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.step__text a:hover {
    color: var(--white);
}
.new-patient__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--sand-light);
}
.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact__info {
    padding-top: 8px;
}
.contact__desc {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 440px;
}
.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact__detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact__detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(192, 90, 58, 0.08);
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact__detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2px;
}
.contact__detail-value {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
}
.contact__detail-link {
    font-size: 0.95rem;
    color: var(--terracotta);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}
.contact__detail-link:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}
.contact__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact__form-wrap {
    position: relative;
}
.contact__form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(192, 90, 58, 0.07);
}
.contact__form-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.contact__form-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 28px;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form__group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}
.form__group input,
.form__group select,
.form__group textarea {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-mid);
    border-radius: var(--radius-sm);
    background: var(--sand-light);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
    width: 100%;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(192, 90, 58, 0.1);
}
.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}
.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 24 24' fill='none' stroke='%235A5A6A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.contact__form-success {
    text-align: center;
    padding: 40px 20px;
}
.form-success__icon {
    margin: 0 auto 16px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(45, 90, 61, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-success__title {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 8px;
}
.form-success__title::before {
    content: '';
    display: block;
}
.form-success__title::after {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 32px;
    overflow: hidden;
}
.footer__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.footer__shape {
    position: absolute;
    border-radius: 50%;
    background: var(--terracotta);
    opacity: 0.06;
}
.footer__shape {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -50px;
}
.footer__shape--sm {
    width: 120px;
    height: 120px;
    top: -30px;
    left: 10%;
}
.footer .container {
    position: relative;
    z-index: 1;
}
.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav__brand-mark--light {
    color: var(--terracotta-light);
}
.footer__brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}
.footer__brand-name span {
    color: var(--terracotta-light);
}
.footer__nav {
    display: flex;
    gap: 8px;
}
.footer__nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.footer__nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}
.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}
.footer__bottom a {
    color: var(--terracotta-light);
    transition: color var(--transition);
}
.footer__bottom a:hover {
    color: var(--white);
}

/* ============================================
   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__inner {
        gap: 40px;
    }
    .services__grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-card--feature {
        grid-column: span 2;
        grid-row: span 1;
    }
    .about__layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sand-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 1000;
    }
    .nav__menu.open {
        right: 0;
    }
    .nav__links {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }
    .nav__links a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }
    .nav__cta {
        margin-top: 16px;
        justify-content: center;
    }
    .nav__hamburger {
        display: flex;
    }
    .nav__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 26, 46, 0.5);
        z-index: 999;
    }
    .nav__overlay.active {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 80px;
    }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__content {
        max-width: 100%;
        text-align: center;
    }
    .hero__subheadline {
        max-width: 100%;
    }
    .hero__actions {
        justify-content: center;
    }
    .hero__trust {
        justify-content: center;
    }
    .hero__image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }
    .service-card--feature {
        grid-column: span 1;
    }

    .about__layout {
        grid-template-columns: 1fr;
    }
    .about__content {
        max-width: 100%;
    }
    .about__image-stack {
        max-width: 400px;
        margin: 0 auto;
    }

    .new-patient__card {
        padding: 48px 28px;
    }

    .contact__layout {
        grid-template-columns: 1fr;
    }
    .contact__form-card {
        padding: 28px;
    }
    .form__row {
        grid-template-columns: 1fr;
    }

    .footer__top {
        flex-direction: column;
        text-align: center;
    }
    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero__inner {
        padding: 0 16px;
    }
    .hero__headline {
        font-size: 1.7rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .about__features {
        grid-template-columns: 1fr;
    }
    .new-patient__actions {
        flex-direction: column;
    }
    .new-patient__actions .btn {
        justify-content: center;
    }
}

/* --- 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;
    }
}
