/* ==========================================================================
   康信脊醫 — Redesign: "Private Practice Prestige"
   Refined Medical aesthetic. Deep navy + burnished gold on warm ivory.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    /* Core Palette */
    --navy:          #1B2A4A;
    --navy-light:    #243758;
    --navy-dark:     #131E35;
    --gold:          #B8956A;
    --gold-light:    #D4B896;
    --gold-muted:    rgba(184,149,106,0.15);
    --ivory:         #FAFAF7;
    --white:         #FFFFFF;

    /* Text */
    --text-primary:       #1C1C1E;
    --text-secondary:     #5A6169;
    --text-tertiary:      #8E949C;
    --text-on-dark:       #FFFFFF;
    --text-on-dark-muted: rgba(255,255,255,0.65);

    /* Borders */
    --border:        #E8E4DD;
    --border-light:  #F0ECE6;

    /* Brand */
    --whatsapp:      #25D366;
    --whatsapp-dark: #1DA851;

    /* Shadows (warm-tinted) */
    --shadow-xs:  0 1px 2px rgba(27,42,74,0.04);
    --shadow-sm:  0 2px 8px rgba(27,42,74,0.05);
    --shadow-md:  0 4px 20px rgba(27,42,74,0.07);
    --shadow-lg:  0 8px 40px rgba(27,42,74,0.10);
    --shadow-xl:  0 16px 56px rgba(27,42,74,0.14);

    /* Typography */
    --font-display: "Instrument Serif", "Noto Serif TC", "Source Han Serif TC", serif;
    --font-body:    "DM Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

    /* Spacing */
    --section-py:        7rem;
    --section-py-mobile: 4rem;
    --container-max:     1200px;
    --container-narrow:  800px;
    --container-px:      1.5rem;
    --header-h:          80px;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Transitions */
    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
    --t-fast:    0.15s var(--ease-out);
    --t-base:    0.3s var(--ease-out);
    --t-slow:    0.5s var(--ease-out);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--ivory);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
    font-weight: 600;
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--navy);
    color: var(--text-on-dark);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: top var(--t-fast);
}
.skip-link:focus {
    top: 1rem;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}
.container--narrow {
    max-width: var(--container-narrow);
}

/* ---------- Section Primitives ---------- */
.section {
    padding: var(--section-py) 0;
}
.section--ivory   { background: var(--ivory); }
.section--white   { background: var(--white); }
.section--navy    { background: var(--navy); color: var(--text-on-dark); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.section-label::before {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.section--navy .section-title {
    color: var(--text-on-dark);
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}
.section--navy .section-subtitle {
    color: var(--text-on-dark-muted);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    transition: all var(--t-base);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn svg {
    flex-shrink: 0;
}

.btn--primary {
    background: var(--navy);
    color: var(--text-on-dark);
    border-color: var(--navy);
}
.btn--primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}
.btn--outline:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--text-on-dark);
}

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

.btn--white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn--white:hover {
    background: var(--ivory);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn--ghost {
    background: rgba(255,255,255,0.1);
    color: var(--text-on-dark);
    border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
}

.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn--gold-text {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0;
    background: none;
    border: none;
    gap: 0.375rem;
}
.btn--gold-text:hover {
    color: var(--gold-light);
}
.btn--gold-text svg {
    transition: transform var(--t-fast);
}
.btn--gold-text:hover svg {
    transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
    border-bottom: 1px solid transparent;
}
.site-header--transparent {
    background: transparent;
}
.site-header--solid {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-xs);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    z-index: 10;
}
.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-on-dark);
    transition: color var(--t-base);
}
.site-header--solid .logo-text {
    color: var(--text-primary);
}

.site-nav {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    gap: 0.25rem;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    border-radius: var(--radius-sm);
    transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover,
.nav-link--active {
    color: var(--text-on-dark);
}
.site-header--solid .nav-link {
    color: var(--text-secondary);
}
.site-header--solid .nav-link:hover,
.site-header--solid .nav-link--active {
    color: var(--text-primary);
    background: var(--ivory);
}

.header-cta {
    flex-shrink: 0;
    z-index: 10;
}
.site-header--transparent .header-cta .btn {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: var(--text-on-dark);
}
.site-header--transparent .header-cta .btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    z-index: 10;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-on-dark);
    border-radius: 1px;
    transition: all var(--t-base);
}
.site-header--solid .menu-toggle span {
    background: var(--text-primary);
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
    overflow: hidden;
    padding: calc(var(--header-h) + 2rem) var(--container-px) 3rem;
}

