/* =========================================================
   BLISS NAIL SPA — Full site (index.full.html)
   =========================================================
   Sections in page order. Shared pieces (navbar, buttons,
   footer shell) are in base.css; colors/fonts in tokens.css.

   Contents
     1. Hero
     2. About
     3. Services (menu, generated by menu-embed.js)
     4. Spa pedicures (spotlight built from the live menu)
     5. Why Bliss
     6. Gallery
     7. Reviews
    7b. FAQ
     8. Book / CTA
     9. Footer
    10. Sticky mobile booking bar
    11. Responsive
   ========================================================= */


/* ----- 1. Hero ------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  background: var(--color-dark);
}

/* Photo is desaturated so it reads black & white like the sign;
   gold accents are the only color. Swap the URL for your own photo. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1800&q=80") center / cover no-repeat;
  filter: grayscale(100%);
  opacity: 0.6;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(6, 8, 8, 0.88) 0%, rgba(6, 8, 8, 0.55) 60%, rgba(6, 8, 8, 0.35) 100%);
}

.hero__content { max-width: 780px; padding: var(--sp-10) var(--sp-5); }

.hero__title {
  margin-bottom: var(--sp-5);
  font-size: clamp(2.5rem, 6.5vw, var(--fs-4xl));
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__sub { max-width: 560px; margin-bottom: var(--sp-7); font-size: var(--fs-md); line-height: 1.7; }

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-8); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
}
.hero__meta-dot { width: 4px; height: 4px; border-radius: var(--r-full); background: var(--color-gold); }


/* ----- 2. About ------------------------------------------ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-9);
  align-items: center;
}

.about__image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image-inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)),
    url("https://images.unsplash.com/photo-1632345031435-8727f6897d53?w=1200&q=80") center / cover;
  transition: transform 1.2s var(--ease);
}
.about__image:hover .about__image-inner { transform: scale(1.04); }

.about__quote {
  position: absolute;
  left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-5);
  padding: var(--sp-5);
  background: rgba(6, 8, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 2px solid var(--color-gold);
  border-radius: var(--r-md);
  color: #fff;
}
.about__quote p {
  margin-bottom: var(--sp-3);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-lg);
}
.about__quote span {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.about__content p { margin-bottom: var(--sp-4); color: var(--color-ink-soft); }

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-line);
}
.about__features li { display: flex; flex-direction: column; gap: var(--sp-1); }
.about__features strong {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-ink);
}
.about__features span { font-size: var(--fs-sm); color: var(--color-ink-soft); }


/* ----- 3. Services (menu) --------------------------------
   The menu is generated by menu-embed.js inside the data-lw="services"
   container (.menu): one section.lw-menu-group per category, each with an
   h3.lw-menu-heading and a ul.lw-menu-list of li.lw-menu-item rows.
   Groups flow into two newspaper-style columns on desktop. */
.menu {
  column-count: 2;
  column-gap: var(--sp-5);
}

.lw-menu-group {
  break-inside: avoid;
  margin-bottom: var(--sp-5);
  padding: var(--sp-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* Category heading with the site's short gold rule beneath it */
.lw-menu-heading { margin-bottom: var(--sp-4); font-size: var(--fs-xl); }
.lw-menu-heading::after {
  content: "";
  display: block;
  width: 36px; height: 2px;
  margin-top: var(--sp-3);
  background: var(--gradient-gold);
}

.lw-menu-list { margin: 0; padding: 0; list-style: none; }
.lw-menu-item { padding: var(--sp-3) 0; border-bottom: 1px solid var(--color-line); }
.lw-menu-item:last-child { padding-bottom: 0; border-bottom: 0; }

/* Name on the left, price on the right, a dotted leader between them. The
   leader is the row's ::before pseudo-element, moved between the two spans
   with "order", so the generated markup needs no extra element. A name that
   wraps keeps the price and the leader on its last line ("last baseline";
   "flex-end" is the fallback for older browsers). */
.lw-menu-row { display: flex; align-items: flex-end; align-items: last baseline; gap: var(--sp-2); }
.lw-menu-row::before {
  content: "";
  order: 2;
  flex: 1 1 1.5rem;
  align-self: flex-end;
  margin-bottom: 0.35em;
  border-bottom: 1px dotted var(--color-line-strong);
}
.lw-menu-name  { order: 1; font-size: 0.9375rem; font-weight: 500; color: var(--color-ink); }
.lw-menu-price { order: 3; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-ink); }

.lw-menu-desc {
  margin: var(--sp-1) 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-ink-soft);
}
.lw-menu-duration { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--color-muted); }

/* Fallback inside the container: "loading" until the feed answers, the
   "call us" line if it can't (the embed sets data-lw-state on the container). */
