/* ===========================================================
   Total Vibe Salon & Studios — shared stylesheet
   =========================================================== */

:root {
  --blush: #FBDCE2;
  --blush-soft: #fde8ec;
  --charcoal: #1A1613;
  --charcoal-soft: #4a433f;
  --white: #FFFFFF;
  --cream: #FDF6F3;
  --line: #f0d7dd;
  --radius: 16px;
  --shadow: 0 18px 40px -20px rgba(26, 22, 19, 0.28);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.18;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--charcoal-soft); }

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

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--charcoal);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow / small-caps labels ---------- */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--blush); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: #322b26; }

.btn-blush { background: var(--blush); color: var(--charcoal); }
.btn-blush:hover { background: #f6c4cf; }

.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--blush-soft); }

.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---------- Brand wordmark ---------- */
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-logo { height: 84px; width: auto; }
.brand-name { display: flex; align-items: baseline; gap: 6px; }
.brand-total {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--charcoal);
}
.brand-vibe {
  font-family: "Parisienne", cursive;
  font-size: 2rem;
  color: var(--charcoal);
}
.brand-tag {
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-top: 2px;
}
.footer-brand .brand-total,
.footer-brand .brand-vibe { color: #fff; }
.footer-brand .brand-tag { color: rgba(255,255,255,0.65); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 243, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 28px -22px rgba(26, 22, 19, 0.22);
  transition: box-shadow 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 20px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--charcoal);
  transition: width 0.2s ease;
}
.nav-link:hover::after,
.has-dropdown:hover .nav-link::after { width: 100%; }

.has-dropdown { position: relative; }
.dropdown-caret { font-size: 0.65em; margin-left: 4px; }
.dropdown {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 10px;
}
/* Higher specificity than ".main-nav ul { display: flex }" so the
   dropdown's own items stack vertically instead of inheriting the
   top-level nav's row layout. */
.has-dropdown .dropdown { display: block; }

/* Hover-revealed dropdown is a desktop-only interaction; on touch
   devices the nav JS toggles a plain block via .is-open instead, so
   these rules are scoped to avoid fighting that with specificity. */
@media (min-width: 761px) {
  .dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.dropdown li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}
.dropdown li a:hover { background: var(--blush-soft); }
.tag-soon {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--blush);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background: linear-gradient(180deg, var(--blush-soft) 0%, var(--cream) 100%);
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero-sub { font-size: 1.08rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.page-hero { padding: 64px 0 56px; }

/* Standalone feature photo, dropped below a page-hero when a real
   photo is available for that service (portrait crop preserved,
   no forced landscape crop that would cut off the subject). */
.section-photo { padding: 0 0 68px; }
.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.service-photo-grid.single { grid-template-columns: 1fr; max-width: 520px; }
.service-feature-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
@media (max-width: 700px) {
  .service-photo-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ---------- Circle motif ----------
   Echoes the logo's open circular swoosh as a large, cropped, asymmetric
   line-art accent, reused (at different sizes/positions/rotations) across
   hero sections and the footer so the brand mark's one distinctive shape
   recurs through the site instead of only living in the header badge. */
.circle-motif {
  position: absolute;
  fill: none;
  stroke: currentColor;
  color: var(--charcoal);
  pointer-events: none;
  z-index: 0;
}
.circle-motif--home {
  width: 900px;
  height: 900px;
  top: 8%;
  left: 96%;
  opacity: 0.15;
  transform: translate(-50%, -50%) rotate(160deg);
}
.circle-motif--page {
  width: 640px;
  height: 640px;
  top: 100%;
  left: 3%;
  opacity: 0.13;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.circle-motif--footer {
  width: 900px;
  height: 900px;
  top: 2%;
  left: 95%;
  color: var(--blush);
  opacity: 0.2;
  transform: translate(-50%, -50%) rotate(205deg);
}
@media (max-width: 760px) {
  .circle-motif--home { width: 560px; height: 560px; }
  .circle-motif--page { width: 380px; height: 380px; }
  .circle-motif--footer { width: 520px; height: 520px; }
}

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-tint { background: var(--blush-soft); }
.section-dark { background: var(--charcoal); color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.section-lead {
  max-width: 620px;
  margin: -8px auto 44px;
}
.section-lead.light { color: rgba(255,255,255,0.78); }

/* ---------- Home: intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.intro-points { margin-top: 22px; display: grid; gap: 14px; }
.intro-points li { padding-left: 26px; position: relative; color: var(--charcoal-soft); }
.intro-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blush);
  border: 2px solid var(--charcoal);
}
.intro-card {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 34px;
  box-shadow: var(--shadow);
}
.intro-card-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blush);
  margin-bottom: 14px;
}
.intro-card p { font-family: "Playfair Display", serif; font-size: 1.3rem; color: #fff; margin: 0; line-height: 1.45; }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--blush);
  padding: 4px 10px;
  border-radius: 999px;
}
.service-card .provider {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.service-card p { margin: 0; font-size: 0.95rem; }
.service-card .card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
  border-bottom: 2px solid var(--blush);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ---------- Social teaser ---------- */
.social-teaser { text-align: center; }
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--charcoal);
  transition: transform 0.2s ease, background 0.2s ease;
}
.social-icons a:hover { transform: translateY(-3px); background: var(--blush); }
.social-icons svg { width: 22px; height: 22px; }

/* ---------- Contact strip ---------- */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.contact-strip-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
}
.contact-strip-item h4 { font-family: "Playfair Display", serif; margin-bottom: 8px; }
.contact-strip-item a { font-weight: 600; color: var(--charcoal); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.owner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
}
.owner-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius) - 4px);
  margin-bottom: 22px;
}
.owner-card .eyebrow { margin-bottom: 8px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 0.94rem; }