/* Subtle dot pattern overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Warm radial glow */
.hero::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(ellipse, rgba(184,149,106,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}
.hero-label::before,
.hero-label::after {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--text-on-dark);
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--text-on-dark-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
}
.hero-badge svg {
    color: var(--gold);
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-price {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.02em;
}
.hero-price strong {
    color: var(--gold);
    font-weight: 600;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item {
    padding: 0 1rem;
}
.stat-item + .stat-item {
    border-left: 1px solid var(--border);
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.about-text p {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}
.about-text p strong {
    color: var(--text-primary);
    font-weight: 600;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: inherit;
    pointer-events: none;
}
.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ---------- Features Section ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    transition: all var(--t-base);
}
.feature-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    color: var(--gold);
}
.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
}
.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ---------- Services Section ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.service-card {
    background: var(--ivory);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: all var(--t-base);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--gold);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.service-card ul {
    list-style: none;
}
.service-card li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}
.service-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.services-cta p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* ---------- Doctor Section ---------- */
.doctor-section {
    background: var(--navy);
    color: var(--text-on-dark);
}
.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.doctor-bio h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
}
.doctor-tagline {
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}
.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.85);
}
.credential svg {
    flex-shrink: 0;
    color: var(--gold);
}

.doctor-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.doctor-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.doctor-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: inherit;
    pointer-events: none;
}

/* ---------- Conditions Section ---------- */
.conditions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
.condition-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--t-base);
    text-decoration: none;
    display: block;
}
.condition-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.condition-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    color: var(--gold);
}
.condition-card h3 {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}
.condition-en {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}
.condition-card .arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
    transition: gap var(--t-fast);
}
.condition-card:hover .arrow {
    gap: 0.5rem;
}

/* ---------- Process Section ---------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}
/* Connecting line */
.process-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(10% + 12px);
    right: calc(10% + 12px);
    height: 1px;
    background: var(--border);
}
.process-step {
    text-align: center;
    position: relative;
}
.step-num {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--navy);
    position: relative;
    z-index: 1;
    transition: all var(--t-base);
}
.process-step:hover .step-num {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold);
}
.process-step h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.process-step p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ---------- FAQ Section ---------- */
.faq-list {
    max-width: var(--container-narrow);
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    transition: border-color var(--t-fast);
}
.faq-item:hover {
    border-color: var(--gold);
}
.faq-question {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.faq-question svg {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 0.15em;
}
.faq-answer {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 2rem;
}
.faq-cta {
    text-align: center;
    margin-top: 2.5rem;
}
.faq-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
    background: var(--navy);
    color: var(--text-on-dark);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}
.cta-section .container {
    position: relative;
    z-index: 1;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-on-dark);
    margin-bottom: 0.75rem;
}
.cta-section > .container > p {
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
    margin-bottom: 2.5rem;
}
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-on-dark);
}
.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.25rem;
}
.footer-credentials {
    font-size: 0.8125rem;
    color: var(--gold);
    font-weight: 500;
}

.site-footer h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}
.site-footer p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.site-footer a {
    transition: color var(--t-fast);
}
.site-footer a:hover {
    color: var(--gold);
}

.footer-phone {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-on-dark);
    margin-bottom: 0.75rem;
}
.footer-phone a {
    color: var(--text-on-dark);
}
.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--whatsapp);
    font-size: 0.9375rem;
    font-weight: 500;
}

.footer-nav-list li {
    margin-bottom: 0.625rem;
}
.footer-nav-list a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
}

.footer-bottom {
    padding: 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-disclaimer {
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.35);
}
.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ---------- Floating WhatsApp ---------- */
.floating-wa {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    transition: all var(--t-base);
}
.floating-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

/* ---------- Mobile Sticky CTA ---------- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.mobile-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.mobile-cta .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    justify-content: center;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.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; }

/* Hero-specific entrance animations */
.hero-enter {
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeIn 0.8s var(--ease-out) forwards;
}
.hero-enter-1 { animation-delay: 0.2s; }
.hero-enter-2 { animation-delay: 0.35s; }
.hero-enter-3 { animation-delay: 0.5s; }
.hero-enter-4 { animation-delay: 0.65s; }
.hero-enter-5 { animation-delay: 0.8s; }
.hero-enter-6 { animation-delay: 0.95s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   PAGE-LEVEL COMPONENTS (sub-pages)
   ========================================================================== */

/* ---------- Page Header (sub-pages) ---------- */
.page-header {
    background: var(--navy);
    color: var(--text-on-dark);
    text-align: center;
    padding: calc(var(--header-h) + 3rem) 0 3rem;
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}
.page-header p {
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    margin-bottom: 1rem;
}
.breadcrumb a {
    color: var(--gold);
    transition: color var(--t-fast);
}
.breadcrumb a:hover {
    color: var(--gold-light);
}

/* ---------- About Page ---------- */
.stat-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}
.stat-card .stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.credential-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: border-color var(--t-fast);
}
.credential-card:hover {
    border-color: var(--gold);
}
.credential-card .credential-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    color: var(--gold);
}
.credential-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
.credential-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.credential-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}
.credential-list li strong {
    color: var(--navy);
    font-weight: 600;
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.technique-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: border-color var(--t-fast);
}
.technique-card:hover {
    border-color: var(--gold);
}
.technique-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.technique-card p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.25rem 0;
}
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--gold-muted);
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy);
}
.feature-tag svg {
    color: var(--gold);
    flex-shrink: 0;
}

