/*
Theme Name: Mueday Clinic
Theme URI: http://mueday.test
Author: Mueday Team
Author URI: http://mueday.test
Description: Custom WordPress theme for Mueday Clinic - A modern medical clinic website with appointment booking system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mueday-clinic
Tags: clinic, medical, appointment, healthcare, thai
*/

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    /* Brand maroon / oxblood — primary action & price color */
    --primary: #6E1F15;
    --primary-dark: #531410;
    --primary-light: #8A2C1E;
    /* Warm chocolate browns — dark surfaces, footer, label boxes */
    --brown: #3A2A1C;
    --brown-dark: #2B1D12;
    --brown-light: #4E3826;
    /* Gold / bronze — accents, dividers, sparkles */
    --gold: #B8924A;
    --gold-light: #CDA863;
    --gold-soft: #E6D2A6;
    /* Creams & ivory — backgrounds */
    --secondary: #F6ECDA;
    --cream: #F4E9D6;
    --cream-2: #FBF4E8;
    --ivory: #FFFBF4;
    --accent: #6E1F15;
    --accent-dark: #531410;
    --dark: #2B1D12;
    --text: #3A2A1C;
    --text-light: #8C7B6B;
    --white: #FFFFFF;
    --gray-light: #FBF4E8;
    --gray: #ECDFC9;
    --shadow: 0 4px 20px rgba(43,29,18,0.08);
    --shadow-lg: 0 10px 40px rgba(43,29,18,0.13);
    --shadow-gold: 0 8px 26px rgba(184,146,74,0.22);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font-thai: 'Noto Sans Thai', 'Sarabun', sans-serif;
    --font-en: 'Cormorant Garamond', 'Inter', serif;
    --font-heading: 'Playfair Display', 'Trirong', 'Noto Sans Thai', serif;
    --font-script: 'Pinyon Script', 'Cormorant Garamond', cursive;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-thai);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
    font-family: var(--font-heading);
    letter-spacing: 0.2px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* Eyebrow label — small dark pill above the heading (brand "โปรแกรม" treatment) */
.section-eyebrow {
    display: inline-block;
    background: var(--brown-dark);
    color: var(--cream);
    font-family: var(--font-thai);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 7px 26px;
    border-radius: 8px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(43,29,18,0.18);
}

.section-title h2 {
    position: relative;
    display: block;
    margin-bottom: 26px;
    font-size: 2.6rem;
}

/* Gold gradient underline beneath the heading */
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
}

/* Optional ornament row: line — sparkle — line (brand "✦" divider) */
.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto;
    max-width: 280px;
}
.section-ornament span {
    height: 1.5px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.section-ornament span:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}
.section-ornament i {
    color: var(--gold);
    font-size: 1rem;
    font-style: normal;
    line-height: 1;
}
/* When an ornament row is present, the h2 underline is redundant */
.section-title:has(.section-ornament) h2::after { display: none; }
.section-title:has(.section-ornament) h2 { margin-bottom: 16px; }

.section-title p {
    max-width: 600px;
    margin: 24px auto 0;
}

/* LINE ID hint — smaller, lighter text shown after @mueday */
.line-id-hint {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.72em;
    font-weight: 400;
    opacity: 0.75;
    letter-spacing: 0;
    white-space: nowrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139,26,26,0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(110,31,21,0.3);
}

/* Gold button — premium accent matching brand bronze */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--brown-dark);
    font-weight: 600;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--gray);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img,
.site-logo .logo-img {
    height: 65px;
    width: auto;
}

.footer-logo-img {
    height: 75px;
    width: auto;
    margin-bottom: 15px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 5px 0;
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   Hero Banner Section
   ============================================ */
.hero-banner {
    position: relative;
    background-color: var(--cream-2);
    overflow: hidden;
    padding-top: 70px; /* clear the fixed header */
    text-align: center;
}

/* Full banner image (logo + contact already baked in) */
.hero-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Visually-hidden H1 kept for SEO / accessibility */
.hero-banner-srt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Visible H1 + subtitle below the banner image — flows into the cream
   buttons strip on the same background, keyword-rich for SEO */
.hero-banner-intro {
    background: var(--cream-2);
    text-align: center;
    padding: 42px 20px 8px;
}

.hero-banner-h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary);
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hero-banner-h1 span {
    display: inline-block;
    color: var(--gold);
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 0.78em;
    margin-left: 6px;
}

