/* ============================================================
   MANDER HAIR & BEAUTY SALON — Public Site Styles
   Design: Premium Editorial Beauty (Pink & Rose Palette)
   ============================================================ */

/* ── Fonts ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ────────────────────────────────────── */
:root {
  --bg:          #FFF8F9; /* Soft blush background */
  --bg-alt:      #FEECF0; /* Very light blush for alternate */
  --surface:     #FFFFFF; /* Clean white surface */
  --surface-2:   #FFF0F3; /* Softest pink tint hover */
  --border:      #F2C4D3; /* Soft rose border */
  --primary:     #7D3C64; /* Primary brand color */
  --secondary:   #D98A9D; /* Secondary brand color */
  --accent:      #7D3C64; /* Primary accent */
  --accent-dim:  rgba(125, 60, 100, 0.10);
  --accent-glow: rgba(125, 60, 100, 0.18);
  --warm:        #D98A9D; /* Medium pink secondary */
  --warm-dim:    rgba(217, 138, 157, 0.12);
  --purple:      #A973C2; /* Lavender purple tertiary */
  --rose:        #E8A0B8; /* Soft rose pink - replaces teal */
  --blush:       #FEABAB; /* Soft blush pink for accents */
  --text:        #2D2535; /* Warm dark charcoal */
  --text-muted:  #7A5E6A; /* Rich muted rose */
  --text-subtle: #B8959F; /* Muted light pinkish grey */
  --accent-tint: #F9DDE5; /* Lightest pink tint */
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Poppins', system-ui, sans-serif;
  --radius:      8px;
  --radius-md:   14px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  300ms var(--ease);
  --max-w:       1280px;
  --nav-h:       72px;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg:          #0F0F12; /* Deep dark background */
  --bg-alt:      #1A1A1E; /* Slightly lighter dark */
  --surface:     #1F1F24; /* Dark surface */
  --surface-2:   #2A2A30; /* Dark hover */
  --border:      #3A3A40; /* Dark border */
  --accent:      #D98A9D; /* Soft rose pink from logo */
  --accent-dim:  rgba(217, 138, 157, 0.12);
  --accent-glow: rgba(217, 138, 157, 0.18);
  --warm:        #D98A9D; /* Medium pink secondary */
  --warm-dim:    rgba(217, 138, 157, 0.15);
  --purple:      #A973C2; /* Lavender purple from logo */
  --rose:        #E8A0B8; /* Soft rose pink */
  --blush:       #FEABAB; /* Soft blush pink for accents */
  --text:        #FFFFFF; /* Pure white text for maximum brightness */
  --text-muted:  #E0E0F0; /* Bright muted text */
  --text-subtle: #C0C0D0; /* Bright subtle text */
  --accent-tint: #2A1A20; /* Dark pink tint */
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Focus States ─────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ── Reduced Motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Utilities ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4.5rem);
}

/* Navbar specific container with more padding */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: clamp(1.5rem, 5vw, 4.5rem);
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 55ch;
  line-height: 1.75;
}
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--warm);
  box-shadow: 0 0 0 8px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ── Divider ──────────────────────────────────────────── */
.divider {
  width: 40px; height: 1.5px;
  background: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 1px 0 var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

/* Dark mode navbar background */
[data-theme="dark"] #navbar {
  background: rgba(45, 31, 45, 0.95);
}
.nav-logo {
  display: flex;
  align-items: center;
  padding-top: 0.5rem;
}
.nav-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(125, 60, 100, 0.25));
}

/* Dark mode logo visibility */
[data-theme="dark"] .nav-logo-img {
  filter: drop-shadow(0 0 10px rgba(254, 171, 171, 0.35));
}

/* Mobile logo visibility */
@media (max-width: 768px) {
  .nav-logo-img {
    height: 40px;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
  color: var(--accent);
}
.nav-links a.active::after {
  width: 100%;
}
.nav-book-btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.7rem;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Theme Toggle Button */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}
.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  transform: scale(1.05);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dark mode theme icon colors */
[data-theme="dark"] .theme-icon-moon {
  stroke: #FFFFFF;
}
[data-theme="dark"] .theme-icon-sun {
  stroke: #FEABAB;
}

/* Mobile theme toggle positioning */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
  }
  .nav-book-btn {
    display: none;
  }
  .theme-toggle {
    position: fixed;
    top: 85px;
    right: 1rem;
    z-index: 998;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }
  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }
}

.mobile-nav {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 2.5rem;
  gap: 0.25rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-size: 1rem;
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--accent); }