.guide-content {
    margin-top: 2rem;
}
.guide-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}
.guide-item:last-child {
    border-bottom: none;
}
.guide-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--navy);
}
.guide-item p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.clinic-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.clinic-feature {
    text-align: center;
    padding: 2rem 1rem;
}
.clinic-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: var(--gold);
}
.clinic-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}
.clinic-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ---------- Conditions Listing Page ---------- */
.approach-intro {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto;
}
.approach-intro h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 1rem;
}
.approach-intro p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.conditions-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.conditions-grid-full .condition-card {
    padding: 1.75rem 1.25rem;
}
.conditions-grid-full .condition-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.conditions-grid-full .condition-card p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.condition-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--gold-muted);
    color: var(--gold);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.services-offered-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}
.service-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--text-primary);
}
.service-list-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ---------- Blog Listing Page ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.blog-category {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--gold-muted);
    border-radius: 100px;
    align-self: flex-start;
}
.blog-card h2 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.625rem;
}
.blog-card h2 a {
    transition: color var(--t-fast);
}
.blog-card h2 a:hover {
    color: var(--navy);
}
.blog-card > p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
}
.blog-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    transition: color var(--t-fast);
}
.blog-link:hover {
    color: var(--navy);
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.contact-card h2 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--navy);
}
.phone-large {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.hours-table {
    width: 100%;
    border-collapse: collapse;
}
.hours-table td {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
    vertical-align: top;
}
.hours-table tr:last-child td {
    border-bottom: none;
}
.hours-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 1.5rem;
    white-space: nowrap;
}
.mtr-directions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}
.mtr-directions ul {
    margin-top: 0.5rem;
}
.mtr-directions li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-highlights {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}
.highlight-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--navy);
}
.highlight-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}
.highlight-list li:last-child {
    border-bottom: none;
}
.highlight-list li strong {
    color: var(--navy);
}
.highlight-card.pricing {
    background: var(--navy);
    color: var(--text-on-dark);
    border-color: var(--navy);
}
.highlight-card.pricing h3 {
    color: var(--text-on-dark);
}
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}
.price-item span {
    font-size: 0.9375rem;
    color: var(--text-on-dark-muted);
}
.price-item strong {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
}
.cta-card {
    background: var(--gold-muted);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}
.cta-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 2rem;
}
.map-container iframe {
    display: block;
    width: 100%;
    border: none;
}
.map-info {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}
.map-info-item {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ---------- Pricing Page ---------- */
.pricing-showcase {
    max-width: 600px;
    margin: 0 auto 3rem;
}
.pricing-card-single {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.pricing-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid var(--border-light);
}
.pricing-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.375rem 1rem;
    background: var(--gold-muted);
    border-radius: 100px;
    margin-bottom: 1rem;
}
.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
}
.price-wrapper {
    margin-bottom: 0.75rem;
}
.price {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
}
.price-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}
.pricing-tagline {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}
.pricing-body {
    padding: 2rem;
}
.pricing-includes h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}
.pricing-features-detailed li {
    display: flex;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
    align-items: flex-start;
}
.pricing-features-detailed li:last-child {
    border-bottom: none;
}
.feature-icon-sm {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-sm);
    color: var(--gold);
    flex-shrink: 0;
}
.feature-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}
.feature-text span {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.pricing-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.highlight-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.pricing-footer {
    padding: 2rem;
    background: var(--ivory);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.btn-block {
    width: 100%;
}

.pricing-info {
    max-width: var(--container-narrow);
    margin: 0 auto;
}
.pricing-info h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.pricing-info .faq-item {
    margin-bottom: 1.5rem;
}
.pricing-info .faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}
.pricing-info .faq-item p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.payment-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.payment-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.payment-icon {
    text-align: center;
}
.payment-icon-box {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin: 0 auto 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy);
}
.payment-icon > span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ---------- Article Content (blog posts, condition detail) ---------- */
.article-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}
.article-intro {
    font-size: 1.125rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--navy);
}
.article-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.article-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.article-content p strong {
    color: var(--text-primary);
}
.article-content em {
    font-style: italic;
}
.article-list {
    margin: 1rem 0 1.5rem;
}
.article-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.article-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}
.article-list li strong {
    color: var(--text-primary);
}

