/* ============================================================
   MANOMA SPA & SALÓN — Sistema de diseño
   Dirección: editorial cálido tipo El Ganzo · fotografía protagonista
   Base neutra (blancos/beige) + lavanda de marca SOLO como acento
   ============================================================ */

:root {
  /* ----- Paleta (base neutra cálida, lavanda de acento) ----- */
  --bg:        #FBFAF8;   /* blanco cálido dominante */
  --cream:     #F5F0E9;   /* beige suave (secciones alternas) */
  --sand:      #EAE2D6;   /* arena */
  --fg:        #352A3A;   /* plum profundo (texto) — Manoma real */
  --fg2:       #857788;   /* mauve (texto secundario) — Manoma real */
  --fg3:       #A99FAD;
  --accent:    #9387BF;   /* lila oficial de marca — muestreado del logo original */
  --accent-d:  #9387BF;   /* lila oficial de Manoma — usado en todos lados por decision de marca */
  --accent-wash:#EDECF4;  /* mismo lila, muy tenue (fondos) */
  --gold:      #B08B4F;   /* dorado sobrio (estrellas) */
  --line:      rgba(53, 42, 58, 0.12);
  --line-s:    rgba(53, 42, 58, 0.06);
  --white:     #FFFFFF;

  --shadow-s: 0 1px 2px rgba(53, 42, 58, 0.04), 0 4px 14px rgba(53, 42, 58, 0.05);
  --shadow-m: 0 10px 26px rgba(53, 42, 58, 0.07), 0 22px 60px rgba(53, 42, 58, 0.09);
  --shadow-l: 0 20px 44px rgba(53, 42, 58, 0.10), 0 44px 100px rgba(53, 42, 58, 0.14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.14rem);
  --step-1:  clamp(1.2rem, 1.08rem + 0.55vw, 1.55rem);
  --step-2:  clamp(1.55rem, 1.3rem + 1.1vw, 2.3rem);
  --step-3:  clamp(2rem, 1.55rem + 2.2vw, 3.5rem);
  --step-4:  clamp(2.7rem, 1.9rem + 3.9vw, 5.4rem);
  --step-5:  clamp(3.2rem, 2rem + 5.8vw, 7.2rem);

  --space-section: clamp(5.5rem, 4rem + 8vw, 11rem);
  --radius: 8px;
  --radius-l: 20px;
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------- Reset / base ------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.72; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.014em; margin: 0; }
::selection { background: var(--accent-wash); color: var(--accent-d); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.5rem, 1rem + 3vw, 4.5rem); }

.eyebrow {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-d);
  display: inline-flex; align-items: center; gap: 0.85em;
}
.eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--accent); opacity: 0.55; }

.section-title { font-size: var(--step-3); max-width: 22ch; font-weight: 400; }
.section-intro { color: var(--fg2); font-size: var(--step-1); max-width: 50ch; margin-top: 1.2rem; font-weight: 300; line-height: 1.6; }

/* ------------------- i18n ------------------- */
[data-en] { display: none; }
html[lang="en"] [data-en] { display: revert; }
html[lang="en"] [data-es] { display: none; }

