/* ===========================
   White Pine Acupuncture Pain Clinic
   Modern stylesheet — 2026 redesign
   =========================== */

:root {
  --pine-900: #1a3d33;
  --pine-700: #2d5b4e;
  --pine-500: #4a8b7a;
  --pine-100: #e6f0ec;
  --gold: #c8a24a;
  --gold-light: #f5edd8;
  --cream: #fdfcf7;
  --white: #ffffff;
  --ink: #2a2a2a;
  --ink-muted: #6b6b6b;
  --border: #e6e3da;
  --shadow-sm: 0 1px 2px rgba(15, 30, 25, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 30, 25, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 30, 25, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--pine-900);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }

/* ---------- layout ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; scroll-margin-top: 80px; }
.section-tight { padding: 2.5rem 0; }
.section-pine { background: var(--pine-100); }
.section-cream { background: var(--cream); }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; max-width: 1100px; margin: 0 auto; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none;
}
.brand-text strong {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 1.65rem; color: var(--pine-900); line-height: 1.15;
  font-weight: 700;
}
.brand-text span {
  display: block; font-size: .95rem; color: var(--ink-muted);
  margin-top: 2px;
}

.nav { display: flex; gap: .25rem; align-items: center; }
.nav a {
  padding: .55rem .95rem; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.nav a:hover { background: var(--pine-100); color: var(--pine-900); }
.nav a.active {
  background: var(--pine-500); color: var(--white);
}
.nav a.active:hover { background: var(--pine-700); color: var(--white); }

.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  padding: .5rem; font-size: 1.4rem; color: var(--pine-900);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem; gap: .25rem;
    display: none; box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .brand-text strong { font-size: 1.2rem; }
  .brand-text span { display: none; }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--pine-100) 0%, var(--cream) 100%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pine-700);
  background: var(--white); padding: .35rem .8rem; border-radius: 999px;
  border: 1px solid var(--pine-100);
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  align-items: center; margin-bottom: 1rem;
}
.hero-reviews-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold-light); border: 1px solid #e8d9a5;
  color: var(--pine-900);
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}
.hero-reviews-pill:hover { background: #f0e0aa; transform: translateY(-1px); color: var(--pine-900); }
.hero-reviews-pill .stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; }
.hero-reviews-pill strong { color: var(--pine-900); font-weight: 700; }
.hero-insurance {
  display: flex; flex-wrap: wrap; gap: .5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pine-500);
  border-radius: var(--radius);
  padding: .75rem 1.1rem;
  margin-top: .75rem;
  box-shadow: var(--shadow-sm);
}
.hero-insurance .insurance-label {
  margin-right: .25rem;
}
.hero-title {
  font-size: clamp(1.7rem, 2.8vw, 2.1rem);
  margin: 0 0 .5rem;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .hero-title { white-space: normal; font-size: clamp(1.6rem, 5vw, 2rem); }
}
.hero-sub { font-size: 1.15rem; color: var(--ink-muted); margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-contact-info {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: .9rem 1.25rem;
  font-size: 1rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}
.hero-contact-info strong { color: var(--pine-900); font-size: 1.05rem; }

/* App banner (home page strip) */
.app-banner {
  background: linear-gradient(135deg, var(--pine-100) 0%, var(--gold-light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.app-banner-grid {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center;
}
.app-banner-text { display: flex; flex-direction: column; gap: .15rem; }
.app-banner-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold);
}
.app-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--pine-900); line-height: 1.2;
  margin: 0;
}
.app-banner-sub { color: var(--ink-muted); font-size: .9rem; margin: 0; }
@media (max-width: 640px) {
  .app-banner-grid { grid-template-columns: 1fr; }
}

