/* ============================================================
   At Sis' Hair & Beauty Salon — shared design system (website)
   Palette: soft sand base, warm charcoal text/dark sections,
   rose primary accent, sage-grey secondary.
   ============================================================ */

:root {
  --sand: #F5EFE7;
  --sand-deep: #ECE2D4;
  --charcoal: #33302C;
  --charcoal-deep: #24211E;
  --charcoal-darker: #1a1816;
  --rose: #C97B84;
  --rose-dark: #A85560;   /* use for small text on light backgrounds — 4.5:1+ */
  --rose-light: #E3B7BD;
  --sage: #8FA096;
  --sage-dark: #6E7D74;
  --white: #FFFFFF;

  --font-display: "Epilogue", sans-serif;
  --font-body: "Nunito Sans", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-arch: 140px 140px 20px 20px;

  --shadow-soft: 0 12px 32px -14px rgba(51, 48, 44, 0.28);
  --shadow-card: 0 8px 22px -10px rgba(51, 48, 44, 0.20);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 0.5em;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; }

p { margin: 0 0 1em; }

a {
  color: var(--rose-dark);
  text-decoration: none;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* ===== Accessibility ===== */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: var(--sand);
  padding: 14px 22px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--rose-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.placeholder {
  color: var(--rose-dark);
  font-style: italic;
}

.confirm-note {
  font-size: 0.85rem;
  color: var(--sage-dark);
  border-left: 3px solid var(--sage);
  padding-left: 12px;
  margin-top: 12px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--rose-dark);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn--primary:hover { background: var(--charcoal); box-shadow: var(--shadow-soft); }

.btn--sage {
  background: var(--sage);
  color: var(--white);
}
.btn--sage:hover { background: var(--sage-dark); }

.btn--ghost {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn--ghost:hover { background: var(--charcoal); color: var(--sand); }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(245, 239, 231, 0.55);
  color: var(--sand);
}
.btn--ghost-light:hover { background: rgba(245, 239, 231, 0.14); border-color: var(--sand); }

.btn--lg {
  min-height: 52px;
  padding: 14px 30px;
  font-size: 1.02rem;
}

/* ===== Header ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(245, 239, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(51, 48, 44, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--charcoal);
}
.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-light);
}
.brand span { color: var(--rose-dark); }

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 2px;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--rose-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--rose-dark); }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__cta { display: inline-flex; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-scrim {
  display: none;
}

@media (max-width: 860px) {
  .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 76px;
    right: 0;
    height: calc(100vh - 76px);
    width: min(78vw, 320px);
    background: var(--sand);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    box-shadow: -12px 0 30px -18px rgba(0,0,0,0.3);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.1rem; }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 76px 0 0 0;
    background: rgba(26, 24, 22, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  padding: 84px 0 76px;
  background: linear-gradient(155deg, var(--sand) 0%, var(--sand-deep) 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
}
.hero::before {
  width: 340px; height: 340px;
  background: var(--rose-light);
  top: -140px; right: -100px;
}
.hero::after {
  width: 220px; height: 220px;
  background: var(--sage);
  opacity: 0.22;
  bottom: -100px; left: -80px;
}
.hero .container { position: relative; z-index: 2; }

.hero__content { max-width: 760px; margin: 0 auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--rose-dark);
  margin-bottom: 14px;
}

.hero__lede {
  font-size: 1.12rem;
  color: var(--charcoal);
  opacity: 0.85;
  max-width: 620px;
  margin: 0 auto 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 30px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sage-dark);
}
.hero__stats li { display: flex; align-items: center; gap: 6px; }
.hero__stats svg { width: 16px; height: 16px; stroke: var(--sage-dark); flex-shrink: 0; }

.hero__frame-row { margin-top: 48px; }

/* ===== Arch image frame / photo placeholder ===== */

.arch-frame {
  position: relative;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--sand-deep);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(135deg, rgba(201,123,132,0.10) 0 18px, rgba(143,160,150,0.10) 18px 36px),
    linear-gradient(160deg, var(--sand-deep), #E1D3C6);
  border: 2px dashed var(--rose-light);
}
.photo-placeholder svg {
  width: 34px;
  height: 34px;
  stroke: var(--rose-dark);
  opacity: 0.7;
}
.photo-placeholder span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rose-dark);
}
.photo-placeholder small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--charcoal);
  opacity: 0.65;
}

.ratio-hero { aspect-ratio: 16/10; }
.ratio-portrait { aspect-ratio: 4/5; }
.ratio-square { aspect-ratio: 1/1; }
.ratio-wide { aspect-ratio: 16/9; }

/* ===== Sections ===== */

.section { padding: 88px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--sand-deep); }
.section--dark { background: var(--charcoal); color: var(--sand); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--sand); }
.section--dark p { color: rgba(245, 239, 231, 0.8); }
.section--dark .eyebrow { color: var(--rose-light); }

.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.eyebrow--center { display: block; }
.section__lede { color: inherit; opacity: 0.75; }

.section__title--left { text-align: left; }

/* ===== Feature (two-col image + text) ===== */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 780px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature > * { order: initial !important; }
}

.feature__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
.feature__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sage);
}

/* ===== Split panels (Hair | Beauty) ===== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 700px) {
  .split { grid-template-columns: 1fr; }
}

.split__panel {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.split__panel:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.split__panel:active { transform: scale(0.98); }
.split__panel .photo-placeholder,
.split__panel img { aspect-ratio: 5/4; border-radius: 0; }
.split__panel .photo-placeholder { border: none; border-bottom: 2px dashed var(--rose-light); }
.split__body { padding: 26px 26px 28px; }
.split__body h3 { color: var(--charcoal); margin-bottom: 8px; }
.split__body p { color: var(--charcoal); opacity: 0.75; margin-bottom: 14px; }
.split__cta { font-weight: 700; color: var(--rose-dark); }

/* ===== Trust / stats band ===== */

