/* ===================================================================
   Best Waxing Studio — stylesheet
   Palette/type preserved from the original site: red / near-black /
   white, Oswald headings, Open Sans body.
   =================================================================== */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/oswald-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/opensans-variable.woff2") format("woff2");
}

:root {
  --red: #e90000;
  --red-dark: #c40000;
  --ink: #1f1f1f;
  --ink-soft: #4a4a4a;
  --white: #ffffff;
  --cream: #f7f5f3;
  --border: #e6e2df;

  --font-heading: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;

  --max-width: 1160px;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(31, 31, 31, 0.08);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--red);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--red);
  color: var(--white);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a {
  color: var(--white);
}
.topbar a:hover {
  color: #ffb3b3;
}
.topbar__contact {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.brand__accent {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul {
  display: flex;
  gap: 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--red);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    gap: 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 14px;
  }
  .main-nav .btn {
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: 56px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  color: var(--ink);
}
.hero h1 span {
  color: var(--red);
}
.hero__meta {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 1.6em;
}
.hero__meta strong {
  color: var(--ink);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 44px 0;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.3em;
}
.page-hero p {
  color: #d8d8d8;
  margin: 0;
  font-size: 1.05rem;
}
.breadcrumb {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #b8b8b8;
  margin-bottom: 10px;
}
.breadcrumb a {
  color: #d8d8d8;
}
.breadcrumb a:hover {
  color: var(--white);
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}
.section--alt {
  background: var(--cream);
}
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section__eyebrow {
  font-family: var(--font-heading);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.5em;
  display: block;
}
.section__head p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Service groups / cards ---------- */
.service-group {
  margin-bottom: 48px;
}
.service-group__title {
  font-size: 1.4rem;
  border-bottom: 3px solid var(--red);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  scroll-margin-top: 90px;
}
.service-card__img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}
.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__body h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4em;
  text-transform: none;
  letter-spacing: 0;
}
.service-card__body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex: 1;
}
.service-card__body .btn {
  align-self: flex-start;
  font-size: 0.78rem;
  padding: 0.65em 1.2em;
  margin-top: 10px;
}

/* ---------- Feature blocks (About) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.feature-card__body {
  padding: 18px 20px 22px;
}
.feature-card__body h3 {
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
}
.feature-card__body p {
  color: var(--ink-soft);
  margin: 0;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 1.4em;
}

/* ---------- Info / NAP block ---------- */
.info-band {
  background: var(--ink);
  color: var(--white);
  padding: 44px 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}
.info-grid h3 {
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 0.5em;
}
.info-grid p {
  color: #e4e4e4;
  margin: 0;
}
.info-grid a {
  color: var(--white);
}
.info-grid a:hover {
  color: #ffb3b3;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq summary {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq p {
  color: var(--ink-soft);
  margin: 12px 0 0;
}

/* ---------- Service-area list ---------- */
.area-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.area-group h3 {
  font-size: 1.05rem;
  color: var(--red);
  margin-bottom: 0.6em;
}
.area-group li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--ink-soft);
}

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ---------- Contact cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.contact-card h3 {
  font-size: 1rem;
  color: var(--red);
}
.contact-card p {
  margin: 0;
}
.contact-card .btn {
  margin-top: 14px;
}

/* ---------- Final CTA ---------- */
.cta-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 {
  color: var(--white);
  font-size: 1.9rem;
}
.cta-band p {
  color: #ffe1e1;
  max-width: 560px;
  margin: 0 auto 1.6em;
}
.cta-band .btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.cta-band .btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfcfcf;
  padding: 40px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
  margin-bottom: 26px;
}
.footer-grid h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.7em;
}
.footer-grid a:hover {
  color: var(--white);
}
.footer-grid li {
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding-top: 18px;
  text-align: center;
  color: #9a9a9a;
  font-size: 0.82rem;
}
.footer-bottom a {
  color: #cfcfcf;
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Photo hero (full-width banner, centre-cropped like the original site) ---------- */
.hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 48vw, 720px);
  padding: 0;
  background: #e3f5fb;
  text-align: center;
}
.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg img {
  object-fit: cover;
  object-position: center center;
}
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.48);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero--photo h1,
.hero--photo .hero__meta {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95), 0 0 4px rgba(255, 255, 255, 0.9);
}
.hero--photo h1 { margin-bottom: 0.5em; }
.hero--photo h1::after {
  content: "";
  display: block;
  height: 8px;
  width: min(560px, 80%);
  margin: 14px auto 0;
  background: var(--red);
}
.hero--photo .hero__meta { color: var(--ink); font-weight: 600; }
.hero--photo .hero__cta { justify-content: center; }
@media (max-width: 640px) {
  .hero--photo { min-height: 560px; }
}

/* ---------- Condensed service list ---------- */
.svc-filter {
  max-width: 560px;
  margin: 0 auto 28px;
}
.svc-filter input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.8em 1em;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.svc-filter input:focus {
  outline: none;
  border-color: var(--red);
}
.svc-filter__status {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  align-items: start;
}
.svc-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 14px;
  box-shadow: var(--shadow);
}
.svc-group h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.1rem;
  border-bottom: 3px solid var(--red);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.svc-count {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  padding: 2px 10px;
}
.svc-group ul { margin: 0; }
.svc-group li { border-bottom: 1px dashed var(--border); }
.svc-group li:last-child { border-bottom: 0; }
.svc-group a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 4px;
  font-size: 0.95rem;
  color: var(--ink);
}
.svc-group a::after {
  content: "\203A";
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}
.svc-group a:hover,
.svc-group a:focus-visible {
  color: var(--red);
  background: var(--cream);
}
.svc-group[hidden], .svc-group li[hidden] { display: none; }
.svc-cta { text-align: center; margin: 32px 0 0; }
