/* ===========================
   TRANQUIL FIELDS – STYLES
   =========================== */

:root {
  --sage: #8a9e7e;
  --sage-light: #c8d5c0;
  --sage-pale: #eef2eb;
  --cream: #faf8f4;
  --text-dark: #2d2d2d;
  --text-mid: #5a5a5a;
  --text-light: #888;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Raleway', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--cream); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-block; padding: 14px 32px; border-radius: 40px;
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; transition: var(--transition); cursor: pointer;
}
.btn-primary { background: var(--sage); color: white; }
.btn-primary:hover { background: #7a8e6e; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--sage); border: 1.5px solid var(--sage); margin-left: 12px; }
.btn-secondary:hover { background: var(--sage-pale); }

/* HEADER */
header { position: sticky; top: 0; z-index: 100; background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 40px; max-width: 1200px; margin: 0 auto; }
.logo h1 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; letter-spacing: 0.02em; }
.logo .tagline { font-size: 0.72rem; color: var(--text-light); letter-spacing: 0.12em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); transition: color var(--transition); }
nav a:hover { color: var(--sage); }
.btn-book { background: var(--sage); color: white !important; padding: 10px 24px; border-radius: 40px; font-size: 0.78rem !important; }
.btn-book:hover { background: #7a8e6e !important; }
.nhs-banner { background: var(--sage); color: white; text-align: center; font-size: 0.78rem; letter-spacing: 0.08em; padding: 7px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--sage-pale) 0%, #dde8d6 50%, var(--sage-light) 100%);
  min-height: 88vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px;
}
.hero-content h2 { font-family: var(--font-serif); font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 300; line-height: 1.15; margin-bottom: 20px; }
.hero-content p { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* INTRO */
.intro { background: var(--sage); padding: 48px 24px; text-align: center; }
.intro-text { font-family: var(--font-serif); font-size: 1.25rem; color: white; max-width: 800px; margin: 0 auto; font-style: italic; line-height: 1.8; font-weight: 300; }

/* SECTION TITLES */
.section-title { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 300; text-align: center; margin-bottom: 12px; }
.section-intro { text-align: center; color: var(--text-mid); max-width: 680px; margin: 0 auto 48px; font-size: 0.95rem; }

/* THERAPIES */
.therapies { padding: 80px 24px; background: var(--cream); scroll-margin-top: 80px; }
.therapy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 48px; }

.therapy-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.therapy-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.13); }

.therapy-img {
  height: 200px; background-size: cover; background-position: center;
  background-color: var(--sage-light);
}
.therapy-card-body { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.therapy-card-body h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; }
.therapy-card-body p { font-size: 0.875rem; color: var(--text-mid); flex: 1; }
.therapy-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.from-price { font-family: var(--font-serif); font-size: 1.1rem; color: var(--sage); font-style: italic; }
.view-more { font-size: 0.78rem; color: var(--sage); letter-spacing: 0.05em; font-weight: 500; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal.hidden { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal-box { position: relative; background: white; border-radius: 12px; max-width: 680px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,0.2); }
.modal-img { height: 240px; background-size: cover; background-position: center; background-color: var(--sage-light); border-radius: 12px 12px 0 0; }
.modal-close { position: absolute; top: 14px; right: 18px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 1rem; cursor: pointer; color: var(--text-dark); z-index: 1; }
.modal-close:hover { background: white; }
#modal-content { padding: 32px 36px 40px; }
#modal-content h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin-bottom: 14px; }
.modal-desc { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 28px; line-height: 1.8; }
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.price-table th { text-align: left; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); padding: 8px 12px; border-bottom: 1px solid var(--sage-light); }
.price-table td { padding: 12px; font-size: 0.9rem; border-bottom: 1px solid #f5f5f5; vertical-align: top; }
.price-table td:last-child { font-weight: 500; color: var(--sage); white-space: nowrap; }
.price-table small { color: var(--text-light); font-size: 0.75rem; }
.modal-book { display: inline-block; }

/* OFFERS */
.offers { padding: 80px 24px; background: var(--cream); scroll-margin-top: 80px; }
.offers.hidden { display: none; }
.offers-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.offers-image { height: 420px; border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow); }
.offer-label { display: inline-block; background: var(--sage); color: white; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; font-weight: 500; }
.offers-text h2 { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 300; margin-bottom: 16px; line-height: 1.2; }
.offers-text p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; margin-bottom: 32px; }
@media (max-width: 768px) { .offers-inner { grid-template-columns: 1fr; gap: 32px; } .offers-image { height: 260px; } }