/* App store badges */
.app-badges {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: .75rem;
}
.app-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #000; color: #fff !important;
  padding: .35rem .7rem; border-radius: 6px;
  text-decoration: none;
  transition: all .15s ease;
  border: 1px solid #000;
}
.app-badge:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  color: #fff;
}
.app-badge-icon { width: 13px; height: 13px; flex-shrink: 0; fill: #fff; }
.app-badge-text { display: flex; flex-direction: column; line-height: 1; }
.app-badge-text small {
  font-size: .5rem; letter-spacing: .04em;
  opacity: .9; text-transform: uppercase; font-weight: 400;
}
.app-badge-text strong {
  font-size: .8rem; font-weight: 600; margin-top: 1px;
  font-family: 'Inter', sans-serif;
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.hero-photo-wrap img { width: 100%; height: auto; display: block; }

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo-wrap { max-width: 320px; margin: 0 auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: all .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--pine-500); color: var(--white);
}
.btn-primary:hover { background: var(--pine-700); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--pine-700); border-color: var(--pine-700);
}
.btn-outline:hover { background: var(--pine-700); color: var(--white); }
.btn-gold {
  background: var(--gold); color: var(--white);
}
.btn-gold:hover { background: #b08f3e; color: var(--white); }

/* ---------- trust bar ---------- */
.trust-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem 2rem; box-shadow: var(--shadow-md);
  margin-top: -3rem; position: relative; z-index: 2;
}
.trust-stat {
  display: flex; align-items: center; gap: 1rem;
  border-right: 1px solid var(--border); padding-right: 1.5rem;
}
.trust-stat:last-child { border-right: 0; padding-right: 0; }
.trust-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem; font-weight: 700; color: var(--pine-700);
  line-height: 1;
}
.trust-stat-label { font-size: .9rem; color: var(--ink-muted); margin-top: .15rem; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 1rem; }

@media (max-width: 768px) {
  .trust-bar { grid-template-columns: 1fr; padding: 1.25rem; }
  .trust-stat { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 1rem; }
  .trust-stat:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- insurance row ---------- */
.insurance {
  display: flex; flex-wrap: wrap; gap: .6rem;
  align-items: center;
}
.insurance-label {
  font-size: .85rem; color: var(--ink-muted); font-weight: 500;
  margin-right: .5rem;
}
.insurance-badge {
  background: var(--gold-light); color: var(--pine-900);
  padding: .35rem .75rem; border-radius: 6px;
  font-size: .8rem; font-weight: 600;
  border: 1px solid #e8d9a5;
}

/* ---------- section header ---------- */
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0 0 .5rem; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .75rem;
}

/* ---------- services grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--border);
  transition: all .2s ease;
}
.service-card:hover {
  border-color: var(--pine-500); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--pine-100); color: var(--pine-700);
  display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.1rem; margin: 0 0 .35rem; color: var(--pine-900); }
.service-card p { margin: 0; color: var(--ink-muted); font-size: .9rem; line-height: 1.55; }

/* ---------- specialty list ---------- */
.specialty-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.specialty-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; border-left: 4px solid var(--pine-500);
  box-shadow: var(--shadow-sm);
}
.specialty-card h3 {
  font-size: 1.05rem; margin: 0 0 .35rem; color: var(--pine-900);
  font-family: 'Inter', sans-serif; font-weight: 600;
}
.specialty-card p { margin: 0; font-size: .9rem; color: var(--ink-muted); line-height: 1.55; }

/* ---------- expertise page (long-form) ---------- */
.expertise-intro {
  max-width: 720px; margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.15rem; color: var(--ink);
  line-height: 1.7;
}
.expertise-list {
  display: flex; flex-direction: column; gap: 1.5rem;
  max-width: 920px; margin: 0 auto;
}
.expertise-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 1.75rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--pine-500);
  align-items: start;
}
.expertise-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.02em;
}
.expertise-content h3 {
  font-size: 1.4rem;
  margin: 0 0 .5rem;
  color: var(--pine-900);
}
.expertise-content p {
  font-size: 1rem; line-height: 1.7;
  color: var(--ink);
  margin: 0 0 .75rem;
}
.expertise-content strong {
  color: var(--pine-900);
}
.expertise-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1rem;
}
.expertise-pill {
  background: var(--pine-100);
  color: var(--pine-700);
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  border: 1px solid #cfdfd8;
}

