/* ===============================================================
   MoveHeals Physiotherapy & Rehab — stylesheet
   Brand: deep blue (#1f77bd) -> teal (#23b5be), matched to logo
   =============================================================== */

:root {
  --navy: #0f4c81;
  --blue: #1f77bd;
  --teal: #23b5be;
  --teal-dark: #178a91;
  --grad: linear-gradient(135deg, #1f77bd 0%, #23b5be 100%);
  --grad-soft: linear-gradient(135deg, #eaf4fb 0%, #e6f7f8 100%);

  --ink: #16283b;
  --body: #43586b;
  --muted: #8398a8;
  --muted-2: #6a7c8c;
  --line: #e2ebf2;
  --bg: #ffffff;
  --bg-soft: #f4f9fc;
  --bg-tint: #eef6fb;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 76, 129, .06);
  --shadow: 0 12px 30px rgba(15, 76, 129, .10);
  --shadow-lg: 0 24px 60px rgba(15, 76, 129, .16);

  --max: 1160px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.28rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
section { padding: 72px 0; }
.section-tint { background: var(--bg-soft); }
.section-grad { background: var(--grad-soft); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--body); font-size: 1.05rem; }
.lead { font-size: 1.18rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(31,119,189,.32); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(31,119,189,.42); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { color: #fff; background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #dceaf5; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar a { color: #dceaf5; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 14px; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 760px) { .topbar .tb-left .tb-item.hide-sm { display: none; } }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); line-height: 1; }
.brand .brand-name span { color: var(--teal-dark); }
.brand .brand-tag { display: block; font-size: .62rem; letter-spacing: .18em; color: var(--muted-2); text-transform: uppercase; margin-top: 3px; }
@media (max-width: 480px) { .brand .brand-text { display: none; } }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--ink);
  padding: 10px 13px; border-radius: 8px; display: inline-block; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dark); background: var(--bg-tint); }
.nav-links .has-sub > a::after { content: "▾"; font-size: .7rem; margin-left: 5px; opacity: .6; }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px;
  list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; }
.nav-links .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 500; font-size: .92rem; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; border-radius: 2px; }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: 100vh; height: 100dvh;
    width: min(340px, 86vw); background: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease; box-shadow: var(--shadow-lg);
    padding: 90px 24px 40px; overflow-y: auto; z-index: 60; display: flex; flex-direction: column; }
  .nav-menu.open { opacity: 1; visibility: visible; transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 12px 14px; font-size: 1.02rem; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 12px; padding: 0; }
  .nav-links .has-sub > a::after { float: right; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 18px; }
  .nav-cta .btn { justify-content: center; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(15,40,59,.45); opacity: 0; visibility: hidden;
    transition: .3s; z-index: 55; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-soft); overflow: hidden; padding: 84px 0 78px; }
.hero::before { content: ""; position: absolute; top: -140px; right: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(35,181,190,.20), transparent 70%); border-radius: 50%; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust .ht { display: flex; flex-direction: column; }
.hero-trust .ht b { font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); line-height: 1; }
.hero-trust .ht span { font-size: .85rem; color: var(--muted-2); margin-top: 4px; }
.hero-media { position: relative; }
.hero-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 34px;
  border: 1px solid var(--line); }
.hero-card .hc-logo { width: 150px; margin: 0 auto 18px; }
.hero-card h3 { text-align: center; margin-bottom: 6px; }
.hero-card .hc-sub { text-align: center; color: var(--muted-2); font-size: .92rem; margin-bottom: 20px; }
.hero-card ul { list-style: none; display: grid; gap: 12px; }
.hero-card li { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; }
.hero-card li svg { flex: none; margin-top: 3px; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; gap: 36px; } .hero-media { order: 0; max-width: 420px; margin-inline: auto; } }

.check { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); display: inline-grid; place-items: center; flex:none; }
.check::after { content: ""; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: #cfe2f0; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: center; padding-block: 26px; }
.trust-strip .ts { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .95rem; }
.trust-strip .ts svg { color: var(--teal); flex: none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe3f1; }
.card .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--grad-soft); display: grid;
  place-items: center; margin-bottom: 18px; color: var(--teal-dark); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-head);
  font-weight: 600; font-size: .92rem; }