.article-cta {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--navy);
    border-radius: var(--radius-lg);
    color: var(--text-on-dark);
}
.article-cta h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--text-on-dark);
    margin-bottom: 0.75rem;
    margin-top: 0;
}
.article-cta p {
    color: var(--text-on-dark-muted);
    margin-bottom: 1.5rem;
}
.article-cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.article-cta .cta-note,
.cta-pricing {
    font-size: 0.875rem;
    margin-top: 1rem;
    color: var(--text-on-dark-muted);
}

/* Comparison Table */
.table-scroll {
    overflow-x: auto;
    margin: 1.5rem 0;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}
.comparison-table th,
.comparison-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}
.comparison-table thead th {
    background: var(--navy);
    color: var(--text-on-dark);
    font-weight: 600;
    font-size: 0.875rem;
}
.comparison-table thead th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}
.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}
.comparison-table tbody td {
    background: var(--white);
    color: var(--text-secondary);
}
.comparison-table tbody td:first-child {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---------- Condition Detail Pages ---------- */
.condition-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}
.condition-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--navy);
}
.condition-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.condition-content p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.condition-content p strong {
    color: var(--text-primary);
}

.symptom-list,
.cause-list {
    margin: 1rem 0 1.5rem;
}
.symptom-list li,
.cause-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.symptom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-muted);
    border: 2px solid var(--gold);
}
.cause-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--navy);
    opacity: 0.3;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.treatment-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color var(--t-fast);
}
.treatment-card:hover {
    border-color: var(--gold);
}
.treatment-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.treatment-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.treatment-benefits {
    margin-top: 3rem;
    text-align: center;
}
.treatment-benefits h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.benefits-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.benefit {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.benefit strong {
    display: block;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.25rem;
}
.benefit span {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.why-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--ivory);
    border-radius: var(--radius-lg);
}
.why-item strong {
    display: block;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}
.why-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.related-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--t-base);
}
.related-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.related-card h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}
.related-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ---------- District Pages ---------- */
.district-hero {
    background: var(--navy);
    color: var(--text-on-dark);
    text-align: center;
    padding: calc(var(--header-h) + 3rem) 0 3rem;
}
.district-hero h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}
.district-hero .subtitle {
    font-size: 1.0625rem;
    color: var(--text-on-dark-muted);
    margin-bottom: 1.5rem;
}
.district-hero .trust-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.district-hero .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
}
.district-hero .trust-badge svg {
    color: var(--gold);
}

.district-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
}
.district-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--navy);
}
.district-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.district-card address {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.transport-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.transport-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.transport-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-muted);
    border-radius: var(--radius-md);
    color: var(--gold);
    flex-shrink: 0;
}
.transport-details h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.transport-details p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.125rem;
}

/* ==========================================================================
   END PAGE-LEVEL COMPONENTS
   ========================================================================== */

