/* ============================================================
   MAHELET — Luxury Beauty Salon Design System
   Palette: Rose · White · Gold
   Typography: Playfair Display (headings) + Cormorant (decorative) + Montserrat (body)
   ============================================================ */

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

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Rose palette */
  --rose:            #C4727F;
  --rose-hover:      #B0606D;
  --rose-light:      #F0C6CE;
  --rose-pale:       #FFF5F7;
  --rose-muted:      #E8A8B2;

  /* Gold palette */
  --gold:            #C9A96E;
  --gold-hover:      #B8985D;
  --gold-light:      #E0CFA0;
  --gold-shimmer:    #F0E4C8;
  --gold-pale:       #FBF6EC;

  /* Neutrals */
  --white:           #FFFFFF;
  --cream:           #FFFAF6;
  --bg:              #FFFAFA;
  --bg-alt:          #FFF8FA;

  /* Text */
  --text-dark:       #2D1F2D;
  --text-body:       #5C4A5C;
  --text-muted:      #9B8B9B;
  --text-light:      #C4B8C4;
  --text-on-dark:    #FFF5F7;

  /* Borders & Surfaces */
  --border:          #F0E4E8;
  --border-light:    #F8F0F2;
  --card-bg:         #FFFFFF;
  --card-shadow:     0 4px 24px rgba(45, 31, 45, 0.06);
  --card-shadow-lg:  0 12px 40px rgba(45, 31, 45, 0.12);
  --glass-bg:        rgba(255, 255, 255, 0.75);
  --glass-border:    rgba(255, 245, 247, 0.6);

  /* Typography */
  --font-display:    'Playfair Display', Georgia, serif;
  --font-decorative: 'Cormorant Garamond', Georgia, serif;
  --font-body:       'Montserrat', 'Segoe UI', sans-serif;

  /* Spacing (8px base) */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 96px;
  --sp-5xl: 128px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;

  /* Z-index scale */
  --z-base:    0;
  --z-card:    10;
  --z-sticky:  100;
  --z-overlay: 500;
  --z-modal:   1000;

  /* Specialist accents (set dynamically via JS) */
  --accent:    var(--rose);
  --accent-light: var(--rose-light);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ── Typography ───────────────────────────────────────────── */
.font-display {
  font-family: var(--font-display);
}

.font-decorative {
  font-family: var(--font-decorative);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1em;
  color: var(--text-body);
}

p:last-child {
  margin-bottom: 0;
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.text-gold { color: var(--gold); }
.text-rose { color: var(--rose); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: var(--sp-4xl) 0;
}

.section-sm {
  padding: var(--sp-3xl) 0;
}

.flex {
  display: flex;
}

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

.flex-col {
  flex-direction: column;
}

.grid {
  display: grid;
}

.gap-sm  { gap: var(--sp-sm); }
.gap-md  { gap: var(--sp-md); }
.gap-lg  { gap: var(--sp-lg); }
.gap-xl  { gap: var(--sp-xl); }
.gap-2xl { gap: var(--sp-2xl); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 114, 127, 0.3);
}

.btn-primary:hover {
  background: var(--rose-hover);
  box-shadow: 0 8px 24px rgba(196, 114, 127, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}

.btn-gold:hover {
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 1.5px solid var(--rose);
}

.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-body);
  padding: 10px 20px;
}

.btn-ghost:hover {
  color: var(--rose);
  background: var(--rose-pale);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Image Placeholder ────────────────────────────────────── */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  background: linear-gradient(135deg, var(--rose-pale) 0%, var(--cream) 50%, var(--gold-pale) 100%);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: var(--sp-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out);
  min-height: 200px;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.img-placeholder:hover {
  border-color: var(--gold-light);
}

.img-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--rose-light);
  stroke-width: 1.5;
  fill: none;
}

.img-placeholder .label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--text-light);
}

.img-placeholder.placeholder-portrait {
  aspect-ratio: 3/4;
}

.img-placeholder.placeholder-square {
  aspect-ratio: 1/1;
}

.img-placeholder.placeholder-wide {
  aspect-ratio: 16/9;
}

