/* ================================================================
   Sri Lanka Medical Care — modern design system (2026 refresh)
   Palette: deep lagoon teal · saffron gold · pearl cream
   ================================================================ */
:root {
  --ink: #0c2b2b;
  --ink-2: #173b3a;
  --teal: #0f766e;
  --teal-dark: #09534e;
  --teal-deep: #072c29;
  --teal-soft: #e5f2f0;
  --teal-mist: #f0f7f6;
  --gold: #d4a626;
  --gold-soft: #f5e7c1;
  --gold-dark: #a58316;
  --cream: #fbf9f2;
  --cream-2: #f4eee0;
  --white: #ffffff;
  --muted: #5c6b6a;
  --line: rgba(12, 43, 43, .09);
  --shadow-sm: 0 1px 2px rgba(12,43,43,.05), 0 4px 12px rgba(12,43,43,.05);
  --shadow: 0 2px 6px rgba(12,43,43,.05), 0 16px 40px rgba(12,43,43,.09);
  --shadow-lg: 0 8px 24px rgba(12,43,43,.10), 0 28px 64px rgba(12,43,43,.16);
  --radius: 18px;
  --radius-sm: 12px;
  --serif: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--teal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.18; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.14rem; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 840px; }
.center { text-align: center; }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 800; color: var(--gold-dark); margin-bottom: 10px; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 660px; }
.note { font-size: .84rem; color: var(--muted); margin-top: 18px; }
.optional { font-weight: 400; color: var(--muted); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1); }
.revealed { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .15s ease, border-color .15s; font-family: var(--sans); letter-spacing: .01em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 17px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, #e0b23c, var(--gold) 55%, #c29520); color: #241d02; box-shadow: 0 8px 20px rgba(201, 162, 39, .32), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-gold:hover { color: #241d02; box-shadow: 0 12px 28px rgba(201, 162, 39, .42); }
.btn-outline { background: transparent; color: var(--teal); border-color: rgba(15, 118, 110, .45); }
.btn-outline:hover { background: var(--teal-soft); border-color: var(--teal); }
.btn-outline-light { background: rgba(255,255,255,.05); color: #e2f1ee; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.btn-whatsapp { background: linear-gradient(135deg, #25c05a, #1f9e49); color: #fff; box-shadow: 0 8px 20px rgba(31, 175, 84, .3), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-whatsapp:hover { color: #fff; box-shadow: 0 12px 28px rgba(31, 175, 84, .4); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--muted); }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 249, 242, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand img { filter: drop-shadow(0 2px 6px rgba(12,43,43,.28)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.14rem; letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.brand-light { color: #fff; }
.brand-light .brand-text small { color: #e3c767; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a:not(.nav-cta) { padding: 8px 11px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.main-nav > a:not(.nav-cta):hover { background: var(--teal-soft); color: var(--teal-dark); }
.main-nav > a.active { color: var(--teal-dark); font-weight: 700; background: var(--teal-soft); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 9px; border-radius: 8px; }
.nav-toggle:hover { background: var(--teal-soft); }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 78% -10%, rgba(212, 166, 38, .28), transparent 60%), radial-gradient(900px 500px at 8% 110%, rgba(21, 128, 119, .45), transparent 55%), linear-gradient(155deg, #08312f 0%, #0d4a44 55%, #115a52 100%); color: #eef7f4; }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(230, 201, 110, .16) 1.5px, transparent 1.5px); background-size: 28px 28px; mask-image: linear-gradient(120deg, transparent 30%, #000 80%); opacity: .7; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; padding: 84px 24px 96px; }
.hero .eyebrow { color: #e7cf8a; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); color: #fff; }
.hero h1 .accent { color: #ecd489; }
.hero-sub { margin: 20px 0 30px; font-size: 1.15rem; max-width: 560px; color: #d3e7e2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.trust-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.trust-list li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: #d9ebe6; }
.trust-list svg { width: 18px; height: 18px; color: #e7cf8a; }

.hero-visual { position: relative; height: 430px; }
.vc-card { position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); color: var(--ink); border: 1px solid rgba(255,255,255,.5); border-radius: 20px; padding: 22px 24px; box-shadow: 0 30px 60px rgba(0,0,0,.28); display: flex; flex-direction: column; gap: 7px; animation: float 7s ease-in-out infinite; }
.vc-card strong { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }
.vc-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 800; }
.vc-main { top: 16%; right: 6%; width: 74%; animation-delay: 0s; }
.vc-line { height: 7px; width: 58%; background: linear-gradient(90deg, var(--teal), #7fbfb8); border-radius: 99px; }
.vc-card-2 { bottom: 26%; left: 0; width: 52%; animation-delay: -2.2s; }
.vc-card-3 { bottom: 5%; right: 18%; width: 46%; animation-delay: -4.4s; }
.vc-sun { position: absolute; top: 2%; left: 24%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #f9e9b0, #e7b04a); box-shadow: 0 0 80px rgba(233, 205, 130, .55); }
.vc-palm { position: absolute; top: 5%; left: 4%; width: 62px; height: 130px; background: linear-gradient(115deg, transparent 47%, #2e7a6a 49%, transparent 51%) 0 20% / 100% 12px no-repeat, linear-gradient(115deg, transparent 47%, #2e7a6a 49%, transparent 51%) 0 40% / 100% 12px no-repeat, linear-gradient(60deg, transparent 47%, #2e7a6a 49%, transparent 51%) 0 60% / 100% 12px no-repeat, linear-gradient(#8a5526, #5f3517); filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.vc-wave { position: absolute; bottom: -14px; left: -8%; right: -8%; height: 66px; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.12) 0 14px, transparent 14px 30px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }

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

/* ---------- home trio ---------- */
.trio { background: var(--white); border-bottom: 1px solid var(--line); }
.trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio-item { display: flex; gap: 16px; padding: 30px 26px; border-left: 1px solid var(--line); align-items: flex-start; }
.trio-item:first-child { border-left: 0; }
.trio-item svg { width: 36px; height: 36px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.trio-item h3 { font-size: 1.06rem; margin-bottom: 4px; }
.trio-item p { color: var(--muted); font-size: .9rem; }

/* ---------- stats ---------- */
.stats { background: linear-gradient(135deg, #d9ab2b, #c09318); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 12px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: #241d02; line-height: 1; }
.stat span { font-size: .84rem; color: #4a3d05; font-weight: 500; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-tint { background: var(--cream-2); }
.section-dark { background: radial-gradient(1000px 500px at 85% -10%, rgba(212,166,38,.18), transparent 55%), linear-gradient(155deg, #08312f, #0d4a44); color: #eef7f4; }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head-light .eyebrow { color: #e3c767; }
.section-head-light h2 { color: #fff; }
.section-head-light .lede { color: #cfe3de; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section .center { margin-top: 34px; }

/* ---------- cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.feature-card { padding: 30px; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15,118,110,.18); }
.feature-icon { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg, var(--teal-soft), #d6ece8); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .95rem; }

.t-card { display: flex; flex-direction: column; padding: 28px; color: var(--ink); }
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(15,118,110,.18); color: var(--ink); }
.t-icon { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 6px 14px rgba(15,118,110,.28); }
.t-icon svg { width: 27px; height: 27px; }
.t-icon-lg { width: 60px; height: 60px; }
.t-icon-xl { width: 72px; height: 72px; border-radius: 18px; }
.t-icon-xl svg { width: 38px; height: 38px; }
.t-card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.t-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.t-price { display: inline-block; margin: 16px 0 8px; font-weight: 800; color: var(--teal-dark); font-size: 1.05rem; }
.t-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--gold-dark); }
.t-link svg { width: 16px; height: 16px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 38px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #e0b23c, var(--gold)); color: #241d02; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; box-shadow: 0 6px 14px rgba(201,162,39,.3); }
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .9rem; }
.steps-vertical { grid-template-columns: 1fr; max-width: 740px; margin: 0 auto 44px; }
.step-v { display: flex; gap: 20px; padding: 28px; margin-bottom: 14px; }
.step-v .step-n { margin: 0; flex-shrink: 0; }

/* ---------- hospital strips ---------- */
.hosp-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; }
.hosp-pill { background: rgba(255,255,255,.06); border: 1px solid rgba(216,237,233,.22); border-radius: 14px; padding: 20px; display: flex; gap: 12px; align-items: center; font-weight: 700; }
.hosp-pill svg { width: 22px; height: 22px; color: #e3c767; flex-shrink: 0; }
.hosp-pill small { display: block; font-weight: 400; color: #a9cfc7; font-size: .8rem; }
.pill-light { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.pill-light small { color: var(--muted); }
.pill-light svg { color: var(--teal); }

/* ---------- testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testimonial:hover { box-shadow: var(--shadow); }
.testimonial blockquote { font-family: var(--serif); font-size: 1.02rem; font-style: italic; color: var(--ink); flex: 1; }
.testimonial blockquote::before { content: '\201C'; color: var(--gold); font-size: 2.6rem; line-height: 0; display: block; height: 20px; }
.testimonial figcaption { margin-top: 20px; display: flex; flex-direction: column; }
.testimonial figcaption strong { color: var(--teal-dark); }
.testimonial figcaption span { color: var(--muted); font-size: .85rem; }
.t-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.t-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.t-avatar { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1rem; box-shadow: 0 4px 10px rgba(15,118,110,.25); }
.t-badge { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.t-badge svg { width: 12px; height: 12px; }
.t-badge-verified { background: var(--teal-soft); color: var(--teal-dark); }
.t-badge-sample { background: #efead9; color: #8a7f5f; }
.stars { display: inline-flex; gap: 2px; font-size: .95rem; line-height: 1; color: #ddd4ba; letter-spacing: 1px; }
.stars .star-on { color: var(--gold); }
.stars-lg { font-size: 1.35rem; }
.hero-rating { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; color: #cfe3de; }
.hero-rating strong { font-size: 1.25rem; color: #fff; }
.hero-rating .stars .star-on { color: #ecd489; }
.hero-rating .stars { color: rgba(255,255,255,.25); }

/* ---------- rating summary ---------- */
.rating-summary { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.rating-big { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.rating-big > strong { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--teal-dark); }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rbar { display: grid; grid-template-columns: 30px 1fr 30px; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.rbar-track { height: 10px; border-radius: 99px; background: #eae2ca; overflow: hidden; }
.rbar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), #e7c767); }
.rbar-n { text-align: right; }
.rating-cta { text-align: center; }
.rating-cta .lede { margin-bottom: 12px; margin-left: auto; margin-right: auto; }

/* ---------- rating widget ---------- */
.rating-widget { display: inline-flex; flex-direction: row-reverse; gap: 3px; }
.rating-widget input { display: none; }
.rating-widget label { font-size: 2.2rem; line-height: 1; color: #ddd4ba; cursor: pointer; transition: transform .1s, color .1s; }
.rating-widget input:checked ~ label { color: var(--gold); }
.rating-widget label:hover, .rating-widget label:hover ~ label { color: var(--gold); transform: scale(1.1); }
.rating-widget input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- consent ---------- */
.consent-field { margin-top: 4px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .9rem; color: var(--ink); cursor: pointer; }
.consent input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.consent svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(900px 420px at 12% -8%, rgba(212,166,38,.22), transparent 55%), linear-gradient(150deg, #072c29, #0f5a52); color: #eef7f4; }
.cta-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 84px 24px; }
.cta-copy h2 { color: #fff; margin-bottom: 16px; }
.cta-copy p { color: #cfe3de; font-size: 1.06rem; }

/* ---------- quote / forms ---------- */
.quote-form { background: var(--white); color: var(--ink); border-radius: 22px; padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid rgba(12,43,43,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; font-size: .95rem; font-family: var(--sans); background: #fffefb; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder, .field textarea::placeholder { color: #9aa6a4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, .13); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: .8rem; color: var(--muted); max-width: 340px; }
.form-status { margin-top: 14px; font-weight: 700; font-size: .95rem; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: #b3261e; }
.form-error { background: #fdeceb; color: #b3261e; border: 1px solid #f5c6c3; border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin-bottom: 14px; }

/* ---------- page hero ---------- */
.page-hero { background: radial-gradient(900px 420px at 88% -10%, rgba(212,166,38,.2), transparent 55%), linear-gradient(155deg, #08312f, #0d4a44); color: #eef7f4; padding: 72px 0; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #cfe3de; margin-top: 14px; max-width: 740px; }
.crumb { color: #a9cfc7; }
.crumb:hover { color: #fff; }
.detail-head { display: flex; gap: 26px; align-items: flex-start; margin-top: 24px; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fact { background: rgba(255,255,255,.08); border: 1px solid rgba(216,237,233,.25); border-radius: 14px; padding: 14px 20px; display: flex; flex-direction: column; }
.fact small { color: #a9cfc7; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.fact strong { font-size: 1.05rem; color: #fff; }

/* ---------- treatment list ---------- */
.treat-list { display: flex; flex-direction: column; gap: 18px; }
.treat-row { display: flex; align-items: center; gap: 24px; padding: 26px 30px; color: var(--ink); }
.treat-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(15,118,110,.18); color: var(--ink); }
.treat-main { flex: 1; }
.treat-main h2 { font-size: 1.32rem; margin-bottom: 4px; }
.treat-main p { color: var(--muted); font-size: .95rem; }
.treat-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.treat-meta span { display: inline-flex; align-items: center; gap: 6px; }
.treat-meta svg { width: 15px; height: 15px; color: var(--teal); }
.treat-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.treat-price strong { font-size: 1.2rem; color: var(--teal-dark); font-family: var(--serif); }
.treat-price span { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--gold-dark); }
.treat-price svg { width: 16px; height: 16px; }

/* ---------- detail layout ---------- */
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.detail-main h2 { margin: 28px 0 12px; font-size: 1.4rem; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main > p { color: var(--muted); font-size: 1.02rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); }
.check-list svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.mini-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(135deg, var(--teal-soft), #d6ece8); border: 1px solid rgba(15,118,110,.12); border-radius: 16px; padding: 24px 28px; margin-top: 36px; flex-wrap: wrap; }
.mini-cta h3 { color: var(--teal-dark); margin-bottom: 4px; }
.mini-cta p { color: var(--muted); font-size: .92rem; }
.review-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(135deg, #fdf9ec, #f8efd5); border: 1px solid #e6d5a2; border-radius: 16px; padding: 22px 28px; margin-top: 16px; flex-wrap: wrap; }
.review-cta h3 { display: flex; align-items: center; gap: 8px; color: var(--gold-dark); margin-bottom: 4px; }
.review-cta h3 svg { width: 20px; height: 20px; }
.review-cta p { color: var(--muted); font-size: .92rem; }
.detail-side .quote-form { padding: 26px; box-shadow: var(--shadow); }
.detail-side h3 { margin-bottom: 6px; }

/* ---------- hospitals ---------- */
.hosp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hosp-card { padding: 30px; }
.hosp-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.hosp-monogram { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; box-shadow: 0 8px 18px rgba(15,118,110,.3); }
.hosp-card h2 { font-size: 1.32rem; }
.hosp-sub { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.hosp-sub svg { width: 15px; height: 15px; }
.badge { background: linear-gradient(135deg, var(--gold), #e0b23c); color: #241d02; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.hosp-beds { font-size: .85rem; color: var(--teal-dark); font-weight: 700; margin-bottom: 8px; }
.hosp-card > p { color: var(--muted); font-size: .95rem; }
.hosp-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { background: var(--teal-soft); color: var(--teal-dark); font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* ---------- packages ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pack-card { position: relative; padding: 32px 28px; display: flex; flex-direction: column; }
.pack-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #e0b23c, var(--gold)); color: #241d02; font-size: .74rem; font-weight: 800; letter-spacing: .06em; padding: 6px 18px; border-radius: 999px; box-shadow: 0 6px 16px rgba(201,162,39,.4); }
.pack-popular { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.pack-card h2 { font-size: 1.38rem; margin-top: 6px; }
.pack-treats { color: var(--gold-dark); font-size: .85rem; font-weight: 700; margin: 6px 0 16px; }
.pack-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.pack-price strong { font-family: var(--serif); font-size: 2.1rem; color: var(--teal-dark); }
.pack-price span { color: var(--muted); font-size: .82rem; text-decoration: line-through; }
.pack-duration { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.pack-duration svg { width: 17px; height: 17px; color: var(--teal); }
.pack-card .btn { margin-top: 22px; }

/* ---------- wellness ---------- */
.wellness-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wellness-card { padding: 30px 28px; display: flex; flex-direction: column; }
.wellness-card h3 { margin-bottom: 10px; font-size: 1.16rem; }
.wellness-card .pack-duration { margin-bottom: 12px; }
.wellness-card .pack-duration strong { color: var(--teal-dark); }
.wellness-card p { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: 18px; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 30px; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.service-card p { color: var(--muted); font-size: .93rem; }
.services-cta { margin-top: 48px; }
.services-cta h2 { margin-bottom: 8px; }
.center-lede { margin: 0 auto 24px; }
.center-flex { justify-content: center; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.about-story > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.about-story > p:first-child { font-size: 1.22rem; color: var(--ink); font-family: var(--serif); }
.about-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); position: sticky; top: 94px; }
.about-card h2 { font-size: 1.32rem; margin: 18px 0 16px; }
.about-card .note { margin-top: 20px; }

/* ---------- appointment / booking ---------- */
.appointment-grid, .booking-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.appointment-info, .booking-steps { display: flex; flex-direction: column; gap: 20px; }
.timeline { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.timeline li { display: flex; gap: 14px; }
.timeline-n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #e0b23c, var(--gold)); color: #241d02; display: grid; place-items: center; font-weight: 800; font-family: var(--serif); }
.timeline strong { display: block; }
.timeline p { color: var(--muted); font-size: .9rem; }
.portal-note { background: var(--teal-soft); border: 1px solid #cbe4df; border-radius: 12px; padding: 11px 15px; font-size: .9rem; display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.portal-note svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* ---------- booking confirmation ---------- */
.confirm-hero { background: radial-gradient(800px 380px at 50% -20%, rgba(212,166,38,.25), transparent 55%), linear-gradient(155deg, #072c29, #0d4a44); color: #eef7f4; padding: 70px 0; text-align: center; }
.confirm-hero h1 { color: #fff; }
.confirm-hero .lede { color: #cfe3de; margin: 12px auto 0; }
.confirm-check { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, #2fd071, #1f9e49); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(47,208,113,.4); }
.confirm-check svg { width: 42px; height: 42px; color: #fff; }
.confirm-card { padding: 40px; }
.confirm-ref { background: linear-gradient(135deg, var(--teal-soft), #d6ece8); border: 1px dashed rgba(15,118,110,.4); border-radius: 16px; padding: 24px; text-align: center; margin-bottom: 28px; }
.confirm-ref span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--teal); display: block; margin-bottom: 6px; }
.confirm-ref strong { font-family: var(--serif); font-size: 2.2rem; color: var(--teal-dark); letter-spacing: .04em; display: block; }
.confirm-ref small { color: var(--muted); font-size: .82rem; }
.confirm-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 30px; }
.confirm-detail > div { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.confirm-detail span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.confirm-detail strong { font-size: 1rem; }
.confirm-card h2 { margin: 6px 0 4px; }
.confirm-cta { text-align: center; margin-top: 26px; }
.confirm-cta .lede { margin: 0 auto 16px; }

/* ---------- doctors ---------- */
.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doctor-card { padding: 30px; display: flex; flex-direction: column; }
.doctor-head { display: flex; gap: 15px; align-items: center; margin-bottom: 16px; }
.doctor-avatar { flex-shrink: 0; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; box-shadow: 0 8px 18px rgba(15,118,110,.3); }
.doctor-card h2 { font-size: 1.2rem; }
.doctor-spec { color: var(--teal-dark); font-size: .84rem; font-weight: 700; }
.doctor-bio { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.doctor-creds h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.doctor-creds .check-list li { font-size: .9rem; }
.doctor-cases { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.doctor-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.doctor-foot span { display: inline-flex; align-items: center; gap: 6px; }
.doctor-foot svg { width: 15px; height: 15px; color: var(--teal); }
.doctor-verified { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); border-radius: 10px; padding: 10px 12px; }
.doctor-verified svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 22px; cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--teal-mist); }
.faq-plus { font-size: 1.3rem; color: var(--gold-dark); transition: transform .2s; flex-shrink: 0; }
.faq[open] .faq-plus { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); }
.faq-cta { margin-top: 48px; }
.faq-cta h2 { margin-bottom: 20px; }
.faq-cta .hero-cta { justify-content: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-card, .guarantee-card { padding: 30px; }
.contact-card h2 { font-size: 1.32rem; margin-bottom: 18px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { font-size: .9rem; }
.contact-list a { font-size: 1.05rem; font-weight: 700; }
.contact-list span { color: var(--muted); font-size: .85rem; }
.guarantee-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 16px; }
.guarantee-card h2 svg { width: 24px; height: 24px; color: var(--teal); }
.contact-form-wrap .quote-form { box-shadow: var(--shadow); }

/* ---------- admin ---------- */
.admin-hero { background: radial-gradient(900px 420px at 88% -10%, rgba(212,166,38,.2), transparent 55%), linear-gradient(155deg, #08312f, #0d4a44); color: #eef7f4; padding: 46px 0; }
.admin-hero h1 { color: #fff; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.act-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #241d02; font-size: .72rem; }
.stat-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 26px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; color: var(--ink); }
.stat-card span { text-transform: capitalize; font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat-card strong { font-family: var(--serif); font-size: 1.7rem; color: var(--teal-dark); }
.stat-card:hover { border-color: var(--teal); }
.stat-cur { border-color: var(--gold); background: #fdf8e9; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.admin-traffic { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.admin-traffic h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 12px; }
.admin-traffic h2 svg { width: 20px; height: 20px; color: var(--teal); }
.traffic-total strong { font-size: 1.8rem; font-family: var(--serif); color: var(--teal-dark); }
.traffic-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.traffic-list li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.traffic-list span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.traffic-list strong { color: var(--ink); }
.admin-filter { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-filter input { flex: 1; min-width: 240px; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 15px; font-size: .95rem; font-family: var(--sans); }
.admin-filter input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,118,110,.13); }
.admin-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; border-collapse: collapse; min-width: 920px; }
.admin-table th { text-align: left; padding: 15px 16px; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--cream); }
.admin-table td { padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover td { background: var(--teal-mist); }
.muted { color: var(--muted); }
.cell-sub { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.status-form select { border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: .85rem; background: #fffefb; text-transform: capitalize; }
.status-form select:focus { outline: none; border-color: var(--teal); }
.danger-link { background: none; border: 0; color: #b3261e; cursor: pointer; font-size: .85rem; text-decoration: underline; }
.msg-details { font-size: .85rem; }
.msg-details summary { cursor: pointer; color: var(--teal); font-weight: 600; margin-top: 6px; }
.msg-details p { background: var(--cream-2); border-radius: 8px; padding: 10px 12px; margin-top: 6px; color: var(--ink); white-space: pre-wrap; }
.empty-state { text-align: center; padding: 64px 20px; background: var(--white); border: 1px dashed var(--line); border-radius: 16px; }
.empty-state svg { width: 46px; height: 46px; color: var(--gold); margin-bottom: 14px; }
.empty-state h2 { font-size: 1.3rem; margin-bottom: 6px; }
.empty-state p { color: var(--muted); max-width: 460px; margin: 0 auto 16px; }
.admin-tip { margin-top: 30px; background: linear-gradient(135deg, var(--teal-soft), #d6ece8); border: 1px solid #cbe4df; border-radius: 16px; padding: 24px 28px; }
.admin-tip h3 { display: flex; align-items: center; gap: 10px; color: var(--teal-dark); margin-bottom: 12px; }
.admin-tip h3 svg { width: 22px; height: 22px; }
.admin-tip ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-size: .95rem; }
.pending-box { background: #fffdf4; border: 1px solid #ead8a0; border-radius: 16px; padding: 24px 28px; margin-bottom: 26px; }
.pending-box h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 16px; }
.pending-box h2 svg { width: 22px; height: 22px; color: var(--gold-dark); }
.pending-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 17px 19px; margin-bottom: 12px; }
.pending-item blockquote { font-family: var(--serif); font-style: italic; margin-bottom: 8px; }
.pending-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.pending-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.portal-tag { color: var(--teal-dark); font-weight: 600; }
.badge-status { color: #fff; }
.status-new { background: var(--teal); }
.status-contacted { background: #2f7db3; }
.status-quoted { background: #8a5fb0; }
.status-booked { background: #1faf54; }
.status-closed { background: #7c8a88; }
.status-requested { background: var(--teal); }
.status-confirmed { background: #1faf54; }
.status-completed { background: #5a8f7a; }
.status-cancelled { background: #b3562f; }

/* ---------- portal ---------- */
.portal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.portal-email { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.portal-email svg { width: 20px; height: 20px; color: var(--teal); }
.portal-section { margin: 34px 0 18px; font-size: 1.4rem; }
.portal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.portal-card { padding: 26px; }
.portal-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.portal-card h3 { margin-bottom: 6px; }
.portal-message { background: var(--cream-2); border-radius: 8px; padding: 10px 12px; margin-top: 12px; font-size: .9rem; color: var(--ink); }
.portal-statusline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pl-step { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: #efead9; color: #8a7f5f; }
.pl-done { background: var(--teal-soft); color: var(--teal-dark); }
.pl-cur { background: var(--gold); color: #241d02; }
.portal-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; max-width: 880px; margin: 0 auto; }
.portal-auth { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.portal-auth h2 { font-size: 1.35rem; }
.portal-auth .field { margin-bottom: 4px; }

/* ---------- login ---------- */
.login-wrap { display: grid; place-items: center; padding: 84px 22px; }
.login-card { padding: 42px 36px; max-width: 430px; width: 100%; text-align: center; }
.login-card h1 { font-size: 1.6rem; margin: 14px 0 6px; }
.login-card .field { text-align: left; margin-bottom: 16px; }
.center-icon { margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { background: #072424; color: #b9cfca; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 14px; }
.site-footer a { display: block; color: #b9cfca; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: #e3c767; }
.footer-blurb { font-size: .92rem; margin: 14px 0 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; }
.footer-bottom p { font-size: .82rem; color: #8aa5a0; }
.footer-note { font-size: .8rem; color: #8aa5a0; }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; }
.social-row svg { width: 19px; height: 19px; }
.social-row a:hover { background: rgba(227, 199, 103, .22); color: #e3c767; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #25c05a, #1f9e49); color: #fff; border-radius: 999px; padding: 14px 21px; box-shadow: 0 12px 32px rgba(31, 175, 84, .45), inset 0 1px 0 rgba(255,255,255,.25); font-weight: 700; }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab:hover { color: #fff; transform: translateY(-2px); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .container { max-width: 100%; }
  .main-nav { display: none; position: fixed; top: 74px; left: 0; right: 0; background: rgba(251,249,242,.98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 14px; gap: 2px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 74px); overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 13px 14px; }
  .nav-cta { margin: 8px 0 4px; }
  .nav-toggle { display: flex; }
}
@media (max-width: 960px) {
  .grid-3, .hosp-grid, .pack-grid, .testimonial-grid, .stat-cards,
  .services-grid, .wellness-grid, .portal-cards, .doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .hosp-strip { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta-inner, .detail-grid, .contact-grid, .hero-inner,
  .about-grid, .appointment-grid, .booking-grid, .portal-auth-grid,
  .admin-cols { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 60px; }
  .hero-visual { height: 380px; max-width: 480px; margin: 0 auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trio-grid { grid-template-columns: 1fr; }
  .trio-item { border-left: 0; border-top: 1px solid var(--line); }
  .trio-item:first-child { border-top: 0; }
  .about-card { position: static; }
  .rating-summary { grid-template-columns: 1fr; gap: 24px; }
  .rating-cta { text-align: center; }
  .confirm-detail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .hosp-grid, .pack-grid, .testimonial-grid, .hosp-strip, .steps,
  .stat-cards, .footer-grid, .form-grid, .services-grid, .wellness-grid,
  .portal-cards, .portal-auth-grid, .doctor-grid, .confirm-detail { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .treat-row { flex-direction: column; align-items: flex-start; }
  .treat-price { flex-direction: row; align-items: center; gap: 14px; }
  .brand-text small { display: none; }
  .hero-inner { padding: 48px 18px 64px; }
  .hero-visual { height: 300px; }
  .vc-main { width: 88%; }
  .hero-cta .btn { width: 100%; }
  .trust-list { flex-direction: column; gap: 8px; }
  .detail-head { flex-direction: column; }
  .detail-facts { flex-direction: column; }
  .fact { width: 100%; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .quote-form { padding: 24px 18px; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 15px; }
  .pack-card { padding: 26px 20px; }
  .cta-inner { padding: 60px 18px; }
  .admin-actions { width: 100%; }
  .admin-actions .btn { flex: 1; }
}

/* ---------- cost comparison table ---------- */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.cost-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.cost-table th { text-align: left; padding: 16px 20px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--cream); border-bottom: 1px solid var(--line); }
.cost-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table tbody tr:hover td { background: var(--teal-mist); }
.sl-col { background: #fffbf0; }
.cost-table th.sl-col { background: var(--gold-soft); color: var(--gold-dark); }
.cost-table td.sl-col strong { color: var(--teal-dark); font-size: 1.05rem; }

/* ---------- admin default-password warning ---------- */
.pw-warning { display: flex; align-items: center; gap: 10px; background: #fff4e5; border: 1px solid #f0d9a8; color: #6b4d0a; border-radius: 12px; padding: 12px 18px; font-size: .9rem; margin-bottom: 22px; }
.pw-warning svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }
.pw-warning code { background: rgba(107,77,10,.1); border-radius: 5px; padding: 2px 7px; font-size: .84rem; }

/* ---------- language switcher ---------- */
.header-right { display: flex; align-items: center; gap: 8px; }
.lang-select { appearance: none; border: 1.5px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230c2b2b' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; border-radius: 10px; padding: 8px 28px 8px 12px; font-size: .85rem; font-weight: 600; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.lang-select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,118,110,.13); }

/* ---------- RTL ---------- */
[dir="rtl"] body { font-family: "Segoe UI", "Noto Naskh Arabic", Tahoma, system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: "Segoe UI", "Noto Naskh Arabic", Georgia, serif; }
[dir="rtl"] .lang-select { direction: ltr; text-align: right; }
[dir="rtl"] .t-link svg, [dir="rtl"] .treat-price svg, [dir="rtl"] .crumb svg { transform: scaleX(-1); }
[dir="rtl"] .cost-table { direction: ltr; }
[dir="rtl"] .cost-table .sl-col { text-align: right; }
[dir="rtl"] .t-head-right { align-items: flex-start; }
[dir="rtl"] .timeline li { text-align: right; }
