/* =============================================
   CHERYL MOBILE HAIRDRESSER — GLOBAL STYLES
   TYPE SCALE: 4 sizes only
   --text-sm:   0.875rem  (14px) — labels, captions, tags
   --text-base: 1rem      (16px) — body copy
   --text-lg:   1.125rem  (18px) — lead text, card titles
   --text-xl:   clamp     (32–56px) — headings h1/h2
   ============================================= */

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

:root {
  --cream: #faf7f2;
  --warm-white: #fff9f4;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --dark: #1a1410;
  --mid: #2e251e;
  --soft: #5a4a3e;
  --max-width: 1100px;

  --text-sm:   0.9375rem;   /* 15px — labels */
  --text-base: 1.0625rem;   /* 17px — body */
  --text-lg:   1.25rem;     /* 20px — lead/cards */
  --h2:        clamp(2.4rem, 4.5vw, 3.6rem);
  --h1:        clamp(3rem, 6vw, 5.2rem);
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.75;
  overflow-x: hidden;
}

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,0.25);
  box-shadow: 0 2px 16px rgba(26,20,16,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-logo-text span {
  color: var(--gold);
  font-style: italic;
  display: block;
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
}

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

.nav-call {
  background: #2e7d32 !important;
  color: white !important;
  padding: 0.8rem 1.6rem;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
  white-space: nowrap;
  border-radius: 2px;
}

.nav-call:hover { background: #1b5e20 !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: 0.3s; }

/* =============================================
   PAGE HEADER (internal pages)
   ============================================= */
.page-header {
  padding: 7rem 2rem 4rem;
  background: var(--dark);
  text-align: center;
}

.page-header .breadcrumb {
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.page-header .breadcrumb a { color: var(--gold); text-decoration: none; }

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--h1);
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header h1 em { color: var(--gold); font-style: italic; font-weight: 400; }

.page-header p {
  color: rgba(255,255,255,0.88);
  font-size: 1.2rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =============================================
   SECTIONS & CONTAINERS
   ============================================= */
section { padding: 6rem 2rem; }
.container { max-width: var(--max-width); margin: 0 auto; }

.section-label {
  font-size: 0.875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.section-h2 em { font-style: italic; color: var(--gold); font-weight: 400; }

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip {
  background: var(--dark);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  color: var(--gold-light);
  font-size: var(--text-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item::before { content: '✦'; color: var(--gold); font-size: 0.45rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary, .btn-gold {
  display: inline-block;
  background: #2e7d32;
  color: white;
  padding: 1.1rem 2.4rem;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
  border-radius: 2px;
}
.btn-primary:hover, .btn-gold:hover { background: #1b5e20; }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.85rem 2rem;
  text-decoration: none;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.2s;
  border-radius: 2px;
}
.btn-outline:hover { background: var(--gold); color: white; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--gold);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--h2);
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.92);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.btn-white {
  display: inline-block;
  background: white;
  color: var(--dark);
  padding: 1.1rem 2.8rem;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
  border-radius: 2px;
}
.btn-white:hover { background: var(--cream); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: white;
  margin-bottom: 1rem;
}
.footer-logo-text span { color: var(--gold); font-style: italic; }

.footer-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-nap {
  font-size: var(--text-sm);
  color: var(--soft);
  line-height: 2;
}
.footer-nap a { color: var(--gold-light); text-decoration: none; }

.footer-col h4 {
  font-size: var(--text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--gold-light); text-decoration: none; }

/* =============================================
   MAP
   ============================================= */
.map-wrapper {
  width: 100%;
  height: 420px;
  border: 2px solid var(--gold-light);
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */

/* Tablet: 768px and below */
/* Old mobile blocks removed — see comprehensive mobile CSS below */

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--gold);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }

.mobile-menu .nav-call {
  margin-top: 1rem;
  background: #2e7d32 !important;
  color: white !important;
  text-align: center;
  padding: 1rem !important;
  border-radius: 4px;
  border-bottom: none !important;
}

/* =============================================
   COMPREHENSIVE MOBILE FIXES — 768px
   ============================================= */
@media (max-width: 768px) {

  /* Nav */
  nav { padding: 0 1.25rem; height: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 4rem 1.5rem 0 !important;
  }
  .hero-image {
    display: none !important;
  }
  .hero-content {
    padding: 0 !important;
    text-align: center;
  }
  .hero-cta {
    align-items: center !important;
  }
  .hero-badges {
    justify-content: center !important;
  }

  /* Trust strip — scroll horizontally */
  .trust-strip {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding: 0.75rem 1.25rem;
    -webkit-overflow-scrolling: touch;
  }

  /* Problem section */
  .problem-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .about-img-wrap img {
    max-height: 320px;
    object-fit: cover;
  }

  /* Gallery */
  .gallery-intro {
    grid-template-columns: 1fr !important;
  }
  .collage-inner {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 160px !important;
  }
  .collage-cell.span-row { grid-row: span 1 !important; }
  .collage-cell.span-col { grid-column: span 2 !important; }

  /* Areas */
  .area-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .town-tag-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* FAQ grid */
  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-col { display: block !important; }

  /* Intro grid on service pages */
  .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Price grid on services hub */
  .price-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* Location grid */
  .location-grid {
    grid-template-columns: 1fr !important;
  }

  /* Cards row on service pages */
  .cards-row {
    grid-template-columns: 1fr !important;
  }

  /* Colour section */
  .colour-grid {
    grid-template-columns: 1fr !important;
  }

  /* Section headings — prevent overflow */
  .section-h2 {
    font-size: clamp(1.8rem, 6vw, 2.8rem) !important;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  /* Map height */
  .map-wrapper { height: 260px; }

  /* CTA section */
  .cta-section h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
  }

  /* Ornate frame */
  .ornate-frame-wrap { max-width: 100%; }
}

/* =============================================
   SMALL MOBILE — 480px
   ============================================= */
@media (max-width: 480px) {

  section { padding: 2.5rem 1rem; }

  /* Services grid single column */
  .services-grid {
    grid-template-columns: 1fr !important;
  }

  /* Town tags */
  .town-tag-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Collage */
  .collage-inner {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 130px !important;
  }

  /* Buttons full width */
  .btn-primary, .btn-gold, .btn-white {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Nav logo text — keep visible, just smaller */
  .nav-logo-text { font-size: 1.1rem; }
  .nav-logo-text span { font-size: 0.65rem; letter-spacing: 0.1em; }

  /* Footer bottom stack */
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Page header padding */
  .page-header { padding: 5rem 1rem 3rem; }

  /* Contact cards */
  .contact-cards {
    grid-template-columns: 1fr !important;
  }

  /* Map */
  .map-wrapper { height: 220px; }

  /* Trust strip */
  .trust-item { font-size: 0.7rem; }
}

a.town-tag { text-decoration: none; }
a.loc-link-pill { text-decoration: none; }