.img-placeholder.placeholder-logo {
  aspect-ratio: auto;
  min-height: 80px;
  max-width: 200px;
  border-style: dotted;
  background: transparent;
  border-color: var(--gold-light);
}

/* When an actual image is provided */
.img-placeholder.has-image {
  border: none;
  padding: 0;
  background: none;
}

.img-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.img-placeholder.has-image svg,
.img-placeholder.has-image .label {
  display: none;
}

/* ── Navigation ───────────────────────────────────────────── */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--sp-md) 0;
  transition:
    background var(--duration-base) var(--ease-out),
    padding var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.main-nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(45, 31, 45, 0.06);
  padding: var(--sp-sm) 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-out);
}

.nav-logo:hover {
  color: var(--rose);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-body);
  position: relative;
  padding: var(--sp-xs) 0;
  transition: color var(--duration-base) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-links a:hover {
  color: var(--rose);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* El link "Reservar cita" también es un .btn — que gane sobre los estilos de texto del menú */
.nav-links a.btn {
  padding: 10px 20px;
}

.nav-links a.btn::after {
  display: none;
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: var(--white);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition:
    transform var(--duration-base) var(--ease-out),
    opacity var(--duration-fast) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ─ Cinematic Full-Screen Entrance ────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      180deg,
      rgba(255, 250, 246, 0.15) 0%,
      rgba(255, 245, 247, 0.25) 40%,
      rgba(251, 246, 236, 0.35) 70%,
      var(--white) 100%
    ),
    url('../img/background.png') center/cover no-repeat;
  padding: var(--sp-4xl) var(--sp-lg);
}

/* Golden particle overlay */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles .dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat 12s ease-in-out infinite;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(20px) scale(0.5); }
  15%  { opacity: 0.5; }
  50%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80vh) scale(1); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

/* MAHELET Logo area in hero */
.hero-logo-area {
  position: relative;
  margin-bottom: var(--sp-md);
}

/* Simulación de agua real (canvas): cubre todo el hero y reacciona al mouse/dedo en cualquier
   punto del fondo, ver js/water-ripple.js. mix-blend-mode hace que el agua se funda con la
   textura de mármol en vez de taparla con parches de color sólido.
   Nota: <canvas> es un elemento reemplazado, así que con position:absolute necesita
   width/height explícitos — si no, el navegador lo dimensiona con su resolución interna
   de píxeles (la del grid de la simulación) en vez de estirarlo al tamaño del contenedor. */
.water-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.hero-logo-placeholder {
  width: 280px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dotted var(--gold-light);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.5);
  transition: border-color var(--duration-base) var(--ease-out);
}

.hero-logo-placeholder:hover {
  border-color: var(--gold);
}

.hero-logo-placeholder .label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.hero-logo-placeholder svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold-light);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: 6px;
}

/* Fallback text logo */
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.25em;
  line-height: 1;
  animation: brandReveal 1.2s var(--ease-out) both;
}

@keyframes brandReveal {
  from {
    opacity: 0;
    letter-spacing: 0.6em;
    filter: blur(4px);
  }
  to {
    opacity: 1;
    letter-spacing: 0.25em;
    filter: blur(0);
  }
}

/* Golden ornament divider */
.ornament {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.ornament::before,
.ornament::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}

.ornament::before { --dir: right; }
.ornament::after  { --dir: left; }

.ornament .diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Tagline */
.hero-tagline {
  font-family: var(--font-decorative);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-body);
  max-width: 500px;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 500;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--sp-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
  cursor: pointer;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(6px); }
}

/* ── About Section ────────────────────────────────────────── */
.about-section {
  background: var(--white);
  text-align: center;
}

.about-section h2 {
  margin-bottom: var(--sp-md);
}

.about-section p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-xl);
  margin-top: var(--sp-3xl);
}

.about-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-xl);
}

.about-feature .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-base) var(--ease-spring);
}

.about-feature:hover .icon-circle {
  transform: scale(1.1);
}

