/*
 * Hands On Acupuncture & Massage Therapy - hand-coded static site.
 * Built by NJLIGames Ltd to replace the slow WordPress build. Self-contained:
 * system fonts (no external requests), one stylesheet, minimal JS.
 * Calm, warm healing palette. Fully responsive and accessible (zoom allowed).
 */
:root {
  --ink: #22302c;
  --muted: #5c6b66;
  --primary: #2f6d5f;      /* healing teal-green */
  --primary-dark: #234f45;
  --accent: #c07a3c;       /* warm earth / 5-elements amber */
  --accent-dark: #a5652d;
  --bg: #ffffff;
  --surface: #f6f2ea;      /* warm cream */
  --surface-2: #eee7da;
  --border: #e3dccf;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(34,48,44,.06), 0 8px 28px rgba(34,48,44,.07);
  --maxw: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: .7rem 1.1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, transform .15s, border-color .15s; min-height: 48px; font-family: var(--sans); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--outline { background: transparent; color: var(--primary-dark); border-color: var(--border); }
.btn--outline:hover { background: var(--surface); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-head__in { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.brand__sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav .btn { padding: .55rem 1.1rem; min-height: 42px; font-size: .92rem; }
.nav-toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--surface) 0%, #fff 70%); border-bottom: 1px solid var(--border); }
.hero__in { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin: 0 0 .8rem; }
.hero h1 { margin-bottom: .4rem; color: var(--ink); }
.hero__lead { font-size: 1.18rem; color: var(--muted); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__cta .btn--primary { color: #fff; }
.hero__card { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); }
.hero__card h2 { color: #fff; font-size: 1.3rem; }
.hero__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hero__card li { padding-left: 1.7rem; position: relative; }
.hero__card li::before { content: "✦"; position: absolute; left: 0; color: #ffd9a8; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section--cream { background: var(--surface); }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); }

/* Services */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card--link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 6px 30px rgba(34,48,44,.12); }

/* Treats / conditions pills */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pill { background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: .5rem 1.1rem; font-size: .95rem; font-weight: 500; }

/* Split / about */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.credentials { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.credentials span { background: var(--surface-2); border-radius: 8px; padding: .3rem .7rem; font-size: .82rem; font-weight: 600; color: var(--primary-dark); }

/* Testimonials */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote { background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.quote p { font-style: italic; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 600; color: var(--muted); font-size: .92rem; }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: .5rem; }

/* CTA band */
.cta-band { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 46ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.2rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ico { font-size: 1.3rem; flex: none; }
.info-list a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }
form label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 .35rem; }
form input, form textarea { width: 100%; padding: .75rem .85rem; min-height: 48px; font: inherit; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); margin-bottom: 1rem; color: var(--ink); }
form textarea { min-height: 130px; resize: vertical; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); }

/* Footer */
.site-foot { background: #20302c; color: #c9d4d0; margin-top: 0; }
.site-foot__in { display: grid; gap: 2rem; padding-block: 3rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-foot h4 { color: #fff; font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .9rem; }
.site-foot a { color: #c9d4d0; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-foot address { font-style: normal; line-height: 1.9; }
.foot-legal { border-top: 1px solid #34433e; padding-block: 1.1rem 2rem; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: #9aa8a3; }
.foot-legal a { color: #9aa8a3; }

@media (min-width: 760px) {
  .hero__in { grid-template-columns: 1.3fr .9fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .2s ease; }
  .site-head.open .nav { transform: translateY(0); }
  .nav a { padding: .9rem .2rem; border-bottom: 1px solid var(--border); }
  .nav .btn { margin-top: .8rem; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }
}