.hero-banner-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-banner-intro { padding: 28px 16px 6px; }
    .hero-banner-h1 span { display: block; margin-left: 0; margin-top: 2px; }
}

.hero-banner .container { position: relative; z-index: 2; }

.hero-banner-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: heroBannerFadeIn 1s ease-out;
}

@keyframes heroBannerFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-banner-sparkle {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 6px;
    animation: sparkleSpin 3s ease-in-out infinite;
}

/* Soft gold radial glow behind the hero content */
.hero-banner-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 720px;
    height: 720px;
    max-width: 120vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(205, 168, 99, 0.18) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* Pinyon Script gold accent above the title (brand "privilege" flourish) */
.hero-banner-script {
    display: block;
    font-family: var(--font-script);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--gold-light);
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .hero-banner-script { font-size: 1.9rem; }
}

@keyframes sparkleSpin {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(15deg); opacity: 0.7; }
}

.hero-banner-title {
    color: var(--white);
    font-size: 4rem;
    line-height: 1.15;
    margin: 0 0 20px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-banner-name {
    display: inline-block;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-banner-tagline {
    font-size: 1.4rem;
    color: var(--gold-soft);
    margin: 0 0 14px 0;
    letter-spacing: 3px;
    font-weight: 500;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-banner-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    background: var(--cream-2);
    padding: 26px 16px 46px;
}

.hero-banner-buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-btn-line {
    background: #06C755;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
}

.hero-btn-line:hover {
    background: #05A647;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 199, 85, 0.5);
}

.hero-btn-phone {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

.hero-btn-phone:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(110, 31, 21, 0.25);
}

.hero-banner-scroll {
    display: none; /* banner layout flows into buttons; no overlay arrow needed */
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    z-index: 2;
    text-decoration: none;
    width: 46px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-banner-scroll:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

@keyframes scrollBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ============================================
   Promotions Section
   ============================================ */
.promotions {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, var(--secondary) 0%, #FFF5F0 100%);
    position: relative;
    overflow: hidden;
}

.promotions::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: var(--primary-light);
    opacity: 0.05;
    border-radius: 50%;
}

.promotions::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 340px;
    height: 340px;
    background: var(--primary);
    opacity: 0.04;
    border-radius: 50%;
}

.promotions .container { position: relative; z-index: 1; }

/* Promotion banner gallery — posters 4-up, tap to view full, single CTA */
.promo-banners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; /* don't stretch shorter banners → no gap after the image */
    gap: 26px;
    max-width: 1120px;
    margin: 0 auto;
}

.promo-banner {
    flex: 0 1 242px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    background: var(--ivory);
    border: 1px solid rgba(184, 146, 74, 0.25);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(110, 31, 21, 0.08);
    transition: var(--transition);
}

.promo-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(110, 31, 21, 0.16);
    border-color: var(--gold);
}

.promo-banner-img {
    display: block;
    position: relative;
    overflow: hidden;
}

.promo-banner-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.promo-banner:hover .promo-banner-img img { transform: scale(1.05); }

.promo-banner-zoom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 16px 10px 12px;
    font-family: var(--font-thai);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(to top, rgba(43, 29, 18, 0.85), rgba(43, 29, 18, 0));
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.promo-banner:hover .promo-banner-zoom {
    opacity: 1;
    transform: translateY(0);
}

/* Promotion image lightbox */
.promo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(43, 29, 18, 0.88);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.promo-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.promo-lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: scale(0.94);
    transition: transform 0.3s ease;
}

.promo-lightbox.active .promo-lightbox-img { transform: scale(1); }

.promo-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.promo-lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

body.promo-lightbox-open { overflow: hidden; }

