/*
Theme Name: Zaki Clinic
Theme URI: https://zakiclinic.com
Author: Zaki Clinic & Physiotherapy
Description: Custom lightweight WordPress theme for Zaki Clinic & Physiotherapy, Karachi. WhatsApp-first booking, local SEO schema, photo slots in the Customizer, no page builder needed.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: zaki-clinic
*/

/* ============ Design tokens ============ */
:root {
  --navy: #0F1F3D;        /* headings, dark surfaces (deep navy) */
  --ink: #1C2433;         /* body text */
  --blue: #2C4F8F;        /* primary navy blue */
  --blue-dark: #1B3566;   /* buttons, links */
  --paper: #FBF8F3;       /* page background (warm ivory) */
  --sky: #F3EDE3;         /* alternate sections */
  --sky-2: #E4EAF5;       /* pale navy tint */
  --line: #E5DDD1;
  --muted: #586273;
  --white: #fff;
  --gold: #B98A48;        /* fine details only, never body text */
  --gold-soft: #E3C391;
  --wa: #13294F;          /* WhatsApp buttons, navy as requested */
  --max: 1200px;
  --r: 20px;
  --shadow: 0 1px 2px rgba(15,31,61,.05), 0 12px 32px -14px rgba(15,31,61,.18);
  --shadow-lg: 0 2px 6px rgba(15,31,61,.05), 0 30px 60px -24px rgba(15,31,61,.32);
  --ease: cubic-bezier(.2,.7,.2,1);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky-2); color: var(--navy); }
p { margin: 0 0 1em; }