.menu__fallback {
  column-span: all;
  padding: var(--sp-6);
  background: var(--color-surface);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--color-ink-soft);
}
.menu__fallback a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.menu__fallback [data-lw-when] { display: none; }
.menu:not([data-lw-state="error"]) [data-lw-when="loading"],
.menu[data-lw-state="error"]       [data-lw-when="error"]   { display: block; }

/* Salon policies, collapsed under the menu */
.policies {
  margin-top: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
}
.policies summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--color-ink);
}

/* Shared toggle marker for the policies and FAQ <summary> elements: a CSS
   chevron (silent for screen readers) in the left padding, so wrapped lines
   stay indented instead of running back under the default triangle. */
.policies summary,
.faq__item summary {
  --toggle-indent: 1.6rem;
  position: relative;
  padding-left: var(--toggle-indent);
  list-style: none;
}
.policies summary::-webkit-details-marker,
.faq__item summary::-webkit-details-marker { display: none; }
.policies summary::before,
.faq__item summary::before {
  content: "";
  position: absolute;
  left: 0.15em; top: 0.5em;
  width: 0.45em; height: 0.45em;
  border-right: 2px solid var(--color-gold-dark);
  border-bottom: 2px solid var(--color-gold-dark);
  transform: rotate(-45deg);                 /* points right */
  transition: transform var(--dur) var(--ease);
}
.faq__item { --toggle-indent: 1.6rem; }      /* the answer text lines up with the question */
.policies[open]  > summary::before,
.faq__item[open] > summary::before { transform: rotate(45deg); }   /* points down */
.policies__list {
  display: grid;
  gap: var(--sp-3) var(--sp-7);
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--color-ink-soft);
}
.policies__list strong { color: var(--color-ink); }
@media (min-width: 721px) { .policies__list { grid-template-columns: 1fr 1fr; } }


/* ----- 4. Spa pedicures (dark band) ----------------------
   Filled by js/spotlight.js from the live menu: one row per
   pedicure with its regular and gel prices. Number, name and
   description on the left, prices on the right; stacked on
   phones (see section 11). The fallback text shows until then. */
.tier-list__fallback { margin: 0; color: var(--color-on-dark-muted); }
.tier-list__fallback a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.tier-list__items { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.tier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-4) var(--sp-7);
  align-items: start;
  padding: var(--sp-6);
  background: var(--color-dark-soft);
  border: 1px solid var(--color-line-on-dark);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease);
}
.tier:hover { border-color: var(--color-gold); }

.tier__num {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--color-gold-light);
}
.tier__title { margin: 0 0 var(--sp-3); font-size: var(--fs-xl); color: #fff; }
.tier__desc { max-width: 62ch; margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--color-on-dark); }

.tier__prices { display: grid; gap: var(--sp-4); text-align: right; }
.tier__price  { margin: 0; }
.tier__price .price {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--color-gold-light);
}
.tier__price-label {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}


/* ----- 5. Why Bliss -------------------------------------- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}

.why__list { display: flex; flex-direction: column; gap: var(--sp-5); margin-top: var(--sp-6); }
.why__list li { display: flex; align-items: flex-start; gap: var(--sp-4); }
.why__check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  background: var(--color-gold-tint);
  border-radius: var(--r-full);
  color: var(--color-gold-dark);
  font-size: var(--fs-sm);
  font-weight: 700;
}
.why__list strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  color: var(--color-ink);
}
.why__list p { font-size: var(--fs-sm); color: var(--color-ink-soft); }

.why__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--sp-4);
  height: 520px;
}
/* Each tile holds a <picture> (built from src/images/why/ by eleventy-img) cropped to fit */
.why__img { overflow: hidden; border-radius: var(--r-lg); }
.why__img--1 { grid-row: 1 / 3; }
.why__img picture,
.why__img img { display: block; width: 100%; height: 100%; object-fit: cover; }


/* ----- 6. Gallery ---------------------------------------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
}
/* Photos are real <img> tags (with alt text) wrapped in <picture> by eleventy-img */
.gallery__item {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
}
.gallery__item:hover { transform: scale(1.02); }
.gallery__item picture,
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }


/* ----- 7. Reviews ---------------------------------------- */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.review {
  display: flex;                 /* quotes differ in length: the author row stays at the bottom */
  flex-direction: column;
  margin: 0;
  padding: var(--sp-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.review__stars { display: block; margin-bottom: var(--sp-4); font-size: var(--fs-md); letter-spacing: 2px; color: var(--color-gold-dark); }
.review p {
  margin-bottom: var(--sp-5);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--color-ink);
}
.review__author {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-line);
}
.review__avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--gradient-gold);
}
.review__author strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
.review__author span   { font-size: var(--fs-xs); color: var(--color-ink-soft); }


