@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --sage: #7A8C6E;
  --sage-light: #C4CEB8;
  --sage-pale: #EEF1EB;
  --near-black: #1A1A1A;
  --warm-grey: #6B6B6B;
  --cream: #FAFAF8;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--near-black); background: var(--white); -webkit-font-smoothing: antialiased; }
.display { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--sage-light); }
.nav-inner { max-width: 1000px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--near-black); }
.nav-logo svg { width: 20px; height: 20px; }
.nav-cta { background: var(--sage); color: var(--white); border-radius: 100px; padding: 10px 24px; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; }
.nav-cta:hover { background: #6a7a5e; }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom, var(--sage-pale), var(--white)); text-align: center; padding: 120px 24px 80px; }
.hero-inner { max-width: 700px; }
.hero-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 24px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 8vw, 5rem); line-height: 1.1; color: var(--near-black); margin-bottom: 24px; }
.hero h1 em { color: var(--sage); font-style: italic; }
.hero-sub { font-size: 1.05rem; color: var(--warm-grey); line-height: 1.7; max-width: 480px; margin: 0 auto 40px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--sage); color: var(--white); border-radius: 100px; padding: 14px 32px; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: #6a7a5e; }
.btn-outline { background: transparent; color: var(--sage); border: 1px solid var(--sage); border-radius: 100px; padding: 14px 32px; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { background: var(--sage); color: var(--white); }

/* MARQUEE */
.marquee { background: var(--sage); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marquee 30s linear infinite; }
.marquee-inner span { font-family: 'Playfair Display', serif; font-style: italic; color: var(--white); font-size: 0.85rem; padding: 0 32px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTION COMMON */
section { padding: 96px 24px; }
.section-inner { max-width: 700px; margin: 0 auto; }
.section-inner-wide { max-width: 1000px; margin: 0 auto; }
.section-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.section-label.center { text-align: center; }
.section-h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3rem); color: var(--near-black); line-height: 1.2; margin-bottom: 16px; }
.section-h2.center { text-align: center; }
.section-h2 em { color: var(--sage); font-style: italic; }
.section-sub { color: var(--warm-grey); line-height: 1.8; margin-bottom: 48px; }
.section-sub.center { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
hr.sage { border: none; border-top: 1px solid var(--sage-light); margin: 0; }
hr.sage-green { border: none; border-top: 1px solid var(--sage); margin-bottom: 48px; }

/* SERVICE CARDS */
.services-stack { display: flex; flex-direction: column; gap: 24px; }
.service-card { border: 1px solid var(--sage-light); border-radius: 16px; padding: 40px; }
.service-num { font-family: 'Playfair Display', serif; font-style: italic; color: var(--sage); font-size: 1.4rem; margin-bottom: 8px; }
.service-name { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--near-black); margin-bottom: 12px; }
.service-desc { color: var(--warm-grey); line-height: 1.7; margin-bottom: 32px; }
.service-price { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; }
.service-from { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--warm-grey); }
.service-amount { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--near-black); }

/* HOW IT WORKS */
.steps { margin-top: 0; }
.step { padding: 40px 0; border-bottom: 1px solid var(--sage-light); }
.step:last-child { border-bottom: none; }
.step-num { font-family: 'Playfair Display', serif; font-style: italic; font-size: 5rem; color: var(--sage-light); line-height: 1; margin-bottom: 8px; }
.step-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--near-black); margin-bottom: 10px; }
.step-desc { color: var(--warm-grey); line-height: 1.8; }

/* ECO PROMISE */
.eco { background: var(--sage-pale); }
.stats { margin-top: 64px; display: flex; flex-direction: column; gap: 48px; max-width: 480px; margin-left: auto; margin-right: auto; }
.stat { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 6rem; color: var(--sage-light); line-height: 1; }
.stat-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-top: 4px; font-weight: 500; }
.stat-desc { font-size: 0.875rem; color: var(--warm-grey); margin-top: 8px; line-height: 1.7; max-width: 340px; margin-left: auto; margin-right: auto; }

/* TESTIMONIALS */
.testimonials-stack { display: flex; flex-direction: column; gap: 24px; }
.testimonial-card { border: 1px solid var(--sage-light); border-radius: 16px; padding: 40px; }
.stars { color: var(--sage); font-size: 1rem; margin-bottom: 20px; letter-spacing: 2px; }
.testimonial-quote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; color: var(--near-black); line-height: 1.7; margin-bottom: 24px; }
.testimonial-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
.testimonial-name { font-weight: 600; font-size: 0.875rem; color: var(--near-black); }
.testimonial-loc { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); }

/* AREAS */
.areas { background: var(--sage-pale); text-align: center; }
.area-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.pill { border: 1px solid var(--sage-light); border-radius: 100px; padding: 8px 18px; font-size: 0.8rem; color: var(--warm-grey); background: var(--white); }

