/* ============================================================
   Danni Barriball — Physiotherapy & Sports Massage, Exeter
   Design system: "Warm strength"
   Palette + serif keyed to the wordmark logo (cream #F8F4EF,
   ink, rose-taupe). Editorial, calm, human. No clinical blue.
   ============================================================ */

:root {
  --paper: #FFFFFF;      /* clean white base, like the treatment room */
  --paper-deep: #E6EEE8; /* soft sage panel for pop-out sections */
  --ink: #232824;
  --ink-soft: #4C544E;
  --taupe: #7C9885;      /* muted sage/eucalyptus */
  --taupe-deep: #52705E; /* deep sage for text accents */
  --line: #E1E7E2;
  --amber-bg: #FBF3DC;
  --amber-line: #D9A514;
  --serif: "Lora", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin-bottom: 1.1rem;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); }

em.accent { font-style: italic; color: var(--taupe-deep); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--taupe-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-line {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--taupe);
  padding-bottom: 2px;
}
.btn-line:hover { color: var(--taupe-deep); }

/* ---------- header ---------- */

.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand { flex-shrink: 0; }
.brand img { height: 72px; width: auto; max-width: none; }

.site-nav { display: flex; align-items: center; gap: 30px; }

.site-nav a, .nav-parent {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

/* dropdowns */
.nav-item { position: relative; }

.nav-item > a::after, .nav-parent::after {
  content: "▾";
  font-size: 0.7em;
  margin-left: 0.45em;
  color: var(--taupe-deep);
}

.nav-parent { cursor: default; }

.drop {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(35, 40, 36, 0.12);
  padding: 8px 0;
  min-width: 190px;
  z-index: 60;
}

.nav-item:hover .drop, .nav-item:focus-within .drop { display: block; }

.drop a { display: block; padding: 9px 20px; }
.drop a::after { content: none; }
.drop a:hover { background: var(--paper-deep); }

.nav-toggle { display: none; }
.nav-burger { display: none; }

@media (max-width: 1140px) {
  .brand img { height: 54px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 16px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-burger {
    display: block;
    font-size: 1.6rem;
    cursor: pointer;
    user-select: none;
    line-height: 1;
  }
  .head-book { display: none; }
  /* flatten dropdowns in the mobile menu */
  .nav-item > a::after, .nav-parent::after { content: none; }
  .drop {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 10px 0 0 18px;
    min-width: 0;
  }
  .drop a { padding: 6px 0; }
  .drop a:hover { background: none; }
}

/* ---------- hero ---------- */

.hero { padding: 72px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.hero-copy .lede { margin: 1.4rem 0 2rem; max-width: 34rem; }

.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.hero-call { font-size: 0.95rem; color: var(--ink-soft); }
.hero-call a { font-weight: 600; color: var(--ink); text-decoration: none; }

.hero-photo { position: relative; }

.hero-photo img { width: 100%; height: auto; }

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--taupe);
  z-index: -1;
}

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
}

/* ---------- price stripe ---------- */

.price-stripe {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 0;
}

.price-stripe .wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.98rem;
  text-align: center;
}

.price-stripe strong { font-family: var(--serif); font-size: 1.35rem; color: #D9E8DE; }
.price-stripe .dot { opacity: 0.45; }

/* ---------- trust band ---------- */

.trust-band { border-bottom: 1px solid var(--line); background: var(--paper); }

.trust-band .wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 34px;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section-deep { background: var(--paper-deep); }
.section-ink { background: var(--ink); color: var(--paper); }

.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.prose { max-width: 44rem; }
.prose p + p { margin-top: 1.1em; }

/* ---------- problem section ---------- */

.pull-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 3rem 0;
}

.pull-quotes blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.4;
  padding-top: 1.4rem;
  border-top: 2px solid var(--taupe);
  color: var(--ink);
}

@media (max-width: 760px) {
  .pull-quotes { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- meet ---------- */

.meet-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.meet-photo { position: relative; }
.meet-photo::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--taupe);
  z-index: 0;
}
.meet-photo img { position: relative; z-index: 1; width: 100%; }

@media (max-width: 860px) {
  .meet-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
  margin-top: 3.4rem;
}

.step { counter-increment: step; }

.step::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--taupe);
  display: block;
  line-height: 1;
  margin-bottom: 0.9rem;
}

.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); font-size: 0.99rem; }

