/*
Theme Name: Dr. Dinesh Rahar - Urology & Renal Transplant Clinic (Apple Cupertino Edition)
Theme URI: https://dinesh.drdivyajain.in/
Author: Lead WordPress Architect
Author URI: https://dinesh.drdivyajain.in/
Description: Apple Cupertino-inspired, zero-bloat custom WordPress theme for Dr. Dinesh Rahar (MBBS, MS, M.Ch. Urology & Renal Transplant Surgeon in Jaipur). Features frosted glass navigation, Bento Grid clinical cards, 1-Tap WhatsApp & Direct Call OPD Appointment Concierge, Interactive Kidney Stone Size Matcher, Jaipur hyper-local SEO hub, dynamic Physician and MedicalClinic JSON-LD schema, and native /llms.txt endpoint.
Version: 2.3.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-dinesh-rahar
Tags: medical, healthcare, urology, jaipur, apple-style, bento-grid, whatsapp-booking, bilingual
*/

:root {
    --color-primary: #1d1d1f;
    --color-primary-light: #2c2c2e;
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-accent-soft: #e8f2ff;
    --color-surface: #ffffff;
    --color-surface-alt: #f5f5f7;
    --color-surface-muted: #ebebf0;
    --color-cinema: #000000;
    --color-cinema-card: #141416;
    --color-text: #1d1d1f;
    --color-text-muted: #515154;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-strong: rgba(0, 0, 0, 0.14);
    --color-whatsapp: #16a34a;
    --color-whatsapp-hover: #15803d;
    --color-whatsapp-bright: #25d366;
    --color-gold: #f59e0b;
    --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 20px 44px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 980px;
    --font-sans: 'Rahar Devanagari', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif;
}

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

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

body {
    margin: 0;
    padding: 0 0 84px 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.58;
    letter-spacing: -0.011em;
    color: var(--color-text);
    background-color: var(--color-surface-alt);
    overflow-x: hidden;
}

.site-main {
    display: block;
    width: 100%;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Accessibility Skip Link */
.skip-link,
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus,
.screen-reader-text:focus {
    background-color: #ffffff;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 3px var(--color-accent);
    clip: auto !important;
    clip-path: none;
    color: var(--color-primary);
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    height: auto;
    left: 1rem;
    line-height: normal;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    top: 1rem;
    width: auto;
    z-index: 100000;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.15rem;
}

.container--narrow {
    max-width: 860px;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT & CASHLESS SCHEMES RIBBON
   ========================================================================== */
.clinic-topbar {
    background-color: #1d1d1f;
    color: #f5f5f7;
    font-size: 0.78rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.clinic-topbar__inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.clinic-topbar__left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 600;
    color: #ffffff;
}

.status-dot,
.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #30d158;
    box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.24);
    flex-shrink: 0;
    display: inline-block;
}

.clinic-topbar__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.schemes-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #e8f2ff;
    padding: 0.18rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
}

.topbar-phone {
    color: #30d158;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar-phone svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.topbar-phone:hover {
    color: #ffffff;
}

/* ==========================================================================
   2. APPLE FROSTED GLASS STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    gap: 0.65rem;
    position: relative;
}

.site-branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-logo img {
    max-height: 44px;
    width: auto;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
    color: var(--color-primary);
    min-width: 0;
}

.brand-emblem {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #1d1d1f 0%, #0071e3 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--color-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-credentials {
    font-size: 0.68rem;
    color: var(--color-text-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.primary-nav {
    display: none;
}

.primary-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-strong);
    padding: 0.85rem 1.15rem 1.15rem;
    box-shadow: var(--shadow-md);
}

.nav-list,
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-list li,
.primary-nav ul li {
    margin: 0;
}

.nav-list a,
.primary-nav ul a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.nav-list a:hover,
.primary-nav ul a:hover {
    background: rgba(0, 113, 227, 0.08);
    color: var(--color-accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.btn-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-strong);
    background: #ffffff;
    color: var(--color-primary);
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.lang-icon {
    font-weight: 800;
    color: var(--color-accent);
}

.btn-lang-toggle:hover,
.btn-lang-toggle[aria-pressed="true"] {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.btn-lang-toggle:hover .lang-icon,
.btn-lang-toggle[aria-pressed="true"] .lang-icon {
    color: #30d158;
}

.header-cta {
    display: none !important;
}

.mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border-strong);
    background: #ffffff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.hamburger-bar {
    width: 17px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   3. APPLE PILL BUTTONS (Minimum 44x44px Touch Ergonomics)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

.btn--lg {
    min-height: 50px;
    padding: 0.78rem 1.5rem;
    font-size: 0.95rem;
}

.btn--full {
    width: 100%;
}

.btn--primary {
    background-color: var(--color-accent);
    color: #ffffff !important;
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 8px 22px rgba(0, 113, 227, 0.28);
}

.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: #ffffff !important;
}

.btn--whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.28);
}

.btn--dark {
    background-color: var(--color-primary);
    color: #ffffff !important;
}

.btn--dark:hover {
    background-color: #333336;
}

.btn--outline {
    background-color: #ffffff;
    border-color: var(--color-border-strong);
    color: var(--color-primary) !important;
}

.btn--outline:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff !important;
}

/* ==========================================================================
   4. APPLE EDITORIAL HERO & BENTO GRID SHOWCASE
   ========================================================================== */