/* ------------------- Buttons / links ------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1em 1.9em; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 6px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent-d); color: #fff; }
.btn--primary:hover { background: #7E70B0; box-shadow: var(--shadow-m); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent-d); color: var(--accent-d); }
.btn--light { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--light:hover { background: #fff; color: var(--accent-d); border-color: #fff; }
.btn--wa { background: var(--accent); color: #fff; }
.btn--wa:hover { background: var(--accent-d); }
.btn svg { width: 1.15em; height: 1.15em; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-d); }
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ------------------- Header ------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.15rem; padding-inline: clamp(0.9rem, 0.6rem + 0.8vw, 1.6rem); max-width: none; }
.site-header.scrolled { background: rgba(251, 250, 248, 0.82); backdrop-filter: saturate(150%) blur(20px); -webkit-backdrop-filter: saturate(150%) blur(20px); box-shadow: 0 1px 0 var(--line-s); }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 80px; width: auto; transition: filter 0.4s var(--ease), height 0.4s var(--ease); }
.site-header:not(.scrolled) .brand__logo { filter: brightness(0) invert(1); }
.site-header.scrolled .brand__logo { height: 60px; }

/* Header: solo el caracol (sin wordmark) */
.brand__logo--icon { height: 52px; width: auto; transition: filter 0.4s var(--ease), height 0.4s var(--ease); }
.site-header:not(.scrolled) .brand__logo--icon { filter: brightness(0) invert(1); }
.site-header.scrolled .brand__logo--icon { height: 42px; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.3rem); }
.nav a { font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em; position: relative; padding: 0.3em 0; transition: color 0.25s var(--ease); }
.site-header:not(.scrolled) .nav a { color: rgba(255,255,255,0.94); }
.site-header.scrolled .nav a { color: var(--fg); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); opacity: 0.7; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-toggle { display: inline-flex; border: 1px solid; border-radius: 6px; overflow: hidden; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; }
.site-header:not(.scrolled) .lang-toggle { border-color: rgba(255,255,255,0.5); }
.site-header.scrolled .lang-toggle { border-color: var(--line); }
.lang-toggle button { padding: 0.42em 0.75em; background: transparent; border: 0; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.site-header:not(.scrolled) .lang-toggle button { color: rgba(255,255,255,0.85); }
.site-header.scrolled .lang-toggle button { color: var(--fg2); }
.lang-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff !important; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: transparent; align-items: center; justify-content: center; }
.site-header:not(.scrolled) .menu-btn { border-color: rgba(255,255,255,0.5); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 18px; height: 1.5px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.site-header:not(.scrolled) .menu-btn span, .site-header:not(.scrolled) .menu-btn span::before, .site-header:not(.scrolled) .menu-btn span::after { background: #fff; }
.menu-btn span { position: relative; }
.menu-btn span::before { position: absolute; top: -6px; } .menu-btn span::after { position: absolute; top: 6px; }
body.menu-open .menu-btn span { background: transparent !important; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); background: var(--fg) !important; }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); background: var(--fg) !important; }

/* ------------------- Hero ------------------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(30,22,38,0.30) 0%, rgba(30,22,38,0.04) 34%, rgba(30,22,38,0.12) 62%, rgba(34,24,44,0.60) 100%),
    linear-gradient(90deg, rgba(46,32,58,0.36) 0%, transparent 60%);
}
.hero__inner { position: relative; padding-bottom: clamp(3.5rem, 9vh, 7rem); padding-top: 8rem; max-width: 60rem; }
.hero .eyebrow { color: rgba(255,255,255,0.94); }
.hero .eyebrow::before { background: rgba(255,255,255,0.75); opacity: 1; }
.hero__title { font-size: var(--step-5); font-weight: 300; line-height: 1.0; letter-spacing: -0.022em; color: #fff; margin-top: 1.4rem; text-wrap: balance; text-shadow: 0 2px 44px rgba(24,16,32,0.4); }
.hero__title em { font-style: italic; color: #F0E6F8; font-weight: 300; }
.hero__lede { font-size: var(--step-1); color: rgba(255,255,255,0.9); max-width: 46ch; margin: 1.7rem 0 2.3rem; font-weight: 300; text-shadow: 0 1px 20px rgba(24,16,32,0.45); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.8rem 2.8rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.22); }
.hero__chip { display: flex; align-items: baseline; gap: 0.55rem; color: #fff; }
.hero__chip b { font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; line-height: 1; }
.hero__chip span { font-size: 0.82rem; color: rgba(255,255,255,0.82); letter-spacing: 0.01em; font-weight: 300; }
.hero__chip .stars { color: #E7CF7E; letter-spacing: 0.05em; }

/* Hero simple: solo el logo grande, centrado a la mitad, sin efectos */
.hero--simple { align-items: center; justify-content: center; text-align: center; }
.hero--simple .hero__scrim { background: linear-gradient(180deg, rgba(28,20,36,0.24) 0%, rgba(28,20,36,0.10) 42%, rgba(34,24,44,0.38) 100%); }
.hero__logo-wrap { position: relative; width: 100%; display: flex; justify-content: center; }
.hero__logo { width: clamp(190px, 27vw, 360px); height: auto; filter: brightness(0) invert(1); }
@media (max-width: 560px) { .hero__logo { width: clamp(180px, 62vw, 260px); } }