/* ---------- Service detail pages ---------- */
.service-detail-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.service-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.service-meta span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blush-soft);
  color: var(--charcoal);
}
.service-list { margin: 18px 0; display: grid; gap: 12px; }
.service-list li {
  padding-left: 26px;
  position: relative;
  color: var(--charcoal-soft);
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--charcoal);
  font-weight: 700;
}

.booking-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 110px;
}
.booking-panel h3 { margin-bottom: 6px; }
.booking-panel .provider-name { font-weight: 600; color: var(--charcoal-soft); margin-bottom: 20px; display: block; }
.booking-panel .btn { margin-bottom: 12px; }
.booking-note {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  background: var(--blush-soft);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
}

.coming-soon-panel { text-align: center; }
.coming-soon-badge {
  display: inline-block;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.related-services { margin-top: 8px; }
.related-services a { font-weight: 600; color: var(--charcoal); border-bottom: 2px solid var(--blush); }

/* ---------- Practitioners (multi-artist tabs) ---------- */
.practitioner-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.practitioner-tab {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.practitioner-tab.is-active { background: var(--charcoal); color: #fff; }
.practitioner-tab:hover:not(.is-active) { background: var(--blush-soft); }

.practitioner-panel {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  gap: 28px;
  align-items: flex-start;
}
.practitioner-panel.is-active { display: flex; }
.practitioner-panel-photo {
  width: 170px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: var(--shadow);
}
.practitioner-panel-content { flex: 1; min-width: 0; text-align: left; }
.practitioner-panel-content .role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 10px;
}
.practitioner-panel-content h3 { margin-bottom: 10px; }
.practitioner-panel-content .btn { margin-top: 20px; }
.practitioner-panel-content .btn + .btn { margin-top: 10px; }

@media (max-width: 600px) {
  .practitioner-panel.is-active { flex-direction: column; align-items: center; text-align: center; }
  .practitioner-panel-photo { width: 150px; }
  .practitioner-panel-content { text-align: center; }
}

/* Booking-panel photo: the narrow single-provider sidebar (Waxing,
   Nails) doesn't have room for a side-by-side layout, so the photo
   always stacks above the existing content instead. */
.booking-panel-photo {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--radius) - 4px);
  margin: 0 auto 20px;
  display: block;
  box-shadow: var(--shadow);
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-list { display: grid; gap: 20px; margin-top: 22px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.contact-info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { margin: 0; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--charcoal); color: rgba(255,255,255,0.85); padding-top: 60px; }
.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { align-items: flex-start; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 14px; }
.footer-links h4, .footer-services h4, .footer-contact h4 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links ul, .footer-services ul, .footer-contact ul { display: grid; gap: 10px; }
.footer-links a, .footer-services a, .footer-contact a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-links a:hover, .footer-services a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--blush); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-social a:hover svg { color: var(--charcoal); }

.footer-bottom { position: relative; z-index: 1; padding: 20px 0; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .intro-grid, .about-grid, .contact-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .booking-panel { position: static; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: 480px; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 24px 24px; gap: 4px; }
  .main-nav a.nav-link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .has-dropdown .dropdown {
    display: none;
    box-shadow: none;
    border: none;
    margin-bottom: 8px;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }

  .service-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .hero { padding: 60px 0 52px; }
  .section { padding: 60px 0; }
  .brand-logo { height: 64px; }
  .brand-total { font-size: 1.25rem; }
  .brand-vibe { font-size: 1.65rem; }
}