h1, h2 { font-family: var(--display); color: var(--navy); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .5em; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--blue); }
h3, h4 { font-family: var(--body); color: var(--navy); font-weight: 700; line-height: 1.3; margin: 0 0 .4em; }
h3 { font-size: 1.12rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 .75rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight { padding: clamp(32px, 5vw, 56px) 0; }
.section.alt { background: var(--sky); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .3em; }
.section-head .lead { margin: 0; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 26px; border-radius: 999px; font: 600 .97rem/1.15 var(--body); letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .ic { width: 19px; height: 19px; flex: none; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 1.01rem; }
.btn-primary { background: var(--blue-dark); color: #fff; box-shadow: 0 12px 24px -14px rgba(27,53,102,.8); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 24px -14px rgba(19,41,79,.8); }
.btn-wa:hover { background: #0F1F3D; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(15,31,61,.25); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; text-decoration-color: var(--gold); }
.ic { width: 24px; height: 24px; }

/* ============ Header ============ */
.topbar { display: none; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(15,31,61,.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { flex: none; }
.brand a { display: flex; align-items: center; color: var(--navy); text-decoration: none !important; }
.brand img, .custom-logo { max-height: 52px !important; width: auto !important; height: auto; mix-blend-mode: multiply; background: transparent; }
.brand-text { font: 600 1.35rem/1 var(--display); letter-spacing: .04em; color: var(--navy); }
.brand-text small { display: block; font: 600 .64rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; align-items: center; }
.main-nav li a { position: relative; color: var(--ink); font-weight: 600; font-size: .95rem; white-space: nowrap; padding: 8px 0; text-decoration: none !important; }
.main-nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav li a:hover, .main-nav .current-menu-item > a { color: var(--blue-dark); }
.main-nav li a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .93rem; color: var(--navy); white-space: nowrap; }
.header-phone .ic { width: 18px; height: 18px; color: var(--blue); }
.header-phone:hover { color: var(--blue-dark); text-decoration: none; }
.header-cta { min-height: 44px; padding: 10px 22px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(55% 70% at 88% 30%, rgba(44,79,143,.11), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(185,138,72,.09), transparent 70%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1 { margin-bottom: .4em; }
.hero-copy .lead { margin: 0 0 34px; font-size: 1.15rem; }
.hero-meta { list-style: none; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .92rem; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta strong { color: var(--navy); }
.hero-meta .ic { width: 18px; height: 18px; color: var(--blue); flex: none; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .92rem; line-height: 1; }
.hero-art-wrap { position: relative; width: 100%; max-width: 460px; margin-left: auto; animation: rise 1s .15s var(--ease) both; }
.hero-art-wrap::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border: 1px solid rgba(185,138,72,.55); border-radius: 240px 240px 28px 28px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 28px 28px; overflow: hidden; background: linear-gradient(180deg, var(--sky-2), #F6F3EE); box-shadow: var(--shadow-lg); }
.hero-art .spine { position: absolute; inset: 7% 0 3% 0; width: 100%; height: 90%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.is-portrait { object-position: 50% 15%; }
.hero-chip {
  position: absolute; z-index: 2; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(229,221,209,.9); border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-size: .84rem; line-height: 1.35; color: var(--muted); font-weight: 500;
}
.hero-chip strong { display: block; font: 700 .96rem/1.25 var(--body); color: var(--navy); }
.hero-chip .big { font: 500 2.1rem/1 var(--display); color: var(--blue-dark); letter-spacing: -.02em; }
.chip-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--sky-2); color: var(--blue-dark); display: grid; place-items: center; flex: none; }
.chip-ic .ic { width: 20px; height: 20px; }
.hero-chip.c1 { left: -40px; bottom: 11%; }
.hero-chip.c2 { right: -24px; top: 15%; }
.vert { opacity: 0; animation: vert-in .7s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes vert-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.trust { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.trust strong { display: block; color: var(--navy); font-size: 1.02rem; }

/* ============ Services ============ */
.svc-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--sky-2); color: var(--blue-dark); display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 24px 24px; color: var(--ink); text-decoration: none !important;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(44,79,143,.35); color: var(--ink); }
.svc-card .svc-ic { margin-bottom: 22px; }
.svc-card:hover .svc-ic { background: var(--blue-dark); color: #fff; }
.svc-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: .93rem; line-height: 1.6; margin: 0 0 22px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--blue-dark); }
.svc-more .ic { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-more .ic { transform: translateX(4px); }

.svc-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.svc-intro { position: sticky; top: 110px; }
.svc-list { display: grid; gap: 12px; }
.svc {
  display: grid; grid-template-columns: 52px 1fr 24px; gap: 20px; align-items: center; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none !important;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(44,79,143,.35); color: var(--ink); }
.svc:hover .svc-ic { background: var(--blue-dark); color: #fff; }
.svc-tx strong { display: block; font-size: 1.06rem; color: var(--navy); margin-bottom: 2px; }
.svc-tx span { color: var(--muted); font-size: .94rem; display: block; line-height: 1.55; }
.svc-go { color: var(--blue); transition: transform .25s var(--ease); }
.svc:hover .svc-go { transform: translateX(4px); }
.checks { list-style: none; padding: 0; margin: 0 0 30px; }
.checks li { padding: 8px 0 8px 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-2); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 17px; width: 8px; height: 5px; border-left: 2px solid var(--blue-dark); border-bottom: 2px solid var(--blue-dark); transform: rotate(-45deg); }

/* ============ Approach + stats ============ */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stats > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; }
.stats > div:nth-child(1) { background: var(--navy); border-color: var(--navy); }
.stats > div:nth-child(4) { background: var(--sky-2); border-color: var(--sky-2); }
.stats strong { display: block; font: 500 clamp(2.2rem, 4vw, 3rem)/1 var(--display); color: var(--blue-dark); margin-bottom: 12px; letter-spacing: -.02em; }
.stats span { display: block; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.stats > div:nth-child(1) strong { color: #fff; }
.stats > div:nth-child(1) span { color: #C2CDE0; }

/* ============ Doctor intro ============ */
.doc { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.doc.doc-nophoto { grid-template-columns: 1.15fr .85fr; }
.doc-media { position: relative; max-width: 390px; width: 100%; margin-inline: auto; padding-bottom: 28px; }
.arch { aspect-ratio: 4 / 5; border-radius: 200px 200px 26px 26px; overflow: hidden; background: linear-gradient(160deg, var(--blue), var(--navy)); box-shadow: var(--shadow-lg); }
.doc-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.doc-initials { display: grid; place-items: center; font: 500 5rem/1 var(--display); color: #fff; }
.doc-badge { position: absolute; left: 16px; right: 16px; bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .86rem; color: var(--muted); }
.doc-badge strong { color: var(--navy); }
.doc-aside { display: flex; flex-direction: column; gap: 16px; }
.doc-philosophy {
  position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: var(--r);
  padding: clamp(30px, 4vw, 44px); font: 400 italic clamp(1.35rem, 2.2vw, 1.7rem)/1.4 var(--display); box-shadow: var(--shadow-lg);
}
.doc-philosophy::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(227,195,145,.35); }
.doc-philosophy small { display: block; font: 700 .72rem/1 var(--body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; }
.team-strip { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; }
.avatars { display: flex; flex: none; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 3px solid #fff; margin-left: -12px; box-shadow: 0 2px 8px rgba(15,31,61,.14); }
.avatars img:first-child { margin-left: 0; }
.team-strip p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.team-strip strong { color: var(--navy); }
.team-strip a { font-weight: 700; white-space: nowrap; }
.creds { margin: 24px 0 30px; border-top: 1px solid var(--line); }
.creds div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.creds dt { font-weight: 700; color: var(--navy); }
.creds dd { margin: 0; color: var(--muted); }

/* ============ Steps ============ */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before { display: none; }
.timeline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.timeline li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tl-n { position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--sky-2); color: var(--blue-dark); display: grid; place-items: center; font: 500 italic 1.4rem/1 var(--display); margin-bottom: 20px; }
.section.alt .tl-n { box-shadow: none; }
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.6; }

/* ============ Cards (articles, contact) ============ */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; height: 100%; transition: box-shadow .25s, transform .25s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { color: var(--muted); font-size: .96rem; }
.post-card h3 { font: 500 1.3rem/1.3 var(--display); letter-spacing: -.01em; }
.post-card h3 a { color: var(--navy); }
.post-thumb { border-radius: 14px; margin-bottom: 18px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.meta { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pill { display: inline-block; font-size: .76rem; font-weight: 700; background: var(--sky-2); color: var(--blue-dark); padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }

/* ============ Research list ============ */
.res-list { border-bottom: 1px solid var(--line); }
.res { display: grid; grid-template-columns: 1fr 14rem; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.res h3 { font: 500 1.35rem/1.3 var(--display); margin-bottom: 6px; }
.res h3 a { color: var(--navy); }
.res p { color: var(--muted); margin: 0; font-size: .96rem; max-width: 62ch; }
.res-meta { text-align: right; padding-top: 4px; }

/* ============ Gallery ============ */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sky-2); }
.g-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover .g-img { transform: scale(1.04); }
.gallery figure:first-child { grid-row: span 2; }
.gallery.g1, .gallery.g2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 340px; }
.gallery.g1 figure:first-child, .gallery.g2 figure:first-child { grid-row: auto; }

/* ============ Reviews band ============ */
.reviews-band {
  position: relative; overflow: hidden; color: #fff; border-radius: 28px;
  background: radial-gradient(60% 120% at 100% 0%, rgba(185,138,72,.22), transparent 60%), linear-gradient(135deg, var(--navy) 0%, #1E3A6E 100%);
  padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 52px); align-items: center;
}
.reviews-band.no-score { grid-template-columns: 1fr auto; }
.reviews-band::after { content: ""; position: absolute; left: -70px; bottom: -110px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(227,195,145,.25); pointer-events: none; }
.rb-score { text-align: center; padding-right: clamp(24px, 4vw, 52px); border-right: 1px solid rgba(255,255,255,.16); }
.rb-score strong { display: block; font: 500 3.4rem/1 var(--display); color: #fff; letter-spacing: -.02em; }
.rb-score .stars { display: block; margin: 10px 0 8px; color: var(--gold-soft); }
.rb-score span:last-child { display: block; font-size: .84rem; color: #B8C4DA; line-height: 1.4; }
.reviews-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.reviews-band h2 em { color: var(--gold-soft); }
.reviews-band p { margin: 0; color: #C3CEE1; max-width: 52ch; }

/* ============ CTA band ============ */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(72px, 10vw, 120px) 0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(185,138,72,.25), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(44,79,143,.45), transparent 70%), var(--navy);
}
.cta-band::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(227,195,145,.14); pointer-events: none; }
.cta-band .container { position: relative; max-width: 760px; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.cta-band p { color: #CDD6E6; max-width: 52ch; margin: 0 auto 34px; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band p.cta-call { margin: 26px auto 0; font-size: .95rem; color: #AEBBD3; }
.cta-call a { color: #fff; font-weight: 700; }

/* ============ Page hero ============ */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(50% 90% at 92% 0%, rgba(44,79,143,.12), transparent 70%), var(--sky); padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 84px); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(185,138,72,.35); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: .3em; max-width: 22ch; }
.page-hero .lead { margin: 0; }

/* ============ FAQ ============ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-wrap .section-head .btn { margin-top: 26px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font: 400 1.35rem/1 var(--body); color: var(--blue-dark); transition: transform .25s var(--ease), background .2s; }
summary:hover::after { border-color: var(--blue); }
details[open] summary::after { transform: rotate(45deg); background: var(--sky-2); }
details[open] summary { margin-bottom: 10px; }
details p { color: var(--muted); margin: 0; padding-right: 50px; }

/* ============ Split, panel, forms, contact ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 4vw, 38px); box-shadow: var(--shadow); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { min-height: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(44,79,143,.14); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form .field { margin-bottom: 18px; }
.form .row .field { margin-bottom: 0; }
.form button.btn { width: 100%; min-height: 54px; }
.note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 8px 0; color: var(--muted); }
.info-list strong { color: var(--navy); display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }

/* ============ Branches ============ */
.branch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.branch { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .3s, transform .3s var(--ease); }
.branch:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.branch-ph { aspect-ratio: 16 / 9; background: var(--sky-2); }
.branch-img { width: 100%; height: 100%; object-fit: cover; }
.branch-body { padding: clamp(24px, 3vw, 34px); flex: 1; display: flex; flex-direction: column; }
.branch-body h3 { font: 500 1.55rem/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 16px; }
.branch-body p { color: var(--muted); }
.branch-meta { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.branch-meta li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.branch-meta .ic { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue); }
.branch-body .btn-row { margin-top: auto; gap: 10px; }
.branch-body .btn { min-height: 44px; padding: 10px 20px; font-size: .9rem; }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ============ Team ============ */
.person { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; height: 100%; }
.avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(160deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; font: 500 1.8rem/1 var(--display); overflow: hidden; box-shadow: 0 0 0 4px var(--sky-2); }
.avatar-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--blue-dark); font-weight: 600; font-size: .86rem; display: block; margin-bottom: 8px; }
.person p { color: var(--muted); font-size: .93rem; margin: 0; line-height: 1.55; }

/* ============ Footer ============ */
.site-footer { background: #0B1730; color: #A3B0C8; padding: clamp(56px, 7vw, 80px) 0 28px; font-size: .94rem; }
.site-footer h4 { color: #fff; font: 500 1.2rem/1.3 var(--display); margin-bottom: 18px; }
.site-footer a { color: #DCE3EF; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.25fr 1.1fr; gap: 44px; }
.footer-brand p { max-width: 34ch; }
.footer-hours { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 8px 16px; color: #E8EDF5; font-size: .87rem; }
.footer-hours .ic { width: 16px; height: 16px; color: var(--gold-soft); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { padding: 6px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: .85rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.footer-branches li { padding: 0 0 16px; }
.footer-branches strong { display: block; color: #fff; }
.footer-branches span { display: block; line-height: 1.5; margin: 2px 0 4px; }
.footer-branches a { font-weight: 600; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(227,195,145,.6); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .ic { width: 17px; height: 17px; color: var(--gold-soft); }
.footer-contact + .btn { margin-top: 18px; min-height: 44px; padding: 10px 22px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }

/* ============ Floating WhatsApp (desktop) and action bar (mobile) ============ */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; background: var(--wa); color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(19,41,79,.7); text-decoration: none !important; transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .ic { width: 26px; height: 26px; }
.mbar { display: none; }

/* ============ Entries ============ */
.entry { max-width: 740px; }
.entry img { border-radius: 14px; }
.entry h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .4em; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cats a { padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--navy); background: #fff; }
.cats a:hover { border-color: var(--blue); text-decoration: none; }
.citation { background: var(--sky); border-radius: var(--r); padding: 26px; margin: 32px 0; }
.citation p { margin: 6px 0 16px; color: var(--muted); }

/* ============ Internship ============ */
.intern-tease { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.track-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.track-chips a { display: block; padding: 14px 26px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font: 700 1.02rem/1 var(--body); color: var(--navy); }
.track-chips a:hover { border-color: var(--blue); background: var(--sky-2); text-decoration: none; }
.track-list { border-bottom: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 1fr 1fr 17rem; gap: 32px; align-items: start; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.track h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.track p { color: var(--muted); margin: 0; }
.track .checks { margin: 0; }
.steps-col { grid-template-columns: 1fr; gap: 16px; }
.steps-col li { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; padding: 22px; }
.steps-col .tl-n { grid-row: span 2; margin: 0; }
.steps-col h3 { margin: 0; }

/* ============ Application forms ============ */
.checkgrid { border: 0; padding: 0; margin: 0 0 18px; }
.checkgrid legend { font-weight: 600; font-size: .92rem; color: var(--navy); padding: 0; margin-bottom: 8px; }
.checkgrid .check { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; background: #fff; }
.checkgrid .check input { width: auto; min-height: 0; accent-color: var(--blue-dark); }
.checkgrid .check:has(input:checked) { border-color: var(--blue-dark); background: var(--sky-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 20px; font-size: .96rem; }
.notice.ok { background: #E4EAF5; color: #13294F; border: 1px solid #B8C4DA; }
.notice.err { background: #FDECEA; color: #7A1F17; border: 1px solid #F2B8B2; }
.form input[type=file] { padding: 10px; background: var(--sky); }

/* ============ Enhancements: richer visuals ============ */
.site-header::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue-dark), var(--gold), var(--blue-dark)); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 60%); }
.btn-primary:hover { background: var(--navy); }

/* Hero decoration */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15,31,61,.09) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 60%, transparent 100%); mask-image: linear-gradient(100deg, transparent 0%, #000 60%, transparent 100%);
}
.hero .container, .page-hero .container { position: relative; }
.hero h1 em { background: linear-gradient(transparent 80%, rgba(185,138,72,.28) 80%); padding: 0 .06em; }
.hero-art-wrap::before { z-index: 1; }
.hero-art { z-index: 2; }
.hero-chip { z-index: 3; }
.hero-blob {
  position: absolute; z-index: 0; inset: 6% -18% -10% -14%;
  background: linear-gradient(135deg, rgba(44,79,143,.28), rgba(227,195,145,.35));
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: morph 14s ease-in-out infinite alternate;
}
@keyframes morph {
  0% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg) scale(1); }
  100% { border-radius: 60% 40% 36% 64% / 55% 62% 38% 45%; transform: rotate(10deg) scale(1.04); }
}
.hero-chip.c1 { animation: float 6s ease-in-out infinite; }
.hero-chip.c2 { animation: float 7s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }

/* Conditions ribbon */
.marquee { position: relative; overflow: hidden; background: var(--navy); color: #E8EDF5; padding: 22px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 30px; padding-right: 30px; font: 400 italic 1.4rem/1 var(--display); white-space: nowrap; }
.marquee li::after { content: "\2726"; font-style: normal; font-size: .75rem; color: var(--gold-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Service cards: numbered, fill with teal on hover */
.svc-cards { counter-reset: svc; }
.svc-card { counter-increment: svc; overflow: hidden; isolation: isolate; }
.svc-card::before { content: counter(svc, decimal-leading-zero); position: absolute; top: 24px; right: 24px; font: 400 italic 1.15rem/1 var(--display); color: var(--gold); transition: color .3s; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 100% 0%, rgba(227,195,145,.25), transparent 60%), linear-gradient(150deg, var(--blue-dark), var(--navy)); opacity: 0; transition: opacity .35s; }
.svc-card .svc-ic { border-radius: 16px; background: linear-gradient(135deg, var(--sky-2), var(--sky)); }
.svc-card h3, .svc-card p, .svc-more { transition: color .3s; }
.svc-card:hover::after { opacity: 1; }
.svc-card:hover { border-color: transparent; }
.svc-card:hover h3 { color: #fff; }
.svc-card:hover p { color: #C8D2E4; }
.svc-card:hover .svc-more, .svc-card:hover::before { color: var(--gold-soft); }
.svc-card:hover .svc-ic { background: rgba(255,255,255,.12); color: #fff; }

/* Stats: soft glow on the dark tile */
.stats > div:nth-child(1) { background: radial-gradient(80% 80% at 100% 0%, rgba(44,79,143,.6), transparent 70%), var(--navy); }

/* Dark section (first visit) */
.section.dark {
  position: relative; overflow: hidden; color: #CDD6E6;
  background: radial-gradient(60% 80% at 100% 0%, rgba(44,79,143,.45), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(185,138,72,.16), transparent 60%), var(--navy);
}
.section.dark h2 { color: #fff; }
.section.dark h2 em { color: var(--gold-soft); }
.section.dark .lead { color: #B8C4DA; }
.section.dark .eyebrow { color: var(--gold-soft); }
.section.dark .timeline li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.dark .timeline li:hover { background: rgba(255,255,255,.09); box-shadow: none; }
.section.dark .timeline h3 { color: #fff; }
.section.dark .timeline p { color: #B8C4DA; }
.section.dark .tl-n { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--navy); box-shadow: 0 0 0 6px rgba(227,195,145,.14); }

/* Branch cards: decorative header when there is no photo */
.branch-grid { counter-reset: br; }
.branch { counter-increment: br; }
.branch::before {
  content: "Branch " counter(br, decimal-leading-zero); display: flex; align-items: flex-end; height: 104px; padding: 0 clamp(24px, 3vw, 34px) 16px;
  font: 700 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft);
  background: radial-gradient(circle at 88% 15%, rgba(227,195,145,.35), transparent 35%), radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px) 0 0 / 18px 18px, linear-gradient(135deg, var(--blue-dark), var(--navy));
}
.branch:has(.branch-ph)::before { display: none; }

/* Gentle reveal on scroll (only in browsers that support it; others show everything normally) */
@keyframes reveal { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head, .svc-card, .stats > div, .timeline li, .branch, .doc-body, .doc-aside, .reviews-band, .faq-wrap details, .person, .post-card, .approach > div:first-child {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%;
    }
  }
}

@media (max-width: 760px) {
  .hero-blob { inset: 4% -10% -8% -10%; }
  .marquee { padding: 16px 0; }
  .marquee li { font-size: 1.15rem; gap: 22px; padding-right: 22px; }
  .svc-card::before { top: 16px; right: 16px; font-size: .95rem; }
  .branch::before { height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee-track ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 12px; padding: 0 20px; }
}

/* Conditions we treat */
.cond-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; }
.cond-list li { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px 9px 9px; font-weight: 600; font-size: .97rem; color: var(--navy); box-shadow: 0 1px 2px rgba(15,31,61,.04); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.cond-list li:hover { transform: translateY(-2px); border-color: rgba(44,79,143,.4); box-shadow: var(--shadow); }
.cond-list .ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--sky-2); color: var(--blue-dark); flex: none; transition: background .25s, color .25s; }
.cond-list li:hover .ic { background: var(--blue-dark); color: #fff; }
.cond-more { text-align: center; margin: 36px 0 0; color: var(--muted); }
.cond-more a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 760px) {
  .cond-list { gap: 8px; }
  .cond-list li { font-size: .88rem; padding: 6px 14px 6px 6px; gap: 8px; }
  .cond-list .ic { width: 26px; height: 26px; padding: 6px; }
}

.cond-cards .svc-card { padding: 24px 22px 20px; }
.cond-cards .svc-card .svc-ic { margin-bottom: 18px; }
.cond-cards .svc-card h3 { font-size: 1.04rem; }
.cond-cards .svc-card p { margin-bottom: 18px; }

/* Branch timings with live open / closed status */
.branch-time { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: linear-gradient(135deg, var(--sky-2), #F1F4FA); border: 1px solid rgba(44,79,143,.18); border-radius: 16px; padding: 16px 18px; margin: 0 0 20px; }
.bt-days { width: 100%; display: flex; align-items: center; gap: 8px; font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.bt-days .ic { width: 15px; height: 15px; }
.branch-time strong { font: 500 1.8rem/1.1 var(--display); color: var(--navy); letter-spacing: -.01em; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.open-badge:empty { display: none; }
.open-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B4BCCB; flex: none; }
.open-badge.is-open { color: var(--blue-dark); border-color: rgba(44,79,143,.35); }
.open-badge.is-open::before { background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(44,79,143,.45); } 70% { box-shadow: 0 0 0 8px rgba(44,79,143,0); } 100% { box-shadow: 0 0 0 0 rgba(44,79,143,0); } }
.footer-branches em { display: block; font-style: normal; color: var(--gold-soft); font-size: .88rem; font-weight: 600; margin: 2px 0 4px; }
.hero-meta a { font-weight: 700; }
.nav-hours { flex-direction: column; gap: 4px; text-align: center; }
@media (max-width: 760px) { .branch-time strong { font-size: 1.5rem; } }

/* Reviews: real Google ratings per branch + real quotes */
.reviews-band.rb-v2 { grid-template-columns: 1fr 1fr; grid-template-areas: "head branches" "quotes quotes" "cta cta"; align-items: start; gap: 30px 48px; }
.rb-v2 .rb-head { grid-area: head; }
.rb-v2 .rb-head .eyebrow { color: var(--gold-soft); }
.rb-v2 .rb-branches { grid-area: branches; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rb-branch { display: block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 20px 22px; color: #fff; text-decoration: none !important; transition: background .2s, transform .25s var(--ease); }
.rb-branch:hover { background: rgba(255,255,255,.11); transform: translateY(-2px); color: #fff; }
.rb-branch strong { display: block; font: 500 2.7rem/1 var(--display); letter-spacing: -.02em; }
.rb-branch .stars { display: block; margin: 10px 0 8px; color: var(--gold-soft); }
.rb-branch span:last-child { display: block; font-size: .85rem; color: #B8C4DA; }
.rb-v2 .rb-quotes { grid-area: quotes; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rb-quotes blockquote { margin: 0; padding: 22px 24px; border-left: 2px solid var(--gold-soft); background: rgba(255,255,255,.04); border-radius: 0 16px 16px 0; }
.reviews-band .rb-quotes p { font: 400 italic 1.22rem/1.5 var(--display); color: #fff; margin: 0 0 12px; max-width: none; }
.rb-quotes cite { font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.rb-v2 > .btn { grid-area: cta; justify-self: start; }
.branch-meta .star-ic { width: 18px; flex: none; text-align: center; color: var(--gold); line-height: 1.5; }
@media (max-width: 1000px) {
  .reviews-band.rb-v2 { grid-template-columns: 1fr; grid-template-areas: "head" "branches" "quotes" "cta"; text-align: left; justify-items: stretch; }
  .rb-v2 .rb-quotes { grid-template-columns: 1fr; }
  .rb-v2 > .btn { justify-self: start; }
}
@media (max-width: 420px) { .rb-v2 .rb-branches { grid-template-columns: 1fr; } }

/* Review slider */
.rb-v2 .rb-slider { grid-area: quotes; min-width: 0; }
.rb-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 22px; outline-offset: 4px; }
.rb-track::-webkit-scrollbar { display: none; }
.rb-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; margin: 0; padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px); background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; }
.rb-slide::before { content: "\201C"; position: absolute; top: -6px; right: 28px; font: 500 9rem/1 var(--display); color: rgba(227,195,145,.18); pointer-events: none; }
.reviews-band .rb-slide p { position: relative; font: 400 italic clamp(1.35rem, 2.6vw, 2rem)/1.45 var(--display); color: #fff; margin: 0 0 18px; max-width: 44ch; }
.rb-slide cite { font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.rb-controls { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.rb-controls[hidden] { display: none; }
.rb-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.rb-arrow:hover { background: rgba(255,255,255,.1); border-color: var(--gold-soft); }
.rb-arrow .ic { width: 18px; height: 18px; }
.rb-prev .ic { transform: rotate(180deg); }
.rb-dots { display: flex; align-items: center; }
.rb-dots button { width: 8px; height: 8px; padding: 0; box-sizing: content-box; border: 8px solid transparent; background: rgba(255,255,255,.3); background-clip: content-box; border-radius: 999px; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.rb-dots button[aria-current="true"] { width: 26px; background-color: var(--gold-soft); }
@media (max-width: 760px) { .rb-slide::before { font-size: 5.5rem; top: -4px; right: 16px; color: rgba(227,195,145,.12); } }

/* ============ Responsive ============ */
@media (max-width: 1140px) {
  .header-phone span { display: none; }
  .main-nav ul { gap: 22px; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .hero-grid, .doc, .doc.doc-nophoto, .svc-wrap, .split, .faq-wrap, .approach { grid-template-columns: 1fr; }
  .hero-art-wrap { margin: 16px auto 0; max-width: 380px; }
  .hero-chip.c1 { left: -14px; }
  .hero-chip.c2 { right: -14px; }
  .svc-intro, .faq-wrap .section-head { position: static; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust, .timeline { grid-template-columns: repeat(2, 1fr); }
  .branch-grid { grid-template-columns: 1fr; }
  .intern-tease { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; gap: 16px; }
  .doc-media { max-width: 320px; }
  .reviews-band, .reviews-band.no-score { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .reviews-band p { margin-inline: auto; }
  .rb-score { border-right: 0; padding-right: 0; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(15,31,61,.35); padding: 6px 20px 24px; display: none;
    max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .main-nav.open { display: block; animation: drop .22s var(--ease); }
  @keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1.04rem; }
  .main-nav a::after { display: none; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
  .nav-hours { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
  .nav-hours .ic { width: 16px; height: 16px; color: var(--blue); }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; font-size: 16px; }
  .container { width: min(100% - 32px, var(--max)); }
  .site-header .container { min-height: 66px; }
  .main-nav { max-height: calc(100vh - 66px); }
  .header-cta { display: none; }
  .grid-4, .grid-3, .grid-2, .form .row { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .hero-meta { gap: 10px 20px; margin-top: 28px; }
  .hero-art-wrap { max-width: 320px; }
  .hero-art-wrap::before { inset: -10px -10px 10px 10px; }
  .hero-chip { font-size: .76rem; padding: 9px 13px; gap: 9px; }
  .hero-chip strong { font-size: .86rem; }
  .hero-chip .big { font-size: 1.7rem; }
  .chip-ic { width: 30px; height: 30px; }
  .hero-chip.c1 { left: -8px; bottom: 7%; }
  .hero-chip.c2 { right: -8px; top: 10%; }
  .svc-cards { gap: 12px; }
  .svc-card { padding: 20px 16px 18px; }
  .svc-card .svc-ic { width: 44px; height: 44px; margin-bottom: 14px; }
  .svc-card .svc-ic .ic { width: 22px; height: 22px; }
  .svc-card h3 { font-size: .97rem; }
  .svc-card p { display: none; }
  .svc-more { font-size: .82rem; }
  .svc { grid-template-columns: 44px 1fr 20px; gap: 14px; padding: 16px; }
  .svc .svc-ic { width: 44px; height: 44px; }
  .stats { gap: 12px; }
  .stats > div { padding: 22px 18px; }
  .timeline { grid-template-columns: 1fr; gap: 12px; }
  .timeline li { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; padding: 22px 20px; }
  .timeline .tl-n { grid-row: span 2; margin: 0; }
  .team-strip { flex-direction: column; align-items: flex-start; }
  .reviews-band { border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar .container { justify-content: center; text-align: center; }
  .creds div { grid-template-columns: 1fr; gap: 2px; }
  .res { grid-template-columns: 1fr; gap: 8px; }
  .res-meta { text-align: left; order: -1; }
  .gallery, .gallery.g1, .gallery.g2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery figure:first-child { grid-row: auto; grid-column: span 2; }
  details p { padding-right: 0; }
  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,31,61,.08);
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; padding: 6px 4px; border-radius: 14px; font-size: .76rem; font-weight: 700; color: var(--navy); text-decoration: none !important; }
  .mbar a .ic { width: 21px; height: 21px; }
  .mbar a.wa { color: var(--wa); }
  .mbar a.book { background: var(--blue-dark); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .vert { opacity: 1; }
}
