/* MV Nzama Dental: site-wide styles (the page-specific ones are inline in index.html).
   Palette from the client's reference (cream, lime, forest green). */
:root{
  --forest:#2d5a43; --forest-dark:#1f4231; --lime:#8cb811; --lime-ink:#4f6d08; --lime-soft:#eaf1d3;
  --cream:#f4efe3; --sand:#e8dfca; --ink:#1d2a22; --muted:#5d6a61; --line:#ddd5c2; --wa:#25d366;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,sans-serif;color:var(--ink);background:#fff;line-height:1.6;overflow-x:hidden}
h1,h2,h3{font-family:Outfit,Inter,sans-serif;font-weight:700;line-height:1.08;letter-spacing:-.02em}
a{color:inherit}
img{max-width:100%;display:block}
.wrap{max-width:1160px;margin:0 auto;padding:0 16px}
section{padding:88px 0}
.eyebrow{color:var(--lime-ink);font-weight:700;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px}
.hand{font-family:Caveat,cursive;font-weight:600;letter-spacing:0;text-transform:none}
h2{font-size:clamp(2rem,4.2vw,3rem);margin-bottom:14px}
.head{display:flex;justify-content:space-between;align-items:end;gap:24px;flex-wrap:wrap;margin-bottom:40px}
.head p{color:var(--muted);max-width:420px}
.ic{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* reveal on scroll */
.js .rv{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.js .rv.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.js .rv{opacity:1;transform:none;transition:none}html{scroll-behavior:auto}}

/* header */
header{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px;gap:16px}
.logo{text-decoration:none;line-height:1.1;display:flex;align-items:center;gap:10px}
.logo .mark{width:38px;height:38px;border-radius:12px;background:var(--forest);color:#fff;display:grid;place-items:center;flex:none}
.logo .mark svg{width:24px;height:24px}
.logo b{font-family:Outfit,sans-serif;font-weight:700;font-size:1.25rem;color:var(--forest);display:block;letter-spacing:-.01em}
.logo small{font-family:Caveat,cursive;font-size:1rem;color:var(--lime-ink);font-weight:600}
.nav ul{display:flex;gap:24px;list-style:none}
.nav ul a{text-decoration:none;font-size:.93rem;color:var(--muted);font-weight:500}
.nav ul a:hover,.nav ul a[aria-current]{color:var(--forest)}
.btn{display:inline-block;padding:13px 24px;border-radius:999px;font-weight:600;text-decoration:none;border:0;cursor:pointer;font-size:1rem;font-family:inherit;text-align:center;transition:transform .15s,background .15s}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--forest);color:#fff}.btn-primary:hover{background:var(--forest-dark)}
.btn-lime{background:var(--lime);color:var(--forest-dark)}.btn-lime:hover{background:#9bc922}
.btn-ghost{border:1.5px solid var(--forest);color:var(--forest);background:transparent}
.btn-light{background:#fff;color:var(--forest)}
.btn-wa{background:var(--wa);color:#073b1c}
.btn-mail{background:#fff;border:1.5px solid var(--forest);color:var(--forest)}
.menu-btn{display:none;background:none;border:1.5px solid var(--line);border-radius:10px;width:44px;height:44px;cursor:pointer;color:var(--forest);font-size:1.4rem;line-height:1}
@media(max-width:860px){
  .menu-btn{display:block;margin-left:auto}
  .nav{gap:10px}
  .logo b{font-size:1.05rem;white-space:nowrap}
  .logo small{font-size:.9rem;white-space:nowrap}
  .logo .mark{width:34px;height:34px}
  .nav .btn-primary{padding:9px 14px;font-size:.85rem;white-space:nowrap}
  .nav ul{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;gap:0;padding:8px 16px 14px}
  .nav ul.open{display:flex}
  .nav ul a{display:block;padding:12px 4px;font-size:1rem;border-bottom:1px solid var(--line)}
}
@media(max-width:400px){.logo .mark{display:none}}

/* lightbox, footer, misc */
.lb{position:fixed;inset:0;background:rgba(15,30,22,.92);display:none;align-items:center;justify-content:center;z-index:50;padding:20px;cursor:zoom-out}
.lb.on{display:flex}
.lb img{max-width:100%;max-height:100%;border-radius:12px}
footer{background:var(--forest-dark);color:#d5e2d9;padding:40px 0;font-size:.9rem}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px}
footer b{color:#fff;font-family:Outfit,sans-serif}
footer .hand{color:var(--lime);font-size:1.15rem}
footer .ig{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:600;text-decoration:none;margin-bottom:6px}
footer .ig .ic{width:20px;height:20px;color:var(--lime)}
footer .ig:hover{text-decoration:underline}
.fab{position:fixed;right:18px;bottom:18px;background:var(--wa);color:#073b1c;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.25);z-index:20}
.fab svg{width:30px;height:30px}
.linkbtn{background:none;border:0;font:inherit;text-decoration:underline;cursor:pointer;color:#d5e2d9;font-weight:500}
dialog{border:0;border-radius:18px;max-width:640px;width:calc(100% - 32px);padding:28px;max-height:85vh;overflow:auto}
dialog::backdrop{background:rgba(15,30,22,.6)}
dialog h2{font-size:1.6rem}
dialog h3{font-family:Inter,sans-serif;font-size:1rem;font-weight:700;margin:16px 0 4px;letter-spacing:0}
dialog p,dialog li{font-size:.92rem;color:var(--muted)}
dialog ul{padding-left:20px}
dialog .btn{margin-top:20px}
.callbar{display:none}
@media(max-width:700px){
  section{padding:64px 0}
  .callbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:15;background:#fff;border-top:1px solid var(--line);padding:10px 84px 10px 16px;gap:10px}
  .callbar .btn{flex:1;padding:12px 10px}
  body{padding-bottom:70px}
}