.hero-section {
    background: radial-gradient(circle at 50% 0%, #e8f2ff 0%, #f5f5f7 68%);
    padding: 2.25rem 0 3rem;
    border-bottom: 1px solid var(--color-border);
}

.hero-editorial-top {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.76rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: clamp(1.85rem, 4.5vw, 3.35rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    font-weight: 800;
    color: var(--color-primary);
    background: linear-gradient(90deg, #1d1d1f 0%, #0071e3 58%, #009688 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(0.96rem, 1.5vw, 1.16rem);
    color: var(--color-text-muted);
    margin: 0 auto 1.5rem;
    max-width: 760px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.hero-instant-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.25rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.apple-bento-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.bento-card,
.hero-doctor-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    overflow: hidden;
}

.bento-card--doctor {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
}

.doctor-portrait-frame {
    position: relative;
    background: linear-gradient(135deg, #0a2540 0%, #0071e3 100%);
    min-height: 260px;
    max-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-portrait-frame img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center top;
}

.doctor-verified-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: fit-content;
    background: rgba(29, 29, 31, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
}

.doctor-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.35rem;
}

.doctor-card-body__name {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--color-primary);
}

.doctor-card-body__quals {
    margin: 0 0 0.45rem;
    font-weight: 700;
    color: var(--color-accent);
    font-size: 0.88rem;
}

.doctor-card-body__role {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.doctor-card-highlights {
    margin: 0 0 1.2rem;
    padding-left: 1.15rem;
    font-size: 0.84rem;
    color: var(--color-text);
}

.doctor-card-highlights li {
    margin-bottom: 0.35rem;
}

.doctor-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin: 0;
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card__value {
    margin: 0 0 0.2rem;
    font-size: clamp(1.35rem, 2.5vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    line-height: 1.15;
}

.stat-card__label {
    font-size: 0.76rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* ==========================================================================
   5. DARK CINEMA SURGICAL SUITE & INTERACTIVE STONE MATCHER
   ========================================================================== */
.cinema-section {
    background-color: var(--color-cinema);
    color: #f5f5f7;
    padding: 3.5rem 0;
}

.cinema-section .section-eyebrow {
    color: #2997ff;
}

.cinema-section .section-title {
    color: #ffffff;
}

.cinema-section .section-subtitle {
    color: #a1a1a6;
}

.cinema-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.cinema-card {
    background: var(--color-cinema-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.cinema-metric {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #2997ff 0%, #30d158 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.35rem;
}

.cinema-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.22rem;
    color: #ffffff;
}

.cinema-card p {
    margin: 0;
    color: #a1a1a6;
    font-size: 0.9rem;
}

.matcher-widget {
    margin-top: 1.75rem;
    background: linear-gradient(145deg, #161618 0%, #1d1d22 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
}

.matcher-widget__heading {
    margin: 0.2rem 0 0.35rem;
    font-size: 1.25rem;
    color: #ffffff;
}

.matcher-widget__sub {
    margin: 0;
    color: #a1a1a6;
    font-size: 0.88rem;
}

.matcher-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.25rem;
}

.stone-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f5f5f7;
    padding: 0.48rem 0.95rem;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.stone-chip:hover,
.stone-chip.is-active {
    background: #2997ff;
    border-color: #2997ff;
    color: #ffffff;
}

.matcher-result-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #30d158;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.matcher-result-box__copy strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.matcher-result-box__copy span {
    color: #d2d2d7;
    font-size: 0.86rem;
}

.matcher-result-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ==========================================================================
   6. SECTIONS & BENTO SERVICES GRID
   ========================================================================== */
.section {
    padding: 3.25rem 0;
}

.section-header,
.page-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: clamp(1.55rem, 3.2vw, 2.4rem);
    letter-spacing: -0.026em;
    color: var(--color-primary);
    margin: 0 0 0.6rem;
    line-height: 1.18;
    font-weight: 800;
}

.section-subtitle {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.98rem;
}

.services-section {
    background-color: var(--color-surface-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

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

.service-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.service-card__icon {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0;
}

.service-card__tag {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    padding: 0.24rem 0.68rem;
    border-radius: var(--radius-pill);
}

.service-card__title {
    font-size: 1.18rem;
    letter-spacing: -0.018em;
    color: var(--color-primary);
    margin: 0 0 0.55rem;
    line-height: 1.3;
}

.service-card__title a {
    color: var(--color-primary);
}

.service-card__desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}

.service-card__footer {
    border-top: 1px solid var(--color-border);
    padding-top: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.service-card__keywords {
    font-size: 0.74rem;
    color: var(--color-text-muted);
    font-weight: 600;
    max-width: 55%;
}

.service-card__link,
.service-card__cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* ==========================================================================
   7. ABOUT DOCTOR & CLINICAL PILLARS
   ========================================================================== */
.about-section {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.about-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 0.85rem;
}

.about-body {
    color: var(--color-text-muted);
    font-size: 0.94rem;
    margin: 0 0 1.15rem;
}

.credentials-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.credentials-checklist li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    font-weight: 500;
}

.credentials-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    font-weight: 800;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-panels {
    display: grid;
    gap: 0.95rem;
}

.clinical-pillar-card {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.clinical-pillar-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: var(--color-primary);
}

.clinical-pillar-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   8. JAIPUR OPD CLINICS & LOCATION CARDS
   ========================================================================== */
.clinics-section {
    background-color: var(--color-surface-alt);
}

.clinics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.clinic-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.clinic-card--featured {
    border-top: 4px solid var(--color-accent);
}

.clinic-card__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--color-surface-alt);
    color: var(--color-primary);
    padding: 0.24rem 0.68rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.65rem;
}

.clinic-card__title {
    margin: 0 0 0.4rem;
    font-size: 1.18rem;
    color: var(--color-primary);
}

.clinic-card__address {
    margin: 0 0 0.6rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.clinic-card__hours {
    margin: 0;
    color: var(--color-accent);
    font-size: 0.9rem;
}

.clinic-card__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.clinic-map-link {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-left: auto;
}

/* ==========================================================================
   9. WHATSAPP & DIRECT CALL OPD BOOKING CONCIERGE
   ========================================================================== */
.booking-section {
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.booking-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.booking-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
}

.booking-direct-cards {
    display: grid;
    gap: 0.9rem;
}

.direct-contact-box {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.35rem;
}

.direct-contact-box h3 {
    margin: 0 0 0.25rem;
    font-size: 0.92rem;
    color: var(--color-primary);
}

.direct-phone-link {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-accent);
    margin-bottom: 0.2rem;
}

.direct-contact-box span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.booking-form-card {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    box-shadow: var(--shadow-sm);
}

/* Crucial Honeypot Hiding Rule */
.hp-field-wrap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-row {
    margin-bottom: 0.95rem;
}

.form-row label {
    display: block;
    font-weight: 600;
    font-size: 0.84rem;
    margin-bottom: 0.35rem;
    color: var(--color-primary);
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--color-text);
    background-color: #ffffff;
}

.form-row--two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.form-row--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.form-row--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-row--checkbox label {
    margin: 0;
    font-size: 0.83rem;
    font-weight: 500;
}

.booking-dual-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 1rem;
}

.form-status {
    margin-top: 0.9rem;
    font-weight: 600;
    font-size: 0.88rem;
}

.form-status.is-success {
    background: #dcfce7;
    color: #166534;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.form-status.is-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   10. LOCAL SEO HUB & ACCESSIBLE FAQ ACCORDION
   ========================================================================== */
.seo-hub-section {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.locality-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.locality-pill {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
}

.faq-section {
    background-color: var(--color-surface-alt);
}

.faq-accordion {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item__heading {
    margin: 0;
}

.faq-trigger {
    width: 100%;
    min-height: 54px;
    padding: 1rem 1.25rem;
    background: none;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.faq-trigger:hover {
    background-color: var(--color-surface-alt);
}

.faq-trigger__icon {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-accent);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-trigger[aria-expanded="true"] .faq-trigger__icon {
    transform: rotate(45deg);
}

.faq-panel__inner {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    font-size: 0.92rem;
}

.faq-panel__inner p {
    margin: 0.85rem 0 0;
}

/* ==========================================================================
   11. SINGLE POST, ARCHIVE & SIDEBAR TEMPLATES
   ========================================================================== */
.single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.single-article-card,
.sidebar-widget,
.empty-state-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.65rem;
    box-shadow: var(--shadow-sm);
}

.breadcrumb-nav {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 0.85rem;
}

.entry-header {
    margin-bottom: 1.25rem;
}

.entry-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--color-primary);
}

.entry-meta {
    margin: 0;
    font-size: 0.84rem;
    color: var(--color-accent);
    font-weight: 600;
}

.entry-thumbnail {
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.7;
}

.sidebar-opd-list {
    padding-left: 1.15rem;
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
}

.sidebar-opd-list li {
    margin-bottom: 0.45rem;
}

.pagination-wrap {
    margin-top: 2rem;
    text-align: center;
}

/* ==========================================================================
   12. APPLE MINIMALIST FOOTER & FLOATING GLASS MOBILE DOCK
   ========================================================================== */
.site-footer {
    background-color: #1d1d1f;
    color: #d2d2d7;
    padding: 3.5rem 0 2.5rem;
    font-size: 0.86rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-heading,
.footer-subheading {
    color: #ffffff;
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
}

.footer-quals {
    color: #2997ff;
    font-weight: 700;
    margin: 0 0 0.65rem;
    font-size: 0.86rem;
}

.footer-bio {
    margin: 0 0 1rem;
    color: #a1a1a6;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.footer-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.74rem;
    padding: 0.24rem 0.68rem;
    border-radius: var(--radius-pill);
}

.footer-links,
.footer-locations {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact-item a {
    color: #d2d2d7;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact-item a:hover {
    color: #2997ff;
    text-decoration: underline;
}

.footer-locations li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer-locations strong {
    color: #ffffff;
}

.footer-contact-item {
    margin: 0 0 0.55rem;
}

.site-footer__bottom {
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: #86868b;
}

.medical-disclaimer {
    margin: 0 0 0.6rem;
}

.copyright-line {
    margin: 0;
}

/* Floating Glass Bottom Action Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 480px;
    z-index: 950;
    background: rgba(29, 29, 31, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-pill);
    padding: 0.32rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.32rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.mobile-sticky-bar__btn {
    min-height: 44px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none !important;
    font-size: 0.76rem;
    font-weight: 700;
}

.mobile-sticky-bar__btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
}

.mobile-sticky-bar__btn--call {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
}

.mobile-sticky-bar__btn--whatsapp {
    background: #25d366;
    color: #07192b !important;
}

.mobile-sticky-bar__btn--book {
    background: var(--color-accent);
    color: #ffffff !important;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS (Tablet 768px & Desktop 1024px+)
   ========================================================================== */
@media (min-width: 768px) {
    .clinic-topbar__inner {
        flex-direction: row;
        text-align: left;
    }

    .brand-credentials {
        max-width: none;
        font-size: 0.74rem;
    }

    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .bento-card--doctor {
        grid-template-columns: 0.92fr 1.28fr;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .matcher-result-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

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

    .form-row--two,
    .booking-dual-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 1024px) {
    body {
        padding-bottom: 0;
    }

    .mobile-sticky-bar,
    .mobile-menu-toggle {
        display: none !important;
    }

    .primary-nav {
        display: block !important;
        position: static;
        background: transparent;
        border: 0;
        padding: 0;
        box-shadow: none;
    }

    .nav-list,
    .primary-nav ul {
        flex-direction: row;
        align-items: center;
        gap: 0.2rem;
    }

    .header-cta {
        display: inline-flex !important;
    }

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

    .about-section__grid,
    .booking-section__grid {
        grid-template-columns: 1fr 1.15fr;
        gap: 2.75rem;
    }

    .single-layout {
        grid-template-columns: 2fr 1fr;
    }

    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}


.about-content,
.booking-info,
.single-layout__primary,
.single-layout__sidebar,
.footer-col,
.footer-col--brand {
    min-width: 0;
}

.appointment-form {
    margin: 0;
}

/* 2.3: responsive refinement, progressive enhancement and touch ergonomics. */
:root { --color-whatsapp: #147d3d; --color-whatsapp-hover: #106832; }
[hidden] { display: none !important; }
html { scroll-padding-top: 100px; }
section[id], main[id] { scroll-margin-top: 100px; }
.container, .hero-editorial-top, .bento-card, .cinema-card, .matcher-result-box > *, .clinic-card, .form-row > * { min-width: 0; }
p, h1, h2, h3, li, .btn { overflow-wrap: anywhere; }
.btn { white-space: normal; text-align: center; min-height: 48px; }
button, input, select, textarea { font: inherit; }
input, select, textarea { max-width: 100%; }
.form-row input[type], .form-row select, .form-row textarea { font-size: 16px; }
.primary-nav.is-open { max-height: calc(100dvh - 170px); overflow-y: auto; overscroll-behavior: contain; }
.primary-nav .sub-menu { padding-left: 1rem; }
.nav-list a, .clinic-map-link { min-height: 44px; }
.clinic-map-link { display: inline-flex; align-items: center; }
.doctor-portrait-frame { aspect-ratio: 4/3; min-height: 0; max-height: none; }
.doctor-portrait-frame img { height: 100%; max-height: none; object-fit: contain; object-position: center bottom; }
.doctor-photo-placeholder { display: grid; place-content: center; text-align: center; color: white; padding: 2rem; gap: .5rem; }
.doctor-photo-placeholder strong { font-size: clamp(2rem, 8vw, 4rem); letter-spacing: -.06em; }
.photo-caption { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: .5rem .75rem; background: #132a40; color: #fff; border-radius: 12px; font-size: .8rem; }
.stone-chip { min-height: 44px; text-align: left; }
.matcher-result-box__copy { flex: 1; }
.matcher-result-box__actions { flex: 0 1 300px; }
.consent-note { font-size: .85rem; color: #515154; }
.site-footer__bottom { color: #b2b2b8; }
body.admin-bar .site-header { top: 32px; }
.no-js .primary-nav { display: block; }
.no-js .mobile-menu-toggle, .no-js .btn-lang-toggle { display: none !important; }
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .primary-nav { width: 100%; }
.no-js .faq-panel[hidden] { display: block !important; }
@media (max-width: 1023px) {
 body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); overflow-x: clip; }
 .site-branding { flex: 1; }
 .brand-name { white-space: normal; font-size: .96rem; }
 .brand-credentials { max-width: 180px; font-size: .62rem; }
 .btn-lang-toggle { min-height: 44px; padding: .35rem .55rem; }
 .mobile-menu-toggle { width: 44px; height: 44px; flex-shrink: 0; }
 .mobile-sticky-bar { bottom: max(10px, env(safe-area-inset-bottom)); }
 .mobile-sticky-bar__btn { min-height: 52px; }
 .site-logo img { max-width: min(48vw, 230px); object-fit: contain; }
}
@media (max-width: 767px) {
 .container { padding-inline: 20px; }
 .clinic-topbar { padding: .45rem 0; }
 .clinic-topbar__inner { gap: 0; }
 .clinic-topbar__left { font-size: .71rem; }
 .clinic-topbar__right { display: none; }
 .hero-section { padding: 1.7rem 0 2.2rem; }
 .hero-editorial-top { text-align: left; margin-bottom: 1.25rem; }
 .hero-badge-pill { font-size: .7rem; border-radius: 10px; padding: .45rem .65rem; }
 .hero-title { font-size: clamp(1.85rem, 7.5vw, 2.8rem); line-height: 1.14; letter-spacing: -.045em; background: none; -webkit-text-fill-color: currentColor; color: #132a40; }
 .hero-subtitle { font-size: .96rem; line-height: 1.65; margin-bottom: 1.1rem; }
 .hero-cta-group { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
 .hero-cta-group .btn { font-size: .84rem; padding: .7rem; }
 .hero-cta-group .btn:first-child { grid-column: 1/-1; }
 .hero-instant-strip { justify-content: flex-start; display: grid; gap: .35rem; font-size: .75rem; }
 .apple-bento-hero { margin-top: 1.3rem; gap: .8rem; }
 .bento-card, .service-card, .clinic-card, .booking-form-card { border-radius: 20px; padding: 1.2rem; }
 .bento-card--doctor { padding: 0; }
 .doctor-portrait-frame { aspect-ratio: 5/4; }
 .doctor-card-body { padding: 1.2rem; }
 .doctor-card-body__name { font-size: 1.6rem; }
 .doctor-card-actions { display: grid; grid-template-columns: 1fr; }
 .hero-stats-grid { gap: .6rem; }
 .stat-card { padding: 1rem .6rem; border-radius: 16px; }
 .stat-card__value { font-size: 1.6rem; }
 .stat-card__label { font-size: .74rem; }
 .section, .cinema-section { padding: 2.5rem 0; }
 .section-header { text-align: left; margin-bottom: 1.3rem; }
 .section-title { font-size: 1.7rem; line-height: 1.2; }
 .section-subtitle { font-size: .94rem; }
 .cinema-bento-grid, .services-grid, .clinics-grid { gap: .85rem; }
 .cinema-card, .matcher-widget { border-radius: 20px; padding: 1.2rem; }
 .cinema-metric { font-size: 2rem; }
 .matcher-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
 .stone-chip { font-size: .78rem; padding: .65rem .7rem; border-radius: 12px; }
 .stone-chip:last-child { grid-column: 1/-1; }
 .matcher-result-box__actions { flex-basis: auto; display: grid; }
 .matcher-result-box__actions .btn { width: 100%; font-size: .84rem; }
 .service-card__keywords { max-width: 100%; }
 .service-card__footer { align-items: flex-start; }
 .clinic-card__actions { display: grid; grid-template-columns: 1fr 1fr; }
 .clinic-card__actions .btn { padding: .65rem .5rem; font-size: .77rem; }
 .clinic-card__actions .btn:first-child { grid-column: 1/-1; }
 .clinic-map-link { margin: 0; justify-content: center; font-size: .78rem; }
 .booking-section__grid { gap: 1.3rem; }
 .faq-trigger { padding: 1rem; font-size: .94rem; }
 .faq-panel__inner { padding: 0 1rem 1rem; }
 .site-footer { padding-top: 2.5rem; }
 .site-footer__grid { gap: 1.5rem; }
 body.admin-bar .site-header { top: 46px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
 .brand-credentials { max-width: 190px; }
 .nav-list a { padding-inline: .5rem; font-size: .8rem; }
 .header-cta { font-size: .8rem; padding-inline: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
 .site-header, .clinic-topbar, .mobile-sticky-bar, .hero-cta-group, .booking-section { display: none !important; }
 body { padding: 0; }
 .faq-panel[hidden] { display: block !important; }
}

.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; max-width: 100%; }
.entry-content pre { overflow-x: auto; }
.btn:disabled { opacity: .65; cursor: wait; }
@media (max-width: 767px) { .hero-badge-pill { max-width: 100%; } .brand-emblem { width: 34px; height: 38px; } }

/* Keep navigation labels intact and leave room for doctor identity. */
@media (min-width: 1024px) {
 .primary-nav { flex-shrink: 0; }
 .nav-list a, .primary-nav ul a { white-space: nowrap; }
 .brand-credentials { max-width: 240px; }
 .brand-name { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .header-cta { display: none !important; } }

@font-face {
 font-family: 'Rahar Devanagari';
 src: url('assets/fonts/noto-sans-devanagari.woff') format('woff');
 font-weight: 100 900;
 font-style: normal;
 font-display: swap;
 unicode-range: U+0900-097F, U+A8E0-A8FF, U+200C-200D, U+20B9;
}

@media (min-width: 1024px) {
 .site-branding { flex: 0 1 270px; }
 .primary-nav { margin-left: auto; }
}
