/* =========================================================
   Targets Physiotherapy – stylesheet
   ========================================================= */
:root {
  --primary: #0a6c74;
  --primary-600: #085a61;
  --primary-50: #e7f4f4;
  --accent: #ff7a59;
  --accent-600: #f2603c;
  --ink: #0d2633;
  --ink-2: #3c5260;
  --muted: #6b7f8b;
  --line: #e3ecef;
  --bg: #ffffff;
  --bg-soft: #f4f9f9;
  --gold: #fbbc04;
  --brand-navy: #0b1a4a;
  --brand-orange: #f2711c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(13, 38, 51, .06);
  --shadow: 0 12px 36px rgba(13, 38, 51, .10);
  --shadow-lg: 0 28px 70px rgba(10, 108, 116, .22);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 100px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.8em; font-size: 1rem; }
.btn--sm { padding: .55em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--primary), #0f8d8f); color: #fff; box-shadow: 0 10px 24px rgba(10, 108, 116, .28); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(10, 108, 116, .36); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { color: var(--primary-600); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }

.link-btn {
  display: inline-flex; align-items: center; gap: .4em; background: none; border: 0; padding: 0;
  color: var(--primary); font-weight: 600; font-family: var(--font-head); font-size: .92rem;
}
.link-btn svg { transition: transform .2s; }
.link-btn:hover svg { transform: translateX(4px); }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head--left { text-align: left; margin-left: 0; }
.section-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  background: var(--primary-50); padding: .45em 1em; border-radius: 999px; margin-bottom: 14px;
}
.section-tag--light { background: rgba(255,255,255,.14); color: #fff; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9d8de; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; }
.topbar__left, .topbar__right { display: flex; gap: 22px; align-items: center; }
.topbar a { color: #c9d8de; }
.topbar a:hover { color: #fff; }
.topbar .ic { color: var(--accent); margin-right: 4px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 14px; color: var(--ink); }

/* logo mark: spin-in on load, radar "target" ping, sprint-tilt on hover */
.logo__mark { position: relative; display: grid; place-items: center; width: 74px; height: 74px; flex-shrink: 0; transition: width .35s ease, height .35s ease; }
.logo__mark::before, .logo__mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 2px solid var(--brand-orange); opacity: 0; pointer-events: none;
  animation: logoPing 3.6s cubic-bezier(.2,.6,.3,1) 1.4s infinite;
}
.logo__mark::after { border-color: var(--primary); animation-delay: 2.2s; }
.logo__img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain;
  animation: logoSpinIn 1.1s cubic-bezier(.2,.9,.25,1.15) both;
  transition: transform .45s cubic-bezier(.3,1.6,.5,1);
  filter: drop-shadow(0 4px 10px rgba(11, 26, 74, .18));
}
.logo:hover .logo__img { transform: rotate(-10deg) translateX(3px) scale(1.08); }

/* logo text: slide-in, shimmering gradient on the name, letter-spacing reveal */
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800; letter-spacing: -.025em;
  background: linear-gradient(100deg, var(--brand-navy) 0%, var(--brand-navy) 38%, #18b3ad 47%, var(--brand-orange) 53%, var(--brand-navy) 62%, var(--brand-navy) 100%);
  background-size: 300% 100%; background-position: 100% 0;
  padding: .04em .02em .16em 0; margin-bottom: -.12em;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: logoSlideIn .8s ease .25s both, logoShimmer 7s ease-in-out 1.6s infinite;
}
.logo__text small {
  font-size: .86rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brand-orange);
  font-weight: 700; margin-top: 4px; padding-left: 2px;
  animation: logoSpread 1.1s cubic-bezier(.2,.8,.2,1) .55s both;
}
.logo:hover .logo__text strong { animation-duration: .8s, 2.2s; }

/* shrink a little once the page is scrolled */
.header.scrolled .logo__mark { width: 60px; height: 60px; }
.header.scrolled .logo__text strong { font-size: 1.75rem; }
.logo__text strong, .logo__text small { transition: font-size .35s ease; }