.stats-band {
  background: var(--charcoal);
  color: var(--sand);
  padding: 44px 0;
}
.stats-band__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: center;
}
.stats-band__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--rose-light);
}
.stats-band__item span {
  font-size: 0.88rem;
  color: rgba(245,239,231,0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 34px;
  margin-bottom: 44px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--sage-dark);
  font-size: 0.95rem;
}
.trust-strip__item svg { width: 20px; height: 20px; stroke: var(--sage-dark); }

/* ===== Price lists ===== */

.price-list { margin: 20px 0 26px; border-top: 1px solid rgba(51,48,44,0.12); }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(51,48,44,0.12);
}
.price-name { font-weight: 700; }
.price-name small { display: block; font-weight: 400; opacity: 0.65; font-size: 0.8rem; margin-top: 2px; }
.price-value { font-weight: 800; color: var(--rose-dark); white-space: nowrap; }

.price-note {
  font-size: 0.88rem;
  color: var(--sage-dark);
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ===== Gallery ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 18px;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.gallery__item img,
.gallery__item .photo-placeholder { width: 100%; height: 100%; border-radius: 0; border: none; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(26,24,22,0.72), transparent);
  color: var(--sand);
  font-size: 0.82rem;
  font-weight: 700;
}
.gallery__item--placeholder figcaption {
  position: static;
  background: none;
  color: var(--rose-dark);
  padding: 10px 12px 0;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item--wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 1; }
}

/* ===== Reviews ===== */

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 700px) {
  .reviews { grid-template-columns: 1fr; }
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.review-card__stars { color: var(--rose-dark); letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.review-card p { font-style: italic; color: var(--charcoal); }
.review-card__author { font-weight: 700; font-size: 0.88rem; margin-top: 6px; }
.review-card__placeholder {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--sage-dark);
  border-top: 1px dashed rgba(51,48,44,0.2);
  padding-top: 8px;
}

/* ===== CTA (charcoal) section ===== */

.section--cta { background: var(--charcoal); color: var(--sand); }
.section--cta h2 { color: var(--sand); }
.section--cta p { color: rgba(245,239,231,0.8); }
.section--cta .eyebrow { color: var(--rose-light); }

.visit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 780px) {
  .visit-grid { grid-template-columns: 1fr; }
}

.visit-list { margin: 22px 0; display: flex; flex-direction: column; gap: 16px; }
.visit-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.visit-list svg { width: 20px; height: 20px; stroke: var(--rose-light); flex-shrink: 0; margin-top: 2px; }
.visit-list a { color: var(--sand); }
.visit-list a:hover { color: var(--rose-light); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.hours-table td {
  padding: 9px 0;
  border-bottom: 1px solid rgba(245,239,231,0.14);
  font-weight: 600;
}
.hours-table td:last-child { text-align: right; color: rgba(245,239,231,0.85); }

.map-embed {
  background: rgba(245,239,231,0.06);
  border: 1px dashed rgba(245,239,231,0.3);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.map-embed strong { font-family: var(--font-display); font-size: 1.1rem; }

/* ===== Footer ===== */

.footer {
  background: var(--charcoal-darker);
  color: rgba(245,239,231,0.7);
  padding: 48px 0 30px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sand);
}
.footer__brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  color: rgba(245,239,231,0.7);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(245,239,231,0.2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.footer__social a:hover { background: var(--rose-dark); color: var(--white); border-color: var(--rose-dark); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: center; font-size: 0.9rem; }
.footer__nav a { color: rgba(245,239,231,0.7); }
.footer__nav a:hover { color: var(--rose-light); }
.footer__meta { font-size: 0.82rem; max-width: 560px; }

/* ===== Call FAB ===== */

.call-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rose-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(51,48,44,0.5);
  z-index: 400;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.call-fab svg { width: 24px; height: 24px; }
.call-fab:hover { transform: scale(1.08); background: var(--charcoal); }
.call-fab:active { transform: scale(0.96); }

@media (min-width: 861px) {
  .call-fab { display: none; }
}

/* ===== About page extras ===== */

.story-block { max-width: 760px; margin: 0 auto; }
.story-block blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  background: var(--white);
  border-left: 4px solid var(--rose-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: var(--shadow-card);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 780px) {
  .value-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.value-card svg { width: 30px; height: 30px; stroke: var(--rose-dark); margin-bottom: 12px; }

/* ===== Contact page ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
}
.contact-card ul { display: flex; flex-direction: column; gap: 18px; margin: 20px 0; }
.contact-card li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.contact-card svg { width: 20px; height: 20px; stroke: var(--rose-dark); flex-shrink: 0; margin-top: 2px; }

/* ===== Reveal-on-scroll animation ===== */

html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.js .fade-up {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Hero staggered fade-up (JS-independent fallback: visible without JS) */
html.js .fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.6s var(--ease) forwards;
}
html.js .fade-up--1 { animation-delay: 0.05s; }
html.js .fade-up--2 { animation-delay: 0.16s; }
html.js .fade-up--3 { animation-delay: 0.27s; }
html.js .fade-up--4 { animation-delay: 0.38s; }
html.js .fade-up--5 { animation-delay: 0.49s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