.section-ink .step p { color: #CDC4B8; }
.section-ink .step::before { color: #A9C4B2; }

.steps.four { grid-template-columns: repeat(2, 1fr); max-width: 56rem; }

@media (max-width: 760px) { .steps, .steps.four { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- services ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 3rem;
}

.svc {
  background: var(--paper);
  border: 1px solid rgba(35, 40, 36, 0.05);
  box-shadow: 0 10px 30px rgba(35, 40, 36, 0.08);
  padding: 2.2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}

.svc h3 { margin-bottom: 0.35rem; }

.svc .svc-price {
  font-family: var(--serif);
  font-style: italic;
  color: var(--taupe-deep);
  margin-bottom: 1rem;
}

.svc p { color: var(--ink-soft); font-size: 0.99rem; flex: 1; }

.svc .btn-line { margin-top: 1.4rem; align-self: flex-start; font-size: 0.95rem; }

@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- conditions chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

.chips a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.chips a:hover { border-color: var(--taupe); background: #fff; }

/* ---------- reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 3rem;
}

.review {
  border-top: 2px solid var(--taupe);
  padding-top: 1.5rem;
}

.review p {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.review cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}

.review .stars { color: var(--taupe); letter-spacing: 0.15em; margin-bottom: 0.8rem; font-size: 0.9rem; }

@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- letter ---------- */

.letter {
  max-width: 40rem;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 3.2rem clamp(1.6rem, 5vw, 3.4rem);
}

.letter p + p { margin-top: 1.1em; }

.letter .sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  margin-top: 1.8rem;
}

.letter .sig-role { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.2rem; }

.letter .btn { margin-top: 1.8rem; }
.letter .risk { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.8rem; }

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; margin: 3rem auto 0; }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 1.3rem 2.4rem 1.3rem 0;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--taupe-deep);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 42rem; }

/* ---------- question-for-danni block ---------- */

.q-danni {
  background: var(--amber-bg);
  border: 2px dashed var(--amber-line);
  border-radius: 4px;
  padding: 1.1rem 1.4rem;
  margin: 1.8rem 0;
  font-size: 0.95rem;
  max-width: 44rem;
}

.q-danni .q-label {
  display: block;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9A7508;
  margin-bottom: 0.4rem;
}

/* ---------- credentials list (About) ---------- */

.cred-list {
  list-style: none;
  max-width: 44rem;
  columns: 1;
}

.cred-list li {
  padding: 0.9rem 0 0.9rem 1.8rem;
  border-bottom: 1px solid rgba(248, 244, 239, 0.14);
  position: relative;
  color: #E8E4DC;
}

.cred-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #A9C4B2;
  font-weight: 700;
}

/* ---------- author box (condition pages) ---------- */

.author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 44rem;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 2.2rem;
}

.author-box .dot-badge {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--taupe);
  flex-shrink: 0;
}

/* ---------- symptom list ---------- */

.symptom-list {
  list-style: none;
  max-width: 44rem;
  margin-top: 1.4rem;
}

.symptom-list li {
  padding: 0.7rem 0 0.7rem 1.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.symptom-list li::before {
  content: "·";
  position: absolute;
  left: 0.4rem;
  color: var(--taupe-deep);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
}

/* ---------- condition cards (hub) ---------- */

.cond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 3rem;
}

.cond-card {
  display: block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid rgba(35, 40, 36, 0.05);
  box-shadow: 0 10px 30px rgba(35, 40, 36, 0.08);
  padding: 2rem 1.8rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cond-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(35, 40, 36, 0.12); }

.cond-card h3 { margin-bottom: 0.5rem; }
.cond-card p { color: var(--ink-soft); font-size: 0.96rem; }
.cond-card .go { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--taupe-deep); }

@media (max-width: 860px) { .cond-grid { grid-template-columns: 1fr; } }

/* ---------- pricing table ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 52rem;
  margin-top: 2.6rem;
}

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

.price-table th {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe-deep);
}

.price-table td:first-child { font-weight: 600; }

.price-table .amount {
  font-family: var(--serif);
  font-size: 1.25rem;
  white-space: nowrap;
}

.price-table .desc { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 700px) {
  .price-table .desc-col { display: none; }
}

/* ---------- map ---------- */

.map-wrap {
  position: relative;
  padding-bottom: 52%;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 700px) { .map-wrap { padding-bottom: 80%; } }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: #CDC4B8;
  padding: 64px 0 32px;
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-foot h4 {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.site-foot a { color: #E8DFD2; }

.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 0.5rem; }

.foot-base {
  border-top: 1px solid rgba(248, 244, 239, 0.15);
  padding-top: 24px;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }
