/* =============================================
   Middle Park Medical Center — Custom Styles
   ============================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    position: relative;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* --- Custom Properties --- */
:root {
    --terra-500: #d44114;
    --terra-600: #b8310e;
    --sand-500: #fbbf24;
    --clay-600: #c24b35;
    --cream-50: #fffcf5;
    --clay-800: #833124;
    --nav-height: 72px;
    --container-max: 1200px;
}

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

/* --- Section Header --- */
.section-header {
    margin-bottom: 56px;
}

.section-header--centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra-500);
    background: rgba(212, 65, 20, 0.08);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--clay-800);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6b4c3a;
    max-width: 640px;
}

/* =============================================
   GEOMETRIC DECORATIVE SHAPES
   ============================================= */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 65, 20, 0.04);
    top: -100px;
    right: -100px;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    background: rgba(251, 191, 36, 0.06);
    bottom: 20%;
    left: -80px;
}

.geo-square {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 20px;
    transform: rotate(45deg);
}

.geo-square--1 {
    width: 160px;
    height: 160px;
    background: rgba(194, 75, 53, 0.05);
    top: 40%;
    right: 5%;
}

.geo-triangle {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.geo-triangle--1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(212, 65, 20, 0.03);
    top: 60%;
    left: 3%;
    transform: rotate(-15deg);
}

.geo-ring {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    border: 3px solid;
}

.geo-ring--1 {
    width: 200px;
    height: 200px;
    border-color: rgba(251, 191, 36, 0.1);
    bottom: 10%;
    right: 10%;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav-header {
    height: var(--nav-height);
    background: rgba(255, 252, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(131, 49, 36, 0.08);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-header.scrolled {
    box-shadow: 0 4px 24px rgba(131, 49, 36, 0.1);
    background: rgba(255, 252, 245, 0.97);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--clay-800);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-logo-text {
    line-height: 1.2;
}

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

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--clay-800);
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: rgba(212, 65, 20, 0.08);
    color: var(--terra-500);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    background: var(--terra-500);
    padding: 10px 20px;
    border-radius: 100px;
    margin-left: 8px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    background: var(--terra-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 65, 20, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clay-800);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--cream-50) 0%, #fdf0e8 50%, #fce8d8 100%);
    padding: calc(var(--nav-height) + 40px) 0 60px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 65, 20, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(194, 75, 53, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-geo {
    position: absolute;
    pointer-events: none;
}

.hero-geo--1 {
    width: 300px;
    height: 300px;
    background: var(--terra-500);
    border-radius: 50%;
    top: 10%;
    right: -80px;
    opacity: 0.06;
}

.hero-geo--2 {
    width: 150px;
    height: 150px;
    background: var(--sand-500);
    top: 25%;
    left: 5%;
    border-radius: 30px;
    transform: rotate(30deg);
    opacity: 0.12;
}

.hero-geo--3 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(194, 75, 53, 0.07);
    bottom: 15%;
    right: 15%;
    transform: rotate(-20deg);
}

.hero-container {
    max-width: var(--container-max);
    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-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--terra-600);
    background: white;
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: 0 2px 12px rgba(212, 65, 20, 0.1);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terra-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--clay-800);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--terra-500);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(251, 191, 36, 0.4);
    border-radius: 3px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #6b4c3a;
    margin-bottom: 32px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 14px 28px;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 14px;
}

.btn-primary {
    background: var(--terra-500);
    color: white;
    border-color: var(--terra-500);
}

.btn-primary:hover {
    background: var(--terra-600);
    border-color: var(--terra-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 65, 20, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--clay-800);
    border-color: var(--clay-800);
}

.btn-outline:hover {
    background: var(--clay-800);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--terra-500);
    border-color: white;
}

.btn-white:hover {
    background: var(--cream-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-ghost-white {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

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

/* --- Hero Image --- */
.hero-image-wrapper {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(131, 49, 36, 0.15);
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-stat-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(131, 49, 36, 0.12);
    z-index: 2;
}

.hero-stat-card--1 {
    bottom: -20px;
    left: -30px;
    border-left: 4px solid var(--terra-500);
}

.hero-stat-card--2 {
    top: 40px;
    right: -20px;
    border-left: 4px solid var(--sand-500);
}

.hero-stat-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--terra-500);
    line-height: 1.2;
}

.hero-stat-card--2 .hero-stat-number {
    color: #b45309;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: #6b4c3a;
    line-height: 1.4;
    margin-top: 2px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: white;
}

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

.service-card {
    position: relative;
    background: var(--cream-50);
    border-radius: 20px;
    padding: 32px 28px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(131, 49, 36, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(131, 49, 36, 0.12);
}

.service-card--accent {
    background: var(--terra-500);
    color: white;
    border-color: transparent;
}

.service-card--accent .service-title {
    color: white;
}

.service-card--accent .service-desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-card--accent .service-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terra-500), var(--sand-500));
    border-radius: 20px 20px 0 0;
}

.service-card--accent .service-card-accent {
    background: rgba(255, 255, 255, 0.4);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 65, 20, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--terra-500);
}