.about-feature .icon-circle svg {
  width: 28px;
  height: 28px;
  stroke: var(--rose);
  stroke-width: 1.5;
  fill: none;
}

.about-feature h4 {
  font-family: var(--font-display);
  font-size: 1rem;
}

.about-feature p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-3xl);
}

.section-header .overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--sp-sm);
}

.section-header h2 {
  margin-bottom: var(--sp-md);
}

.section-header p {
  max-width: 550px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* ── Specialist Cards Carousel (Home) ─────────────────────── */
.specialists-section {
  background: var(--bg-alt);
  overflow: hidden;
}

/* Carousel wrapper */
.specialists-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  padding: var(--sp-lg) var(--sp-md) var(--sp-2xl);
}

@media (max-width: 900px) {
  .specialists-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .specialist-card {
    flex: 0 0 340px;
    min-width: 300px;
    max-width: 380px;
    scroll-snap-align: center;
  }

}

.specialists-grid::-webkit-scrollbar {
  display: none;
}

/* ── Specialist Card (enhanced for carousel) ─────────────── */
.specialist-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2.5px solid var(--border);
  box-shadow:
    0 8px 32px rgba(45, 31, 45, 0.08),
    0 2px 8px rgba(45, 31, 45, 0.04);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    border-color var(--duration-base) var(--ease-out);
  cursor: pointer;
  position: relative;
}

.specialist-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  border: 3px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out);
  pointer-events: none;
}

.specialist-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(45, 31, 45, 0.15),
    0 8px 20px rgba(196, 114, 127, 0.1);
  border-color: var(--gold-light);
}

.specialist-card:hover::after {
  border-color: var(--rose-light);
}

.specialist-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.specialist-card-image {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}

.specialist-card-image .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 2px dashed var(--border);
}

.specialist-card-image .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-lg);
  background: linear-gradient(to top, rgba(45,31,45,0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.specialist-card:hover .overlay {
  opacity: 1;
}

.specialist-card-image .overlay span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.specialist-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-xl) var(--sp-lg) var(--sp-2xl);
  text-align: center;
}

.specialist-card-body .btn {
  margin-top: auto;
  align-self: center;
}

.specialist-card-image .specialist-card-logo {
  position: absolute;
  bottom: var(--sp-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin-bottom: 0;
}

.specialist-card-logo .img-placeholder {
  width: 120px;
  min-height: 50px;
  border-radius: var(--radius-sm);
  padding: var(--sp-sm);
}

.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  max-width: 300px;
  padding: 0;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow:
    0 4px 16px rgba(45, 31, 45, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 2px rgba(184, 152, 93, 0.5),
    0 0 0 1px var(--gold-light);
}

.logo-box img {
  display: block;
  max-width: 100%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sp-hero-logo .logo-box img {
  max-height: 56px;
}

.specialist-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: var(--sp-xs);
}

.specialist-card-body .specialty {
  font-family: var(--font-decorative);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--rose);
  margin-bottom: var(--sp-sm);
}

.specialist-card-body .tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
}

/* ── General Contact Section (Home) ───────────────────────── */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) 1fr;
  gap: var(--sp-3xl);
  align-items: stretch;
}

.contact-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-alt);
}

.contact-map {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Shared contact-item styling (used on specialist subpages) */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
}

.contact-item .icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .icon-circle svg {
  width: 20px;
  height: 20px;
  stroke: var(--rose);
  stroke-width: 1.5;
  fill: none;
}

.contact-item h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-spring);
}

.social-link:hover {
  background: var(--rose);
  transform: scale(1.1);
}

.social-link svg {
  width: 20px;
  height: 20px;
  stroke: var(--rose);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--duration-base) var(--ease-out);
}

.social-link:hover svg {
  stroke: var(--white);
}

.social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── SPECIALIST SUBPAGE ───────────────────────────────────── */
/* Specialist Header (dual-logo) — ya no se usa (reemplazado por .main-nav en todas las páginas), se deja por si se reutiliza */
.sp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(45, 31, 45, 0.06);
  padding: var(--sp-sm) 0;
}

.sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.sp-header-logos {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.sp-header-mahelet {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: opacity var(--duration-base) var(--ease-out);
}

.sp-header-mahelet img {
  height: 40px;
  width: auto;
}

.sp-header-mahelet:hover {
  opacity: 0.75;
}

.sp-back-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-sm);
  transition:
    color var(--duration-base) var(--ease-out),
    background var(--duration-base) var(--ease-out);
}

.sp-back-btn:hover {
  color: var(--rose);
  background: var(--rose-pale);
}

.sp-back-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Specialist Hero */
.sp-hero {
  position: relative;
  padding-top: calc(80px + var(--sp-4xl));
  padding-bottom: var(--sp-4xl);
  background:
    radial-gradient(120% 80% at 85% 0%, var(--accent-light) 0%, transparent 55%),
    linear-gradient(180deg, var(--rose-pale) 0%, var(--white) 100%);
  overflow: hidden;
}

/* Encabezado con foto de fondo (Servicios/Galería/Contacto): --banner-image se define inline por página */
.sp-hero.has-banner {
  background-image:
    linear-gradient(180deg, rgba(255, 250, 246, 0.9) 0%, rgba(255, 245, 247, 0.72) 45%, rgba(255, 250, 246, 0.94) 100%),
    var(--banner-image);
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.sp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  align-items: center;
  gap: var(--sp-4xl);
}

.sp-hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 8px solid var(--white);
  outline: 1px solid var(--border);
  box-shadow:
    0 30px 70px -10px color-mix(in srgb, var(--accent) 35%, transparent),
    0 8px 24px rgba(45, 31, 45, 0.1);
}

.sp-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.sp-hero-photo .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  min-height: unset;
}

.sp-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-md);
  text-align: left;
}

.sp-hero-content .overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent, var(--rose));
  font-weight: 600;
}

.sp-hero-logo {
  display: flex;
  justify-content: flex-start;
  margin-bottom: var(--sp-xs);
}

.sp-hero-logo .img-placeholder {
  width: 160px;
  min-height: 60px;
  border-radius: var(--radius-sm);
}

.sp-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: var(--sp-xs);
}

.sp-hero .bio {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 520px;
  line-height: 1.9;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: flex-start;
  margin-top: var(--sp-md);
}

@media (max-width: 900px) {
  .sp-hero {
    padding-top: calc(72px + var(--sp-2xl));
    padding-bottom: var(--sp-2xl);
  }

  .sp-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
    text-align: center;
  }

  .sp-hero-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .sp-hero-content {
    align-items: center;
    text-align: center;
  }

  .sp-hero-logo {
    justify-content: center;
  }

  .sp-hero-actions {
    justify-content: center;
  }
}

/* Specialist Services — spa menu */
.sp-services {
  background: var(--white);
}

.sp-menu {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md) var(--sp-3xl);
}

.sp-menu-item {
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.sp-menu-item-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
}

.sp-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, var(--white));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.sp-menu-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.sp-menu-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
}

.sp-menu-leader {
  flex: 1;
  min-width: 12px;
  align-self: flex-end;
  transform: translateY(-5px);
  border-bottom: 1px dotted var(--gold-light);
}

.sp-menu-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.sp-menu-desc {
  margin: var(--sp-xs) 0 0;
  padding-left: calc(34px + var(--sp-sm));
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Specialist Gallery */
.sp-gallery {
  background: var(--bg-alt);
}

/* Collage tipo mosaico: cada foto conserva su proporción natural, sin recortes */
.gallery-grid {
  columns: 3;
  column-gap: var(--sp-md);
}

.gallery-item {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 var(--sp-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--card-shadow-lg);
}

.gallery-item .img-placeholder {
  border-radius: 0;
  border: none;
}

.gallery-item .img-placeholder.has-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: initial;
  border-radius: 0;
}

/* Gallery empty-state → Instagram CTA */
.sp-gallery-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-3xl) var(--sp-2xl);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
}

.sp-gallery-cta-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto var(--sp-lg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--white));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.sp-gallery-cta-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.sp-gallery-cta h3 {
  margin-bottom: var(--sp-sm);
}