.promo-banner-caption {
    padding: 14px 15px 16px;
    text-align: center;
    border-top: 2px solid var(--gold-soft);
}

/* Compact weekly countdown — sits between the poster and the title */
.promo-cd {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    padding: 8px 8px 7px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(110, 31, 21, 0.22);
}

.promo-cd-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-thai);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0.92;
}

.promo-cd-timer {
    display: flex;
    gap: 4px;
}

.promo-cd .cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    padding: 3px 4px;
    min-width: 30px;
}

.promo-cd .cd-value {
    font-family: var(--font-thai);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.promo-cd .cd-box i {
    font-size: 0.55rem;
    font-style: normal;
    opacity: 0.82;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

.promo-banner-title {
    font-family: var(--font-thai);
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin: 0;
}

.promo-banner-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    text-align: left;
}

.promo-banner-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-top: 1px dashed rgba(184, 146, 74, 0.35);
}

.promo-banner-item:first-child { border-top: none; }

.promo-banner-item-label {
    font-family: var(--font-thai);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
    min-width: 0;
}

/* Free-gift / note line shown under an item label */
.promo-banner-item-note {
    display: block;
    margin-top: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
}

.promo-banner-item-note i { margin-right: 4px; color: var(--gold); }

/* Small "โปรแกรม" lead-in shown before group titles and item labels.
   em-based so it stays proportionally small in both contexts. */
.promo-prefix {
    font-size: 0.7em;
    font-weight: 400;
    opacity: 0.7;
    margin-right: 1px;
}

.promo-plus {
    font-weight: 700;
    color: var(--gold);
    margin: 0 1px;
}

.promo-banner-item-price {
    font-family: var(--font-thai);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.2px;
    line-height: 1.1;
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-banner-item-price small {
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 1px;
}

/* Stacked price cell: original (struck through) above the promo price */
.promo-banner-item-pricebox {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    line-height: 1.12;
}

.promo-banner-item-original {
    font-size: 0.72rem;
    font-weight: 600;
    color: #a89a86;
    text-decoration: line-through;
    text-decoration-color: rgba(110, 31, 21, 0.55);
}

.promo-banner-item-original small { font-size: 0.62rem; margin-left: 1px; }

/* Solo campaign banner — one group only: let the poster be the hero */
.promo-banners--solo .promo-banner {
    flex: 0 1 400px;
    max-width: 440px;
}

.promo-banners--solo .promo-banner-item { align-items: center; }
.promo-banners--solo .promo-banner-item-label { font-size: 0.9rem; }
.promo-banners--solo .promo-banner-item-price { font-size: 1.12rem; }

/* Desktop: poster on the left, promo list on the right (stacks below 820px) */
@media (min-width: 820px) {
    .promo-banners--solo .promo-banner {
        flex: 0 1 940px;
        max-width: 940px;
        flex-direction: row;
        align-items: stretch;
    }

    .promo-banners--solo .promo-banner-img {
        flex: 0 0 46%;
        max-width: 46%;
    }

    /* poster keeps its full aspect — never crop the promo details */
    .promo-banners--solo .promo-banner-img img { height: auto; }

    .promo-banners--solo .promo-banner-caption {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center; /* centre the list against the taller poster */
        border-top: none;
        border-left: 2px solid var(--gold-soft);
        padding: 26px 28px;
    }

    .promo-banners--solo .promo-banner-list { margin-top: 14px; }
}

/* Payment perk pill — credit card, no extra fee */
.promo-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    max-width: 90%;
    margin: 28px auto 0;
    padding: 9px 20px;
    border-radius: 999px;
    background: var(--ivory);
    border: 1px solid rgba(184, 146, 74, 0.4);
    font-family: var(--font-thai);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
}

.promo-payment i { color: var(--gold); }

/* Section-level disclaimer + single CTA */
.promo-disclaimer {
    max-width: 1000px;
    margin: 18px auto 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.promo-disclaimer i { color: var(--gold); }

.promo-cta {
    max-width: 1000px;
    margin: 26px auto 0;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.promo-cta-text {
    color: var(--cream-2);
    font-size: 1.12rem;
    font-weight: 500;
    margin: 0 0 18px;
}

.promo-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.promo-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition);
}