.card .card-link::after { content: "→"; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

/* feature list */
.ticklist { list-style: none; display: grid; gap: 12px; }
.ticklist li { display: flex; align-items: flex-start; gap: 11px; }
.ticklist li .check { margin-top: 2px; }

/* split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.reverse .split-media { order: 0; } }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame { background: var(--grad-soft); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num { flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.05rem; }
.step h3 { margin-bottom: 4px; }

/* stats band */
.stats { background: var(--grad); color: #fff; border-radius: var(--radius-lg); padding: 44px; }
.stats .grid-4 { gap: 20px; }
.stat { text-align: center; }
.stat b { font-family: var(--font-head); font-size: 2.6rem; display: block; line-height: 1; }
.stat span { font-size: .92rem; opacity: .9; }

/* testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); height: 100%; }
.quote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: .98rem; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; }
.quote .who b { color: var(--ink); font-family: var(--font-head); }
.quote .who span { display: block; font-size: .82rem; color: var(--muted-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); border-radius: 50%; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 680px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb a:hover { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 52px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(35,181,190,.25), transparent 45%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-tint); color: var(--teal-dark);
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s, background .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--body); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ii { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--grad-soft);
  color: var(--teal-dark); display: grid; place-items: center; }
.info-list b { font-family: var(--font-head); color: var(--ink); display: block; margin-bottom: 2px; }
.info-list span, .info-list a { font-size: .96rem; color: var(--body); }
form .field { margin-bottom: 18px; }
form label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
form input, form select, form textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(35,181,190,.15); }
form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: 10px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* pill badges */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--bg-tint); color: var(--navy); border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 16px; font-size: .9rem; font-family: var(--font-head); font-weight: 500; }

/* condition columns */
.cond-cols { columns: 3; column-gap: 30px; }
@media (max-width: 820px) { .cond-cols { columns: 2; } }
@media (max-width: 520px) { .cond-cols { columns: 1; } }
.cond-cols li { break-inside: avoid; list-style: none; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }

/* insurance logos row */
.logos-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.logo-chip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 22px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ---------- Footer ---------- */
.site-footer { background: #0c2233; color: #a9c2d4; padding-top: 62px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #a9c2d4; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 64px; background: #fff; border-radius: 12px; padding: 8px; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: .92rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact svg { color: var(--teal); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cfe2f0; }
.social a:hover { background: var(--grad); color: #fff; }

/* floating whatsapp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5); }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 22px; } .mt-3 { margin-top: 34px; }
.mb-2 { margin-bottom: 22px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===============================================================
   Blog (public)
   =============================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/10; background: var(--grad-soft); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { font-size: .8rem; color: var(--muted-2); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.post-card .pc-tag { background: var(--bg-tint); color: var(--teal-dark); padding: 3px 10px; border-radius: 100px; font-weight: 600; font-family: var(--font-head); }
.post-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.post-card p { font-size: .93rem; color: var(--body); flex: 1; }
.post-card .card-link { margin-top: 14px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; }

.article { max-width: 760px; margin-inline: auto; }
.article .cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.article .art-meta { color: var(--muted-2); font-size: .9rem; margin-bottom: 22px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article-body { font-size: 1.08rem; color: var(--body); }
.article-body h2 { font-size: 1.7rem; margin: 34px 0 14px; }
.article-body h3 { font-size: 1.3rem; margin: 26px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; display: grid; gap: 8px; }
.article-body img { border-radius: var(--radius); margin: 22px 0; }
.article-body blockquote { border-left: 4px solid var(--teal); background: var(--bg-soft); padding: 16px 22px; border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--ink); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted-2); }
.empty-state svg { color: var(--line); margin-bottom: 16px; }

/* ===============================================================
   Instagram feed
   =============================================================== */
.ig-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
.ig-handle { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 34px; }
@media (max-width: 820px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-tile { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: block;
  background: var(--grad-soft); box-shadow: var(--shadow-sm); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-tile:hover img { transform: scale(1.07); }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31,119,189,.0), rgba(35,181,190,.35));
  opacity: 0; transition: opacity .25s; }
.ig-tile:hover::after { opacity: 1; }
.ig-badge { position: absolute; top: 10px; right: 10px; color: #fff; z-index: 2; opacity: .9; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }

/* ===============================================================
   Alerts / form states
   =============================================================== */
.alert { padding: 14px 18px; border-radius: 10px; font-size: .95rem; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #e7f7ef; color: #1a7f4b; border: 1px solid #bfe8d2; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c6c4; }
.alert-info { background: var(--bg-tint); color: var(--navy); border: 1px solid #cfe3f1; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 6px; }
.form-card .fc-sub { color: var(--muted-2); font-size: .93rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.is-hidden { display: none !important; }

/* ===============================================================
   Admin panel
   =============================================================== */
.admin-body { background: var(--bg-soft); min-height: 100vh; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--grad-soft); }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 420px; }
.auth-card .auth-logo { height: 60px; margin: 0 auto 18px; }
.auth-card h1 { font-size: 1.5rem; text-align: center; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; color: var(--muted-2); font-size: .92rem; margin-bottom: 26px; }
.auth-card .btn { width: 100%; justify-content: center; }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
@media (max-width: 820px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-side { background: #0c2233; color: #cfe2f0; padding: 24px 18px; }
.admin-side .as-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.admin-side .as-brand img { height: 42px; background: #fff; border-radius: 8px; padding: 5px; }
.admin-side .as-brand b { color: #fff; font-family: var(--font-head); }
.admin-nav { list-style: none; display: grid; gap: 6px; }
.admin-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px; color: #cfe2f0; font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-nav .sep { border-top: 1px solid rgba(255,255,255,.12); margin: 14px 0; }
.admin-main { padding: 30px; }
@media (max-width: 820px) { .admin-side { display: none; } }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.admin-topbar h1 { font-size: 1.6rem; }
.stat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 700px){ .stat-cards { grid-template-columns: 1fr; } }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-card .sc-label { color: var(--muted-2); font-size: .85rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; }
.stat-card .sc-num { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--navy); line-height: 1.1; margin-top: 6px; }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #fafcfe; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .78rem; font-family: var(--font-head); font-weight: 600; }
.badge-green { background: #e7f7ef; color: #1a7f4b; }
.badge-gray { background: #eef2f5; color: #5a6b7b; }
.badge-amber { background: #fdf0dc; color: #a9701a; }
.row-actions { display: flex; gap: 8px; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-danger { background: #fdecec; color: #b3261e; border-color: #f5c6c4; }
.btn-danger:hover { background: #f8d7d5; color: #b3261e; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
.help-text { font-size: .82rem; color: var(--muted-2); margin-top: 6px; }

/* ===============================================================
   Nav "Book a Consultation" button polish
   =============================================================== */
.nav-cta .btn-primary {
  padding: 12px 22px;
  font-size: .95rem;
  letter-spacing: .005em;
  box-shadow: 0 8px 20px rgba(31,119,189,.32);
  position: relative;
}
.nav-cta .btn-primary::before {
  content: "";
  width: 16px; height: 16px; flex: none;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4.5' width='18' height='17' rx='2.5'/%3E%3Cpath d='M16 2.5v4M8 2.5v4M3 9.5h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4.5' width='18' height='17' rx='2.5'/%3E%3Cpath d='M16 2.5v4M8 2.5v4M3 9.5h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
.nav-cta .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(31,119,189,.42);
}
@media (max-width: 1024px) { .nav-cta .btn-primary { padding: 14px 22px; } }

/* ===============================================================
   Mobile refinements
   =============================================================== */
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 46px 0; }
  .hero { padding: 40px 0 48px; }
  .section-head { margin-bottom: 32px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-cta, .cta-actions { width: 100%; }
  .hero-trust { gap: 18px; justify-content: space-between; }
  .hero-card { padding: 26px; }
  .form-card { padding: 22px; }
  .cta-band { padding: 34px 22px; }
  .stats { padding: 30px 18px; }
  .stat b { font-size: 2rem; }
  .page-hero { padding: 44px 0; }
  .split { gap: 26px; }
  .media-frame { padding: 24px; }
  .quote, .card { padding: 24px; }
  .trust-strip .container { gap: 14px; }
  .article-body { font-size: 1rem; }
  .ig-head { flex-wrap: wrap; }
  h1 { line-height: 1.15; }
}
@media (max-width: 380px) {
  .topbar { font-size: .8rem; }
  .brand img { height: 44px; }
}