/* footer variant */
.logo--light { color: #fff; }
.logo--light .logo__mark { background: #fff; border-radius: 18px; padding: 6px; width: 72px; height: 72px; }
.logo--light .logo__mark::before, .logo--light .logo__mark::after { border-radius: 22px; inset: -4px; }
.logo--light .logo__img { animation: none; filter: none; }
.logo--light .logo__text strong {
  background-image: linear-gradient(100deg, #fff 0%, #fff 38%, #7fd3cf 47%, var(--brand-orange) 53%, #fff 62%, #fff 100%);
  animation: logoShimmer 7s ease-in-out 1s infinite;
}
.logo--light .logo__text small { color: var(--brand-orange); animation: none; }

@keyframes logoSpinIn {
  0%   { opacity: 0; transform: rotate(-220deg) scale(.3); }
  70%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes logoPing {
  0%   { opacity: .75; transform: scale(.85); }
  70%  { opacity: 0; transform: scale(1.45); }
  100% { opacity: 0; transform: scale(1.45); }
}
@keyframes logoSlideIn {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes logoSpread {
  from { opacity: 0; letter-spacing: -.1em; }
  to   { opacity: 1; letter-spacing: .3em; }
}
@keyframes logoShimmer {
  0%   { background-position: 100% 0; }
  45%  { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: .5em .85em; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.active { color: var(--primary); background: var(--primary-50); }
.nav__cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; background: linear-gradient(180deg, #f2fafa 0%, #fff 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #9fe0dc; top: -140px; right: -80px; animation: float 14s ease-in-out infinite; }
.blob--2 { width: 380px; height: 380px; background: #ffd2c4; bottom: -120px; left: -100px; animation: float 18s ease-in-out infinite reverse; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10,108,116,.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
}
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, 25px) scale(1.06); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700;
  color: var(--primary); background: #fff; border: 1px solid var(--line); padding: .5em 1.1em;
  border-radius: 999px; font-size: .88rem; box-shadow: var(--shadow-sm);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,122,89,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,89,.6); } 70% { box-shadow: 0 0 0 10px rgba(255,122,89,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,89,0); } }

.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 22px 0 22px; }
.hero__kicker { display: block; font-size: clamp(.85rem, 1.3vw, 1rem); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; line-height: 1.4; }
.grad { background: linear-gradient(100deg, var(--primary) 10%, #18b3ad 50%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.1rem; max-width: 560px; color: var(--ink-2); }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero__stats { display: flex; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%; }
.hero__stats li { display: flex; align-items: center; gap: 10px; padding: 16px 24px; }
.hero__stats li + li { border-left: 1px solid var(--line); }
.hero__stats strong { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.hero__stats span { font-size: .8rem; line-height: 1.3; color: var(--muted); }

/* portrait */
.hero__visual { display: flex; justify-content: center; }
.portrait { position: relative; width: min(460px, 100%); aspect-ratio: 880 / 1024; }
.portrait__ring {
  position: absolute; inset: -18px -18px 18px 18px; border-radius: 240px 240px 36px 36px;
  background: linear-gradient(150deg, var(--primary) 0%, #19b2ac 55%, var(--accent) 130%);
  transform: rotate(4deg);
}
.portrait__frame {
  position: relative; height: 100%; border-radius: 240px 240px 36px 36px; overflow: hidden;
  border: 8px solid #fff; box-shadow: var(--shadow-lg); background: #eaf3f3;
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 6s ease; }
.portrait:hover .portrait__frame img { transform: scale(1.04); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; text-align: left; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; }
.float-card small { color: var(--muted); font-size: .76rem; line-height: 1.3; display: block; }
.float-card--name { left: -46px; bottom: 34px; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card--rating { right: -34px; top: 70px; animation-delay: -2s; }
.float-card--rating .g { width: 30px; height: 30px; }
.float-card--exp { left: -30px; top: 40px; flex-direction: column; gap: 0; text-align: center; padding: 14px 18px; background: var(--accent); animation-delay: -1s; }
.float-card--exp strong { color: #fff; font-size: 1.7rem; line-height: 1; }
.float-card--exp small { color: #fff; opacity: .95; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }
.stars--lg svg { width: 22px; height: 22px; }

/* ---------- Trust strip ---------- */
.trust { margin-top: -50px; position: relative; z-index: 2; }
.trust__inner {
  display: grid; grid-template-columns: repeat(5, 1fr); background: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.trust__item { display: flex; align-items: center; gap: 12px; padding: 24px 20px; color: #e3f1f2; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }
.trust__item + .trust__item { border-left: 1px solid rgba(255,255,255,.08); }
.trust__item svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(127, 211, 207, .14); color: #7fd3cf; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img-small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 440 / 512; object-fit: cover;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow);
}
.about__badge {
  position: absolute; left: -20px; bottom: 90px; background: var(--primary); color: #fff; border-radius: var(--radius-sm);
  padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 170px;
}
.about__badge strong { font-family: var(--font-head); font-size: 2.2rem; display: block; line-height: 1; }
.about__badge span { font-size: .82rem; opacity: .9; }
.checklist { display: grid; gap: 12px; margin: 24px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--primary-50); color: var(--primary); margin-top: 1px; }
.doctor-card { display: flex; align-items: center; gap: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.doctor-card img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.doctor-card div { flex: 1; display: flex; flex-direction: column; }
.doctor-card strong { font-family: var(--font-head); color: var(--ink); }
.doctor-card span { font-size: .85rem; color: var(--muted); }

/* ---------- Services (treatments + pain & conditions) ---------- */
.services { background: var(--bg-soft); }
.svc { display: grid; grid-template-columns: 310px 1fr; gap: 28px; align-items: start; }

.svc-menu {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 4px;
}
.svc-menu__label {
  display: flex; align-items: center; gap: 8px; margin: 10px 10px 6px; font-family: var(--font-head);
  font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.svc-menu__label:first-child { margin-top: 4px; }
.svc-menu__label svg { width: 14px; height: 14px; color: var(--brand-orange); }
.svc-menu__label:not(:first-child) { border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 10px; }

.svc-tab {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 9px 12px; border: 0; border-radius: 14px; background: transparent; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .94rem; transition: background .2s, color .2s, transform .2s;
}
.svc-tab__ic {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--primary-50); color: var(--primary); transition: background .2s, color .2s;
}
.svc-tab__ic svg { width: 19px; height: 19px; }
.svc-tab__txt { flex: 1; line-height: 1.25; }
.svc-tab__arrow { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.svc-tab:hover { background: var(--bg-soft); }
.svc-tab:hover .svc-tab__arrow { opacity: .5; transform: none; }
.svc-tab.active { background: linear-gradient(135deg, var(--primary), #0f8d8f); color: #fff; box-shadow: 0 10px 22px rgba(10,108,116,.25); }
.svc-tab.active .svc-tab__ic { background: rgba(255,255,255,.18); color: #fff; }
.svc-tab.active .svc-tab__arrow { opacity: 1; transform: none; }
.svc-tab:focus-visible { outline: 3px solid rgba(10,108,116,.35); outline-offset: 2px; }

.svc-panel { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); animation: fadeUp .45s ease; }
.svc-panel[hidden] { display: none; }
.svc-panel__media { position: relative; height: 320px; }
.svc-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,38,51,.45)); }
.svc-panel__cat {
  position: absolute; left: 20px; top: 20px; z-index: 1; background: rgba(255,255,255,.95); color: var(--primary);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.svc-panel__body { padding: 34px 40px 40px; }
.svc-panel__body h3 { font-size: 1.85rem; font-weight: 800; margin: 12px 0 10px; }
.svc-panel__desc { font-size: 1.02rem; }
.svc-panel__cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; margin: 24px 0 30px; padding: 24px; background: var(--bg-soft); border-radius: 18px; }
.svc-panel__cols h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-bottom: 14px; }

.pill { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--accent-600); background: #fff0eb; padding: .35em .9em; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.benefits { display: grid; gap: 10px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink); }
.benefits svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--primary); color: #fff; margin-top: 2px; }
.dot-list { display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 18px; font-size: .94rem; color: var(--ink); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed #bfdcdc; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; color: var(--primary); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  border: 2px solid var(--primary); box-shadow: 0 0 0 8px var(--bg-soft); position: relative; transition: all .3s;
}
.step:hover .step__num { background: var(--primary); color: #fff; }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .93rem; color: var(--muted); }

/* ---------- Why ---------- */
.why { background: radial-gradient(circle at 15% 20%, #0f8d8f 0%, var(--primary) 35%, #063f45 100%); color: #d6ecec; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 70px solid rgba(255,255,255,.05); right: -160px; top: -160px; }
.why__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.why .section-title { color: #fff; }
.why__content p { font-size: 1.08rem; margin-bottom: 30px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; transition: background .3s, transform .3s; }
.why-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.why-card svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--accent); color: #fff; margin-bottom: 14px; }
.why-card h3 { color: #fff; font-size: 1.1rem; }
.why-card p { font-size: .92rem; margin: 0; }

/* ---------- Reviews ---------- */
.reviews__summary {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 28px; box-shadow: var(--shadow-sm); margin-bottom: 34px;
}
.reviews__g { width: 48px; height: 48px; }
.reviews__score { display: flex; align-items: center; gap: 12px; }
.reviews__score strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
.reviews__summary p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.reviews__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.review-grid--empty { display: block; }
.reviews__num { font-size: 2rem !important; line-height: 1; }
.reviews__more { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.reviews__more[hidden] { display: none; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; position: relative;
}
.review-card::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--primary-50); }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.review-card__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.2; }
.review-card__meta { font-size: .8rem; color: var(--muted); }
.review-card__g { margin-left: auto; position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background .2s; }
.review-card__g:hover { background: var(--bg-soft); }
.review-card__g svg { width: 22px; height: 22px; }
.review-card { transition: transform .3s, box-shadow .3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card__text { color: var(--ink-2); font-size: .95rem; margin: 0; white-space: pre-line; }
.review-card__more { font-weight: 700; white-space: nowrap; }
.stars svg.off { color: #dfe5e8; }
.review-empty {
  grid-column: 1 / -1; text-align: center; padding: 50px 24px; background: var(--bg-soft); border: 2px dashed #cfe3e3; border-radius: var(--radius);
}
.review-empty p { max-width: 520px; margin: 10px auto 22px; color: var(--muted); }

/* ---------- Booking ---------- */
.book { background: linear-gradient(rgba(6, 49, 55, .9), rgba(6, 49, 55, .92)), url("../img/services/booking-bg.jpg") center / cover fixed; color: #d6ecec; }
.book__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.book .section-title { color: #fff; }
.book__info p { font-size: 1.05rem; }
.book__contacts { display: grid; gap: 18px; margin-top: 30px; }
.book__contacts li { display: flex; gap: 14px; align-items: center; }
.book__contacts small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #8fc9c7; }
.book__contacts a, .book__contacts span { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.book__contacts span { font-size: .98rem; font-weight: 600; }
.ic-wrap { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: #fff; flex-shrink: 0; }
.ic-wrap svg { width: 22px; height: 22px; }

.book__form { position: relative; background: #fff; border-radius: 24px; padding: 38px; box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--ink-2); }
.book__form h3 { font-size: 1.5rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(10,108,116,.12); }
.field.invalid input, .field.invalid select { border-color: #e5484d; background: #fff6f6; }
.err { color: #d93036; font-size: .78rem; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-success {
  position: absolute; inset: 0; background: #fff; border-radius: 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 40px; animation: fadeUp .4s ease;
}
.form-success[hidden] { display: none; }
.form-success__icon { width: 74px; height: 74px; border-radius: 50%; background: #e3f7ec; color: #1a9b5a; display: grid; place-items: center; margin-bottom: 16px; }
.form-success__icon svg { width: 38px; height: 38px; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: #cfe3e3; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--primary-50); color: var(--primary); transition: transform .3s, background .3s; }
.faq-item[open] summary svg { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item p { padding-bottom: 20px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); }
.contact__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: stretch; }
.contact__cards { display: grid; gap: 18px; }
.info-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.info-card p { margin: 0 0 6px; font-size: .95rem; }
.open-status { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; margin-top: 4px; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-status.is-open { background: #e3f7ec; color: #1a9b5a; }
.open-status.is-closed { background: #ffeceb; color: #d93036; }
.contact__map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: #dfeeee; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-open {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; padding: .7em 1.1em; border-radius: 999px; box-shadow: var(--shadow);
}
.map-open svg { color: #ea4335; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--accent) 0%, #ff9466 100%); color: #fff; padding: 56px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .95; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn--light { color: var(--accent-600); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9bec6; padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #a9bec6; }
.footer a:hover { color: #fff; }
.footer__brand p { margin-top: 18px; font-size: .93rem; }
.footer__brand em { color: #7fd3cf; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer__contact svg { color: var(--accent); margin-top: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.fab__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .2s; }
.fab__btn:hover { transform: scale(1.08); color: #fff; }
.fab__btn svg { width: 28px; height: 28px; }
.fab__btn--wa { background: #25d366; }
.fab__btn--call { background: var(--primary); }
.to-top {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Floating booking bar ---------- */
.book-bar {
  position: fixed; left: 50%; bottom: 20px; z-index: 58;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  background: rgba(13, 38, 51, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(13, 38, 51, .35); color: #fff;
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.book-bar[hidden] { display: flex; visibility: hidden; }
.book-bar.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.book-bar__text { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.book-bar__text strong { font-family: var(--font-head); font-size: .98rem; }
.book-bar__text span { font-size: .78rem; color: #9fd4d1; }
.book-bar__btn { padding: .75em 1.4em; box-shadow: none; }
.book-bar__btn:hover { box-shadow: 0 8px 20px rgba(10,108,116,.45); }
.book-bar__close {
  width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; transition: background .2s;
}
.book-bar__close:hover { background: rgba(255,255,255,.22); }
.book-bar__close svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .15s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .trust__inner { grid-template-columns: repeat(3, 1fr); }
  .trust__item:nth-child(4) { border-left: 0; }
  .trust__item:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); }
  .float-card--name { left: -10px; }
  .float-card--rating { right: -10px; }
  .float-card--exp { left: -10px; }
}

@media (max-width: 960px) {
  :root { --header-h: 80px; }
  .topbar .hide-sm { display: none; }
  .logo__mark, .header.scrolled .logo__mark { width: 62px; height: 62px; }
  .logo__text strong, .header.scrolled .logo__text strong { font-size: 1.7rem; }
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 20px 24px; box-shadow: var(--shadow); transform: translateY(calc(-100% - var(--header-h) - 80px));
    transition: transform .35s ease; z-index: -1; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav__link { padding: .85em 1em; border-radius: 12px; }
  .nav__cta { margin: 10px 0 0; }

  .hero { padding: 50px 0 100px; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { margin-inline: auto; }
  .hero__visual { order: -1; }
  .portrait { width: min(380px, 82%); }

  .about__inner, .why__inner, .book__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .about__media { max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .book { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .hide-sm { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__left, .topbar__right { gap: 14px; }
  .hero__title { font-size: 2.5rem; }
  .hero__stats { width: 100%; }
  .hero__stats li { flex-direction: column; text-align: center; gap: 2px; padding: 14px 8px; flex: 1; }
  .hero__stats strong { font-size: 1.4rem; }
  .hero__actions .btn { width: 100%; }
  .float-card { padding: 9px 12px; }
  .float-card--name { left: -6px; right: 16px; bottom: 16px; gap: 10px; }
  .float-card--name strong { font-size: .92rem; }
  .float-card--name small { font-size: .7rem; line-height: 1.35; }
  .float-card--name .float-card__sep { display: none; }
  .float-card--name .float-card__role { display: block; }
  .float-card--name .float-card__icon { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
  .float-card--name .float-card__icon svg { width: 18px; height: 18px; }
  .float-card--rating { right: -8px; top: 40px; }
  .float-card--rating small { display: none; }
  .float-card--exp { left: -8px; top: 22px; padding: 10px 12px; }
  .float-card--exp strong { font-size: 1.3rem; }
  .trust { margin-top: -40px; }
  .trust__inner { grid-template-columns: 1fr 1fr; }
  .trust__item { padding: 16px 14px; font-size: .82rem; border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.08); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .trust__item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.08) !important; }
  .about__media { padding: 0 40px 40px 0; }
  .about__badge { left: -6px; bottom: 60px; padding: 12px 14px; }
  .about__badge strong { font-size: 1.7rem; }
  .doctor-card { flex-wrap: wrap; }
  .doctor-card .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; gap: 16px; }
  .reviews__more .btn { width: 100%; }
  .logo { gap: 10px; }
  .logo__mark, .header.scrolled .logo__mark { width: 54px; height: 54px; }
  .logo__text strong, .header.scrolled .logo__text strong { font-size: 1.5rem; }
  .logo__text small { font-size: .7rem; letter-spacing: .26em; }
  @keyframes logoSpread { from { opacity: 0; letter-spacing: -.1em; } to { opacity: 1; letter-spacing: .26em; } }
  .reviews__actions { margin-left: 0; width: 100%; }
  .reviews__actions .btn { flex: 1; }
  .book__form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab__btn { width: 50px; height: 50px; }
}

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

/* Floating booking bar – mobile: full-width bottom bar */
@media (max-width: 640px) {
  .book-bar {
    left: 0; right: 0; bottom: 0; transform: translateY(110%); border-radius: 18px 18px 0 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 16px; gap: 10px;
  }
  .book-bar.show { transform: translateY(0); }
  .book-bar__text { display: none; }
  .book-bar__btn { flex: 1; padding: .85em 1em; }
  /* lift the floating WhatsApp/call/back-to-top buttons above the bar */
  body.has-book-bar .fab { bottom: 86px; }
  body.has-book-bar .to-top { bottom: 86px; }
}
.fab, .to-top { transition: bottom .35s ease, opacity .3s, visibility .3s, transform .2s; }
@media (min-width: 641px) and (max-width: 860px) {
  .book-bar__text { display: none; }
}

/* Services – tablet & mobile */
@media (max-width: 1100px) {
  .svc { grid-template-columns: 270px 1fr; }
  .svc-panel__cols { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 960px) {
  .svc { grid-template-columns: 1fr; gap: 22px; }
  .svc-menu { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; }
  .svc-menu__label { grid-column: 1 / -1; }
  .svc-tab { padding: 8px 10px; font-size: .88rem; border: 1px solid var(--line); }
  .svc-tab.active { border-color: transparent; }
  .svc-tab__arrow { display: none; }
  .svc-panel__media { height: 260px; }
  .svc-panel__body { padding: 28px 26px 32px; }
}
@media (max-width: 640px) {
  .svc-menu { margin-inline: -4px; }
  .svc-tab { gap: 8px; padding: 7px 8px; font-size: .82rem; border-radius: 12px; }
  .svc-tab__ic { width: 30px; height: 30px; border-radius: 9px; }
  .svc-tab__ic svg { width: 16px; height: 16px; }
  .svc-panel__media { height: 210px; }
  .svc-panel__body { padding: 24px 20px 28px; }
  .svc-panel__body h3 { font-size: 1.45rem; }
  .svc-panel__cols { padding: 18px; margin: 20px 0 24px; }
  .svc-panel__body .btn { width: 100%; white-space: normal; }
}

/* =========================================================
   Home Visit highlights
   ========================================================= */

/* Hero banner – animated gradient border, pulsing house icon */
.hv-banner {
  position: relative; display: flex; align-items: center; gap: 16px; max-width: 580px;
  margin: 26px 0 0; padding: 14px 16px 14px 14px; border-radius: 20px; color: var(--ink);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(var(--hv-angle, 0deg), var(--brand-orange), #ffb38a, var(--primary), #18b3ad, var(--brand-orange)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 14px 36px rgba(242, 113, 28, .18);
  animation: hvSpin 5s linear infinite, hvLift 3.2s ease-in-out infinite;
  transition: box-shadow .25s, transform .25s;
}
.hv-banner:hover { color: var(--ink); box-shadow: 0 18px 44px rgba(242, 113, 28, .3); }
@property --hv-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes hvSpin { to { --hv-angle: 360deg; } }
@keyframes hvLift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.hv-banner__icon {
  position: relative; flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-orange), #ff9a5c); color: #fff;
}
.hv-banner__icon svg { width: 28px; height: 28px; animation: hvHouse 2.4s ease-in-out infinite; }
.hv-banner__icon::before, .hv-banner__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--brand-orange);
  animation: hvPing 2.4s cubic-bezier(.2,.6,.3,1) infinite; pointer-events: none;
}
.hv-banner__icon::after { animation-delay: 1.2s; }
@keyframes hvPing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.55); } }
@keyframes hvHouse { 0%, 100% { transform: translateY(0) scale(1); } 15% { transform: translateY(-3px) scale(1.08); } 30% { transform: translateY(0) scale(1); } }

.hv-banner__text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hv-banner__text strong { font-family: var(--font-head); font-size: 1.08rem; font-weight: 800; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hv-banner__text small { font-size: .86rem; color: var(--ink-2); line-height: 1.4; }
.hv-banner__tag {
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: var(--primary); padding: .3em .7em; border-radius: 999px;
}
.hv-banner__cta {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: .7em 1.1em; border-radius: 999px;
  background: var(--brand-orange); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .86rem; white-space: nowrap;
  transition: background .2s;
}
.hv-banner__cta svg { width: 15px; height: 15px; transition: transform .2s; }
.hv-banner:hover .hv-banner__cta { background: var(--accent-600); }
.hv-banner:hover .hv-banner__cta svg { transform: translateX(3px); }
.hero__actions { margin-top: 22px; }

/* Top bar link */
.topbar .topbar__hv { color: #ffd2b8; font-weight: 600; }
.topbar .topbar__hv:hover { color: #fff; }
.topbar .topbar__hv .ic { color: var(--brand-orange); }

/* Trust strip highlight (6 items) */
.trust__inner { grid-template-columns: repeat(6, 1fr); }
.trust__item--hl { background: linear-gradient(135deg, var(--brand-orange), #ff8f4f); color: #fff !important; }
.trust__item--hl svg { background: rgba(255,255,255,.22) !important; color: #fff !important; }
.trust__item--hl:hover { color: #fff; filter: brightness(1.05); }

/* Services menu – featured Home Visit item */
.svc-tab__badge {
  flex-shrink: 0; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .3em .6em; border-radius: 999px; background: var(--brand-orange); color: #fff;
}
.svc-tab--featured:not(.active) .svc-tab__ic { background: #fff0e6; color: var(--brand-orange); }
.svc-tab.active .svc-tab__badge { background: #fff; color: var(--brand-orange); }

/* Booking form – visit type */
.visit-type { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.visit-type legend { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.visit-type__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.visit-opt { position: relative; cursor: pointer; }
.visit-opt input { position: absolute; opacity: 0; pointer-events: none; }
.visit-opt__box {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 14px; background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s;
}
.visit-opt__box > svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--primary); }
.visit-opt__box b { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.visit-opt__box small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.3; }
.visit-opt:hover .visit-opt__box { border-color: #b9dcdc; }
.visit-opt input:checked + .visit-opt__box { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(10,108,116,.12); }
.visit-opt--home .visit-opt__box > svg { color: var(--brand-orange); }
.visit-opt--home input:checked + .visit-opt__box { border-color: var(--brand-orange); box-shadow: 0 0 0 4px rgba(242,113,28,.14); }
.visit-opt input:focus-visible + .visit-opt__box { outline: 3px solid rgba(10,108,116,.35); outline-offset: 2px; }
.field[hidden] { display: none; }
.field.invalid textarea { border-color: #e5484d; background: #fff6f6; }
.hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* Responsive */
@media (max-width: 1100px) {
  .hide-md { display: none; }
}
@media (max-width: 960px) {
  .hv-banner { margin-inline: auto; text-align: left; }
}
@media (max-width: 640px) {
  .hv-banner { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .hv-banner__icon { width: 46px; height: 46px; border-radius: 14px; }
  .hv-banner__icon svg { width: 24px; height: 24px; }
  .hv-banner__text strong { font-size: 1rem; }
  .hv-banner__cta { width: 100%; justify-content: center; padding: .8em 1em; }
  .visit-type__opts { gap: 8px; }
  .visit-opt__box { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
}

/* Top bar on phones: short hours + home-visit link */
.show-sm { display: none; }
@media (max-width: 960px) {
  .topbar .show-sm { display: inline; }
}
@media (max-width: 640px) {
  .topbar__inner { justify-content: space-between; }
  .topbar { font-size: .8rem; }
}

/* =========================================================
   Certifications
   ========================================================= */
.certs { background: #fff; position: relative; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }

.cert-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

/* framed certificate preview */
.cert-card__media {
  position: relative; display: block; width: 100%; padding: 26px; border: 0; cursor: zoom-in;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.9), transparent 55%),
    linear-gradient(135deg, #e6f3f3 0%, #fdf1e8 100%);
}
.cert-card__frame {
  display: flex; align-items: center; justify-content: center; height: 250px;
}
.cert-card__frame img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border: 6px solid #fff; border-radius: 4px; background: #fff;
  box-shadow: 0 12px 28px rgba(13, 38, 51, .22), 0 2px 6px rgba(13, 38, 51, .12);
  transition: transform .5s ease;
}
.cert-card:hover .cert-card__frame img { transform: scale(1.04) rotate(-.6deg); }
.cert-card__zoom {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: .5em .9em; border-radius: 999px; background: rgba(13, 38, 51, .82); color: #fff;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.cert-card__zoom svg { width: 15px; height: 15px; }
.cert-card__media:hover .cert-card__zoom, .cert-card__media:focus-visible .cert-card__zoom { opacity: 1; transform: none; }
.cert-card__media:focus-visible { outline: 3px solid rgba(10,108,116,.4); outline-offset: -3px; }

.cert-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cert-card__issuer {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-bottom: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-600); background: #fff0eb; padding: .4em .85em; border-radius: 999px;
}
.cert-card__issuer svg { width: 15px; height: 15px; }
.cert-card__body h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 12px; }
.cert-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cert-card__meta li {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); padding: .35em .75em; border-radius: 999px;
}
.cert-card__meta svg { width: 14px; height: 14px; color: var(--primary); }
.cert-card__body p { font-size: .92rem; margin-bottom: 12px; }
.cert-card__helps {
  margin: auto 0 0 !important; padding: 12px 14px; background: var(--primary-50); border-radius: 12px;
  border-left: 4px solid var(--primary); font-size: .88rem !important; color: var(--ink);
}
.cert-card__helps strong { color: var(--primary); }

/* About checklist link */
.checklist a { font-weight: 700; white-space: nowrap; }

/* Lightbox */
body.no-scroll { overflow: hidden; }
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0;
  background: transparent; display: none; align-items: center; justify-content: center; gap: 16px;
}
.lightbox[open] { display: flex; animation: lbIn .25s ease; }
.lightbox::backdrop { background: rgba(8, 22, 30, .86); backdrop-filter: blur(4px); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1100px, calc(100vw - 160px)); }
.lightbox__figure img {
  max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain;
  border-radius: 6px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__figure figcaption { text-align: center; color: #d6ecec; display: flex; flex-direction: column; gap: 4px; }
.lightbox__figure figcaption strong { font-family: var(--font-head); font-size: 1.1rem; color: #fff; }
.lightbox__figure figcaption span { font-size: .88rem; }
.lightbox__close, .lightbox__nav {
  border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; }
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav { width: 54px; height: 54px; flex-shrink: 0; }
.lightbox__nav svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .cert-grid { grid-template-columns: 1fr; gap: 20px; }
  .cert-card__media { padding: 20px; }
  .cert-card__frame { height: 230px; }
  .cert-card__zoom { opacity: 1; transform: none; }
  .lightbox__figure { max-width: calc(100vw - 24px); }
  .lightbox__figure img { max-height: calc(100vh - 190px); }
  .lightbox__nav { position: fixed; bottom: 22px; width: 50px; height: 50px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
}

/* =========================================================
   Areas we serve (local SEO + home visits)
   ========================================================= */
.areas {
  margin-top: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.areas__head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.areas__head .ic-wrap { background: var(--brand-orange); }
.areas__head h3 { font-size: 1.2rem; margin-bottom: 4px; }
.areas__head p { margin: 0; font-size: .95rem; }
.areas__cta { margin-left: auto; flex-shrink: 0; align-self: center; }
.areas__list { display: flex; flex-wrap: wrap; gap: 10px; }
.areas__list li {
  display: inline-flex; align-items: center; gap: 6px; padding: .45em .95em; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink);
}
.areas__list li svg { width: 14px; height: 14px; color: var(--brand-orange); }
@media (max-width: 760px) {
  .areas { padding: 22px 18px; }
  .areas__head { flex-wrap: wrap; }
  .areas__cta { width: 100%; margin-left: 0; }
  .areas__list { gap: 8px; }
  .areas__list li { font-size: .82rem; }
}

/* Phone field with fixed +91 country code */
.phone-input { position: relative; display: flex; align-items: stretch; }
.phone-input__cc {
  display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-right: 0;
  border-radius: 12px 0 0 12px; background: #e9f3f3; color: var(--ink); font-weight: 700; font-size: .95rem;
}
.phone-input input { border-radius: 0 12px 12px 0 !important; min-width: 0; }
.field.invalid .phone-input__cc { border-color: #e5484d; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