/* ------------------- Quick info bar ------------------- */
.quickbar { background: var(--bg); border-bottom: 1px solid var(--line-s); }
.quickbar .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3.5rem); padding-block: clamp(2rem, 3vw, 3rem); }
.quickbar__item { display: flex; gap: 1.1rem; align-items: flex-start; position: relative; }
.quickbar__item + .quickbar__item::before { content: ""; position: absolute; left: -1rem; top: 0.2rem; bottom: 0.2rem; width: 1px; background: var(--line); }
.quickbar__item svg { width: 1.55rem; height: 1.55rem; flex-shrink: 0; stroke: var(--accent); margin-top: 0.1rem; }
.quickbar__k { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg2); font-weight: 700; }
.quickbar__v { font-size: var(--step-0); color: var(--fg); margin-top: 0.3rem; font-weight: 400; line-height: 1.4; }
.quickbar__v a { color: var(--accent-d); text-underline-offset: 3px; }
.quickbar__v a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .quickbar__item + .quickbar__item::before { display: none; }
  .quickbar__item { border-top: 1px solid var(--line-s); padding-top: 1.3rem; }
}

/* ------------------- Section shell ------------------- */
.section { padding-block: var(--space-section); }
.section--cream { background: var(--cream); }
.section__head { max-width: 62ch; margin-bottom: clamp(3rem, 5vw, 5rem); }

/* ------------------- Nosotros / About (editorial, asimétrico) ------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; } }
.about-grid .section-title { margin-top: 1rem; }
.about-intro-2 { margin-top: 1.2rem; }
.about-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); aspect-ratio: 4/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.6rem 2rem; margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.value h3 { font-size: var(--step-1); color: var(--accent-d); font-weight: 400; }
.value p { color: var(--fg2); font-size: 0.9rem; margin: 0.35rem 0 0; font-weight: 300; line-height: 1.55; }

/* ------------------- Full-bleed image band ------------------- */
.imgband { position: relative; min-height: clamp(360px, 62vh, 620px); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; isolation: isolate; }
.imgband__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.imgband__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34,24,44,0.32), rgba(40,28,52,0.5)); }
.imgband__inner { max-width: 48rem; padding: 3rem 1.5rem; color: #fff; }
.imgband__quote { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem); line-height: 1.28; text-shadow: 0 2px 34px rgba(24,16,32,0.4); }
.imgband__by { margin-top: 1.5rem; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.82); }

/* ------------------- Services (filas editoriales, foto protagonista) ------------------- */
.svc { display: grid; gap: clamp(4rem, 8vw, 7.5rem); }
.svc-row { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 880px) {
  .svc-row { grid-template-columns: 1.08fr 1fr; gap: clamp(3rem, 5vw, 6rem); }
  .svc-row--flip .svc-row__media { order: 2; }
}
.svc-row__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); aspect-ratio: 4/3; }
.svc-row__media--portrait { aspect-ratio: 4/5; }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__num { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--accent); display: block; margin-bottom: 0.9rem; }
.svc-row h3 { font-size: var(--step-3); font-weight: 400; }
.svc-row__body > p { color: var(--fg2); font-size: var(--step-0); margin: 0.9rem 0 1.4rem; font-weight: 300; max-width: 46ch; line-height: 1.65; }
.svc-row__list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.4rem; max-width: 42ch; }
.svc-row__list li { font-size: 0.9rem; color: var(--fg); font-weight: 300; padding-left: 1.3rem; position: relative; }
.svc-row__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent-2, var(--accent)); opacity: 0.7; }

.svc-more { margin-top: clamp(4rem, 7vw, 6rem); padding-top: 2.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .svc-more { grid-template-columns: 1.4fr 1fr; } }
.svc-more__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.svc-more__tags span, .svc-more__tags a { font-size: 0.82rem; padding: 0.5em 1.05em; border: 1px solid var(--line); border-radius: 100px; color: var(--fg2); transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
.svc-more__tags a:hover { border-color: var(--accent); color: var(--accent-d); }
.svc-more__cta { justify-self: start; }
@media (min-width: 760px) { .svc-more__cta { justify-self: end; text-align: right; } }
.svc-more__cta h3 { font-size: var(--step-2); font-weight: 400; margin-bottom: 0.9rem; }

/* ------------------- Gallery (masonry: cada foto completa, sin recortes) ------------------- */
.gallery { column-count: 3; column-gap: 0.9rem; }
.gallery figure { break-inside: avoid; margin: 0 0 0.9rem; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery img { width: 100%; height: auto; display: block; transition: transform 0.9s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .gallery { column-count: 2; } }
@media (max-width: 520px) { .gallery { column-count: 1; } }

/* ------------------- Reviews (banda clara, calmada) ------------------- */
.reviews { background: var(--cream); position: relative; overflow: hidden; }
.reviews .section__head { text-align: center; max-width: none; margin-bottom: 3rem; }
.reviews .section-title { margin-inline: auto; }
.reviews .eyebrow { justify-content: center; }
.reviews__agg { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.3rem; font-size: 0.9rem; color: var(--fg2); flex-wrap: wrap; justify-content: center; }
.reviews__agg strong { color: var(--fg); }
.reviews__agg .stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.08em; }

/* Tres bandas revolventes en direcciones opuestas, muy lentas */
.marquee-wrap { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); overflow: hidden; }
.marquee-rows { display: flex; flex-direction: column; gap: 1.1rem; padding-block: 0.6rem; }
.marquee { display: flex; gap: 1.1rem; width: max-content; will-change: transform; }
/* Velocidades distintas y no múltiplos entre sí: nunca se sincronizan */
.marquee--a { animation: marquee-l 150s linear infinite; }
.marquee--b { animation: marquee-r 178s linear infinite; }
.marquee--c { animation: marquee-l 196s linear infinite; }
.marquee-wrap:hover .marquee,
.marquee-wrap:focus-within .marquee { animation-play-state: paused; }
@keyframes marquee-l { from { transform: translateX(0); }   to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } .marquee-wrap { overflow-x: auto; } }

/* Tarjeta de reseña — avatar chico arriba, estrellas, cita, firma y sucursal */
.review-card {
  flex: 0 0 clamp(250px, 25vw, 300px);
  background: var(--white);
  border: 1px solid var(--line-s);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1rem;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  text-align: center;
}
.review-card__avatar {
  width: 2.1rem; height: 2.1rem; border-radius: 100px;
  background: var(--accent-wash); color: var(--accent-d);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.02em;
  overflow: hidden; flex-shrink: 0;
  border: 1px solid rgba(147, 135, 191, 0.25);
}
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__stars { color: var(--gold); letter-spacing: 0.18em; font-size: 0.72rem; line-height: 1; }
.review-card__text {
  font-family: var(--font-display); font-size: 0.88rem; line-height: 1.46;
  color: var(--fg); font-weight: 300; font-style: italic;
  text-wrap: pretty; margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5;
  overflow: hidden;
}
.review-card__foot { margin-top: 0.25rem; display: flex; flex-direction: column; gap: 0.18rem; }
.review-card__who { font-family: var(--font-display); font-style: italic; font-size: 0.92rem; font-weight: 400; color: var(--fg); }
.review-card__meta { display: flex; align-items: center; justify-content: center; }
.review-card__meta .src-logo { width: 1rem; height: 1rem; flex-shrink: 0; display: block; }
.review-card__meta .src-logo--ta { width: 1.5rem; height: 1rem; }
.review-card__meta b { color: var(--accent-d); font-weight: 700; }
@media (max-width: 640px) {
  .marquee-rows { gap: 0.85rem; }
  .marquee--c { display: none; } /* en móvil dos bandas bastan */
}

/* ------------------- Locations ------------------- */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.6rem; }
.loc-card { background: var(--white); border: 1px solid var(--line-s); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); display: flex; flex-direction: column; }
.loc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.loc-card__img { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.loc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.loc-card:hover .loc-card__img img { transform: scale(1.05); }
.loc-card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.loc-card h3 { font-size: var(--step-2); font-weight: 400; }
.loc-card__addr { color: var(--fg2); font-size: 0.9rem; margin: 0.4rem 0 0.2rem; font-weight: 300; }
.loc-card__hours { font-size: 0.8rem; color: var(--fg2); margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line-s); }
.loc-card__actions { display: flex; gap: 0.6rem; margin-top: 1.3rem; flex-wrap: wrap; }
.loc-card__actions .btn { padding: 0.72em 1.15em; font-size: 0.68rem; flex: 1; min-width: 0; }

/* ------------------- FAQ ------------------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: transparent; border: 0; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.7rem 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 400; color: var(--fg); }
.faq-q:hover { color: var(--accent-d); }
.faq-q__icon { flex-shrink: 0; width: 1.6rem; height: 1.6rem; position: relative; }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--accent); transition: transform 0.3s var(--ease); }
.faq-q__icon::before { width: 1rem; height: 1.5px; } .faq-q__icon::after { width: 1.5px; height: 1rem; }
.faq-item[open] .faq-q__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a p { color: var(--fg2); font-size: var(--step-0); font-weight: 300; margin: 0 0 1.7rem; max-width: 66ch; line-height: 1.68; }
details.faq-item summary { list-style: none; cursor: pointer; } details.faq-item summary::-webkit-details-marker { display: none; }
.faq-head { text-align: center; max-width: none; }
.faq-head .eyebrow { justify-content: center; }
.faq-head .section-title { margin-inline: auto; }

/* ------------------- Final CTA ------------------- */
.finalcta { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.finalcta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.finalcta__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,28,52,0.72), rgba(34,24,44,0.68)); }
.finalcta .section-title { color: #fff; margin-inline: auto; font-size: var(--step-4); font-weight: 300; }
.finalcta p { color: rgba(255,255,255,0.86); font-size: var(--step-1); max-width: 48ch; margin: 1.4rem auto 2.4rem; font-weight: 300; }
.finalcta__cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.finalcta-eyebrow { color: #fff; justify-content: center; }

/* ------------------- Footer ------------------- */
.site-footer { background: #2A2130; color: rgba(255,255,255,0.7); padding-block: 4.5rem 2.5rem; }
.site-footer .container { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand__logo { height: 60px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-about { margin-top: 1.2rem; max-width: 36ch; line-height: 1.6; font-weight: 300; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 1.2rem; font-family: var(--font-body); font-weight: 700; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.72); margin-bottom: 0.65rem; transition: color 0.25s var(--ease); font-weight: 300; }
.footer-col a:hover { color: #E7D8F0; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 100px; display: grid; place-items: center; margin: 0; }
.footer-social svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; }
.footer-social a:hover { border-color: #E7D8F0; color: #E7D8F0; }
.footer-bottom { max-width: var(--maxw); margin: 3rem auto 0; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.74rem; color: rgba(255,255,255,0.5); }

/* ------------------- Floating WhatsApp ------------------- */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90; width: 3.5rem; height: 3.5rem; border-radius: 100px; background: var(--accent-d); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-l); transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.06); background: #7E70B0; } .wa-float:active { transform: scale(0.96); }
.wa-float svg { width: 1.7rem; height: 1.7rem; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--accent); animation: waPulse 3s var(--ease) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ------------------- Animaciones (calmas) ------------------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; } .reveal[data-delay="2"] { transition-delay: 0.24s; } .reveal[data-delay="3"] { transition-delay: 0.36s; }
/* revelado de imagen: la foto se descubre y se asienta */
.js .reveal-media img { transform: scale(1.09); transition: transform 1.6s var(--ease); }
.reveal-media.in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .reveal-media img { opacity: 1; transform: none; } }

/* ------------------- Responsive ------------------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.7rem; background: var(--bg); padding: 2rem; transform: translateX(100%); transition: transform 0.4s var(--ease); box-shadow: var(--shadow-l); }
  body.menu-open .nav { transform: none; }
  .nav a, .site-header:not(.scrolled) .nav a { color: var(--fg); font-size: var(--step-1); font-family: var(--font-display); }
  .menu-btn { display: inline-flex; }
  .header-actions .btn--primary { display: none; }
  .quickbar .container { grid-template-columns: 1fr; gap: 0; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-header .container { gap: 0.6rem; padding-inline: 1.15rem; }
  .brand__logo, .site-header.scrolled .brand__logo { height: 56px; }
  .brand__logo--icon, .site-header.scrolled .brand__logo--icon { height: 40px; }
  .header-actions { gap: 0.55rem; }
  .lang-toggle button { padding: 0.42em 0.62em; }
  .svc-row__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__chips { gap: 1rem 1.7rem; }
  .hero__cta .btn { flex: 1; }
  .site-footer .container { grid-template-columns: 1fr; }
  .loc-card__actions { flex-direction: column; } .loc-card__actions .btn { flex: none; }
}

/* ------------------- Page hero-lite (páginas internas: servicios, etc.) ------------------- */
.pagehero { padding-top: clamp(8rem, 10vw, 11rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); background: var(--cream); }
.pagehero__crumb { font-size: 0.78rem; color: var(--fg2); margin-bottom: 1.2rem; }
.pagehero__crumb a { color: var(--accent-d); }
.pagehero__crumb a:hover { text-decoration: underline; }

/* ------------------- Services accordion (catálogo completo) ------------------- */
.svcacc { max-width: 900px; margin-inline: auto; display: grid; gap: 1rem; }
.svcacc-item { background: var(--white); border: 1px solid var(--line-s); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-s); transition: box-shadow 0.3s var(--ease); }
.svcacc-item[open] { box-shadow: var(--shadow-m); }
.svcacc-q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem clamp(1.3rem, 3vw, 2.2rem); }
.svcacc-q::-webkit-details-marker { display: none; }
.svcacc-q:hover .svcacc-q__name { color: var(--accent-d); }
.svcacc-q__text { display: flex; flex-direction: column; gap: 0.3rem; }
.svcacc-q__name { font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; color: var(--fg); transition: color 0.25s var(--ease); }
.svcacc-q__count { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg2); }
.svcacc-q__icon { flex-shrink: 0; width: 1.7rem; height: 1.7rem; position: relative; border: 1px solid var(--line); border-radius: 100px; }
.svcacc-q__icon::before, .svcacc-q__icon::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--accent-d); transition: transform 0.3s var(--ease); }
.svcacc-q__icon::before { width: 0.7rem; height: 1.5px; } .svcacc-q__icon::after { width: 1.5px; height: 0.7rem; }
.svcacc-item[open] .svcacc-q__icon::after { transform: translate(-50%,-50%) scaleY(0); }

.svcacc-a { padding: 0 clamp(1.3rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.2rem); border-top: 1px solid var(--line-s); }
.svcacc-intro { color: var(--fg2); font-size: var(--step-0); font-weight: 300; margin: 1.4rem 0 1.6rem; max-width: 60ch; }
.svcacc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.svcacc-row { padding: 1.1rem 0; border-top: 1px solid var(--line-s); }
.svcacc-row:first-child { border-top: 0; padding-top: 0; }
.svcacc-row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.svcacc-name { font-size: var(--step-0); font-weight: 600; color: var(--fg); }
.svcacc-dur { font-size: 0.76rem; color: var(--fg2); white-space: nowrap; padding: 0.25em 0.75em; border: 1px solid var(--line); border-radius: 100px; }
.svcacc-desc { color: var(--fg2); font-size: 0.9rem; font-weight: 300; line-height: 1.62; margin: 0.5rem 0 0; max-width: 66ch; }
.svcacc-cta { margin-top: 1.8rem; }

/* Enlace "ver detalle" en las filas editoriales del home, hacia el catálogo */
.svc-row__more { margin-left: 1.5rem; }


/* ------------------- Sobre nosotros (editorial, foto a sangre) ------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  padding-block: var(--space-section);
  padding-left: max(calc((100vw - var(--maxw)) / 2), clamp(1.5rem, 1rem + 3vw, 4.5rem));
}
.about__text { max-width: 30rem; }
.about__claim {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.35rem + 2.1vw, 3.15rem);
  font-weight: 300; line-height: 1.12; letter-spacing: -0.018em;
  margin: 0.85rem 0 0; text-wrap: balance;
}
.about__lead {
  color: var(--fg2); font-weight: 300; font-size: var(--step-0);
  line-height: 1.65; margin: 1.4rem 0 0; max-width: 40ch;
}
/* valores: una línea fina, no tres columnas */
.about__values {
  list-style: none; margin: 2.4rem 0 0; padding: 1.5rem 0 0;
  border-top: 1px solid var(--line-s);
  display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1.4rem, 3vw, 2.8rem);
}
.about__values li { display: flex; flex-direction: column; gap: 0.16rem; }
.about__values b {
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent-d);
}
.about__values li > span { font-size: 0.8rem; color: var(--fg2); font-weight: 300; }
/* la foto sale a sangre hasta el borde derecho */
.about__media { margin: 0; }
.about__media img {
  width: 100%; height: clamp(20rem, 15rem + 26vw, 34rem);
  object-fit: cover; display: block;
}
@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
    padding-left: 0; gap: clamp(1.8rem, 1rem + 4vw, 3rem);
  }
  .about__text { padding-inline: clamp(1.5rem, 1rem + 3vw, 4.5rem); max-width: none; }
  .about__media img { height: clamp(15rem, 10rem + 32vw, 22rem); }
}