/* VOUCHERS */
.vouchers { padding: 80px 24px; background: var(--sage); scroll-margin-top: 80px; }
.vouchers-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vouchers-text h2 { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 300; color: white; margin-bottom: 16px; }
.vouchers-text p { color: rgba(255,255,255,0.9); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.vouchers-text .btn-primary { background: white; color: var(--sage); }
.vouchers-text .btn-primary:hover { background: var(--cream); }
.voucher-options { display: flex; flex-wrap: wrap; gap: 12px; }
.voucher-options .voucher-amount { min-width: 84px; width: auto; margin: 0; display: inline-block; text-align: center; padding: 12px 20px; font-size: 0.95rem; }
@media (max-width: 768px) { .voucher-options .voucher-amount { flex: 1 1 28%; min-width: 0; } }
.vouchers-text .voucher-note { font-size: 0.85rem; margin: 20px 0 0; }
.voucher-note:empty { display: none; }
.voucher-options button.voucher-amount { border: none; cursor: pointer; font-family: inherit; }
.voucher-options .voucher-amount[aria-checked="true"] { background: var(--text-dark); color: white; box-shadow: 0 0 0 2px white; }
.voucher-form { margin-top: 28px; background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; color: var(--text-dark); scroll-margin-top: 120px; }
.voucher-form[hidden] { display: none; }
.voucher-form-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 2px; }
.voucher-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; font-weight: 500; color: var(--text-mid); }
.voucher-form small { font-weight: 400; color: var(--text-light); }
.voucher-form input:not([type="radio"]):not([type="checkbox"]), .voucher-form textarea { font: inherit; font-size: 0.95rem; font-weight: 400; color: var(--text-dark); padding: 10px 12px; border: 1px solid #d8ddd4; border-radius: 6px; background: var(--cream); width: 100%; resize: vertical; }
.voucher-form input:focus, .voucher-form textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.vf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vf-send-to { border: none; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; font-size: 0.82rem; }
.vf-send-to legend { font-weight: 500; color: var(--text-mid); margin-bottom: 6px; width: 100%; }
.voucher-form .vf-inline { flex-direction: row; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-dark); font-weight: 400; cursor: pointer; }
.vf-inline input { accent-color: var(--sage); width: 16px; height: 16px; }
.vf-botcheck { position: absolute; left: -9999px; }
.vouchers-text .voucher-form .vf-submit { background: var(--sage); color: white; align-self: flex-start; border: none; cursor: pointer; font-family: inherit; margin: 4px 0 0; }
.vouchers-text .voucher-form .vf-submit:hover { background: #7a8e6e; }
.vf-submit:disabled { opacity: 0.7; cursor: wait; }
.vouchers-text .voucher-form p { color: var(--text-mid); margin: 0; }
.vouchers-text .voucher-form .vf-small { font-size: 0.8rem; line-height: 1.6; }
.vf-small:empty { display: none; }
.vouchers-text .voucher-form .vf-error { color: #a33a2a; background: #fbeeec; border-radius: 6px; padding: 10px 12px; font-size: 0.85rem; line-height: 1.5; }
.vf-error a { text-decoration: underline; }
@media (max-width: 768px) { .vf-row { grid-template-columns: 1fr; } .voucher-form { padding: 22px 18px; } .vouchers-text .voucher-form .vf-submit { align-self: stretch; } }
.voucher-card { background: linear-gradient(135deg, #fff 0%, var(--sage-pale) 100%); border-radius: 16px; padding: 48px 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
.voucher-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--sage-light); opacity: 0.3; }
.voucher-card::after { content: ''; position: absolute; bottom: -30px; left: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--sage-light); opacity: 0.2; }
.voucher-card-inner { position: relative; z-index: 1; }
.voucher-card-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 12px; }
.voucher-card h3 { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; color: var(--text-dark); margin-bottom: 4px; }
.voucher-card-sub { font-size: 0.8rem; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 32px; }
.voucher-card-note { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--text-mid); padding-top: 20px; border-top: 1px solid var(--sage-light); }
@media (max-width: 768px) { .vouchers-inner { grid-template-columns: 1fr; gap: 32px; } }