.promo-cta-line {
    background: linear-gradient(135deg, #06C755 0%, #05A647 100%);
    box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35);
}

.promo-cta-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(6, 199, 85, 0.5);
}

.promo-cta-phone {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    box-shadow: 0 6px 18px rgba(184, 146, 74, 0.35);
}

.promo-cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(184, 146, 74, 0.5);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--white);
}

/* Premium, refined section heading (scoped to Services) */
.services .section-title h2 {
    font-size: 2.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.services .section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 3px;
}

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

@media (min-width: 1025px) and (max-width: 1279px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-light);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* Image-based service icons (line-art) */
.service-icon--img {
    width: 130px;
    height: 130px;
    background: transparent;
    border-radius: 0;
}

.service-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card:hover .service-icon--img {
    background: transparent;
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: var(--brown-dark, var(--dark));
}

.service-card p {
    font-size: 0.95rem;
}

/* ============================================
   Featured Doctor Section
   ============================================ */
.featured-doctor {
    padding: 120px 0 140px;
    background:
        radial-gradient(ellipse at top left, var(--cream-2) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, var(--cream) 0%, transparent 55%),
        linear-gradient(180deg, var(--ivory) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

/* When Featured Doctor acts as the hero (top of page), give it extra top padding for the fixed header */
.featured-doctor--hero {
    padding-top: 160px;
}

@media (max-width: 768px) {
    .featured-doctor--hero { padding-top: 110px; }
}

.featured-doctor-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.featured-doctor-bg-deco .deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
}

.featured-doctor-bg-deco .deco-circle-1 {
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: var(--gold);
}

.featured-doctor-bg-deco .deco-circle-2 {
    bottom: -180px;
    left: -150px;
    width: 520px;
    height: 520px;
    background: var(--primary);
}

.featured-doctor-bg-deco .deco-dots {
    position: absolute;
    top: 15%;
    left: 8%;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.2;
}

.featured-doctor .container { position: relative; z-index: 1; }

.featured-doctor-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-doctor-image-col {
    position: relative;
    display: flex;
    justify-content: center;
}

.featured-doctor-image-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
}

/* Gold offset frame behind the stage */
.featured-doctor-image-accent {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 260px 260px 24px 24px;
    z-index: 0;
    opacity: 0.55;
}

/* Maroon→brown "stage" arch — transparent white-coat photo pops against it */
.featured-doctor-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 260px 260px 24px 24px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 18%, rgba(205,168,99,0.30) 0%, transparent 55%),
        linear-gradient(165deg, var(--primary-light) 0%, var(--primary) 50%, var(--brown-dark) 100%);
    box-shadow: 0 34px 70px rgba(43, 29, 18, 0.32);
    z-index: 1;
}

/* Soft gold vignette + inner ring */
.featured-doctor-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(230, 210, 166, 0.25);
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
    z-index: 2;
    pointer-events: none;
}

.featured-doctor-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 12px 24px rgba(43,29,18,0.28));
}

.featured-doctor-image:hover img {
    transform: scale(1.03);
}

.featured-doctor-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-doctor-placeholder i {
    font-size: 6rem;
    color: var(--white);
    opacity: 0.5;
}

.featured-doctor-float-badge {
    position: absolute;
    background: var(--ivory);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(43, 29, 18, 0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid rgba(184, 146, 74, 0.35);
    animation: floatUpDown 4s ease-in-out infinite;
}

.float-badge-license {
    top: 40px;
    right: -40px;
}

.float-badge-name {
    bottom: 50px;
    left: -40px;
    animation-delay: 1.5s;
}

.float-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-badge-icon i {
    color: var(--brown-dark);
    font-size: 1.1rem;
}

.float-badge-text { line-height: 1.3; }

.float-badge-text span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.float-badge-text strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.3px;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.featured-doctor-content { padding-left: 10px; }

.featured-doctor-name-block {
    position: relative;
    padding-left: 22px;
    border-left: 3px solid var(--gold);
    margin-bottom: 22px;
}

.doctor-prefix {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.9rem;
    letter-spacing: 0.5px;
    color: var(--gold);
    margin-bottom: 0;
    line-height: 1;
}

.doctor-name {
    font-size: 2rem;
    color: var(--dark);
    margin: 0 0 4px 0;
    line-height: 1.25;
    font-weight: 700;
}

.doctor-nickname {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.featured-doctor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--ivory);
    padding: 8px 14px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(43,29,18,0.05);
    border: 1px solid rgba(184, 146, 74, 0.25);
}

.meta-item i {
    color: var(--gold);
    font-size: 0.85rem;
}

.featured-doctor-quote {
    position: relative;
    margin: 0 0 28px 0;
    padding: 30px 34px;
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
    border-radius: 16px;
    box-shadow: 0 16px 44px rgba(43, 29, 18, 0.25);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--cream);
    font-weight: 500;
    line-height: 1.55;
    text-align: center;
    overflow: hidden;
}

.featured-doctor-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent);
}

.featured-doctor-quote .quote-mark-open,
.featured-doctor-quote .quote-mark-close {
    font-size: 2.6rem;
    color: var(--gold);
    opacity: 0.6;
    font-family: Georgia, serif;
    line-height: 0;
    position: relative;
    top: 12px;
    margin: 0 6px;
}

.featured-doctor-quote .quote-text {
    font-style: italic;
}

.featured-doctor-description {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 30px;
}

.featured-doctor-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ivory);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(43,29,18,0.05);
    transition: var(--transition);
    border: 1px solid rgba(184, 146, 74, 0.22);
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(184, 146, 74, 0.5);
}

.value-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon i {
    color: var(--brown-dark);
    font-size: 1.05rem;
}

.value-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}

.value-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.featured-doctor-contact {
    background: linear-gradient(135deg, var(--ivory) 0%, var(--cream-2) 100%);
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(43, 29, 18, 0.1);
    border: 1px solid rgba(184, 146, 74, 0.3);
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

.contact-label i {
    color: var(--gold);
    font-size: 1.1rem;
}

/* ============================================
   Featured Doctor — Poster Layout
   ============================================ */
.fd-poster {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 60px;
    align-items: stretch;
}

/* ---- LEFT: content ---- */
.fd-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fd-greeting { margin-bottom: 20px; }

.fd-greeting .section-eyebrow { margin-bottom: 16px; }

.fd-greeting-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--dark);
    line-height: 1.15;
    margin: 0 0 10px;
    font-weight: 700;
}

.fd-spark {
    color: var(--gold);
    font-size: 0.6em;
    vertical-align: 0.25em;
    margin-left: 6px;
}

.fd-greeting-sub {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.fd-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.5;
    margin: 22px 0 18px;
}

.fd-intro {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.85;
    margin: 0;
}

/* Ornament aligned left for this section */
.fd-ornament {
    margin: 30px 0;
    max-width: 220px;
}
.fd-ornament span:first-child { display: none; }
.fd-ornament { justify-content: flex-start; }

/* Feature rows (circle icon + text) */
.fd-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.fd-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.fd-feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--cream);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    transition: var(--transition);
}

.fd-feature:hover .fd-feature-icon {
    background: var(--primary);
    color: var(--gold-soft);
    border-color: var(--primary);
}

.fd-feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark);
    margin: 4px 0 6px;
    font-weight: 700;
}

.fd-feature-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* CTA box */
.fd-cta-box {
    background: linear-gradient(135deg, var(--cream-2) 0%, var(--cream) 100%);
    border: 1px solid rgba(184, 146, 74, 0.3);
    border-radius: var(--radius);
    padding: 26px 28px;
}

.fd-cta-box h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fd-cta-box h4 i { color: var(--gold); }

.fd-cta-box > p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0 0 18px;
}

.fd-cta-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fd-cta-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.fd-cta-links a i { font-size: 1.15rem; }