.sp-gallery-cta p {
  max-width: 440px;
  margin: 0 auto var(--sp-xl);
  color: var(--text-muted);
}

/* Specialist Booking */
.sp-booking {
  background: var(--white);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  max-width: 940px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow-lg);
}

.booking-aside {
  padding: var(--sp-2xl);
  color: var(--text-on-dark);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, var(--text-dark) 0%, #3a2a3a 100%);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.booking-aside .overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-light);
  font-weight: 600;
}

.booking-aside h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.booking-aside p {
  color: rgba(255, 245, 247, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

.booking-aside-note {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: auto;
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255, 245, 247, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 245, 247, 0.75);
}

.booking-aside-note svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-light);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.booking-wrapper form {
  padding: var(--sp-2xl);
}

.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: var(--sp-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px var(--sp-md);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

/* Specialist FAQ */
.sp-faq {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out);
}

.faq-item:hover {
  border-color: var(--accent-light);
}

.faq-item.active {
  border-color: var(--accent-light);
  box-shadow: var(--card-shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--duration-base) var(--ease-out);
}

.faq-question:hover,
.faq-item.active .faq-question {
  color: var(--accent);
}

.faq-question:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  stroke-width: 2;
  fill: none;
  transition: transform var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 var(--sp-lg) var(--sp-lg);
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Specialist Contact */
.sp-contact {
  background: var(--white);
}

.sp-contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-2xl);
  max-width: 780px;
  margin: 0 auto;
  padding: var(--sp-2xl);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
}

.sp-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

.sp-contact-actions .btn {
  width: 100%;
  white-space: nowrap;
}

.sp-contact-social {
  display: flex;
  gap: var(--sp-md);
}

/* Specialist promotions banner */
.sp-promo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(100% 120% at 0% 0%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 55%),
    linear-gradient(135deg, var(--rose-pale) 0%, var(--gold-pale) 100%);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  text-align: center;
  box-shadow: var(--card-shadow);
}

.sp-promo h3 {
  color: var(--gold-hover);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: var(--sp-sm);
}

.sp-promo p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* ── Specialist page: accent routing, rhythm & polish ─────── */
/* The .sp-page wrapper carries data-accent, so every var(--accent)
   below resolves to the current specialist's color. */
.sp-page .section {
  padding: var(--sp-4xl) 0;
}

/* Deliberate background rhythm between stacked sections */
.sp-page .sp-services { background: var(--white); }
.sp-page .sp-gallery  { background: var(--cream); }
.sp-page .sp-booking  { background: var(--white); }
.sp-page .sp-faq      { background: var(--cream); }
.sp-page .sp-contact  { background: var(--white); }

/* Refined section header with a short gold hairline under the title */
.sp-page .section-header .overline {
  color: var(--accent);
}

.sp-page .section-header h2 {
  position: relative;
  padding-bottom: var(--sp-md);
}

.sp-page .section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

/* Route the per-specialist accent through interactive elements */
.sp-page .btn-primary {
  background: var(--accent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 30%, transparent);
}

.sp-page .btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 82%, #000);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}

.sp-page .btn-outline {
  color: var(--accent);
  border-color: var(--accent);
}

.sp-page .btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.sp-page .contact-item .icon-circle {
  background: color-mix(in srgb, var(--accent) 12%, var(--white));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.sp-page .contact-item .icon-circle svg,
.sp-page .social-link svg {
  stroke: var(--accent);
}

.sp-page .social-link {
  background: color-mix(in srgb, var(--accent) 12%, var(--white));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

.sp-page .social-link:hover {
  background: var(--accent);
}

.sp-page .social-link:hover svg {
  stroke: var(--white);
}

.sp-page .sp-back-btn:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: var(--text-on-dark);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-md);
}

.footer p {
  color: rgba(255, 245, 247, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 245, 247, 0.6);
  transition: color var(--duration-base) var(--ease-out);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 245, 247, 0.1);
  padding-top: var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: var(--sp-md);
}