/* ---------- Responsive: Tablet (max 1024px) ---------- */
@media (max-width: 1024px) {
    :root {
        --section-py: 5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

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

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

    .conditions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    .process-steps::before {
        display: none;
    }
    .process-step:nth-child(4),
    .process-step:nth-child(5) {
        grid-column: auto;
    }

    .doctor-grid {
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* Page-level tablet */
    .credentials-grid { grid-template-columns: 1fr 1fr; }
    .credentials-grid .credential-card:last-child { grid-column: 1 / -1; max-width: 480px; justify-self: center; }
    .techniques-grid { grid-template-columns: repeat(3, 1fr); }
    .clinic-features-grid { grid-template-columns: repeat(2, 1fr); }
    .conditions-grid-full { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-highlights { position: static; }
}

/* ---------- Responsive: Mobile (max 768px) ---------- */
@media (max-width: 768px) {
    :root {
        --section-py: var(--section-py-mobile);
        --container-px: 1.25rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    /* Header mobile */
    .site-header.nav-is-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        background: var(--navy);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
        box-shadow: none;
    }
    body.nav-is-open {
        overflow: hidden;
    }
    .site-nav {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--t-base), visibility var(--t-base);
    }
    .site-nav.nav-open {
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
        color: rgba(255,255,255,0.75);
    }
    .nav-link:hover, .nav-link--active {
        color: var(--text-on-dark);
    }
    /* Override solid header nav styles on mobile */
    .site-header--solid .nav-link {
        color: rgba(255,255,255,0.75);
        background: none;
    }
    .site-header--solid .nav-link:hover,
    .site-header--solid .nav-link--active {
        color: var(--text-on-dark);
        background: none;
    }

    /* Remove backdrop-filter on mobile — it traps position:absolute children */
    .site-header--solid {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Force header solid on mobile so hamburger is always visible */
    .site-header--transparent {
        background: rgba(255,255,255,0.97);
        border-bottom-color: var(--border);
        box-shadow: var(--shadow-xs);
    }
    .site-header--transparent .logo-text {
        color: var(--text-primary);
    }
    .site-header--transparent .menu-toggle span {
        background: var(--text-primary);
    }

    /* When nav is open, hide logo and position X button top-right */
    .site-header.nav-is-open .logo {
        opacity: 0;
        pointer-events: none;
    }
    .site-header.nav-is-open .menu-toggle {
        position: absolute;
        top: 1rem;
        right: var(--container-px);
    }
    .site-header.nav-is-open .menu-toggle span {
        background: var(--text-on-dark);
    }

    .header-cta {
        display: none;
    }
    .menu-toggle {
        display: flex;
        z-index: 10;
    }

    /* Hero mobile */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: calc(var(--header-h) + 1.5rem) 1.25rem 5rem;
    }
    .hero h1 {
        font-size: 2.75rem;
        letter-spacing: 0.02em;
    }
    .hero-lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
    }

    /* Stats mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stat-item + .stat-item {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-top: 1.5rem;
    }
    .stat-number {
        font-size: 2.25rem;
    }

    /* About mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image {
        order: -1;
    }

    /* Features mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-card {
        display: flex;
        gap: 1.25rem;
        padding: 1.5rem;
        align-items: flex-start;
    }
    .feature-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Services mobile */
    .services-grid {
        gap: 1rem;
    }
    .service-card {
        padding: 2rem 1.5rem;
    }

    /* Doctor mobile */
    .doctor-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .doctor-image {
        order: -1;
    }
    .doctor-bio h3 {
        font-size: 1.5rem;
    }

    /* Conditions mobile */
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .conditions-grid .condition-card:last-child {
        grid-column: 1 / -1;
        max-width: 280px;
        justify-self: center;
    }

    /* Process mobile */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .process-steps::before {
        display: none;
    }
    .process-step {
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: 1rem;
        text-align: left;
        align-items: start;
    }
    .step-num {
        margin: 0;
    }
    .step-content {
        padding-top: 0.25rem;
    }

    /* FAQ mobile */
    .faq-item {
        padding: 1.5rem;
    }
    .faq-answer {
        padding-left: 0;
    }

    /* CTA mobile */
    .cta-section {
        padding: 4rem 0;
    }
    .cta-section h2 {
        font-size: 1.875rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    /* Page-level mobile */
    .page-header h1 { font-size: 2rem; }
    .stat-card-grid { grid-template-columns: 1fr; }
    .credentials-grid { grid-template-columns: 1fr; }
    .credentials-grid .credential-card:last-child { max-width: none; }
    .techniques-grid { grid-template-columns: repeat(2, 1fr); }
    .clinic-features-grid { grid-template-columns: 1fr 1fr; }
    .conditions-grid-full { grid-template-columns: repeat(2, 1fr); }
    .services-offered-list { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .treatment-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .pricing-highlights { grid-template-columns: 1fr; }
    .pricing-footer { padding: 1.5rem; }
    .price { font-size: 2.75rem; }
    .map-info { flex-direction: column; gap: 0.75rem; }
    .district-hero h1 { font-size: 2rem; }
    .district-hero .trust-badges { flex-direction: column; align-items: center; }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mobile CTA bar */
    .mobile-cta {
        display: block;
    }
    .floating-wa {
        bottom: 5.5rem;
    }

    /* Reveal - reduce motion distance on mobile */
    .reveal {
        transform: translateY(16px);
    }
}

/* ---------- Responsive: Small mobile (max 400px) ---------- */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero-label {
        font-size: 0.6875rem;
    }
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    .conditions-grid .condition-card:last-child {
        max-width: none;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .floating-wa, .mobile-cta, .cta-section {
        display: none !important;
    }
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: #fff;
        color: #000;
    }
    .hero h1, .hero-lead, .hero-label {
        color: #000;
    }
    body {
        font-size: 12pt;
    }
}