/* POSTCODE CHECKER */
.checker { text-align: center; }
.postcode-form { margin-top: 0; }
.postcode-input { display: block; width: 100%; max-width: 320px; margin: 0 auto 12px; border: 1px solid var(--sage-light); border-radius: 100px; padding: 16px 24px; text-align: center; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; color: var(--near-black); }
.postcode-input:focus { border-color: var(--sage); }
.btn-check { background: none; border: none; color: var(--sage); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; font-family: 'Inter', sans-serif; display: block; margin: 0 auto 24px; padding: 4px 0; }
.checker-result { min-height: 32px; margin-bottom: 20px; }
.result-success { color: var(--sage); font-size: 0.9rem; }
.result-fail { color: var(--warm-grey); font-size: 0.9rem; }
.checker-phone { color: var(--warm-grey); font-size: 0.85rem; margin-top: 24px; }
.checker-phone a { color: var(--near-black); font-weight: 500; }

/* FOOTER */
.footer { background: var(--white); border-top: 1px solid var(--sage-light); padding: 64px 24px 32px; }
.footer-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 16px; }
.footer-desc { font-size: 0.85rem; color: var(--warm-grey); line-height: 1.8; }
.footer-col-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; font-weight: 500; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.875rem; color: var(--warm-grey); transition: color 0.2s; }
.footer-links a:hover { color: var(--sage); }
.footer-bottom { max-width: 1000px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--sage-light); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8rem; color: var(--warm-grey); }
.footer-tagline { font-family: 'Playfair Display', serif; font-style: italic; color: var(--sage); font-size: 0.85rem; }

/* BOOKING PAGE */
.book-page { min-height: 100vh; background: var(--cream); }
.book-main { max-width: 560px; margin: 0 auto; padding: 60px 24px; }
.progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; }
.progress-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-light); transition: background 0.2s; }
.progress-dot.active { background: var(--sage); }
.step-content { display: none; }
.step-content.active { display: block; }
.step-heading { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--near-black); margin-bottom: 8px; }
.step-sub { color: var(--warm-grey); margin-bottom: 32px; line-height: 1.7; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 8px; }
.form-input { width: 100%; border: 1px solid var(--sage-light); border-radius: 12px; padding: 14px 18px; font-size: 0.9rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; color: var(--near-black); background: var(--white); }
.form-input:focus { border-color: var(--sage); }
.form-select { width: 100%; border: 1px solid var(--sage-light); border-radius: 12px; padding: 14px 18px; font-size: 0.9rem; font-family: 'Inter', sans-serif; outline: none; background: var(--white); color: var(--near-black); cursor: pointer; }
.service-options { display: flex; flex-direction: column; gap: 16px; }
.service-option { border: 1px solid var(--sage-light); border-radius: 16px; padding: 24px; cursor: pointer; transition: all 0.2s; background: var(--white); }
.service-option:hover { border-color: var(--sage); }
.service-option.selected { border-color: var(--sage); background: var(--sage-pale); }
.service-option-num { font-family: 'Playfair Display', serif; font-style: italic; color: var(--sage); font-size: 1rem; }
.service-option-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--near-black); margin: 4px 0; }
.service-option-desc { font-size: 0.8rem; color: var(--warm-grey); line-height: 1.6; margin-bottom: 12px; }
.service-option-price { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--near-black); }
.service-option-price span { font-family: 'Inter', sans-serif; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); margin-right: 4px; }
.time-options { display: flex; flex-direction: column; gap: 12px; }
.time-option { display: flex; align-items: center; gap: 14px; border: 1px solid var(--sage-light); border-radius: 12px; padding: 16px 20px; cursor: pointer; transition: all 0.2s; background: var(--white); }
.time-option input[type="radio"] { accent-color: var(--sage); width: 18px; height: 18px; }
.time-option-label { font-size: 0.9rem; color: var(--near-black); }
.time-option-sub { font-size: 0.75rem; color: var(--warm-grey); }
.time-option:has(input:checked) { border-color: var(--sage); background: var(--sage-pale); }
.step-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
.btn-back { background: none; border: none; color: var(--warm-grey); font-size: 0.8rem; text-decoration: underline; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-next { background: var(--sage); color: var(--white); border-radius: 100px; padding: 14px 32px; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s; }
.btn-next:hover { background: #6a7a5e; }
.btn-next:disabled { background: var(--sage-light); cursor: not-allowed; }
.summary-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--sage-light); font-size: 0.875rem; }
.summary-label { color: var(--warm-grey); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em; }
.summary-value { color: var(--near-black); font-weight: 500; }
.result-msg { padding: 12px 20px; border-radius: 12px; font-size: 0.85rem; margin-bottom: 16px; }
.result-msg.success { background: #f0f5ed; color: var(--sage); border: 1px solid var(--sage-light); }
.result-msg.error { background: #fdf2f2; color: #c0392b; border: 1px solid #f5c6c6; }

/* CONFIRMATION PAGE */
.confirm-page { min-height: 100vh; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.confirm-inner { max-width: 480px; }
.confirm-check { width: 72px; height: 72px; margin: 0 auto 32px; }
.confirm-h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--near-black); margin-bottom: 16px; }
.confirm-sub { color: var(--warm-grey); line-height: 1.8; margin-bottom: 40px; }
.confirm-back { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); }