.fd-cta-line {
    background: #06C755;
    color: var(--white);
    box-shadow: 0 6px 18px rgba(6, 199, 85, 0.3);
}

.fd-cta-line:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6, 199, 85, 0.42); }

.fd-cta-phone {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(110, 31, 21, 0.28);
}

.fd-cta-phone:hover { transform: translateY(-2px); background: var(--primary-dark); }

.fd-cta-line .line-id-hint { color: rgba(255,255,255,0.85); }

/* ---- RIGHT: photo + nameplate ---- */
.fd-photo-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fd-photo-stage {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 540px;
    border-radius: 200px 200px 28px 28px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 12%, rgba(255,251,244,0.9) 0%, transparent 60%),
        linear-gradient(180deg, var(--cream-2) 0%, var(--gray) 100%);
    box-shadow: 0 30px 60px rgba(43, 29, 18, 0.16);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.fd-photo-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.fd-photo-stage .featured-doctor-placeholder {
    border-radius: inherit;
}

.fd-photo-badge {
    position: absolute;
    top: 16px;
    right: -8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ivory);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 22px rgba(43, 29, 18, 0.18);
    border: 1px solid rgba(184, 146, 74, 0.45);
    z-index: 4;
    white-space: nowrap;
}

.fd-photo-badge i { color: var(--gold); }

/* Nameplate overlapping bottom of photo */
.fd-nameplate {
    position: relative;
    margin-top: -36px;
    width: 86%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
    border: 1px solid rgba(184, 146, 74, 0.45);
    border-radius: var(--radius);
    padding: 20px 28px;
    text-align: center;
    box-shadow: 0 14px 36px rgba(43, 29, 18, 0.16);
    z-index: 3;
}

.fd-nameplate h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0 0 4px;
    font-weight: 700;
}

.fd-nameplate span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Responsive — poster */
@media (max-width: 992px) {
    .fd-poster { grid-template-columns: 1fr; gap: 50px; }
    .fd-photo-col { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
    .fd-photo-stage { min-height: 480px; }
}

@media (max-width: 600px) {
    .fd-photo-stage { min-height: 400px; border-radius: 140px 140px 24px 24px; }
    .fd-feature-icon { width: 52px; height: 52px; font-size: 1.2rem; }
    .fd-cta-links a { width: 100%; justify-content: center; }
    .fd-nameplate { width: 92%; padding: 16px 20px; }
    .fd-nameplate h3 { font-size: 1.25rem; }
}

.featured-doctor-contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.featured-doctor-contact-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.featured-doctor-contact-links a i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.featured-doctor-contact-links a div { line-height: 1.3; }

.featured-doctor-contact-links a small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.featured-doctor-contact-links a strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.doctor-contact-line {
    background: linear-gradient(135deg, #06C755 0%, #05A647 100%);
    color: var(--white);
}

.doctor-contact-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(6, 199, 85, 0.35);
}

.doctor-contact-phone {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.doctor-contact-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(139, 26, 26, 0.35);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 100px 0 120px;
    background:
        radial-gradient(ellipse at top, #FFF5EE 0%, transparent 60%),
        var(--gray-light);
    position: relative;
    overflow: hidden;
}

.contact .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(139, 26, 26, 0.08);
}

.contact-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 40px 0 8px;
}

.contact-intro h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-intro-sparkle {
    font-size: 1.4rem;
    animation: sparkleSpin 3s ease-in-out infinite;
}

.contact-intro-sparkle:last-child { animation-delay: 1.5s; }

.contact-intro-tagline {
    text-align: center;
    font-size: 1.05rem;
    color: #666;
    margin: 0 0 50px 0;
    letter-spacing: 1px;
}

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

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

.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 4px 25px rgba(139, 26, 26, 0.06);
    border: 1px solid rgba(139, 26, 26, 0.06);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(139, 26, 26, 0.12);
    border-color: rgba(139, 26, 26, 0.15);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.contact-card-body {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 0.98rem;
}

.contact-card-body strong {
    color: var(--primary);
    font-weight: 700;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--secondary);
    transition: var(--transition);
}