/* ------------------- Banda de marcas (bajo el hero) -------------------
   Solo tipografía en escala de grises: sin archivos de logo, peso cero. */
.brands {
  background: var(--white);
  border-block: 1px solid var(--line-s);
  overflow: hidden; position: relative;
  padding-block: 1.5rem 1.35rem;
}
.brands__label {
  text-align: center; margin: 0 0 1.15rem;
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: #B6B2BC;
}
.brands__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.brands__track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(2.6rem, 5vw, 5.5rem);
  padding-block: 0.2rem;
  animation: brands-scroll 82s linear infinite;
  will-change: transform;
}
.brands:hover .brands__track { animation-play-state: paused; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brands__item {
  font-family: var(--font-body);
  font-size: 0.94rem;              /* altura de mayúscula ~11px = la de los logos */
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B6B2BC;
  white-space: nowrap;
  line-height: 1;
  transition: color 0.35s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; }
  .brands { overflow-x: auto; }
}

/* Título accesible/SEO sin impacto visual */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ------------------- Cabecera de página interior ------------------- */
.pagehead { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.pagehead .section-title { margin-top: 0.2rem; }
.pagehead__lead { max-width: 60ch; color: var(--fg2); font-weight: 300; font-size: var(--step-1); line-height: 1.6; margin-top: 1.1rem; }
.nav a[aria-current="page"] { color: var(--accent-d); }

/* ------------------- Galería completa (multipágina) ------------------- */
.gal { columns: 3 260px; column-gap: 1rem; }
.gal__item { break-inside: avoid; margin: 0 0 1rem; border-radius: 12px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow-s); }
.gal__item img { width: 100%; height: auto; display: block; transition: transform 0.8s var(--ease); }
.gal__item:hover img { transform: scale(1.035); }
@media (max-width: 900px) { .gal { columns: 3; column-gap: 0.7rem; } .gal__item { margin-bottom: 0.7rem; border-radius: 9px; } }
@media (max-width: 560px) { .gal { columns: 2; column-gap: 0.55rem; } .gal__item { margin-bottom: 0.55rem; } }

