/* ══════════════════════════════════════════════════
   Jude Gibbs — Acupuncture & Natural Healing
   Shared stylesheet — used by every page in /Build
   ══════════════════════════════════════════════════ */

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

:root {
  --cream:       #FAF6F2;
  --surface:     #FFF9F7;
  --rose:        #C4738A;
  --rose-deep:   #A85A6E;
  --rose-pale:   #F2D8DF;
  --sage:        #8A9E8C;
  --sage-pale:   #E4EDE5;
  --text:        #2D2326;
  --text-soft:   #7A6168;
  --border:      #EDE0DC;
  --white:       #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p { color: var(--text-soft); }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Layout ───────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* ── Nav ──────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 246, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
}

.nav-logo span { color: var(--rose); }

.nav-logo-mark {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: var(--rose); }

.nav-links a.active {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

.nav-cta {
  color: var(--rose) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 100%; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
  border: 1px solid var(--rose);
}

.btn-primary:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--rose);
  color: var(--rose);
}

/* ── Hero (home page) ─────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(196, 115, 138, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(138, 158, 140, 0.10) 0%, transparent 60%),
    var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--rose);
}

.hero-title { margin-bottom: 1.5rem; color: var(--text); }
.hero-title em { font-style: italic; color: var(--rose); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image { display: flex; justify-content: center; }

.img-frame {
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(145deg, var(--rose-pale) 0%, var(--sage-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4738A' fill-opacity='0.06'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.img-frame span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--rose);
  opacity: 0.6;
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.hero-image .img-frame { width: 420px; height: 520px; }

/* ── Page header (inner pages) ────────────────── */
.page-header {
  padding: 11rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(196, 115, 138, 0.10) 0%, transparent 65%),
    var(--cream);
  border-bottom: 1px solid var(--border);
}

.page-header .hero-eyebrow { justify-content: center; }
.page-header .hero-eyebrow::before { display: none; }
.page-header h1 { margin-bottom: 1rem; }
.page-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── Section headers ──────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title { color: var(--text); margin-bottom: 1rem; }

.section-divider {
  width: 40px;
  height: 1px;
  background: var(--rose);
  margin: 1.2rem auto 0;
}

/* ── About-style split layout (bio, area, etc.) ─ */
#about, .split-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-inner.reverse { grid-template-columns: 1fr 1fr; }
.about-inner.reverse .img-frame { order: 2; }

.about-text .tag {
  display: inline-block;
  background: var(--sage-pale);
  color: var(--sage);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 1px;
  margin-bottom: 1.5rem;
}

.about-text h2 { margin-bottom: 1.5rem; color: var(--text); }
.about-text p { margin-bottom: 1.2rem; font-size: 1rem; }

.qualifications {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.qualifications h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.qual-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.qual-list li {
  font-size: 0.8rem;
  color: var(--text-soft);
  background: var(--rose-pale);
  padding: 0.25rem 0.7rem;
  border-radius: 1px;
}

/* ── Callout / notice box ──────────────────────── */
.callout {
  background: var(--sage-pale);
  border-left: 3px solid var(--sage);
  padding: 1.5rem 2rem;
  border-radius: 2px;
  margin: 2rem 0;
}

.callout p { color: var(--text); font-size: 0.95rem; margin: 0; }
.callout strong { color: var(--sage); }

/* ── Services grid ─────────────────────────────── */
#services, .services-section { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.services-grid.single-col { grid-template-columns: 1fr; }

.service-card {
  background: var(--surface);
  padding: 2.8rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--rose-pale);
  transition: background 0.2s;
}

.service-card:hover { background: var(--white); }
.service-card:hover::before { background: var(--rose); }

.service-icon { width: 44px; height: 44px; margin-bottom: 1.5rem; color: var(--rose); }

.service-card h3 { color: var(--text); margin-bottom: 0.8rem; }
.service-card p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.9rem; }

.service-card .helps-with {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.service-card .helps-with strong {
  display: block;
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.service-duration {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
}

/* ── Pricing table ─────────────────────────────── */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
}

.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  background: var(--cream);
}

.pricing-table td:last-child, .pricing-table th:last-child {
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--rose-deep);
  white-space: nowrap;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table td .treatment-name { color: var(--text); font-weight: 500; display: block; }
.pricing-table td .treatment-note { font-size: 0.82rem; }

.pricing-group-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin: 3rem 0 1rem;
}

.pricing-group-title:first-of-type { margin-top: 0; }

/* ── Testimonials ─────────────────────────────── */
#testimonials, .testimonials-section {
  background: var(--rose-pale);
  border-top: 1px solid #e5c0cb;
  border-bottom: 1px solid #e5c0cb;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonials-grid.four-up { grid-template-columns: repeat(2, 1fr); }

.testimonial-card {
  background: var(--white);
  padding: 2rem 2rem 1.8rem;
  border-radius: 2px;
}

.testimonial-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--rose-pale);
  line-height: 0;
  vertical-align: -0.6rem;
  margin-right: 0.1rem;
  font-family: 'Cormorant Garamond', serif;
}

.testimonial-author {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ── Forms (booking / enquiry) ────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-detail { display: flex; flex-direction: column; gap: 1rem; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-detail-item svg { width: 18px; height: 18px; color: var(--rose); flex-shrink: 0; margin-top: 0.1rem; }

.form-group { margin-bottom: 1.4rem; }

label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

input, select, textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus { border-color: var(--rose); }

textarea { height: 130px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; text-align: center; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 0.8rem;
  text-align: center;
}

/* ── Info list (booking page steps, etc.) ──────── */
.info-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

.info-list-item { display: flex; gap: 1.2rem; }

.info-list-number {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
}

.info-list-item h4 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text); margin-bottom: 0.3rem; font-weight: 500; }
.info-list-item p { font-size: 0.9rem; }

/* ── Socials row ───────────────────────────────── */
.socials-row { display: flex; gap: 1rem; margin-top: 1.5rem; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.2s;
}

.social-link:hover { border-color: var(--rose); color: var(--rose); }
.social-link svg { width: 18px; height: 18px; }

/* ── Area / map list ───────────────────────────── */
.area-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }

.area-list li {
  font-size: 0.85rem;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
}

/* ── Footer ───────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

footer .footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

footer .footer-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

footer .footer-links a:hover { color: var(--rose); }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
  nav .inner { padding: 1rem 1.25rem; }

  .nav-logo {
    font-size: 1.05rem;
    gap: 0.35rem;
    white-space: nowrap;
  }

  .nav-logo-mark { height: 26px; }

  .hero-inner,
  .about-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-inner.reverse .img-frame { order: 0; }

  .hero-image { display: none; }

  .services-grid,
  .testimonials-grid,
  .testimonials-grid.four-up { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1.6rem 2rem 2rem;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a { font-size: 0.95rem; }

  .pricing-table th, .pricing-table td { padding: 0.9rem 1rem; }
}