.contact-card-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(3px);
}

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

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--secondary);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

.hours-item .hours-day {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.hours-item .hours-day i {
    color: var(--primary);
    font-size: 0.9rem;
}

.hours-item .hours-time {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.3px;
}

.hours-item-closed {
    background: #FFEEEE;
    border-left-color: #D63384;
}

.hours-item-closed .hours-day i {
    color: #D63384;
}

.hours-item-closed .hours-time {
    color: #D63384;
    font-style: italic;
}

.contact-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
}

.contact-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-cta-icon i {
    color: var(--white);
    font-size: 1.4rem;
}

.contact-cta-body { line-height: 1.3; color: var(--white); }

.contact-cta-body small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.contact-cta-body strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.contact-cta-phone {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 26, 26, 0.35);
}

.contact-cta-line {
    background: linear-gradient(135deg, #06C755 0%, #05A647 100%);
}

.contact-cta-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.35);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(139, 26, 26, 0.1);
    border: 1px solid rgba(139, 26, 26, 0.08);
    height: 100%;
    min-height: 500px;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    display: block;
}

/* Map consent placeholder — shown until Google Maps is allowed to load */
.contact-map { position: relative; }
.map-consent {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--cream-2) 0%, var(--cream) 100%);
    color: var(--text);
}
.map-consent i { font-size: 2.4rem; color: var(--primary); }
.map-consent p { margin: 0; max-width: 320px; font-size: 0.95rem; }
.map-consent .btn { padding: 12px 28px; }

/* ============================================
   Cookie Consent Banner (PDPA)
   ============================================ */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    background: var(--brown-dark);
    color: var(--cream);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(43, 29, 18, 0.35);
    border: 1px solid rgba(184, 146, 74, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-consent.is-visible { opacity: 1; transform: translateY(0); }
.cookie-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(246, 236, 218, 0.92);
    flex: 1 1 320px;
}
.cookie-consent-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-consent .btn { padding: 11px 24px; font-size: 0.9rem; font-weight: 600; }
.cookie-btn-decline {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(246, 236, 218, 0.4);
}
.cookie-btn-decline:hover { background: rgba(246, 236, 218, 0.1); }
.cookie-btn-accept { background: var(--gold); color: var(--brown-dark); }
.cookie-btn-accept:hover { background: var(--gold-light); transform: translateY(-2px); }