/* ADMIN PAGE */
.admin-page { min-height: 100vh; background: var(--cream); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--sage-pale); padding: 24px; }
.admin-login-card { background: var(--white); border: 1px solid var(--sage-light); border-radius: 20px; padding: 48px 40px; max-width: 360px; width: 100%; text-align: center; }
.admin-nav { background: var(--white); border-bottom: 1px solid var(--sage-light); padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; }
.admin-content { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 640px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: var(--white); border: 1px solid var(--sage-light); border-radius: 16px; padding: 24px; }
.stat-card-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 8px; }
.stat-card-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--near-black); }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { border: 1px solid var(--sage-light); border-radius: 100px; padding: 8px 18px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; font-family: 'Inter', sans-serif; background: var(--white); color: var(--warm-grey); transition: all 0.2s; }
.filter-btn.active { background: var(--sage); color: var(--white); border-color: var(--sage); }
.booking-card { background: var(--white); border: 1px solid var(--sage-light); border-radius: 16px; padding: 28px; margin-bottom: 16px; }
.booking-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 768px) { .booking-grid { grid-template-columns: repeat(2, 1fr); } }
.booking-field-label { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); margin-bottom: 6px; }
.booking-field-val { font-size: 0.875rem; color: var(--near-black); font-weight: 500; }
.booking-field-sub { font-size: 0.78rem; color: var(--warm-grey); margin-top: 2px; }
.booking-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.status-badge { padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 500; text-transform: capitalize; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-confirmed { background: #dcfce7; color: #166534; }
.status-completed { background: #dbeafe; color: #1e40af; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-select { border: 1px solid var(--sage-light); border-radius: 100px; padding: 6px 14px; font-size: 0.75rem; font-family: 'Inter', sans-serif; outline: none; color: var(--warm-grey); cursor: pointer; background: var(--white); }
.booking-card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.empty-state { text-align: center; padding: 80px 0; color: var(--warm-grey); }

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.4rem; }
  .section-h2 { font-size: 1.8rem; }
  .service-amount { font-size: 2rem; }
  .booking-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   MOBILE FIXES — Booking & General
   ============================================ */

/* Prevent any horizontal overflow globally */
html, body { overflow-x: hidden; max-width: 100%; }
* { word-break: break-word; }

/* Booking page mobile */
@media (max-width: 600px) {
  .book-main { padding: 32px 16px 60px; max-width: 100%; }
  .step-heading { font-size: 1.6rem; }
  .step-sub { font-size: 0.85rem; margin-bottom: 24px; }

  /* Service option cards */
  .service-option { padding: 18px 16px; }
  .service-option-name { font-size: 1.2rem; }
  .service-option-price { font-size: 1.3rem; }

  /* Form inputs */
  .form-input, .form-select { padding: 12px 14px; font-size: 0.9rem; }

  /* Time slots */
  .time-option { padding: 12px 14px; }

  /* Step nav — stack on mobile */
  .step-nav { flex-direction: column-reverse; gap: 16px; align-items: stretch; }
  .btn-next { width: 100%; text-align: center; padding: 16px; font-size: 0.75rem; }
  .btn-back { text-align: center; }

  /* Summary rows — wrap long values */
  .summary-row { flex-direction: column; gap: 4px; }
  .summary-value { font-size: 0.875rem; }

  /* Progress dots */
  .progress { margin-bottom: 32px; }

  /* Hero mobile */
  .hero { padding: 100px 16px 60px; }
  .hero-sub { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }

  /* Sections */
  section { padding: 64px 16px; }
  .section-inner { max-width: 100%; }
  .service-card { padding: 24px 16px; }
  .testimonial-card { padding: 24px 16px; }

  /* Postcode input */
  .postcode-input { max-width: 100%; }

  /* Nav */
  .nav-inner { padding: 14px 16px; }

  /* Footer */
  .footer { padding: 48px 16px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Admin booking grid on mobile */
  .booking-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .booking-card { padding: 16px; }
  .booking-card-header { flex-direction: column; gap: 16px; }
  .booking-actions { flex-direction: row; align-items: center; justify-content: flex-start; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: 0.65rem; }
}

@media (max-width: 380px) {
  .book-main { padding: 24px 12px 60px; }
  .step-heading { font-size: 1.4rem; }
  .service-option-name { font-size: 1.1rem; }
  .booking-grid { grid-template-columns: 1fr; }
}
