/* ==========================================================================
   Bhairavi Holistic Healthcare - main stylesheet
   Brand: navy #14213D (secondary) + yellow #FFFB00 (primary)
   Type: Lexend (chosen for readability; many patients are older adults)
   ========================================================================== */

:root {
  --navy: #14213D;
  --navy-deep: #0C1630;
  --navy-2: #1B2B4F;
  --yellow: #FFFB00;
  --yellow-ledge: #BDB900;
  --ink: #14213D;
  --text: #3A4661;
  --muted: #5F6A83;
  --line: #DCE2EC;
  --field: #CBD4E2;
  --bg-alt: #F3F6FA;
  --orange-1: #F88A0B;
  --orange-2: #DD4A00;
  --orange-accent: #EF6100;
  --wa: #25D366;
  --wa-dark: #11834A;
  --error: #C5221F;
  --success: #137333;
  --focus: #3A7BFF;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(12, 22, 48, .35);
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
/* Global reset the badge depends on (keep it in the site CSS) */
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
section[id], [id="top"] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 780px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--yellow); color: var(--navy); padding: .6rem 1rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.ic { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.ic svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.45em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: .9em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--yellow); color: var(--navy); border-color: var(--navy); box-shadow: 0 4px 0 var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--navy); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.hero .btn-primary, .why .btn-primary, .site-footer .btn-primary { border-color: var(--yellow); box-shadow: 0 4px 0 var(--yellow-ledge); }
.hero .btn-primary:hover, .why .btn-primary:hover, .site-footer .btn-primary:hover { box-shadow: 0 6px 0 var(--yellow-ledge); }
.hero .btn-primary:active, .why .btn-primary:active, .site-footer .btn-primary:active { box-shadow: 0 1px 0 var(--yellow-ledge); }
.helpful .btn-primary { border-color: var(--navy); box-shadow: 0 4px 0 var(--navy); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #22375F; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-whatsapp { background: var(--wa-dark); color: #fff; }
.btn-whatsapp:hover { background: #0C6B3B; transform: translateY(-2px); }
.btn-orange { background: linear-gradient(135deg, var(--orange-1), var(--orange-2)); color: #fff; font-weight: 700; box-shadow: 0 10px 22px -10px rgba(221, 74, 0, .7); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(221, 74, 0, .75); }
.btn-orange:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #C7CFE2; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-contact { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.topbar-contact a:hover { color: var(--yellow); }
.topbar-contact .ic { width: 15px; height: 15px; color: var(--yellow); }
.topbar-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-social { display: flex; align-items: center; gap: 6px; flex: none; }
.topbar-label { margin-right: 6px; color: #9AA5BF; }
.topbar-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .15s ease, color .15s ease; }
.topbar-social a:hover { background: var(--yellow); color: var(--navy); }
.topbar-social svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 500; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(12, 22, 48, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 64px; width: auto; max-width: 230px; object-fit: contain; }
.brand-text { display: none; font-weight: 700; font-size: 1.12rem; color: var(--navy); line-height: 1.2; max-width: 16ch; }
.brand-fallback .brand-text { display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: .5rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--navy); transition: background-color .15s ease; }
.main-nav a:hover { background: rgba(255, 251, 0, .6); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call .ic { width: 17px; height: 17px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(12, 22, 48, .45); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-nav nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 22px; }
.mobile-nav a { padding: .95rem 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; color: var(--navy); font-size: 1.05rem; }
.mobile-nav .mobile-nav-call { display: flex; align-items: center; gap: 10px; border-bottom: 0; color: var(--muted); }
.mobile-nav .mobile-nav-call .ic { color: var(--navy); }
.mobile-nav .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 76px 0 92px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .2; filter: grayscale(1) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 33, 61, .55) 0%, rgba(20, 33, 61, .82) 45%, rgba(20, 33, 61, .96) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.hero-media { display: flex; justify-content: center; }

.founder-card { position: relative; width: 100%; max-width: 360px; margin: 0; padding-top: 34px; }
.gonio { position: absolute; left: 50%; top: -18px; width: 132%; max-width: none; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.gonio-track { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 2; }
.gonio-ticks { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 2; stroke-linecap: round; }
.gonio-range { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: gonio-draw 1.8s cubic-bezier(.3, .7, .2, 1) .25s both; }
.gonio-dot { fill: var(--yellow); animation: gonio-dot .4s ease 1.9s both; }
@keyframes gonio-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes gonio-dot { from { opacity: 0; transform: scale(.4); transform-origin: 370.4px 120.5px; } to { opacity: 1; transform: scale(1); transform-origin: 370.4px 120.5px; } }

.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #22375F, var(--navy-deep)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .6); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder-initials { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-size: 5.5rem; font-weight: 600; color: var(--yellow); letter-spacing: .02em; }
.founder-photo.no-photo .founder-initials { display: flex; }
.founder-caption { position: relative; margin: -38px 20px 0; padding: .95rem 1.2rem; background: #fff; border-radius: 18px; text-align: center; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .55); }
.founder-name { display: block; color: var(--navy); font-size: 1.12rem; font-weight: 700; }
.founder-role { display: block; color: var(--muted); font-size: .9rem; }

.hero-place { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 1rem; color: #CFD6E8; font-size: .95rem; }
.hero-place .ic { color: var(--yellow); }
.hero h1 { color: #fff; font-size: clamp(2.15rem, 4.3vw, 3.55rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; max-width: 17ch; }
.hero-lead { margin: 1.3rem 0 0; color: #D3DAEA; font-size: 1.14rem; max-width: 54ch; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 2.6rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-stats div { min-width: 0; }
.hero-stats dt { color: var(--yellow); font-size: 1.75rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.hero-stats dd { margin: .35rem 0 0; color: #B8C1D7; font-size: .86rem; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 660px; margin-bottom: 2.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); }
.section-head p { margin-top: .8rem; color: var(--muted); font-size: 1.1rem; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: #C3CBDD; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head--split > div { max-width: 640px; }
.section-head--split .btn { flex: none; }

.check-list li { display: flex; align-items: flex-start; gap: .7rem; line-height: 1.45; }
.check-list .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--navy); color: var(--yellow); margin-top: -1px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.about-main h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); margin-bottom: 1.3rem; max-width: 18ch; }
.about-main .lead { color: var(--ink); font-size: 1.2rem; line-height: 1.6; }
.about-main p { max-width: 62ch; }
.about-vm { display: grid; gap: 16px; }
.vm-block { border-radius: var(--radius-lg); padding: 1.8rem 1.9rem; }
.vm-block h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.vm-block p { font-size: .98rem; }
.vm-block:first-child { background: var(--navy); color: #D5DBEA; }
.vm-block:first-child h3 { color: var(--yellow); }
.vm-block:last-child { background: #fff; border: 2px solid var(--navy); }
.highlights { margin-top: 64px; padding: 2.2rem 2.4rem; background: var(--bg-alt); border-radius: var(--radius-lg); }
.highlights-title { font-size: 1.25rem; margin-bottom: 1.4rem; }
.check-list--cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem 1.6rem; }
.check-list--cols li { color: var(--ink); font-weight: 500; font-size: .98rem; }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.service-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.service-media { position: relative; min-height: 320px; background: var(--navy); }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-media-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; color: var(--yellow); }
.service-media-fallback svg { width: 96px; height: 96px; }
.service-media.no-img .service-media-fallback { display: flex; }
.service-body { padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.service-body h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-bottom: .9rem; }
.service-desc { color: var(--ink); font-size: 1.1rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; }
.chip-list li { padding: .42rem .9rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--navy); font-size: .88rem; font-weight: 500; line-height: 1.3; }

.conditions { margin-top: 64px; }
.conditions-title { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-bottom: 1.2rem; }
.conditions-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.conditions-list li { padding: 1.25rem 0 1.25rem 30px; border-top: 1px solid var(--field); position: relative; }
.conditions-list li::before { content: ""; position: absolute; left: 0; top: 1.62rem; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px var(--navy); }
.conditions-list h4 { font-size: 1.08rem; }
.conditions-list p { margin: .3rem 0 0; color: var(--muted); font-size: .98rem; }

/* ---------- Why choose us ---------- */
.why { background: var(--navy); color: #C3CBDD; }
.why-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reasons li { padding: 1.6rem; border-radius: 20px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); }
.reason-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; background: var(--yellow); color: var(--navy); }
.reason-icon svg { width: 26px; height: 26px; }
.reasons h3 { color: #fff; font-size: 1.12rem; margin: 1.1rem 0 .45rem; }
.reasons p { font-size: .97rem; }
.helpful { position: sticky; top: calc(var(--header-h) + 24px); padding: 1.9rem; border-radius: var(--radius-lg); background: #fff; color: var(--text); }
.helpful h3 { font-size: 1.25rem; margin-bottom: 1.2rem; }
.helpful .check-list { display: grid; gap: .85rem; margin-bottom: 1.7rem; }
.helpful .check-list li { color: var(--ink); font-weight: 500; }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.t-card { display: flex; flex-direction: column; margin: 0; padding: 1.8rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.t-stars { display: flex; gap: 3px; color: #EDB200; }
.t-stars svg { width: 19px; height: 19px; }
.t-card blockquote { margin: 1.1rem 0 1.5rem; }
.t-card blockquote p { color: var(--ink); font-size: 1.04rem; line-height: 1.62; }
.t-card figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.t-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 600; }
.t-card strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.t-card figcaption span span { display: block; color: var(--muted); font-size: .85rem; }
.t-more { margin-top: 2rem; text-align: center; }
.t-more a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-underline-offset: 4px; }
.t-more .ic { width: 16px; height: 16px; }

/* ---------- Blog ---------- */
.blog { background: var(--bg-alt); }
.blog--page { background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.blog-art { aspect-ratio: 16 / 9; background: var(--navy); }
.blog-art svg { width: 100%; height: 100%; }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 .6rem; color: var(--muted); font-size: .84rem; font-weight: 500; }
.blog-meta span { padding-left: 10px; border-left: 1px solid var(--field); }
.blog-card h3, .blog-card-title { font-size: 1.17rem; line-height: 1.3; margin-bottom: .6rem; }
.blog-card-body > p:not(.blog-meta) { color: var(--muted); font-size: .96rem; margin-bottom: 1.2rem; }
.blog-read { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--navy); font-weight: 600; font-size: .95rem; }
.blog-card:hover .blog-read { text-decoration: underline; text-underline-offset: 4px; }
.blog-ask { margin-top: 2.2rem; text-align: center; color: var(--muted); }
.blog-ask a { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; color: var(--wa-dark); font-weight: 600; text-underline-offset: 4px; }

.wa-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 48px; padding: 1.8rem 2rem; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--line); }
.wa-box h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.wa-box p { color: var(--muted); max-width: 52ch; }
.wa-box .btn-row { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 44px; align-items: start; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--ink); }
.contact-list li:first-child { padding-top: 0; }
.contact-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--bg-alt); color: var(--navy); }
.contact-ic svg { width: 21px; height: 21px; }
.contact-label { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; margin-bottom: 2px; }
.contact-list a { color: var(--ink); font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-form-card { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 26px; background: var(--bg-alt); border: 1px solid var(--line); }
.contact-form-card h3 { font-size: 1.4rem; }
.contact-form-card > p { color: var(--muted); margin: .4rem 0 1.4rem; }
.map-wrap { margin-top: 52px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Forms (shared by popup + contact) ---------- */
.enquiry-form { display: grid; gap: 14px; }
.field label { display: block; margin-bottom: .35rem; color: var(--ink); font-size: .88rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem;
  border: 1.5px solid var(--field); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; }
.field input::placeholder, .field textarea::placeholder { color: #8A94AA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 33, 61, .14); }
.phone-group { display: flex; }
.phone-group input { border-top-left-radius: 0; border-bottom-left-radius: 0; min-width: 0; }
.cc-fixed { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 0 .85rem; border: 1.5px solid var(--field); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--bg-alt); color: var(--ink); font-weight: 600; font-size: .96rem; }
.cc-fixed .flag svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.field .cc-select { flex: 0 0 96px; width: 96px; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background-color: var(--bg-alt); font-weight: 600; padding-left: .8rem; padding-right: 2rem; background-position: right .55rem center; }
.field-error { display: none; margin: .35rem 0 0; color: var(--error); font-size: .82rem; font-weight: 500; line-height: 1.4; }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .field.is-invalid .cc-fixed { border-color: var(--error); background-color: #FFF7F6; }
.form-status { margin: 0; font-size: .92rem; font-weight: 500; line-height: 1.45; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.form-note { margin: 0; color: var(--muted); font-size: .8rem; text-align: center; line-height: 1.45; }
.btn-submit { margin-top: 4px; min-height: 54px; font-size: 1.04rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Popup (approved single centered card) ---------- */
body.popup-open { overflow: hidden; }
.popup-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(12, 22, 48, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.popup-overlay.is-open { opacity: 1; }
.popup-card { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 430px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); transform: translateY(12px) scale(.97); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.popup-overlay.is-open .popup-card { transform: none; }
.popup-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .15s ease, color .15s ease; }
.popup-close:hover { background: #fff; color: var(--navy); }
.popup-close svg { width: 18px; height: 18px; }
.popup-timer { flex: none; padding: 15px 56px 16px; text-align: center; color: #fff; background: linear-gradient(135deg, #14213D 0%, #243A66 100%); transition: background .3s ease; }
.popup-timer-label { display: inline-flex; align-items: center; gap: 6px; color: #C9D2E6; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.popup-timer-label .ic { width: 14px; height: 14px; color: #FFB020; }
.popup-timer-count { display: block; margin-top: 2px; font-size: 2.3rem; font-weight: 700; line-height: 1.1; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.popup-timer.is-urgent { background: linear-gradient(135deg, #A61B14 0%, #E2463A 100%); animation: timer-pulse 1s ease-in-out infinite; }
.popup-timer.is-urgent .popup-timer-label, .popup-timer.is-urgent .popup-timer-label .ic { color: #FFE3DF; }
@keyframes timer-pulse { 0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0); } 50% { box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .08); } }
.popup-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 22px; }
.popup-badge { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 18px auto 12px; border-radius: 17px; background: linear-gradient(135deg, var(--orange-1), var(--orange-2)); color: #fff; box-shadow: 0 12px 22px -10px rgba(221, 74, 0, .8); }
.popup-badge svg { width: 30px; height: 30px; }
.popup-title { text-align: center; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.popup-title .accent { color: var(--orange-accent); }
.popup-desc { margin: .45rem 0 1.15rem; text-align: center; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.enquiry-form--popup { gap: 11px; }
.enquiry-form--popup .field label { font-size: .82rem; margin-bottom: .28rem; }
.enquiry-form--popup .field input, .enquiry-form--popup .field select { min-height: 46px; padding-top: .62rem; padding-bottom: .62rem; font-size: .97rem; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: #CFD6E8; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 24ch; margin: .6rem 0 .8rem; }
.page-hero p { max-width: 60ch; font-size: 1.08rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #9FAAC4; font-size: .88rem; }
.crumbs a { color: #fff; text-underline-offset: 3px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; color: #B8C1D7; font-size: .92rem; }
.post-meta span { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .25); }
.post-section { padding-top: 48px; }
.post-art { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 2.4rem; }
.post-body { font-size: 1.1rem; line-height: 1.78; color: #33405C; }
.post-body h2 { font-size: 1.42rem; margin: 2.2rem 0 .6rem; }
.post-body p { margin-bottom: 1.1rem; }
.post-body a { color: var(--navy); font-weight: 500; text-underline-offset: 3px; }
.post-note { margin-top: 2rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--muted); font-size: .95rem; line-height: 1.6; }
.post-more { margin-top: 48px; }
.post-more h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.post-more li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; text-decoration: none; }
.post-more li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.4rem; color: var(--navy); font-weight: 600; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #B6BFD5; font-size: .95rem; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding: 52px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta-title { color: #fff; font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-bottom: .4rem; }
.footer-cta p { max-width: 52ch; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1.25fr 1.6fr; gap: 40px; padding: 56px 0 48px; }
.footer-logo { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 14px; background: #fff; text-decoration: none; }
.footer-logo img { height: 56px; width: auto; max-width: 210px; object-fit: contain; }
.footer-brand p { margin-top: 1.1rem; max-width: 38ch; font-size: .93rem; }
.footer-social { display: flex; gap: 8px; margin-top: 1.3rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .15s ease, color .15s ease; }
.footer-social a:hover { background: var(--yellow); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: .65rem; line-height: 1.45; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--yellow); }
.footer-contact a { word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom a { text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating elements (approved style, do not change) ---------- */
.floating-badge {
  position: fixed; left: 18px; bottom: 18px; z-index: 300; width: 120px; height: 40px;
  border-radius: 10px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.25); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.floating-badge img { width: 150px; object-fit: contain; }

.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 300; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .15s ease;
}
.floating-whatsapp:hover { transform: scale(1.06); }
.floating-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 480px) {
  .floating-badge { width: 120px; height: 46px; left: 12px; bottom: 12px; }
  .floating-whatsapp { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .main-nav a { padding: .5rem .65rem; font-size: .94rem; }
  .brand img { height: 58px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .helpful { position: static; }
}

@media (max-width: 991px) {
  :root { --header-h: 76px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .founder-card { max-width: 300px; }
  .hero h1 { max-width: 20ch; margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-stats { max-width: 620px; margin-left: auto; margin-right: auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-feature { grid-template-columns: 1fr; }
  .service-media { min-height: 0; aspect-ratio: 16 / 10; }
  .t-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 68px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .conditions-list, .reasons { grid-template-columns: 1fr; }
  .reasons li { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; padding: 1.3rem; }
  .reasons .reason-icon { grid-row: span 2; }
  .reasons h3 { margin: .1rem 0 .35rem; }
  .t-grid, .blog-grid { grid-template-columns: 1fr; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .highlights { padding: 1.7rem 1.4rem; }
  .map-wrap iframe { height: 300px; }
  .topbar-email { display: none; }
  .footer-cta { padding: 44px 0; }
  .wa-box { padding: 1.5rem; }
}

@media (max-width: 560px) {
  .topbar-label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { padding-bottom: 84px; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-cta-actions .btn { flex: 1 1 100%; }
  .wa-box .btn-row .btn { flex: 1 1 100%; }
  .section-head--split .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .brand img { height: 52px; max-width: 170px; }
  .header-call { padding: 0; width: 46px; min-height: 46px; }
  .header-call .call-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-call .ic { width: 20px; height: 20px; }
  .hero h1 { font-size: 2.05rem; }
  .founder-card { max-width: 260px; }
  .popup-overlay { padding: 12px; }
  .popup-card { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .popup-body { padding: 0 18px 18px; }
  .popup-title { font-size: 1.35rem; }
  .popup-timer-count { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gonio-range { stroke-dashoffset: 0; }
}