/* ------------------- Aviso de cookies -------------------
   Compacto, abajo a la izquierda (el FAB de WhatsApp vive a la derecha).
   Visible al entrar, pero sin tapar contenido ni bloquear la página. */
.cookie {
  position: fixed; z-index: 95;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(21rem, calc(100vw - 2rem));
  background: var(--white);
  border: 1px solid rgba(147, 135, 191, 0.28);
  border-radius: 14px;
  box-shadow: var(--shadow-m);
  padding: 0.95rem 1.05rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.cookie.is-in { opacity: 1; transform: none; pointer-events: auto; }
.cookie.is-out { opacity: 0; transform: translateY(12px); pointer-events: none; }
.cookie__top { display: flex; align-items: center; gap: 0.5rem; }
.cookie__dot { width: 1.45rem; height: 1.45rem; border-radius: 100px; background: var(--accent-wash); display: grid; place-items: center; flex-shrink: 0; }
.cookie__dot svg { width: 0.85rem; height: 0.85rem; color: var(--accent-d); }
.cookie__title { font-family: var(--font-display); font-size: 0.88rem; font-weight: 500; color: var(--fg); }
.cookie__txt { font-size: 0.75rem; line-height: 1.55; color: var(--fg2); font-weight: 300; margin: 0; }
.cookie__txt a { color: var(--accent-d); text-decoration: underline; text-underline-offset: 2px; }
.cookie__row { display: flex; gap: 0.5rem; align-items: center; }
.cookie__btn {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.5em 1.05em; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cookie__btn--ok { background: var(--accent-d); color: #fff; flex: 1; }
.cookie__btn--ok:hover { background: #7E70B0; }
.cookie__btn--no { background: transparent; color: var(--fg2); border-color: var(--line); }
.cookie__btn--no:hover { color: var(--fg); border-color: var(--fg3); background: var(--cream); }
@media (max-width: 560px) {
  .cookie { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; width: auto; max-width: calc(100vw - 5.9rem); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie { transition: opacity 0.2s linear; transform: none; }
  .cookie.is-in, .cookie.is-out { transform: none; }
}

/* Marcas con logo real (archivo en assets/img/brands/) */
.brands__item--logo { display: inline-flex; align-items: center; }
.brands__item--logo img {
  width: auto; display: block;                 /* la altura la fija cada logo, por peso óptico */
  filter: grayscale(1) brightness(1.25) contrast(0.9);
  opacity: 0.45;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}
/* al pasar el mouse: color real de la marca */
.brands__item--logo:hover img { filter: none; opacity: 1; }
.brands__item--logo img[src*="therabody"]    { height: 18px; }
.brands__item--logo img[src*="paul-mitchell"]{ height: 13px; }
.brands__item--logo img[src*="doterra"]      { height: 13px; }


/* ---- Header: botones cuadrados y pegados al borde (decisión de marca) ---- */
.header-actions .btn { border-radius: 6px; }
.lang-toggle button { border-radius: 0; }
.site-header .brand { margin-left: 0; }

.brands__item:not(.brands__item--logo):hover { color: var(--fg); }