.footer-social .social-link {
  background: rgba(255, 245, 247, 0.1);
}

.footer-social .social-link svg {
  stroke: rgba(255, 245, 247, 0.6);
}

.footer-social .social-link:hover {
  background: var(--gold);
}

.footer-social .social-link:hover svg {
  stroke: var(--text-dark);
}

/* ── Scroll Reveal Animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.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 fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .specialists-grid {
    gap: var(--sp-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-xl);
    z-index: var(--z-overlay);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
    z-index: calc(var(--z-overlay) + 1);
  }

  .specialists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding: var(--sp-md) var(--sp-sm) var(--sp-xl);
    gap: var(--sp-md);
  }

  .specialist-card {
    flex: none;
    min-width: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .gallery-grid {
    columns: 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    letter-spacing: 0.15em;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-md);
    text-align: center;
  }

  .sp-header-inner {
    padding: 0 var(--sp-md);
  }

  .sp-hero-photo {
    max-width: 260px;
  }

  /* Services menu → single column */
  .sp-menu {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Booking → stack aside above form */
  .booking-wrapper {
    grid-template-columns: 1fr;
  }

  .booking-aside,
  .booking-wrapper form {
    padding: var(--sp-xl) var(--sp-lg);
  }

  /* Contact card → stacked & centered */
  .sp-contact-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-xl);
  }

  .sp-page .contact-item {
    justify-content: center;
    text-align: left;
  }

  .sp-contact-social {
    justify-content: center;
  }

  .sp-page .section {
    padding: var(--sp-3xl) 0;
  }

  .section {
    padding: var(--sp-3xl) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--sp-md);
  }

  .hero {
    padding: var(--sp-3xl) var(--sp-md);
  }

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

  .gallery-grid {
    columns: 2;
    column-gap: var(--sp-sm);
  }

  .gallery-item {
    margin-bottom: var(--sp-sm);
  }

  .sp-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .sp-hero-actions .btn {
    width: 100%;
  }

  .hero-logo-placeholder {
    width: 200px;
    height: 90px;
  }
}

/* ── Accessibility ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Screen reader only */
.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;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--rose);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 500;
  z-index: calc(var(--z-modal) + 1);
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--sp-md);
}

/* ── Specialist accent overrides ──────────────────────────── */
[data-accent="rose"] {
  --accent: #C4727F;
  --accent-light: #F0C6CE;
}

[data-accent="lavender"] {
  --accent: #9B7DB8;
  --accent-light: #DDD0EC;
}

[data-accent="blush"] {
  --accent: #D4849B;
  --accent-light: #F0C6D3;
}

[data-accent="sage"] {
  --accent: #7DB895;
  --accent-light: #C8E6D4;
}

/* ── Dai Feature (Home) ───────────────────────────────────── */
.dai-feature {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: var(--sp-3xl);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow-lg);
  padding: var(--sp-2xl);
}

.dai-feature-photo {
  position: relative;
}

.dai-feature-photo .img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.dai-feature-photo .img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dai-feature-logo {
  position: absolute;
  bottom: calc(-1 * var(--sp-lg));
  right: calc(-1 * var(--sp-md));
}

.dai-feature-content .overline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--sp-sm);
}

.dai-feature-content h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-dark);
  margin-bottom: var(--sp-md);
}

.dai-feature-bio {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.dai-feature-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm) var(--sp-lg);
  margin: 0 0 var(--sp-xl);
  padding: 0;
}

.dai-feature-highlights li {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--text-body);
  font-size: 0.9rem;
}

.dai-feature-highlights li svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.dai-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

@media (max-width: 820px) {
  .dai-feature {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
    padding: var(--sp-lg);
  }

  .dai-feature-photo {
    max-width: 340px;
    margin: 0 auto;
  }

  .dai-feature-logo {
    right: calc(-1 * var(--sp-sm));
  }

  .dai-feature-content {
    text-align: center;
  }

  .dai-feature-highlights {
    text-align: left;
    justify-items: center;
  }

  .dai-feature-actions {
    justify-content: center;
  }
}
