/* ════════════════════════════════════════════════════════════
   style.css — Maria Hair Design
   Global stylesheet loaded on every page.

   Architecture:
   - CSS custom properties (tokens) at :root — change colours here
   - Global components: nav, buttons, footer, page hero, reveal
   - Page-specific styles live in each page's own <style> block
   - Utility classes at the bottom replace repeated inline styles
   - Mobile/responsive rules grouped at the bottom

   Fonts: Cormorant (display/serif) + Raleway (body/sans)
   Loaded via Google Fonts in each page <head>

   Colour tokens:
   --ink     #0e0d0b  near-black background
   --deep    #161512  slightly lighter surface
   --surface #1c1b17  card/panel background
   --gold    #b89a52  brand gold (accent, CTAs, headings)
   --cream   #f0ebe0  warm white body text
   --fog     #7b7568  muted/secondary text
   --rule    rgba(255,255,255,0.07)  subtle border/divider
   ════════════════════════════════════════════════════════════ */

/* ── TOKENS ───────────────────────────────────────── */
:root {
  --ink: #0e0d0b;
  --deep: #161512;
  --surface: #1c1b17;
  --rule: rgba(255,255,255,0.07);
  --gold: #b89a52;
  --gold-mid: rgba(184,154,82,0.35);
  --gold-dim: rgba(184,154,82,0.12);
  --cream: #f0ebe0;
  --fog: #7b7568;
  --white: #ffffff;
  --f-display: 'Cormorant', Georgia, serif;
  --f-body: 'Raleway', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
 }
 
 /* ── RESET ─────────────────────────────────────────── */
 *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
 html { scroll-behavior: smooth; }
 body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
 }
 
 /* ── LANGUAGE BAR ──────────────────────────────────── */
 .lang-bar { display: none; } /* removed - now in nav */
 
 /* ── LANGUAGE TOGGLE IN NAV ─────────────────────────── */
 .nav-lang {
   display: flex;
   align-items: center;
   gap: 0;
   margin-left: 16px;
   border: 1px solid var(--rule);
 }
 .lang-divider { display: none; }
 .lang-btn {
   background: none; border: none;
   font-family: var(--f-body); font-size: 0.58rem; font-weight: 400;
   letter-spacing: 0.18em; text-transform: uppercase;
   color: var(--fog); padding: 6px 10px; cursor: pointer;
   transition: color 0.2s, background 0.2s;
   line-height: 1;
 }
 .lang-btn.on { background: var(--gold); color: var(--ink); }
 .lang-btn:not(.on):hover { color: var(--cream); }
 
 
 /* ── NAV ────────────────────────────────────────────── */
 nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
  transition: padding 0.4s var(--ease), background 0.4s;
 }
 nav.stuck {
  background: rgba(14,13,11,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 16px 48px;
 }
 
 /* Desktop nav - only essential links */
 .nav-list { list-style: none; display: flex; gap: 32px; align-items: center; }
 .nav-list a {
  font-size: 0.6rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(240,235,224,0.65); text-decoration: none;
  transition: color 0.2s; white-space: nowrap;
 }
 .nav-list a:hover { color: var(--cream); }
 .nav-list a.active { color: var(--gold); }
 .nav-book {
  background: var(--gold); color: var(--ink) !important;
  padding: 10px 22px;
  transition: background 0.2s !important;
 }
 .nav-book:hover { background: #cead6a !important; color: var(--ink) !important; }
 
 /* ── BUTTONS ────────────────────────────────────────── */
 .btn {
  display: inline-block; font-family: var(--f-body);
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: all 0.25s var(--ease); border: none;
 }
 .btn-primary { background: var(--gold); color: var(--ink); padding: 14px 40px; }
 .btn-primary:hover { background: #cead6a; box-shadow: 0 6px 28px rgba(184,154,82,0.22); transform: translateY(-1px); }
 .btn-outline { background: none; border: 1px solid var(--gold); color: var(--gold); padding: 13px 32px; }
 .btn-outline:hover { background: var(--gold-dim); }
 .btn-text { color: var(--fog); padding-bottom: 2px; border-bottom: 1px solid rgba(123,117,104,0.4); background: none; }
 .btn-text:hover { color: var(--cream); border-color: var(--cream); }
 
 /* ── SHARED LAYOUT ──────────────────────────────────── */
 .rule { width: 100%; height: 1px; background: var(--rule); }
 .sec { padding: 120px 56px; }
 .sec-inner { max-width: 1280px; margin: 0 auto; }
 .sec-head { margin-bottom: 72px; }
 .eyebrow { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
 .sec-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(36px, 4.5vw, 60px); line-height: 1.05; color: var(--white); }
 .sec-title em { font-style: italic; color: var(--gold); }
 .sec-body { font-size: 0.82rem; line-height: 1.95; color: var(--fog); max-width: 480px; margin-top: 20px; }
 
 /* ── PAGE HERO ──────────────────────────────────────── */
 .page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 160px 56px 80px;
  background: var(--ink);
 }
 .page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(184,154,82,0.06) 0%, transparent 70%);
  pointer-events: none;
 }
 .page-hero-bg-text { display: none; }
 .page-hero-content {
  position: relative; z-index: 2;
  max-width: 800px; margin: 0 auto;
 }
 .page-hero-content .eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.6rem; letter-spacing: 0.32em;
 }
 .page-title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(44px, 6vw, 88px); line-height: 0.95;
  color: var(--white); margin-bottom: 24px;
 }
 .page-title em { font-style: italic; color: var(--gold); }
 .page-subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.8; color: var(--fog);
  max-width: 580px; margin: 0 auto;
 }
 @media (max-width: 960px) {
  .page-hero { padding: 140px 24px 60px; }
 }
 
 
 /* ── FOOTER ─────────────────────────────────────────── */
 footer { border-top: 1px solid var(--rule); background: var(--deep); }
 .foot-inner { max-width: 1280px; margin: 0 auto; padding: 64px 56px 40px; }
 .foot-brand { max-width: 280px; }
 .foot-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr; gap: 48px;
  padding-bottom: 48px; margin-bottom: 32px; border-bottom: 1px solid var(--rule);
 }
 @media (max-width: 960px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; max-width: 100%; }
 }
 .foot-logo { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.6rem; color: var(--gold); margin-bottom: 14px; }
 .foot-tagline { font-size: 0.78rem; color: var(--fog); line-height: 1.8; max-width: 260px; }
 .foot-col h5 { font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
 .foot-col p, .foot-col address, .foot-col a {
  font-size: 0.78rem; color: var(--fog); line-height: 1.9;
  font-style: normal; text-decoration: none; display: block;
  transition: color 0.2s;
 }
 .foot-col a:hover { color: var(--cream); }
 .foot-bottom { display: flex; justify-content: space-between; font-size: 0.68rem; color: rgba(123,117,104,0.5); }
 
 /* ── REVEAL ─────────────────────────────────────────── */
 .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
 .reveal.in { opacity: 1; transform: none; }
 .reveal-d1 { transition-delay: 0.1s; }
 .reveal-d2 { transition-delay: 0.2s; }
 .reveal-d3 { transition-delay: 0.3s; }
 
 @keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
 }
 
 /* ── HAMBURGER ──────────────────────────────────────── */
 .nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 210;
 }
 .nav-hamburger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--cream);
  transition: all 0.3s var(--ease);
 }
 .nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
 .nav-hamburger.open span:nth-child(2) { opacity: 0; }
 .nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
 
 /* Mobile drawer */
 .nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: rgba(14,13,11,0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--rule);
  z-index: 205;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
 }
 .nav-drawer.open { transform: translateX(0); }
 .nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
 .nav-drawer ul li a {
  display: block;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fog); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
 }
 .nav-drawer ul li a:hover, .nav-drawer ul li a.active { color: var(--gold); }
 .nav-drawer .drawer-book {
  margin-top: 28px;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 14px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
 }
 .nav-drawer .drawer-book:hover { background: #cead6a; }
 .nav-drawer-phone {
  margin-top: 24px;
  font-size: 0.72rem;
  color: var(--fog);
  text-decoration: none;
  text-align: center;
  display: block;
  letter-spacing: 0.1em;
 }
 
 /* Overlay */
 .nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 204;
 }
 .nav-overlay.open { display: block; }
 
 /* ── MOBILE ─────────────────────────────────────────── */
 @media (max-width: 960px) {
  nav { padding: 20px 24px; }
  nav.stuck { padding: 14px 24px; }
  .nav-list { display: none; }
  .nav-hamburger { display: flex; }
  .sec { padding: 80px 24px; }
  .page-hero { padding: 140px 24px 80px; }
  .page-hero-bg-text { display: none; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
 }
 
 /* ── PHONE IN NAV ───────────────────────────────────── */
 /* NOTE: nav-phone is also defined at the bottom of this file
    in the utility classes section — this one takes precedence. */
 .nav-phone {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--fog);
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--f-body);
  display: none; /* hidden in nav — visible only in mobile drawer */
 }
 .nav-phone:hover { color: var(--gold); }
 
 /* ── LOGO IMAGE ─────────────────────────────────────── */
 .logo-img { display: flex; align-items: center; text-decoration: none; }
 .logo-img > img {
  height: 44px; width: auto;
  opacity: 0;
  animation: logoNavIn 0.8s 0.1s var(--ease) forwards;
 }
 @keyframes logoNavIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
 }
 .logo-img > img:hover { opacity: 0.8; }
 
 /* ── CALL NOW BUTTON ────────────────────────────────── */
 .nav-call {
  font-size: 0.6rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--cream) !important;
  text-decoration: none !important;
  border: 1px solid var(--rule) !important;
  padding: 9px 18px !important;
  transition: border-color 0.2s, color 0.2s !important;
  white-space: nowrap !important;
 }
 .nav-call:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
 }
 
 /* Mobile drawer call button */
 .drawer-call {
  margin-top: 28px;
  background: transparent;
  color: var(--cream);
  text-align: center;
  padding: 14px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  border: 1px solid var(--rule);
  transition: border-color 0.2s, color 0.2s;
 }
 .drawer-call:hover {
  border-color: var(--gold);
  color: var(--gold);
 }
 
 /* ── REVIEWS ────────────────────────────────────────── */
 .reviews-sec { background: var(--ink); }
 .reviews-inner { max-width: 1280px; margin: 0 auto; padding: 100px 56px; }
 .reviews-head { margin-bottom: 64px; }
 .reviews-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
  margin-bottom: 48px;
 }
 .review-card {
  background: var(--ink); padding: 44px 36px;
  display: flex; flex-direction: column; gap: 20px;
  transition: background 0.3s var(--ease);
  position: relative; overflow: hidden;
 }
 .review-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0; background: var(--gold);
  transition: width 0.4s var(--ease);
 }
 .review-card:hover { background: var(--surface); }
 .review-card:hover::after { width: 100%; }
 .review-stars { color: var(--gold); font-size: 0.65rem; letter-spacing: 4px; }
 .review-text {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.05rem; color: var(--cream);
  line-height: 1.7; flex: 1;
 }
 .review-author {
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fog);
 }
 .reviews-footer { text-align: center; }
 
 @media (max-width: 960px) {
  .reviews-inner { padding: 80px 24px; }
  .reviews-grid { grid-template-columns: 1fr; }
 }
 
 @media (max-width: 960px) {
  .before-after-grid { grid-template-columns: repeat(2,1fr) !important; }
 }
 
 /* ── MOBILE CALL BUTTON ─────────────────────────────── */
 .mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(184,154,82,0.35);
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
 }
 .mobile-call-btn:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 0 8px 32px rgba(184,154,82,0.45); }
 .mobile-call-btn:active { transform: translateX(-50%) scale(0.97); }
 
 @media (max-width: 768px) {
  .mobile-call-btn { display: flex; align-items: center; gap: 10px; }
  /* Nudge lang bar up so it doesn't overlap */
 }
 
 /* ── STICKY BOTTOM BAR ──────────────────────────────── */
 .sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 64px;
 }
 .sticky-bar-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none;
  font-family: var(--f-body); font-size: 0.65rem;
  font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; transition: filter 0.2s;
 }
 .sticky-bar-btn:active { filter: brightness(0.9); }
 .sticky-bar-call {
  background: var(--deep);
  color: var(--cream);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
 }
 .sticky-bar-consult {
  background: var(--gold);
  color: var(--ink);
 }
 
 /* Only show on mobile, add padding so content isn't hidden behind bar */
 @media (max-width: 768px) {
  .sticky-bar { display: grid; }
  body { padding-bottom: 64px; }
 }
 @media (min-width: 769px) {
  .sticky-bar { display: none !important; }
 }
 
 /* ── MEET MARIE-ÈVE ─────────────────────────────────── */
 .meet-sec { background: var(--deep); }
 .meet-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 600px;
 }
 .meet-photo {
  position: relative; overflow: hidden;
  background: var(--ink);
 }
 .meet-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 40% top;
  display: block;
  filter: brightness(0.95);
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
 }
 .meet-photo:hover img { transform: scale(1.03); }
 .meet-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--deep) 100%);
  pointer-events: none;
 }
 .meet-content {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
 }
 .meet-bio {
  font-size: 0.85rem; line-height: 2;
  color: var(--fog); margin-bottom: 16px;
 }
 .meet-creds {
  display: flex; gap: 40px;
  padding-top: 32px; margin-top: 24px;
  border-top: 1px solid var(--rule);
 }
 .meet-cred-n {
  font-family: var(--f-display); font-style: italic;
  font-size: 2.4rem; color: var(--gold); line-height: 1;
 }
 .meet-cred-l {
  font-size: 0.56rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fog); margin-top: 6px;
 }
 
 @media (max-width: 960px) {
  .meet-inner { grid-template-columns: 1fr; }
  .meet-photo { height: 65vw; }
  .meet-photo::after { background: linear-gradient(to bottom, transparent 70%, var(--deep) 100%); }
  .meet-content { padding: 48px 24px; }
  .meet-creds { gap: 24px; }
 }
/* ─── ACCESSIBILITY: visually-hidden but screen-reader-visible ─── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