/* ----- 7b. FAQ ------------------------------------------- */
.faq__list { max-width: 820px; margin-inline: auto; }

.faq__item { padding: var(--sp-4) 0; border-bottom: 1px solid var(--color-line); }
.faq__item:first-child { border-top: 1px solid var(--color-line); }

.faq__item summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  line-height: 1.3;
  color: var(--color-ink);
}
.faq__item summary:hover { color: var(--color-gold-dark); }

.faq__item p { margin: var(--sp-3) 0 0 var(--toggle-indent); line-height: 1.7; color: var(--color-ink-soft); }
.faq__item a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }


/* ----- 8. Book / CTA ------------------------------------- */
.cta__card {
  position: relative;
  overflow: hidden;
  padding: var(--sp-9) var(--sp-7);
  background: var(--color-dark);
  border-radius: var(--r-xl);
  text-align: center;
}
/* Soft gold glow in the corners */
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(201, 163, 90, 0.18), transparent 70%),
    radial-gradient(60% 80% at 100% 100%, rgba(201, 163, 90, 0.10), transparent 70%);
}
.cta__card > * { position: relative; }

.cta__title { margin-bottom: var(--sp-4); font-size: clamp(2rem, 5vw, 3.25rem); }
.cta__sub { max-width: 540px; margin: 0 auto var(--sp-6); font-size: var(--fs-md); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-4); }

/* "Book Online" (data-lw="booking-link") is hidden until the dashboard has a
   booking link. When it shows, the call button steps back to the outlined style. */
.cta__book:not([hidden]) ~ .cta__call {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.cta__book:not([hidden]) ~ .cta__call:hover { background: #fff; border-color: #fff; color: var(--color-ink); }


/* ----- 9. Footer ----------------------------------------- */
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  padding-top: var(--sp-9);        /* top/bottom only — the side padding comes from .container */
  padding-bottom: var(--sp-8);
}

.footer__badge { width: 120px; margin-bottom: var(--sp-5); }
.footer__tagline {
  max-width: 280px;
  margin-bottom: var(--sp-5);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--color-on-dark);
}
.footer__social { display: flex; gap: var(--sp-3); }
.social {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--r-full);
  color: #fff;
  transition: all var(--dur) var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-ink); }

.footer__heading {
  margin-bottom: var(--sp-5);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.footer__list li { margin-bottom: var(--sp-3); }
.footer__list--plain li { display: flex; justify-content: space-between; gap: var(--sp-4); }
.footer__contact a { display: inline-block; margin-top: 2px; }
.footer__contact .footer__email { display: block; }

/* Live hours (ul.lw-hours is generated by menu-embed.js): one line per day */
.lw-hours li { display: flex; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-3); }
.lw-hours-today { color: var(--color-gold-light); font-weight: 600; }
.lw-hours-closed .lw-hours-time { color: var(--color-on-dark-muted); }


/* ----- 10. Sticky mobile booking bar --------------------- */
.mobile-cta {
  display: none;                       /* shown on phones, see Responsive */
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-line);
}
.mobile-cta .btn { flex: 1; padding: 0.95rem 1rem; }
.mobile-cta .btn--primary { flex: 1.4; }


/* ----- 11. Responsive ------------------------------------ */
@media (max-width: 1024px) {
  .about__grid,
  .why__grid      { grid-template-columns: 1fr; gap: var(--sp-7); }
  .reviews__grid  { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .footer__grid   { grid-template-columns: 1fr 1fr; }
  .gallery__grid  { grid-template-columns: repeat(3, 1fr); }
  .why__images    { height: 400px; }
  .about__image   { max-width: 520px; margin-inline: auto; }
}

@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }       /* room for the sticky bar */
}

@media (max-width: 720px) {
  .hero__title { font-size: clamp(2.25rem, 10vw, 3rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__meta { gap: var(--sp-3); font-size: var(--fs-xs); }
  .hero__meta-dot { display: none; }          /* items stack on phones; no separator needed */

  .section__header--between { flex-direction: column; align-items: flex-start; }

  .footer__grid { grid-template-columns: 1fr; }

  .menu { column-count: 1; }
  .lw-menu-group { padding: var(--sp-5); }
  .tier { grid-template-columns: 1fr; padding: var(--sp-5); }      /* pedicures: prices under the text */
  .tier__prices { display: flex; gap: var(--sp-6); text-align: left; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .about__features { grid-template-columns: 1fr; }

  .cta__card { padding: var(--sp-7) var(--sp-5); border-radius: var(--r-lg); }
  .cta__actions .btn { flex: 1 1 100%; }
}
