/* ==========================================================================
   NS Lumina Physio Rehab & Wellness — main stylesheet
   Direction: "Clinical clean" — white base, brand green for trust,
   brand gold as a small accent only.
   ========================================================================== */

:root {
  --green: #253214;        /* brand green */
  --green-700: #34471c;
  --green-500: #4f6b2c;
  --green-100: #e9efe1;
  --green-50: #f4f7f0;
  --gold: #d4ad5c;         /* brand gold (logo, footer) */
  --gold-text: #9a7630;    /* darker gold, readable on white */
  --white: #ffffff;
  --ink: #18200f;
  --body: #3f4838;
  --muted: #6a7263;
  --line: #e3e8dc;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Cormorant Garamond", Georgia, serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(24, 32, 15, .05), 0 6px 20px rgba(24, 32, 15, .06);
  --shadow-lg: 0 2px 6px rgba(24, 32, 15, .06), 0 20px 44px rgba(24, 32, 15, .12);
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-500); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--green); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em;
  border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(37, 50, 20, .25); }
.btn-secondary { background: var(--white); color: var(--green); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green); color: rgba(255, 255, 255, .85); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--gold); }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); }
@media (max-width: 760px) { .topbar-hide-sm { display: none !important; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(24, 32, 15, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--green); }
.brand:hover { color: var(--green); }
.brand-mark {
  width: 48px; height: 48px; border-radius: 12px; background: var(--green);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-mark img { width: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-logo); font-size: 1.55rem; font-weight: 600; letter-spacing: .05em; }
.brand-tag { font-size: .6rem; letter-spacing: .2em; margin-top: 5px; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--body); font-size: .94rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--green); background: var(--green-50); }
.main-nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
.main-nav .nav-cta { margin-left: 12px; }
.main-nav .nav-cta a { background: var(--green); color: #fff; padding: 10px 20px; }
.main-nav .nav-cta a:hover { background: var(--green-700); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--green); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 480px; box-shadow: 0 16px 30px rgba(24, 32, 15, .1); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; gap: 2px; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-cta { margin: 8px 0 0; }
  .main-nav .nav-cta a { text-align: center; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1.3rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark img { width: 30px; }
  .brand-tag { font-size: .52rem; letter-spacing: .14em; }
}

/* ---------- Photos ---------- */
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--green-50), var(--white)); padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.section-head .eyebrow::before, .text-center .eyebrow::before { display: none; }
.hero h1 { margin-bottom: .45em; }
.hero h1 span { color: var(--green-500); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 30px 0 0; font-size: .92rem; color: var(--ink); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green-500); }

.hero-media { position: relative; }
.hero-media .photo { aspect-ratio: 8 / 9; box-shadow: var(--shadow-lg); }
.float-card {
  position: absolute; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
  font-size: .85rem; line-height: 1.35; color: var(--muted);
}
.float-card strong { display: block; color: var(--ink); font-size: .95rem; }
.float-card .icon { width: 42px; height: 42px; margin: 0; border-radius: 10px; }
.float-card .icon svg { width: 20px; height: 20px; }
.float-card.fc-1 { left: -28px; bottom: 36px; }
.float-card.fc-2 { right: -20px; top: 32px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 520px; }
  .float-card.fc-1 { left: 12px; bottom: 12px; }
  .float-card.fc-2 { right: 12px; top: 12px; }
}

/* Trust strip */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item .icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.trust-item .icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .98rem; }
.trust-item span { font-size: .84rem; color: var(--muted); }
@media (max-width: 960px) {
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding: 18px 4px; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--green-50); border-bottom: 1px solid var(--line); padding: 56px 0 52px; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; font-size: 1.08rem; }
.breadcrumb { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 14px; font-size: .85rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.breadcrumb a { color: var(--green-500); font-weight: 500; }
.breadcrumb [aria-current] { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-alt { background: var(--green-50); }
.section-tint { background: var(--green-50); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.gold-rule { display: none; }

.grid { display: grid; gap: 22px; }
.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: 1000px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .photo { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--green-500); transition: gap .2s; }
.card .card-link:hover { gap: 10px; color: var(--green); }

.icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-100); color: var(--green);
  margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }

/* Service detail blocks */
.service-detail { display: grid; grid-template-columns: 76px 1fr; gap: 28px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.service-detail .icon { width: 68px; height: 68px; border-radius: 16px; }
.service-detail .icon svg { width: 32px; height: 32px; }
.service-detail h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.service-detail p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.check-list li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253214' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / 10px;
}
@media (max-width: 640px) {
  .service-detail { grid-template-columns: 1fr; gap: 14px; }
  .check-list { grid-template-columns: 1fr; }
}

/* Feature list */
.feature { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.feature .icon { flex-shrink: 0; margin: 0; }
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 26px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .9rem; color: var(--ink); }

/* Condition groups */
.condition-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; }
.condition-group h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 14px; }
.condition-group h2 .icon { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.condition-group h2 .icon svg { width: 22px; height: 22px; }
.condition-group > p { color: var(--muted); font-size: .95rem; }
.condition-group .chips li { background: var(--green-50); border-color: transparent; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative;
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: translateY(-75%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 40px 22px 0; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; color: rgba(255, 255, 255, .8);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -30px; bottom: -50px; width: 220px; height: 200px;
  background: url("../img/logo-emblem.png") no-repeat center / contain; opacity: .08;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band .hero-actions { position: relative; z-index: 1; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: #e2c07a; color: var(--ink); }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-secondary:hover { border-color: #fff; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.contact-item .icon { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.02rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-item a { color: var(--green-500); font-weight: 500; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; color: var(--muted); }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; color: var(--ink); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d2d9c9; border-radius: 8px;
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(79, 107, 44, .15); }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

.map-wrap { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--green-50); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(255, 255, 255, .72); padding: 64px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 16px; color: var(--gold); }
.footer-brand .brand-mark { background: rgba(255, 255, 255, .06); border: 1px solid rgba(212, 173, 92, .35); }
.footer-brand .brand-tag { color: var(--gold); }
.footer-brand p { max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold); color: var(--green); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 52px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; color: rgba(255, 255, 255, .5);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* Utility */
.text-center { text-align: center; }
.mt-lg { margin-top: 44px; }
.muted { color: var(--muted); }