/* ABOUT */
.about { padding: 80px 24px; background: var(--sage-pale); scroll-margin-top: 80px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.team-card { background: white; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.team-photo { width: 80px; height: 80px; border-radius: 50%; background-size: cover; background-position: center top; margin-bottom: 16px; border: 3px solid var(--sage-light); }
.team-initial { width: 80px; height: 80px; border-radius: 50%; background: var(--sage); color: white; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 16px; }
.team-card h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; }
.team-role { font-size: 0.75rem; color: var(--sage); letter-spacing: 0.05em; margin: 6px 0 12px; text-transform: uppercase; }
.team-bio { font-size: 0.875rem; color: var(--text-mid); line-height: 1.75; }

/* CONTACT */
.contact { padding: 80px 24px; background: white; scroll-margin-top: 80px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact .section-title { text-align: left; }
.address { font-size: 0.95rem; color: var(--text-mid); line-height: 1.9; margin: 20px 0 12px; }
.phone a { font-family: var(--font-serif); font-size: 1.6rem; color: var(--sage); }
.phone-note { font-size: 0.78rem; color: var(--text-light); margin-bottom: 14px; }
.email { margin-bottom: 24px; }
.email a { font-family: var(--font-serif); font-size: 1.25rem; color: var(--sage); word-break: break-word; }
.ot-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.875rem; }
.ot-days { color: var(--text-mid); }
.ot-hours { font-weight: 500; color: var(--sage); }
.opening-note { font-size: 0.75rem; color: var(--text-light); margin-top: 12px; font-style: italic; }

/* REVIEWS */
.reviews { padding: 80px 24px; background: var(--sage-pale); scroll-margin-top: 80px; }
.reviews .section-intro { margin-bottom: 40px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.review-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.review-header { display: flex; justify-content: space-between; align-items: center; }
.review-stars { color: #f4a72a; font-size: 1.1rem; letter-spacing: 2px; }
.review-source { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.review-source-google { background: #e8f0fe; color: #1a73e8; }
.review-source-facebook { background: #e7f0fd; color: #1877f2; }
.review-text { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--text-mid); line-height: 1.7; flex: 1; }
.review-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.review-name { font-weight: 500; font-size: 0.875rem; color: var(--text-dark); }
.review-date { font-size: 0.78rem; color: var(--text-light); }
.reviews-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.reviews-links .btn-secondary { margin-left: 0; }
.reviews-summary { display: flex; gap: 12px 32px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; font-size: 0.95rem; color: var(--text-mid); }
.reviews-summary-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: white; padding: 8px 20px; border-radius: 40px; box-shadow: var(--shadow); transition: transform var(--transition); }
.reviews-summary-item:hover { transform: translateY(-1px); }
.reviews-summary-item strong { color: var(--text-dark); font-weight: 600; }
.review-text.clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.review-more { align-self: flex-start; background: none; border: none; padding: 0; margin-top: -4px; font: inherit; font-size: 0.8rem; font-weight: 500; color: var(--sage); cursor: pointer; }
.review-more:hover { text-decoration: underline; }
.review-more[hidden] { display: none; }
.review-recommends { font-size: 0.8rem; font-weight: 500; color: var(--sage); }
.review-recommends::before { content: '♥ '; }

/* BOOK CTA */
.book { background: linear-gradient(135deg, var(--sage) 0%, #7a9a6e 100%); padding: 80px 24px; text-align: center; color: white; }
.book h2 { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 300; margin-bottom: 12px; }
.book p { font-size: 1rem; margin-bottom: 36px; opacity: 0.9; }
.book .btn-primary { background: white; color: var(--sage); }
.book .btn-primary:hover { background: var(--cream); }
.book .btn-secondary { border-color: white; color: white; }
.book .btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* FOOTER */
footer { background: var(--text-dark); color: white; text-align: center; padding: 32px 24px; font-size: 0.85rem; }
footer p { margin: 6px 0; opacity: 0.7; }
footer a { color: var(--sage-light); }
.version { font-size: 0.75rem; opacity: 0.5; letter-spacing: 0.05em; margin-top: 8px; }
/* "Sneaky" links to the hidden style previews: faint until hovered */
.preview-links { display: flex; justify-content: center; gap: 4px; margin-top: 2px !important; opacity: 0.35 !important; transition: opacity var(--transition); }
.preview-links:hover, .preview-links:focus-within { opacity: 0.9 !important; }
.preview-links a { color: inherit; font-size: 0.7rem; padding: 4px 8px; }

/* RESPONSIVE */
@media (max-width: 768px) {

  /* HEADER */
  .header-inner { padding: 14px 20px; }
  .logo h1 { font-size: 1.4rem; }
  .logo .tagline { font-size: 0.65rem; }
  nav { gap: 12px; }
  nav a:not(.btn-book) { display: none; }
  .btn-book { padding: 8px 16px; font-size: 0.72rem !important; }
  .nhs-banner { font-size: 0.7rem; padding: 6px 12px; }

  /* HERO */
  .hero { min-height: 70vh; padding: 60px 20px; }
  .hero-content h2 { font-size: 2.2rem; }
  .hero-content p { font-size: 0.95rem; }
  .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 0.8rem; display: block; width: 100%; text-align: center; margin: 8px 0; }
  .btn-secondary { margin-left: 0; }

  /* INTRO */
  .intro { padding: 32px 20px; }
  .intro-text { font-size: 1.05rem; }

  /* SECTION TITLES */
  .section-title { font-size: 1.9rem; }

  /* THERAPIES */
  .therapies { padding: 56px 16px; }
  .therapy-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .therapy-img { height: 180px; }

  /* MODAL */
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .modal-img { height: 180px; border-radius: 20px 20px 0 0; }
  #modal-content { padding: 24px 20px 40px; }
  #modal-content h2 { font-size: 1.6rem; }
  .price-table th, .price-table td { padding: 10px 8px; font-size: 0.82rem; }
  .modal-book { width: 100%; text-align: center; }

  /* ABOUT */
  .about { padding: 56px 16px; }
  .team-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .team-card { padding: 24px 20px; }
  .reviews-summary { font-size: 0.85rem; }
  .reviews-summary-item { padding: 8px 16px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .review-card { padding: 22px 20px; }

  /* CONTACT */
  .contact { padding: 56px 16px; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact .section-title { text-align: center; }
  .address { text-align: center; }
  .phone { text-align: center; }
  .phone-note { text-align: center; }
  .email { text-align: center; }
  .opening-note { text-align: center; }
  .contact-map iframe { height: 220px; }

  /* BOOK CTA */
  .book { padding: 56px 20px; }
  .book h2 { font-size: 2rem; }
  .book .btn-primary, .book .btn-secondary { display: block; width: 100%; margin: 8px 0; }
  .book .btn-secondary { margin-left: 0; }

  /* FOOTER */
  footer { padding: 24px 16px; }
}