.footer-legal { margin-top: 8px; }
.footer-legal a { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 600px) {
    .cookie-consent { left: 10px; right: 10px; bottom: 10px; }
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }
    /* reset row flex-basis so the text box doesn't become 320px TALL in column layout */
    .cookie-consent-text { flex: 0 0 auto; font-size: 0.85rem; }
    .cookie-consent-actions { justify-content: stretch; }
    .cookie-consent-actions .btn { flex: 1; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

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

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Footer contact & hours */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-list li i {
    color: var(--primary-light);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-list li span,
.footer-contact-list li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-list li a:hover {
    color: var(--white);
}

.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.88rem;
}

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

.footer-hours-list li span {
    color: rgba(255,255,255,0.6);
}

.footer-hours-list li strong {
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.footer-hours-list li.footer-hours-closed strong {
    color: #FF9AA2;
    font-style: italic;
    font-weight: 500;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 2rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-banner-buttons .btn-accent {
    background: #06C755;
    color: var(--white);
}

.cta-banner-buttons .btn-accent:hover {
    background: #05A647;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 199, 85, 0.4);
}

.cta-banner-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.cta-banner-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-banner { padding-top: 64px; }
    .hero-banner-title { font-size: 3rem; }
    .hero-banner-tagline { font-size: 1.2rem; letter-spacing: 2px; }

    .section-title h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .promo-banners { gap: 20px; }
    .promo-banner { flex-basis: 210px; max-width: 230px; }

    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-map { position: relative; min-height: 360px; }
    .contact-map iframe { min-height: 360px; }
    .contact-intro h3 { font-size: 1.5rem; }

    .featured-doctor { padding: 80px 0 100px; }
    .featured-doctor-heading { font-size: 2rem; }

    .featured-doctor-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .featured-doctor-image-frame { max-width: 400px; margin: 0 auto; }
    .featured-doctor-content { padding-left: 0; }
    .float-badge-license { right: -20px; }
    .float-badge-name { left: -20px; }

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

@media (max-width: 768px) {
    .main-nav { display: none; }
    .header-actions .header-cta { display: none; }
    .mobile-toggle { display: flex; }

    .main-nav.active {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 999;
        padding: 30px;
    }

    .main-nav.active ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .main-nav.active a {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    h1 { font-size: 1.8rem; }
    .section-title h2 { font-size: 1.7rem; }
    .hero-banner { padding-top: 60px; }
    .hero-banner-title { font-size: 2.2rem; }
    .hero-banner-tagline { font-size: 1rem; letter-spacing: 1.5px; }
    .hero-banner-sub { font-size: 0.95rem; }
    .hero-banner-buttons { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
    .hero-banner-sparkle { font-size: 1.6rem; }

    .promo-banners { gap: 14px; }
    .promo-banner { flex: 0 1 calc(50% - 7px); max-width: none; }
    .promo-banner-zoom { opacity: 1; transform: none; } /* always visible on touch */
    .promo-banner-caption { padding: 13px 12px 15px; }
    .promo-banner-title { font-size: 1rem; }
    .promo-banner-item-label { font-size: 0.78rem; }
    .promo-banner-item-price { font-size: 0.95rem; }
    .promo-cta-buttons { flex-direction: column; align-items: stretch; }

    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .service-card { padding: 28px 16px; }
    .service-icon { width: 60px; height: 60px; font-size: 1.5rem; margin: 0 auto 16px; }

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

    .section-title { margin-bottom: 40px; }
    .services, .promotions, .contact, .featured-doctor { padding: 60px 0; }

    .featured-doctor-heading { font-size: 1.7rem; }
    .featured-doctor-grid { gap: 60px; }
    .featured-doctor-image-frame { max-width: 320px; }
    .featured-doctor-image-accent { top: 15px; left: 15px; }

    .doctor-name { font-size: 1.5rem; }
    .doctor-nickname { font-size: 1.05rem; }

    .featured-doctor-quote { font-size: 1.1rem; padding: 22px 22px; }
    .featured-doctor-quote .quote-mark-open,
    .featured-doctor-quote .quote-mark-close { font-size: 1.8rem; }

    .featured-doctor-values { grid-template-columns: 1fr; gap: 10px; }

    .featured-doctor-contact-links { grid-template-columns: 1fr; }

    .contact-cta-group { grid-template-columns: 1fr; }
    .hours-item { flex-direction: column; gap: 6px; align-items: flex-start; }
    .contact-card { padding: 22px; }

    .float-badge-license { top: 20px; right: -10px; padding: 10px 14px; }
    .float-badge-name { bottom: 30px; left: -10px; padding: 10px 14px; }
    .float-badge-icon { width: 36px; height: 36px; }
    .float-badge-icon i { font-size: 0.9rem; }
    .float-badge-text span { font-size: 0.65rem; }
    .float-badge-text strong { font-size: 0.88rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .hero-banner { padding-top: 56px; }
    .hero-banner-title { font-size: 1.75rem; }
    .hero-banner-scroll { display: none; }

    .services-grid { gap: 10px; }
    .service-card { padding: 18px 8px; }
    .service-icon { width: 48px; height: 48px; font-size: 1.2rem; margin: 0 auto 12px; }
    .service-card h3 { font-size: 0.9rem; margin-bottom: 0; }

    .featured-doctor-tag { font-size: 0.75rem; padding: 8px 16px; letter-spacing: 1.5px; }
    .featured-doctor-heading { font-size: 1.5rem; }
    .featured-doctor-image-frame { max-width: 280px; }
    .featured-doctor-contact { padding: 20px; }
    .featured-doctor-quote { font-size: 1rem; padding: 20px; }
    .meta-item { font-size: 0.8rem; padding: 7px 12px; }
}