.expertise-quote {
  background: linear-gradient(135deg, var(--pine-700), var(--pine-900));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
  max-width: 760px;
  margin: 3rem auto 0;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.expertise-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.4;
  position: absolute;
  top: -10px; left: 24px;
  line-height: 1;
}
.expertise-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; line-height: 1.5;
  font-style: italic;
  margin: 0 0 1rem;
  color: var(--white);
}
.expertise-quote cite {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  letter-spacing: .1em;
  color: var(--gold-light);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .expertise-item { grid-template-columns: 1fr; gap: .5rem; padding: 1.5rem; }
  .expertise-num { font-size: 2.5rem; }
  .expertise-quote { padding: 2rem 1.5rem; }
  .expertise-quote p { font-size: 1.1rem; }
}

/* ---------- review cards ---------- */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.75rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.review-card .stars { font-size: 1.1rem; margin-bottom: .75rem; }
.review-text {
  flex: 1; color: var(--ink); font-size: .95rem; line-height: 1.65;
  margin-bottom: 1rem;
}
.review-author {
  font-weight: 600; color: var(--pine-900); font-size: .95rem;
}
.review-author a { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--border); }

/* ---------- bio (about page) ---------- */
.bio {
  display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  align-items: start;
}
.bio-photo {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); width: 220px;
}
.bio-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--pine-900); margin: 0 0 .25rem;
}
.bio-cred {
  font-size: .9rem; color: var(--gold); font-weight: 600; margin-bottom: 1rem;
  letter-spacing: .03em;
}
.bio-section { margin-top: 1.25rem; }
.bio-section h4 { font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--pine-700); margin: 0 0 .5rem; }
.bio p { margin: 0 0 .85rem; }
.bio ul { margin: 0 0 .5rem; }

@media (max-width: 768px) {
  .bio { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; }
  .bio-photo { width: 160px; margin: 0 auto; }
}

/* ---------- contact section ---------- */
.contact-card {
  background: var(--pine-700); color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.contact-card h2 { color: var(--white); margin-bottom: .5rem; }
.contact-card p { color: rgba(255, 255, 255, 0.85); }
.contact-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.contact-info .item {
  background: rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 1.25rem; text-align: center;
}
.contact-info .item-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.contact-info .item-label { font-size: .8rem; opacity: .75; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .35rem; }
.contact-info .item a { color: var(--white); font-weight: 600; }
.contact-info .item a:hover { color: var(--gold-light); }

.text-us-callout {
  background: linear-gradient(135deg, var(--gold) 0%, #d4b25e 100%);
  color: var(--pine-900);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 1.5rem auto 0;
  max-width: 640px;
  box-shadow: 0 8px 24px rgba(200, 162, 74, 0.35);
  border: 2px solid var(--gold-light);
  text-align: center;
}
.text-us-callout .badge {
  display: inline-block;
  background: var(--pine-900);
  color: var(--gold-light);
  font-size: .7rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.text-us-callout .text-us-line {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--pine-900);
  margin: 0 0 .25rem;
}
.text-us-callout a.text-us-number {
  color: var(--pine-900);
  font-size: 1.8rem; font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin: .25rem 0;
  letter-spacing: .02em;
}
.text-us-callout a.text-us-number:hover { color: var(--pine-700); }
.text-us-callout .text-us-sub {
  color: var(--pine-900);
  opacity: .8;
  font-size: .9rem;
  margin: .25rem 0 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--pine-900); color: rgba(255,255,255,0.75);
  padding: 2.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: var(--white); font-family: 'Inter', sans-serif;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer-grid p, .footer-grid a, .footer-grid li {
  color: rgba(255,255,255,0.75); font-size: .9rem;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem; text-align: center;
  font-size: .85rem; color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- 119 reviews hero (testimonials page) ---------- */
.reviews-hero {
  background: linear-gradient(135deg, var(--pine-700), var(--pine-900));
  color: var(--white);
  padding: 4rem 0 5rem;
  text-align: center;
}
.reviews-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .5rem; }
.reviews-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.reviews-stat-big {
  display: inline-flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.1); border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}
.reviews-stat-big .num {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem; font-weight: 700; line-height: 1;
  color: var(--gold-light);
}
.reviews-stat-big .stars { font-size: 1.5rem; margin: .5rem 0; }
.reviews-stat-big .label { font-size: .9rem; opacity: .85; }

/* ---------- utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
