/* ============================================================
   BE Wellness — bewellnessphysio.co.uk
   Palette and type taken from the original site:
   cream #F1E4D5 · taupe #A48D6D · brown #827464 · ink #161616
   Italiana (display) · Poppins (body) · Adamina (buttons/accents)
   ============================================================ */

@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/italiana-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Adamina';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/adamina-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/poppins-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}

:root {
  --cream: #F1E4D5;
  --cream-soft: #F8F1E8;
  --taupe: #A48D6D;
  --taupe-dark: #827464;
  --brown-deep: #493E2F;
  --ink: #161616;
  --grey: #575757;
  --white: #ffffff;
  --display: 'Italiana', serif;
  --accent: 'Adamina', serif;
  --body: 'Poppins', arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 .6rem;
}

p { margin: 0 0 1.2rem; }
a { color: var(--taupe-dark); }
ul { padding-left: 1.3rem; }
li { margin-bottom: .4rem; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.narrow { width: min(800px, 92%); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--accent);
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: .85rem 2.2rem;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); }
.btn-on-image {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}
.btn-on-image:hover { background: var(--white); color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  background: var(--cream);
  padding: 1.2rem 0 0.8rem;
}
.header-inner {
  width: min(1200px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo img { width: 130px; height: auto; }
/* white logo needs a tinted plate to read on cream */
.logo { filter: drop-shadow(0 0 1px rgba(0,0,0,.35)); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--accent);
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: .2rem;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .4rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .25s, opacity .25s;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    flex-basis: 100%;
    display: none;
    padding: 1rem 0;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .8rem; text-align: center; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  isolation: isolate;
  padding: 6rem 1rem;
}
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, 0.42);
  z-index: -1;
}
.hero > div { max-width: 100%; }
.hero h1 { margin-bottom: 1.2rem; }
.hero p {
  max-width: min(34rem, 100%);
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.hero .btn { margin: .4rem .5rem; }

/* page hero (inner pages) */
.page-hero {
  background: var(--cream);
  text-align: center;
  padding: 4rem 1rem 3.5rem;
}
.page-hero h1 { margin: 0; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section-cream { background: var(--cream-soft); }
.section-dark { background: var(--brown-deep); color: var(--white); }
.section-dark a { color: var(--cream); }

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- price cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
}
.card img { height: 220px; width: 100%; object-fit: cover; }
.card-body { padding: 1.5rem 1.5rem 1.8rem; flex: 1; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .5rem;
}
.price-row h4 { margin: 0; }
.price {
  font-family: var(--accent);
  font-size: 1.25rem;
  color: var(--taupe-dark);
  white-space: nowrap;
}
.card p { margin: 0; font-size: .95rem; color: var(--grey); }

/* ---------- event / classes ---------- */
.event-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.08);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 420px;
  margin-inline: auto;
}
.event-card .eyebrow {
  font-family: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--taupe-dark);
  margin-bottom: .6rem;
}
.event-card h3 { margin-bottom: .4rem; }
.event-card .meta { color: var(--grey); font-size: .95rem; margin-bottom: 0; }

/* ---------- quote banner ---------- */
.quote-banner {
  position: relative;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  padding: 7rem 1rem;
}
.quote-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: -2;
}
.quote-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(22,22,22,.5);
  z-index: -1;
}
.quote-banner blockquote {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.5;
  max-width: 46rem;
  margin: 0 auto;
}

/* ---------- forms ---------- */
form label {
  display: block;
  font-size: .9rem;
  font-weight: 400;
  margin-bottom: .35rem;
}
input, textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  padding: .8rem .9rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(0,0,0,.25);
  background: var(--white);
  color: var(--ink);
}
input:focus, textarea:focus {
  outline: 2px solid var(--taupe);
  outline-offset: 1px;
}
.inline-form {
  display: flex;
  gap: .8rem;
  max-width: min(480px, 100%);
  margin-inline: auto;
}
.inline-form input { margin-bottom: 0; flex: 1; }
@media (max-width: 560px) {
  .inline-form { flex-direction: column; }
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid rgba(0,0,0,.15);
  padding: 1.1rem 0;
}
.faq summary {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--accent);
  font-size: 1.4rem;
  color: var(--taupe-dark);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 1rem; }

/* ---------- logo strip ---------- */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3.5rem;
  padding: 3rem 1rem;
}
.logo-strip img { height: 74px; width: auto; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h4 { font-family: var(--display); font-size: 1.6rem; font-weight: 400; }
.contact-info p { margin-bottom: .4rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--cream);
  padding: 3rem 0 2rem;
  text-align: center;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  padding: 0;
  margin: 0 0 1.5rem;
}
.site-footer nav a {
  font-family: var(--accent);
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
}
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .copyright {
  font-size: .85rem;
  color: var(--grey);
  margin: 0;
}

/* ---------- prose (privacy pages) ---------- */
.prose h2 {
  font-size: 1.9rem;
  margin-top: 2.5rem;
}
.prose h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.15rem;
  margin-top: 2rem;
}
.prose ul { margin-bottom: 1.2rem; }

/* ---------- utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.eyebrow {
  font-family: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--taupe-dark);
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 100;
  max-width: min(420px, calc(100vw - 2.4rem));
  background: var(--cream);
  padding: 1.6rem 1.8rem;
  box-shadow: 0 6px 30px rgba(0,0,0,.25);
}
.cookie-banner h4 { margin-bottom: .5rem; }
.cookie-banner p { font-size: .9rem; margin-bottom: 1.2rem; }
.cookie-actions { display: flex; gap: .8rem; }
.cookie-actions .btn { flex: 1; padding: .7rem 1rem; }
