/* ==========================================================
   Whiteace Solution theme
   Colours come from Dashboard → Settings → Branding and are
   injected as --primary / --secondary / --dark in <head>.
   ========================================================== */
:root {
  --primary: #1565c0;
  --secondary: #12b5a6;
  --dark: #0f1f3d;
  --on-primary: #fff;
  --on-secondary: #fff;
  --text: #44516a;
  --muted: #6b7a90;
  --border: #e4e9f0;
  --tint: color-mix(in srgb, var(--primary) 7%, #fff);
  --tint-2: color-mix(in srgb, var(--secondary) 10%, #fff);
  --radius: 16px;
  --shadow: 0 12px 34px rgba(15, 31, 61, .09);
  --shadow-sm: 0 4px 14px rgba(15, 31, 61, .06);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--dark); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h3 { font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, #fff); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem/1.2 var(--font-body); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn-primary:hover { color: var(--on-primary); background: color-mix(in srgb, var(--primary) 88%, #000); }
.btn-outline { border-color: color-mix(in srgb, var(--primary) 35%, #fff); color: var(--primary); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { color: var(--primary); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--dark); color: #c9d3e3; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; }
.tb-left { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--secondary); }
.topbar i { color: var(--secondary); margin-right: .45em; }
.social { display: flex; gap: 6px; }
.social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: .8rem; }
.social a:hover { background: var(--primary); color: var(--on-primary); }
.social a i { margin: 0; color: inherit; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,31,61,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; position: relative; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 66px; max-width: 260px; width: auto; object-fit: contain; }
.brand-text { font: 700 1.45rem/1 var(--font-head); color: var(--dark); display: flex; align-items: center; gap: .35em; }
.brand-text i { color: var(--primary); }
.brand-text span { color: var(--primary); }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: .6rem .95rem; color: var(--dark); font-weight: 500; border-radius: 10px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: var(--primary); }
.main-nav > ul > li.active > a { background: var(--tint); }
.sub-toggle { display: none; }
.has-sub > a::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: .45em; font-size: .75em; }
.sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border-top: 3px solid var(--primary); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; max-height: 70vh; overflow-y: auto; }
.has-sub::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-size: .92rem; padding: .55rem .8rem; display: flex; gap: .6rem; align-items: center; }
.sub a i { color: var(--primary); width: 18px; text-align: center; }
.sub a:hover { background: var(--tint); color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--dark); font-size: 1.2rem; cursor: pointer; }
.nav-mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 96px; background:
  radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--secondary) 16%, transparent) 0, transparent 40%),
  radial-gradient(circle at 5% 90%, color-mix(in srgb, var(--primary) 12%, transparent) 0, transparent 45%),
  linear-gradient(180deg, var(--tint), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; padding: .4em 1em; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); font-weight: 600; font-size: .82rem; letter-spacing: .02em; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; margin-bottom: .45em; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.8rem; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; font-weight: 500; color: var(--dark); }
.stars { color: #f5a623; display: inline-flex; gap: 2px; }
.hero-art img { border-radius: 24px; box-shadow: var(--shadow); }
.hero-svg { width: 100%; height: auto; display: block; }
.hero-svg .f-p { fill: var(--primary); } .hero-svg .f-s { fill: var(--secondary); } .hero-svg .f-d { fill: var(--dark); }
.hero-svg .f-soft { fill: color-mix(in srgb, var(--primary) 9%, #fff); } .hero-svg .f-soft2 { fill: color-mix(in srgb, var(--secondary) 22%, #fff); }
.hero-svg .f-muted { fill: #d5dce6; }
.hero-svg .s-s { stroke: var(--secondary); } .hero-svg .s-soft { stroke: color-mix(in srgb, var(--secondary) 18%, #fff); }
.hero-svg .t-d { fill: var(--dark); } .hero-svg .t-m { fill: var(--muted); } .hero-svg .t-s { fill: var(--secondary); }
.hero-svg .stop-p { stop-color: var(--primary); } .hero-svg .stop-s { stop-color: color-mix(in srgb, var(--primary) 55%, var(--secondary)); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 72px 0 76px; color: #dbe3f0; background:
  linear-gradient(115deg, color-mix(in srgb, var(--dark) 94%, transparent), color-mix(in srgb, var(--primary) 82%, var(--dark))),
  var(--hero-img, none) center / cover no-repeat; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.05); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin: .4em 0 .3em; max-width: 820px; }
.page-hero p { max-width: 720px; font-size: 1.08rem; margin: 0; }
.breadcrumbs { font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5em; align-items: center; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs i { font-size: .75em; opacity: .7; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--tint); }
/* two white sections in a row share one gap */
.section:not(.section-alt) + .section:not(.section-alt) { padding-top: 0; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 3rem; }
.section-head.left { text-align: left; margin: 0 0 1.2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.content { max-width: 880px; margin: 0 auto; }
.content > :last-child { margin-bottom: 0; }
.content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.4em; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.25rem; margin-top: 1.2em; }
.content ul, .content ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.content li { margin: .35em 0; }
.content img { border-radius: 14px; margin: 1.2em 0; }
.content blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--primary); background: var(--tint); border-radius: 0 12px 12px 0; }
.content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.content th, .content td { border: 1px solid var(--border); padding: .6em .8em; text-align: left; }
.content .btn { margin: .3em .4em .3em 0; }
ul.checklist { list-style: none; padding: 0; display: grid; gap: .1rem; }
ul.checklist li { position: relative; padding-left: 2rem; }
ul.checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; background: color-mix(in srgb, var(--secondary) 16%, #fff); color: var(--secondary); }
ol.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
ol.steps li { counter-increment: step; position: relative; padding: 1.1rem 1.2rem 1.1rem 4.2rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; margin: 0; }
ol.steps li::before { content: counter(step); position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 2.3rem; height: 2.3rem; border-radius: 10px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font: 700 1rem var(--font-head); }
ol.steps strong { color: var(--dark); }
.content:has(.intro-split) { max-width: 1140px; }
.intro-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.intro-text > :last-child { margin-bottom: 0; }
.intro-media { display: flex; justify-content: center; }
.intro-lottie { width: 100%; max-width: 440px; aspect-ratio: 1; }
@media (max-width: 860px) {
  .intro-split { grid-template-columns: 1fr; }
  .intro-media { order: -1; }
  .intro-lottie { max-width: 300px; }
}
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.4rem; margin: 2rem 0 0; }
.mv-grid > div { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 14px; padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.mv-grid > div:nth-child(2) { border-left-color: var(--secondary); }
.mv-grid h3 { margin-top: 0; }
.mv-grid p { margin: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid-cards.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-info { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-link { color: var(--text); display: flex; flex-direction: column; overflow: hidden; }
.card-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.card-link:hover { color: var(--text); transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-link:hover::after { transform: scaleX(1); }
.card h3 { font-size: 1.2rem; }
.card p { flex: 1; }
.card .more { font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: .45em; }
.card-link:hover .more i { transform: translateX(4px); }
.more i { transition: transform .2s; }
.icon-box { width: 60px; height: 60px; flex-shrink: 0; border-radius: 16px; display: grid; place-items: center; font-size: 1.45rem; color: var(--primary); background: color-mix(in srgb, var(--primary) 11%, #fff); margin-bottom: 1.2rem; transition: .25s; }
.card-link:hover .icon-box { background: var(--primary); color: var(--on-primary); }
.icon-box.small { width: 50px; height: 50px; font-size: 1.15rem; border-radius: 14px; margin: 0; }
.info-card { text-align: center; }
.info-card .icon-box { margin: 0 auto 1rem; }
.info-card p { margin: 0; word-break: break-word; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: start; }
.why-intro { position: sticky; top: 110px; }
.why-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.2rem; }
.why-item { display: flex; gap: 1rem; background: #fff; border-radius: 16px; padding: 1.4rem; box-shadow: var(--shadow-sm); }
.why-item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.why-item p { margin: 0; font-size: .95rem; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.4rem 1rem; padding: 2.6rem 2rem; border-radius: 24px; background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--secondary))); color: var(--on-primary); box-shadow: var(--shadow); }
.stat { text-align: center; position: relative; }
.stat strong { display: block; font: 700 clamp(2rem, 4vw, 2.8rem)/1.1 var(--font-head); }
.stat span { opacity: .9; font-size: .95rem; }

/* ---------- EHR chips ---------- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.chips li { padding: .75rem 1.3rem; border-radius: 14px; border: 1px solid var(--border); background: #fff; font: 600 1rem var(--font-head); color: var(--dark); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: .55rem; }
.chips i { color: var(--secondary); }

/* ---------- Testimonials ---------- */
.testimonial { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.testimonial::before { content: "\f10e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 1.6rem; top: 1.4rem; font-size: 2.2rem; color: color-mix(in srgb, var(--primary) 14%, #fff); }
.testimonial blockquote { margin: 0; flex: 1; font-size: 1rem; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial figcaption strong { display: block; color: var(--dark); }
.testimonial figcaption small { color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font: 700 1.1rem var(--font-head); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 1.4rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--primary) 30%, #fff); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative; font: 600 1.05rem/1.4 var(--font-head); color: var(--dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--primary); }
.faq details[open] summary::after { content: "\f068"; }
.faq details p { margin: 0 0 1.2rem; }

/* ---------- CTA ---------- */
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3rem; border-radius: 26px; color: #dbe3f0; background:
  radial-gradient(circle at 100% 0, color-mix(in srgb, var(--secondary) 45%, transparent), transparent 45%),
  linear-gradient(120deg, var(--dark), color-mix(in srgb, var(--primary) 75%, var(--dark))); box-shadow: var(--shadow); }
.cta-box h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .3em; }
.cta-box p { margin: 0; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.contact-lines li { display: flex; align-items: center; gap: .9rem; }
.contact-lines i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 11%, #fff); color: var(--primary); flex-shrink: 0; }
.form { box-shadow: var(--shadow); border: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-bottom: 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
.form label { display: grid; gap: .4rem; font-weight: 500; font-size: .92rem; color: var(--dark); }
.form input, .form select, .form textarea, .newsletter input { width: 100%; font: inherit; font-weight: 400; color: var(--text); padding: .8rem 1rem; border: 1px solid var(--border); border-radius: 12px; background: #f9fbfd; transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus, .newsletter input:focus { outline: 0; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.form textarea { resize: vertical; }
.form fieldset { border: 1px solid var(--border); border-radius: 12px; padding: .8rem 1rem 1rem; margin: 0; }
.form legend { font-weight: 500; font-size: .92rem; color: var(--dark); padding: 0 .4rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .5rem 1rem; }
.form label.check { display: flex; align-items: center; gap: .55rem; font-weight: 400; }
.form label.check input { width: auto; accent-color: var(--primary); }
.appointment { max-width: 900px; margin: 0 auto; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.2rem; font-weight: 500; }
.alert-ok { background: #e7f8ef; color: #146c43; border: 1px solid #b7e6cc; }
.alert-err { background: #fdecec; color: #b42318; border: 1px solid #f6c7c3; }

/* ---------- Sidebar layout (service & speciality pages) ---------- */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.layout-sidebar .content { max-width: none; margin: 0; }
.content-main > * + * { margin-top: 2.5rem; }
.inline-block .section-head { text-align: left; margin: 0 0 1.5rem; }
.inline-block .cta-box { padding: 2.2rem; }
.inline-block .form-wrap { grid-template-columns: 1fr; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 1.5rem; }
.widget { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.widget h3 { font-size: 1.15rem; padding-bottom: .7rem; border-bottom: 2px solid var(--tint); }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.side-links a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 10px; color: var(--dark); font-weight: 500; font-size: .94rem; }
.side-links i { color: var(--primary); width: 18px; text-align: center; }
.side-links a:hover { background: var(--tint); color: var(--primary); }
.side-links .current a { background: var(--primary); color: var(--on-primary); }
.side-links .current i { color: inherit; }
.widget-cta { text-align: center; color: #dbe3f0; border: 0; background: linear-gradient(150deg, var(--dark), color-mix(in srgb, var(--primary) 75%, var(--dark))); }
.widget-cta > i { font-size: 2.2rem; color: var(--secondary); margin-bottom: .6rem; }
.widget-cta h3 { color: #fff; border: 0; padding: 0; }
.widget-cta .phone { display: block; color: #fff; font: 700 1.3rem var(--font-head); margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #aebbd0; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--secondary); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #d5deeb; }
.site-footer a:hover { color: var(--secondary); }
.site-footer .brand { margin-bottom: 1.2rem; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand img.on-dark { background: #fff; padding: 8px 12px; border-radius: 12px; }
.f-phone a { font: 600 1.1rem var(--font-head); color: #fff; }
.f-phone i, .f-contact i { color: var(--secondary); margin-right: .4rem; }
.f-contact { margin-top: 1.2rem !important; }
.newsletter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.newsletter input { flex: 1; min-width: 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.newsletter input::placeholder { color: #94a3bb; }
.newsletter .btn { padding: .8rem 1.1rem; box-shadow: none; }
.newsletter .alert { width: 100%; margin: 0 0 .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; font-size: .88rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--on-primary); transform: translateY(-3px); }


/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: .6rem .7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 20px 30px rgba(15,31,61,.12); padding: .8rem 20px 1.4rem; max-height: calc(100vh - 80px); overflow-y: auto; display: none; }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav > ul > li > a { flex: 1; padding: .9rem .4rem; }
  .main-nav > ul > li.active > a { background: none; }
  .has-sub > a::after { content: none; }
  .sub-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--tint); color: var(--primary); cursor: pointer; }
  .has-sub.open .sub-toggle i { transform: rotate(180deg); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; width: 100%; padding: 0 0 .6rem .4rem; display: none; max-height: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub::before { content: none; }
  .nav-mobile-cta { display: block; border: 0 !important; padding-top: 1rem; }
  .nav-mobile-cta .btn { width: 100%; color: var(--on-primary); }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .why-grid, .form-wrap, .layout-sidebar { grid-template-columns: 1fr; }
  .why-intro, .sidebar { position: static; }
  .hero-art { max-width: 560px; }
  .section { padding: 64px 0; }
}
@media (max-width: 767px) {
  .topbar .tb-left span, .topbar .social { display: none; }
  .topbar .container { justify-content: center; min-height: 38px; }
  .tb-left { justify-content: center; gap: .3rem 1rem; font-size: .8rem; }
  .nav-wrap { min-height: 70px; }
  .brand img { height: 52px; max-width: 200px; }
  .main-nav { max-height: calc(100vh - 70px); }
  .form-grid { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .cta-box { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 52px 0 56px; }
  .btn { white-space: normal; text-align: center; }
}
