/* ============================================
   SUKOON CLINIC — SHARED BASE STYLESHEET
   style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── TOKENS ── */
:root {
  --green:      #256E5F;
  --green-hover:#3A8C7A;
  --green-bg:   #E5F4F0;
  --green-pale: #F0FAF7;
  --rust:       #C4714A;
  --rust-bg:    #F5EDE7;
  --cream:      #FEFDF9;
  --warm:       #F8F4EE;
  --ink:        #1A2924;
  --body-text:  #4A6058;
  --muted:      #7A9890;
  --border:     #D8E8E2;
  --white:      #FFFFFF;
  --shadow-sm:  0 2px 16px rgba(37,110,95,.08);
  --shadow-md:  0 6px 32px rgba(37,110,95,.13);
  --font-head:  'Cormorant Garamond', serif;
  --font-body:  'Plus Jakarta Sans', sans-serif;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  22px;
}

/* ── BASE ── */
html   { scroll-behavior: smooth; font-size: 16px; }
body   { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.7; overflow-x: hidden; }
a      { text-decoration: none; color: inherit; }
img    { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── LAYOUT HELPERS ── */
.wrap  { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.pt-nav { padding-top: 70px; }
.sec   { padding: 5rem 0; }

/* ── TYPOGRAPHY HELPERS ── */
.chip {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--green); background: var(--green-bg);
  padding: 5px 16px; border-radius: 50px;
  margin-bottom: 1rem;
}
.H1 { font-family: var(--font-head); font-size: 3.2rem; line-height: 1.13; letter-spacing: -.4px; color: var(--ink); }
.H2 { font-family: var(--font-head); font-size: 2.4rem; line-height: 1.18; letter-spacing: -.3px; color: var(--ink); }
.H3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.lead { font-size: 1.05rem; color: var(--body-text); line-height: 1.8; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  padding: 12px 28px; border-radius: 50px;
  cursor: pointer; border: none;
  transition: background .2s, transform .18s, box-shadow .18s;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,110,95,.26); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green-bg); }
.btn-rust { background: var(--rust); color: #fff; }
.btn-rust:hover { background: #b5623e; transform: translateY(-2px); }

/* ── TAG PILLS ── */
.pill { background: var(--green-bg); color: var(--green); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 50px; display: inline-block; }

/* =========================================
   NAVBAR
   ========================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(254,253,249,.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
#navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

/* Brand */
.nav-brand { display: flex; flex-direction: column; gap: 1px; }
.nav-brand-name { font-family: var(--font-head); font-size: 1.45rem; color: var(--green); letter-spacing: -.2px; line-height: 1; }
.nav-brand-sub  { font-size: 10.5px; color: var(--muted); letter-spacing: .7px; }

/* Links */
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links li a {
  font-size: 13.5px; font-weight: 500; color: var(--body-text);
  padding: 7px 14px; border-radius: 50px;
  transition: color .18s, background .18s;
  display: block;
}
.nav-links li a:hover          { color: var(--green); background: var(--green-bg); }
.nav-links li.nav-active a     { color: var(--green); background: var(--green-bg); }
.nav-links li.nav-book a {
  background: var(--green); color: #fff;
  padding: 9px 20px;
  transition: background .18s, transform .18s;
}
.nav-links li.nav-book a:hover { background: var(--green-hover); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 5px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--green); border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mob-nav {
  display: none; flex-direction: column;
  background: var(--cream); border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.6rem;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-size: 15px; font-weight: 500; color: var(--body-text);
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: color .18s;
}
.mob-nav a:hover { color: var(--green); }
.mob-nav .mob-book {
  background: var(--green); color: #fff;
  padding: 13px 20px; border-radius: 50px;
  text-align: center; font-weight: 600;
  margin-top: 1rem; border-bottom: none;
  transition: background .18s;
}
.mob-nav .mob-book:hover { background: var(--green-hover); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer { background: var(--ink); padding: 3rem 2rem 2rem; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-name { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin-bottom: .3rem; }
.footer-brand-sub  { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .7px; margin-bottom: 1.2rem; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.75; }
.footer-col h4 { font-family: var(--font-head); font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: .9rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.45); transition: color .18s; }
.footer-col ul li a:hover { color: rgba(255,255,255,.85); }
.footer-contact-item { display: flex; gap: 9px; align-items: flex-start; margin-bottom: .8rem; }
.footer-contact-item span.ico { font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.footer-contact-item span.txt { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.55; }
.footer-contact-item span.txt a { color: rgba(255,255,255,.55); }
.footer-contact-item span.txt a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  max-width: 1160px; margin: 1.5rem auto 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-bottom p strong { color: rgba(255,255,255,.55); font-weight: 500; }

/* ── RESPONSIVE FOOTER ── */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── RESPONSIVE NAV ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ── CTA BAND (shared) ── */
.cta-band {
  background: linear-gradient(130deg, var(--green) 0%, #155044 100%);
  padding: 5rem 0; text-align: center;
}
.cta-band .H2 { color: #fff; margin-bottom: .8rem; }
.cta-band p   { color: rgba(255,255,255,.75); max-width: 480px; margin: 0 auto 2rem; font-size: 1rem; }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--green); color: #fff;
  padding: 1rem 1.4rem; border-radius: 14px;
  font-size: 14px; font-weight: 500; line-height: 1.5;
  box-shadow: 0 4px 24px rgba(37,110,95,.35);
  z-index: 9999; max-width: 320px;
  transform: translateY(80px); opacity: 0;
  transition: transform .38s cubic-bezier(.22,1,.36,1), opacity .38s;
  pointer-events: none;
}
#toast.show { transform: translateY(0); opacity: 1; }