.service-card--accent .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clay-800);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.925rem;
    line-height: 1.65;
    color: #6b4c3a;
    margin-bottom: 16px;
}

.service-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--terra-600);
    background: rgba(212, 65, 20, 0.08);
    padding: 4px 10px;
    border-radius: 100px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, #fdf0e8 100%);
}

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

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

.about-image-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(131, 49, 36, 0.12);
}

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

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(131, 49, 36, 0.15);
    border: 4px solid white;
}

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

.about-accent-block {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--terra-500);
    color: white;
    padding: 20px 24px;
    border-radius: 20px;
    z-index: 2;
}

.about-accent-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
}

.about-accent-label {
    font-size: 0.8rem;
    opacity: 0.85;
    line-height: 1.4;
    margin-top: 4px;
}

.about-content-col {
    max-width: 520px;
}

.about-text {
    font-size: 1.025rem;
    line-height: 1.75;
    color: #6b4c3a;
    margin-bottom: 16px;
}

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

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.terra-bg { background: var(--terra-500); }
.sand-bg { background: var(--sand-500); }
.clay-bg { background: var(--clay-600); }

.about-value-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--clay-800);
    margin-bottom: 2px;
}

.about-value-desc {
    font-size: 0.875rem;
    color: #8b6b5a;
}

/* =============================================
   PATIENT INFO SECTION
   ============================================= */
.patient-info {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: white;
}

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

.patient-card {
    background: var(--cream-50);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(131, 49, 36, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(131, 49, 36, 0.1);
}

.patient-card-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.patient-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
}

.patient-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.patient-card-body {
    padding: 24px;
}

.patient-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.patient-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(131, 49, 36, 0.08);
}

.patient-list li:last-child {
    border-bottom: none;
}

.patient-day {
    font-weight: 600;
    color: var(--clay-800);
}

.patient-time {
    color: #6b4c3a;
    font-size: 0.9rem;
}

.patient-address {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--clay-800);
    margin-bottom: 8px;
}

.patient-desc {
    font-size: 0.925rem;
    line-height: 1.65;
    color: #6b4c3a;
    margin-bottom: 8px;
}

.patient-note {
    font-size: 0.85rem;
    color: #8b6b5a;
    line-height: 1.5;
}

.patient-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--terra-500);
    margin-top: 8px;
    transition: color 0.2s, gap 0.2s;
}

.patient-cta-link:hover {
    color: var(--terra-600);
    gap: 8px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--clay-800) 0%, var(--terra-700) 50%, var(--terra-500) 100%);
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(212, 65, 20, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape--1 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    top: -100px;
    right: -50px;
}

.cta-shape--2 {
    width: 150px;
    height: 150px;
    background: rgba(251, 191, 36, 0.08);
    bottom: -40px;
    left: 10%;
    border-radius: 30px;
    transform: rotate(30deg);
}

.cta-shape--3 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    top: 20%;
    left: 5%;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream-50) 0%, #fdf0e8 100%);
}

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

.contact-text {
    font-size: 1.025rem;
    line-height: 1.75;
    color: #6b4c3a;
    margin-bottom: 32px;
}

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clay-800);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.9rem;
    color: #6b4c3a;
    line-height: 1.6;
}

.contact-detail a {
    color: var(--terra-500);
    transition: color 0.2s;
}

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

/* --- Contact Form --- */
.contact-form-col {
    background: white;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 16px 48px rgba(131, 49, 36, 0.08);
}

.contact-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clay-800);
    margin-bottom: 24px;
}

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

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

.form-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--clay-800);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(131, 49, 36, 0.12);
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--clay-800);
    background: var(--cream-50);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-500);
    box-shadow: 0 0 0 3px rgba(212, 65, 20, 0.1);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    color: #166534;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* =============================================
   MAP SECTION
   ============================================= */
.map-section {
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--terra-500);
}

.map-container {
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--cream-50), transparent);
    pointer-events: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    position: relative;
    z-index: 1;
    background: var(--clay-800);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 12px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.65;
    max-width: 280px;
}

.footer-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    color: var(--sand-500);
    padding-left: 4px;
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
    font-style: normal;
}

.footer-contact a {
    color: var(--sand-500);
    font-weight: 600;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--sand-400, #fcd34d);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright,
.footer-legal {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--terra-500);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212, 65, 20, 0.3);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--terra-600);
    transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content-col {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 24px 40px;
        gap: 4px;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 55;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
        text-align: center;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 32px) 0 60px;
    }
    
    .hero-container {
        gap: 32px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-stat-card--1 {
        left: 0;
        bottom: -16px;
    }
    
    .hero-stat-card--2 {
        right: 0;
        top: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .patient-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image-secondary {
        right: 0;
        bottom: -20px;
    }
    
    .about-accent-block {
        left: 0;
        top: -16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: calc(var(--nav-height) + 24px) 0 48px;
    }
    
    .services,
    .about,
    .patient-info,
    .contact {
        padding: 64px 0;
    }
    
    .cta-banner {
        padding: 56px 0;
    }
    
    .contact-form-col {
        padding: 24px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* --- Scroll reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 54;
}

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