/* Dark mode mobile navigation */
[data-theme="dark"] .mobile-nav {
  background: rgba(45, 31, 45, 0.98);
  border-bottom: 1px solid rgba(254, 171, 171, 0.2);
}
[data-theme="dark"] .mobile-nav a {
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(254, 171, 171, 0.1);
}
[data-theme="dark"] .mobile-nav a:hover {
  color: var(--accent);
}

/* ============================================================
   HERO  — Premium 50/50 Split Layout
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(217, 138, 157, 0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(125, 60, 100, 0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-logo-wrapper {
  opacity: 0;
  animation: fadeUp 1s 0.2s var(--ease) forwards;
}

.hero-logo {
  width: 320px;
  max-width: 100%;
  height: auto;
  filter: contrast(1.3) brightness(1.1) drop-shadow(0 20px 40px rgba(125, 60, 100, 0.2));
  animation: floatLogo 6s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
  opacity: 0;
  animation: fadeUp 1s 0.4s var(--ease) forwards;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  opacity: 0;
  animation: fadeUp 1s 0.6s var(--ease) forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 0.8s var(--ease) forwards;
}

.hero-btn-primary,
.hero-btn-secondary {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(125, 60, 100, 0.3);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(125, 60, 100, 0.4);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.hero-btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s 1s var(--ease) forwards;
}

.hero-stars {
  font-size: 1.5rem;
  color: #FFD700;
  letter-spacing: 0.1em;
}

.hero-trust-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 3/4;
  opacity: 0;
  animation: fadeUp 1s 0.6s var(--ease) forwards;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(125, 60, 100, 0.25);
  animation: floatPortrait 8s ease-in-out infinite;
}

.hero-portrait-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 30px;
  opacity: 0.3;
  filter: blur(20px);
  z-index: -1;
}

/* Dark Mode Hero */
[data-theme="dark"] .hero-bg {
  background: linear-gradient(135deg, #0F0F12 0%, #1A1A1E 100%);
}

[data-theme="dark"] .hero-bg::before {
  background: radial-gradient(ellipse at center, rgba(217, 138, 157, 0.2) 0%, transparent 70%);
}

[data-theme="dark"] .hero-bg::after {
  background: radial-gradient(ellipse at center, rgba(125, 60, 100, 0.15) 0%, transparent 70%);
}

[data-theme="dark"] .hero-logo {
  filter: drop-shadow(0 20px 40px rgba(217, 138, 157, 0.3));
}

[data-theme="dark"] .hero-portrait {
  box-shadow: 0 30px 60px rgba(217, 138, 157, 0.3);
}

[data-theme="dark"] .hero-portrait-wrapper::before {
  opacity: 0.4;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatPortrait {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 40% 60%;
    gap: 3rem;
  }
  
  .hero-logo {
    width: 280px;
  }
  
  .hero-portrait-wrapper {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: calc(var(--nav-h) + 1.5rem) 0 3rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-left {
    align-items: center;
  }
  
  .hero-logo {
    width: 220px;
  }
  
  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-subtext {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
  }
  
  .hero-right {
    order: 2;
  }
  
  .hero-portrait-wrapper {
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 180px;
  }
  
  .hero-headline {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  
  .hero-portrait-wrapper {
    max-width: 300px;
  }
}

/* ============================================================
   OFFERS BANNER — separate section with top margin
   ============================================================ */
#offers-banner {
  background: linear-gradient(135deg, rgba(254, 171, 171, 0.08) 0%, rgba(219, 147, 184, 0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  display: none;
}
#offers-banner.visible { display: block; }
.offers-scroll-wrap {
  display: flex;
  align-items: stretch;
}
.offer-tabs {
  display: flex;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.offer-tabs::-webkit-scrollbar { display: none; }
.offer-tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.offer-tab:hover { background: rgba(196, 134, 155, 0.04); }
.offer-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  background: var(--accent);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.offer-title { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.offer-desc  { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }
.offers-dismiss {
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
  transition: color var(--transition);
}
.offers-dismiss:hover { color: var(--accent); }

/* ============================================================
   SERVICES — visually separated section
   ============================================================ */
#services {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--surface);
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.service-category {
  margin-bottom: 2rem;
}
.service-category-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.service-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 134, 155, 0.12);
}
.service-item-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.service-item-price {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.service-book-btn {
  margin-top: auto;
  font-size: 0.75rem;
  padding: 0.6rem 1.2rem;
}

/* ============================================================
   GALLERY — visually separated
   ============================================================ */
#gallery {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--bg);
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  margin-top: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-item:nth-child(n+7) { grid-column: span 4; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 37, 53, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon {
  color: #fff;
  font-size: 1.5rem;
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  font-size: 0.78rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.05em;
  background: linear-gradient(to top, rgba(45, 37, 53, 0.8) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(30, 10, 18, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--text-subtle);
  font-size: 1.8rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.lightbox-close:hover { color: #fff; border-color: var(--accent); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: var(--text-subtle);
  font-size: 1.5rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(30, 10, 18, 0.5);
  transition: var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { color: #fff; border-color: var(--accent); }
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  font-size: 0.82rem;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ============================================================
   APPOINTMENT BOOKING — visually separated
   ============================================================ */
#appointment {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--surface);
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.booking-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.booking-info-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--bg);
}
.booking-info-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.booking-info-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form */
.booking-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 8px 32px rgba(196, 134, 155, 0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-input::placeholder { color: var(--text-subtle); }
.form-input.error, .form-select.error { border-color: #e0756e; }
.form-error {
  font-size: 0.72rem;
  color: #e0756e;
  display: none;
}
.form-error.visible { display: block; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 0.85rem;
  pointer-events: none;
}
.form-select { padding-right: 2.5rem; cursor: pointer; }
.form-select option { background: var(--surface); }

/* Multi-service picker (appointment form) */
.service-picker {
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.service-picker.error { border-color: #e0756e; }
.service-picker-groups {
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.service-picker-group + .service-picker-group { border-top: 1px solid var(--border); }
.service-picker-group-label {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.6rem 1rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.service-picker-options { padding: 0.4rem; display: grid; }
.service-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.service-option:hover { background: var(--surface-2); }
.service-option input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  margin: 0;
}
.service-option input:focus-visible + .service-option-check {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.service-option-check {
  flex: 0 0 auto;
  width: 17px; height: 17px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-option-check::after {
  content: '';
  width: 9px; height: 9px;
  border-radius: 2.5px;
  background: var(--primary);
  transform: scale(0);
  transition: transform 180ms var(--ease);
}
.service-option input:checked + .service-option-check {
  border-color: var(--primary);
}
.service-option input:checked + .service-option-check::after { transform: scale(1); }
.service-option.selected { background: var(--accent-dim); }
.service-option-name { flex: 1; font-size: 0.85rem; color: var(--text); }
.service-option-price {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.service-picker.has-selection .service-option-price { color: var(--primary); }
.service-picker-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
#service-total { color: var(--primary); }
[data-theme="dark"] .service-picker-group-label,
[data-theme="dark"] .service-picker.has-selection .service-option-price,
[data-theme="dark"] #service-total { color: var(--rose); }
[data-theme="dark"] .service-option-check::after { background: var(--rose); }
[data-theme="dark"] .service-option input:checked + .service-option-check { border-color: var(--rose); }
.service-picker-empty {
  padding: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 768px) {
  .service-picker-options {
    grid-template-columns: 1fr 1fr;
    padding: 0.4rem;
  }
  .service-option { padding: 0.5rem 0.45rem; }
  .service-option-name { font-size: 0.8rem; }
  .service-option-price { font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .service-picker-options { grid-template-columns: 1fr; }
}

/* Date picker */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.2) sepia(0.5) hue-rotate(330deg);
  cursor: pointer;
}

/* Slot picker */
.slot-picker {
  margin-top: 0.5rem;
}
.slot-picker-empty {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.5rem;
}
.slot-btn {
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  background: var(--surface);
  color: var(--text-muted);
}
.slot-btn:hover:not([disabled]) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-tint);
}
.slot-btn.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.slot-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  background: var(--bg-alt);
}
.slot-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.legend-dot.available { background: var(--accent); opacity: 0.5; }
.legend-dot.selected  { background: var(--accent); }
.legend-dot.taken     { background: var(--text-subtle); opacity: 0.5; }
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
  font-size: 0.82rem;
}

/* Modal overlays (Booking & login confirmations) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(45, 37, 53, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: translateY(16px);
  transition: transform 0.3s;
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--accent); }
.modal-title {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.modal-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.modal-detail {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 2;
}
.modal-detail strong { color: var(--text); }

/* ============================================================
   CONTACT / FOOTER — visually separated
   ============================================================ */
#contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.footer-main {
  padding: clamp(4rem, 8vw, 7rem) 0 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Dark mode footer logo visibility */
[data-theme="dark"] .footer-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(254, 171, 171, 0.3));
}

/* Mobile footer logo */
@media (max-width: 768px) {
  .footer-logo-img {
    height: 50px;
  }
}
.footer-about {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 32ch;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
  background: var(--surface);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }
.footer-col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list a, .footer-list span {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-list a:hover { color: var(--accent); }
.footer-list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-list .fi { color: var(--accent); flex-shrink: 0; margin-top: 2px; font-size: 0.75rem; }
.footer-bar {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-admin-link {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 0.25rem 0.5rem;
}
.footer-admin-link:hover { color: var(--accent); }

/* ============================================================
   WHATSAPP BUTTON — proper WhatsApp green circle with logo
   ============================================================ */
#whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  padding: 0;
  border: 3px solid #fff;
}
#whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
#whatsapp-btn svg { width: 32px; height: 32px; }
.wa-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#whatsapp-btn:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Keyframes ────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   CUSTOMER PORTAL VIEWS & CARDS
   ============================================================ */
.customer-portal-view {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.customer-nav {
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: var(--surface);
}
.customer-container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem);
}
.customer-welcome-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.customer-welcome-text h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--text);
}
.customer-welcome-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.customer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.customer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(196, 134, 155, 0.04);
}
.customer-card-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

/* Customer Table Styles */
.customer-table-wrap {
  overflow-x: auto;
}
.customer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.customer-table th {
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}
.customer-table td {
  padding: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.customer-table tr:last-child td {
  border-bottom: none;
}
.customer-table tr:hover td {
  background: var(--bg-alt);
}

/* Status Badges */
.c-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}
.c-badge-pending   { background: #fff5e6; color: #d48000; }
.c-badge-confirmed { background: #e6f7ed; color: #1e7e34; }
.c-badge-cancelled { background: #ffebeb; color: #bd2130; }

/* Booking item card for mobile list views */
.mobile-booking-list {
  display: none;
  flex-direction: column;
  gap: 1rem;
}
.mobile-booking-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-booking-service {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.mobile-booking-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .gallery-item:nth-child(1) { grid-column: span 12; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) { grid-column: span 6; }
  .gallery-item:nth-child(n+4) { grid-column: span 6; }

  /* Reduce section top margins on tablet */
  #services, #gallery, #appointment, #contact {
    margin-top: 2rem;
  }
  
  .service-category-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
@media (max-width: 768px) {
  .nav-links, .nav-book-btn { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-item:nth-child(n+1) { grid-column: span 12; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  /* Show cards instead of table for customer bookings on smaller screens */
  .customer-table-wrap { display: none; }
  .mobile-booking-list { display: flex; }

  /* Section spacing adjustments for mobile */
  #services, #gallery, #appointment, #contact {
    margin-top: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .service-category-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-headline {
    font-size: 2.2rem;
  }
  
  #whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  #whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}
@media (max-width: 480px) {
  :root { --nav-h: 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .services-grid { gap: 2rem; }
  #whatsapp-btn { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
  #whatsapp-btn svg { width: 24px; height: 24px; }
  .customer-welcome-bar { flex-direction: column; align-items: flex-start; }
  .nav-logo-img { height: 40px; }
  .footer-logo-img { height: 50px; }

  /* Make slot grid more compact */
  .slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.35rem;
  }
  .slot-btn {
    padding: 0.4rem 0.15rem;
    font-size: 0.72rem;
  }
}

/* ============================================================
   ABOUT US PAGE
   ============================================================ */
#about-hero {
  background: var(--bg);
  padding: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--border);
}
.about-hero-inner {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}
.about-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.about-hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 58ch;
  margin-inline: auto;
}

/* Three alternating sections */
.about-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  border-top: 1px solid var(--border);
}
.about-section.alt { background: var(--surface); }
.about-row {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.about-row.flip .about-media { order: 2; }
.about-row.flip .about-copy  { order: 1; }
.about-media {
  flex: 0 0 48%;
  max-width: 48%;
}
.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(125, 60, 100, 0.18);
}
.about-copy { flex: 1; }
.about-heading {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.about-heading em { font-style: italic; color: var(--accent); }
.about-copy p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 50ch;
}
.about-cta { margin-top: 2rem; }

/* Dark mode image shadows */
[data-theme="dark"] .about-img {
  box-shadow: 0 20px 50px rgba(217, 138, 157, 0.18);
}

@media (max-width: 1024px) {
  .about-row { gap: 3rem; }
}

/* Stack into a single column below tablet width */
@media (max-width: 900px) {
  .about-row,
  .about-row.flip {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }
  .about-row.flip .about-media,
  .about-row.flip .about-copy {
    order: 0;
  }
  .about-media {
    flex: none;
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }
  .about-img { aspect-ratio: 4 / 5; }
  .about-copy { max-width: 640px; margin-inline: auto; }
}

@media (max-width: 480px) {
  .about-hero-sub { font-size: 0.98rem; }
  .about-copy p { font-size: 0.92rem; }
}

/* Brand logo divider between the hero and the About content */
.brand-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  padding: 32px 16px;
}
.brand-logo-strip__img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
}
@media (max-width: 768px) {
  .brand-logo-strip { padding: 24px 16px; }
}
