/* =================================================================
   HIDALGO ESTILISTES · Tarragona
   Hoja de estilos — premium, desktop-first amplio + mobile optimizado
   Paleta: Violeta #6F3088 (acento) · Lila #AB7FD2 · Blanco · Negro
           Grises de marca #DADBDD / #B3B3B5 / #78787A (uso limitado)
   ================================================================= */

/* Tipografías alojadas en la propia web (sin conexión a Google Fonts).
   Son fuentes variables: un archivo cubre todos los pesos. Subconjunto latino. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../assets/fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Marca — el violeta se usa como ACENTO (detalles, iconos, bordes, CTAs),
     nunca como fondo de grandes secciones.
     #6F3088 = #5A3C80 corregido: el tono se desplaza del azul-violeta (266°)
     al violeta-ciruela (283°) y se sube saturación para que sea vivo. */
  --purple: #6F3088;
  --purple-deep: #57266B;
  --purple-dark: #3F1B4E;
  --lila: #AB7FD2;
  --lila-mid: #C79DE7;
  --lila-soft: #ECE0FA;
  --white: #ffffff;
  --black: #000000;

  /* Grises de marca — uso limitado: bordes, separadores, textos secundarios */
  --grey-light: #DADBDD;
  --grey-mid: #B3B3B5;
  --grey-dark: #78787A;

  /* Neutros / fondos de sección (alternancia perceptible pero elegante) */
  --bg: #ffffff;
  --bg-tint: #F7F3FB;     /* blanco con un velo de lila — el "ligeramente más oscuro" */
  --bg-tint-2: #EEE5F7;   /* un punto más */
  --ink: #111111;
  --ink-soft: #5A5A5C;
  --line: #DADBDD;

  /* Tipografía */
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Layout — AMPLIO para escritorio */
  --container: 1340px;
  --gutter: 40px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 70px -34px rgba(28, 24, 34, .40);
  --shadow-soft: 0 14px 40px -22px rgba(28, 24, 34, .32);
  --shadow-lg: 0 50px 110px -45px rgba(18, 16, 22, .52);

  /* Gradientes de marca */
  /* Recorrido corto y saturado: el botón lee como violeta sólido con brillo,
     no como un degradado que se lava hacia el gris. */
  --grad: linear-gradient(135deg, #6F3088 0%, #8E46B4 100%);          /* CTAs y destacados */
  --grad-deep: linear-gradient(140deg, #F2E9FC 0%, #DCCBF3 55%, #BFA5E4 100%);  /* placeholder mientras no hay foto */
  --grad-dark: linear-gradient(150deg, #0A090C 0%, #17151B 55%, #221E28 100%); /* bandas oscuras: negro, no violeta */

  --ease: cubic-bezier(.22,.7,.25,1);
}

/* ============================ RESET ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, iframe, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* Escala mayor en pantallas grandes */
@media (min-width: 1600px) {
  :root { --container: 1500px; }
  body { font-size: 18px; }
}

/* Scrollbar de marca (desktop) */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 12px; }
  ::-webkit-scrollbar-track { background: var(--bg-tint); }
  ::-webkit-scrollbar-thumb { background: var(--lila); border-radius: 10px; border: 3px solid var(--bg-tint); }
  ::-webkit-scrollbar-thumb:hover { background: var(--purple); }
}
::selection { background: var(--lila); color: #fff; }

/* Accesibilidad */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--purple); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--lila); outline-offset: 3px; border-radius: 4px; }

/* ============================ CURSOR PERSONALIZADO ============================ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%); will-change: transform;
  opacity: 0; transition: opacity .3s ease;
}
.cursor-dot { width: 7px; height: 7px; background: var(--purple); }
.cursor-ring {
  width: 40px; height: 40px; border: 1.5px solid var(--lila);
  transition: width .28s var(--ease), height .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease), opacity .3s ease;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-on, body.cursor-on a, body.cursor-on button, body.cursor-on .opt, body.cursor-on summary, body.cursor-on input, body.cursor-on label { cursor: none; }
.cursor-ring.is-hover { width: 70px; height: 70px; background: rgba(171,127,210,.16); border-color: var(--purple); }
.cursor-ring.is-down { width: 30px; height: 30px; }

/* ============================ LAYOUT ============================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 920px; }
.container.medium { max-width: 1120px; }
.center { text-align: center; }

.section { padding: clamp(70px, 8vw, 150px) 0; position: relative; }
.section-head { max-width: 820px; margin: 0 auto clamp(44px, 5vw, 72px); }

/* Alternancia de fondos con transición elegante entre secciones */
.section--tint { background: var(--bg-tint); }
.section--tint-2 { background: var(--bg-tint-2); }
.section--dark { background: var(--grad-dark); color: #E9E7EC; }
.section--dark h2, .section--dark h3 { color: #fff; }
/* ...salvo dentro de tarjetas blancas: ahí el título debe seguir siendo oscuro */
.section--dark .balayage-why h3,
.section--dark .conf-item h3,
.section--dark .service-card h3 { color: var(--ink); }
/* Borde superior degradado sutil que marca el cambio de sección */
.section--tint::before, .section--tint-2::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lila), transparent); opacity: .6;
}

/* ============================ TIPOGRAFÍA ============================ */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--ink); letter-spacing: .2px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.2rem; }

.eyebrow { font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .28em; text-transform: uppercase; color: var(--purple); margin-bottom: 18px; }
.section--dark .eyebrow { color: var(--lila-mid); }
.eyebrow.center { display: block; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); margin-top: 18px; line-height: 1.65; }
.section--dark .lead { color: #D5D3DA; }

/* ============================ BOTONES ============================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 17px 36px; border-radius: 50px; border: 0; isolation: isolate;
  font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: .03em; text-align: center; white-space: nowrap;
  background-clip: padding-box; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s ease, color .35s ease, border-color .35s ease;
  will-change: transform;
}
.btn-sm { padding: 12px 24px; font-size: .92rem; }
.btn-lg { padding: 20px 44px; font-size: 1.08rem; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-soft); }
/* brillo sutil al pasar */
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -18px rgba(111,48,136,.65); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost { background: transparent; color: var(--purple); border: 1.5px solid var(--lila); }
.btn-ghost:hover { background: var(--lila-soft); transform: translateY(-4px); }

/* Ghost sobre fondo oscuro (hero / bandas) — texto y borde claros, legible */
.on-dark .btn-ghost, .btn-ghost.on-dark {
  color: #fff; border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { background: rgba(255,255,255,.2); border-color: #fff; }

.btn-light { background: #fff; color: var(--purple); box-shadow: var(--shadow-soft); }
.btn-light:hover { transform: translateY(-4px); }
.btn-whatsapp { background: linear-gradient(135deg, #1da955 0%, #25d366 100%); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -18px rgba(37,211,102,.75); }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--purple); font-size: .98rem; transition: gap .28s var(--ease), color .28s ease; }
.link-arrow::after { content: "→"; transition: transform .28s var(--ease); }
.link-arrow:hover { color: var(--lila); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ============================ HEADER / NAV ============================ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 200; padding: 22px 0; transition: padding .4s var(--ease), background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease; }
.site-header.scrolled { padding: 12px 0; background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 6px 34px -22px rgba(20,18,24,.55); border-bottom: 1px solid var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* ----- Marca: monograma HE + wordmark ----- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-img { height: 78px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand-img { height: 60px; }
.brand-mark { display: inline-flex; align-items: center; gap: 12px; }
.brand-monogram {
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2.5rem; line-height: 1;
  letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: filter .4s ease;
}
.brand-lockup { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-hidalgo { font-family: var(--sans); font-weight: 600; font-size: 1.04rem; letter-spacing: .22em; color: var(--ink); }
.brand-estilistes { font-family: var(--sans); font-weight: 400; font-size: .64rem; letter-spacing: .42em; color: var(--ink-soft); padding-left: 2px; margin-top: 3px; }
/* sobre hero oscuro */
.site-header:not(.scrolled) .brand-monogram { background: linear-gradient(135deg, #fff 0%, var(--lila-soft) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header:not(.scrolled) .brand-hidalgo { color: #fff; }
.site-header:not(.scrolled) .brand-estilistes { color: rgba(255,255,255,.7); }
/* En páginas internas el header arranca ya "scrolled" (sin hero oscuro) */
.site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 6px 34px -22px rgba(20,18,24,.45); border-bottom: 1px solid var(--line); padding: 14px 0; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a { font-size: .98rem; font-weight: 400; letter-spacing: .02em; color: var(--ink); position: relative; transition: color .25s ease; }
.site-header:not(.scrolled):not(.solid) .main-nav a:not(.btn) { color: #fff; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; height: 2px; width: 0; background: var(--lila); transition: width .3s var(--ease); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-current:not(.btn)::after { width: 100%; }
.main-nav a.is-current:not(.btn) { font-weight: 500; }
/* El CTA del menú es un botón: su color lo manda .btn-primary, no .main-nav a */
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 28px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s ease, background .3s ease; }
.site-header:not(.scrolled):not(.solid) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO (home) — split, amplio ============================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--grad-dark); }
.hero-bg { position: absolute; inset: 0; z-index: 0; opacity: .7;
  background-image: url('../assets/images/hero/hero.jpg');
  background-image: image-set(url('../assets/images/hero/hero.webp') type('image/webp'), url('../assets/images/hero/hero.jpg') type('image/jpeg'));
  background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 100% at 80% 20%, rgba(171,127,210,.22) 0%, transparent 55%), linear-gradient(120deg, rgba(8,7,10,.88) 0%, rgba(14,12,17,.62) 60%, rgba(14,12,17,.28) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 90px); align-items: center; padding: 150px 0 110px; width: 100%; }
.hero-text { max-width: 760px; }
.hero-eyebrow { color: var(--lila-soft); letter-spacing: .26em; text-transform: uppercase; font-size: .82rem; font-weight: 500; margin-bottom: 26px; }
.hero-title { font-size: clamp(3.4rem, 7.5vw, 7rem); font-weight: 500; letter-spacing: .5px; line-height: .98; color: #fff; }
.hero-sub { font-size: clamp(1.15rem, 1.7vw, 1.5rem); max-width: 640px; margin-top: 26px; color: #f1ecfa; font-weight: 300; }
.hero-sub strong { font-weight: 500; color: #fff; }
.hero-claim { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.9vw, 1.7rem); color: var(--lila-soft); margin-top: 30px; max-width: 620px; line-height: 1.5; padding-left: 24px; border-left: 2px solid var(--lila); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; font-size: .92rem; color: #ece6f3; letter-spacing: .03em; }
.hero-trust li { position: relative; padding-left: 22px; }
.hero-trust li::before { content: "✦"; position: absolute; left: 0; color: var(--lila-mid); }

/* Columna visual del hero (marco con foto / placeholder) */
.hero-visual { position: relative; }
.hero-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background-image: linear-gradient(160deg, rgba(171,127,210,.14), rgba(14,12,17,.26)), url('../assets/images/hero/hero.jpg');
  background-image: linear-gradient(160deg, rgba(171,127,210,.14), rgba(14,12,17,.26)), image-set(url('../assets/images/hero/hero.webp') type('image/webp'), url('../assets/images/hero/hero.jpg') type('image/jpeg'));
  background-size: cover; background-position: center; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14); }
.hero-badge { position: absolute; left: -28px; bottom: 42px; background: #fff; color: var(--purple); padding: 18px 24px; border-radius: 16px; box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.hero-badge span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 28px; height: 46px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 16px; }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; background: #fff; border-radius: 4px; animation: scrollDot 1.8s ease infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(15px); } 100% { opacity: 0; } }

/* ============================ HERO de páginas internas ============================ */
.page-hero { position: relative; background: var(--grad-dark); color: #fff; padding: clamp(140px, 16vw, 220px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 120% at 85% 10%, rgba(171,127,210,.24), transparent 55%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--lila-mid); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); color: #fff; line-height: 1; }
.page-hero p { color: #DAD8DE; font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 680px; margin-top: 20px; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 22px; letter-spacing: .04em; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--lila-mid); }

/* ============================ POSICIONAMIENTO ============================ */
.pos-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 56px; text-align: left; }
.pos-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease; }
.pos-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--lila); }
.pos-num { font-family: var(--serif); font-size: 2.8rem; color: var(--lila); display: block; line-height: 1; margin-bottom: 14px; }
.pos-card h3 { margin-bottom: 10px; }
.pos-card p { color: var(--ink-soft); font-size: 1rem; }

/* ============================ SERVICIOS ============================ */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s ease, border-color .45s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--lila); }
/* Las fotos de peluquería son verticales: en una ventana 4/3 el encuadre centrado
   corta la cabeza. Sesgamos el recorte hacia arriba para que se vea raíz y melena. */
.service-img { aspect-ratio: 4 / 3; background: var(--img, none), var(--grad-deep); background-size: cover; background-position: center 20%; position: relative; }
.service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.3)); }
.service-body { padding: 32px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.service-tag { align-self: flex-start; background: var(--lila-soft); color: var(--purple); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; margin-bottom: 14px; }
.service-body h3 { margin-bottom: 10px; }
.service-body .service-lead { font-family: var(--serif); font-style: italic; font-size: 1.22rem; line-height: 1.35; color: var(--purple); margin: -2px 0 10px; }
.service-body p { color: var(--ink-soft); font-size: 1rem; }
.service-meta { font-size: .86rem !important; color: var(--purple) !important; font-style: italic; margin-top: 12px; }
.service-body .link-arrow { margin-top: auto; padding-top: 20px; }
.service-body .btn { margin-top: 22px; align-self: flex-start; }

/* ============================ BALAYAGE ============================ */
.balayage-band { position: relative; overflow: hidden; }
.balayage-band::before { content: ""; position: absolute; top: -140px; right: -140px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(171,127,210,.26), transparent 70%); border-radius: 50%; }
.balayage-intro { display: grid; grid-template-columns: 1fr; gap: 44px; position: relative; }
.quote-block { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.5; color: var(--purple); margin: 26px 0 34px; padding-left: 26px; border-left: 3px solid var(--lila); }
.balayage-why { background: #fff; border-radius: var(--radius); padding: 40px 38px; box-shadow: var(--shadow-soft); }
.balayage-why h3 { margin-bottom: 22px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 15px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; background: var(--lila-soft); color: var(--purple); border-radius: 50%; font-size: .78rem; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.check-list strong { color: var(--ink); font-weight: 500; }

.balayage-steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 64px 0 0; list-style: none; padding: 0; }
.balayage-steps li { list-style: none; }
.balayage-steps li { background: #fff; border-radius: var(--radius-sm); padding: 30px 26px; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s ease; }
.balayage-steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.balayage-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 14px; }
.balayage-steps h4 { margin-bottom: 6px; }
.balayage-steps p { font-size: .94rem; color: var(--ink-soft); }

.beforeafter { margin-top: 72px; }
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
.ba-item { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--img, none), var(--grad-deep); background-size: cover; background-position: center; box-shadow: var(--shadow-soft); }
.ba-item figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 20px 18px; color: #fff; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.82)); }

/* ============================ ASISTENTE ============================ */
.asistente-card { background: var(--grad); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 5vw, 70px); text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.asistente-card::before { content: ""; position: absolute; top: -80px; left: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); border-radius: 50%; }
.asistente-card .eyebrow { color: var(--lila-soft); position: relative; }
.asistente-card h2 { color: #fff; position: relative; }
.asis-q { font-size: 1.25rem; margin: 22px 0 30px; color: #F3F0F8; position: relative; }
.asis-options { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }
.asis-options button { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.45); padding: 14px 26px; border-radius: 50px; font-size: .98rem; transition: background .28s ease, transform .28s var(--ease); }
.asis-options button:hover { background: rgba(255,255,255,.26); transform: translateY(-3px); }
.asis-result { margin-top: 30px; position: relative; }
.asis-reco { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin-bottom: 26px; max-width: 600px; margin-inline: auto; }
.asis-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.asis-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.65); }
.asis-actions .btn-ghost:hover { background: rgba(255,255,255,.18); }
.asis-note { margin-top: 28px; font-size: .86rem; color: rgba(255,255,255,.7); position: relative; }

/* ============================ DIAGNÓSTICO (form) ============================ */
.diag-form { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 4vw, 56px); box-shadow: var(--shadow-soft); }
.diag-progress { height: 7px; background: var(--line); border-radius: 50px; overflow: hidden; }
.diag-progress-fill { height: 100%; width: 14%; background: var(--grad); border-radius: 50px; transition: width .45s var(--ease); }
.diag-step-count { font-size: .85rem; color: var(--purple); letter-spacing: .1em; text-transform: uppercase; margin: 16px 0 30px; font-weight: 500; }

.diag-step { border: 0; padding: 0; display: none; animation: fadeStep .45s var(--ease); }
.diag-step.is-active { display: block; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.diag-step legend { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); margin-bottom: 10px; }
.diag-help { color: var(--ink-soft); margin-bottom: 24px; }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.opt-grid--stack { grid-template-columns: 1fr; }
/* Opción comodín ("No estoy segura", "No lo sé"…) a todo el ancho: cierra la rejilla sin huecos */
.opt--wide { grid-column: 1 / -1; }
.opt { position: relative; display: flex; }
.opt > span { flex: 1; } /* todas las cajas de una fila con la misma altura aunque el texto ocupe 2 líneas */
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; padding: 18px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; transition: border-color .2s ease, background .2s ease, transform .2s var(--ease); }
.opt span::before { content: ""; display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid var(--lila); border-radius: 50%; margin-right: 12px; transition: background .2s ease, box-shadow .2s ease; }
.opt input:checked + span { border-color: var(--purple); background: var(--lila-soft); font-weight: 500; }
.opt input:checked + span::before { background: var(--purple); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + span { outline: 3px solid var(--lila); outline-offset: 2px; }
.opt span:hover { border-color: var(--lila); transform: translateY(-2px); }

.field { margin-bottom: 22px; }
.field label { display: block; font-size: .94rem; font-weight: 500; margin-bottom: 9px; color: var(--ink); }
.opt-label { color: var(--ink-soft); font-weight: 400; font-size: .84rem; }
.field input { width: 100%; padding: 16px 20px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: 1.05rem; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px var(--lila-soft); }
.field-error { display: none; color: #c0392b; font-size: .84rem; margin-top: 7px; }
.field.has-error input { border-color: #c0392b; }
.field.has-error .field-error { display: block; }

.diag-soft-msg { margin-top: 20px; padding: 18px 20px; background: #fff7ed; border: 1px solid #f6d9b0; border-radius: var(--radius-sm); color: #92571a; font-size: .96rem; }
.diag-privacy { margin-top: 16px; font-size: .82rem; line-height: 1.6; color: var(--ink-soft); } /* primera capa RGPD */
.diag-privacy strong { color: var(--ink); font-weight: 500; }
.diag-foto-note { margin-top: 18px; font-size: .94rem; color: var(--ink-soft); background: var(--lila-soft); padding: 16px 18px; border-radius: var(--radius-sm); }

.diag-summary { margin-top: 26px; padding: 26px 28px; background: var(--bg-tint); border: 1px dashed var(--lila); border-radius: var(--radius-sm); }
.diag-summary h3 { font-size: 1.4rem; margin-bottom: 14px; }
.diag-summary ul { display: grid; gap: 9px; }
.diag-summary li { font-size: .98rem; color: var(--ink-soft); }
.diag-summary li strong { color: var(--ink); font-weight: 500; }

.diag-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.diag-nav .btn-primary#diagNext { margin-left: auto; }
.diag-nav .btn-whatsapp { margin-left: auto; }

/* ============================ PROCESO ============================ */
.proceso-steps { display: grid; grid-template-columns: 1fr; gap: 22px; list-style: none; padding: 0; margin: 0; counter-reset: none; }
.proceso-steps li { list-style: none; }
.proceso-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s ease; }
.proceso-steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.proc-num { font-family: var(--serif); font-size: 1.7rem; color: #fff; background: var(--grad); width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.proceso-steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.proceso-steps p { color: var(--ink-soft); font-size: .98rem; }
/* 5 pasos: 3 + 2 centrados en escritorio, 2 + 2 + 1 centrados en tablet (sin huecos a un lado) */
.proceso-steps--5 { display: flex; flex-wrap: wrap; justify-content: center; }
.proceso-steps--5 > li { flex: 0 1 100%; }
@media (min-width: 760px) { .proceso-steps--5 > li { flex-basis: calc((100% - 22px) / 2 - 1px); } }
@media (min-width: 1024px) { .proceso-steps--5 > li { flex-basis: calc((100% - 44px) / 3 - 1px); } }
.proceso-lema { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--purple); text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.section-head .lead + .lead { margin-top: 12px; }

/* ============================ GALERÍA ============================ */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 42px; }
.filter-btn { background: #fff; border: 1.5px solid var(--line); color: var(--ink-soft); padding: 11px 24px; border-radius: 50px; font-size: .92rem; transition: all .28s var(--ease); }
.filter-btn:hover { border-color: var(--lila); color: var(--purple); transform: translateY(-2px); }
.filter-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-item { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--img, none), var(--grad-deep); background-size: cover; background-position: center; transition: transform .45s var(--ease), box-shadow .45s ease; }
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow); z-index: 2; }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s var(--ease); }
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item.is-hidden { display: none; }

/* Fotos de trabajos (assets/images/trabajos/): <img> con srcset que llena su marco.
   El degradado lila del fondo solo se ve mientras la foto carga. */
.service-img img, .ba-item img, .gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-img img { object-position: center 20%; }
/* Montajes antes | después: una etiqueta centrada sobre cada mitad */
.ba-tag { position: absolute; top: 14px; left: 25%; z-index: 1; transform: translateX(-50%); padding: 6px 12px; border-radius: 50px; background: rgba(17, 17, 17, .6); color: #fff; font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap; pointer-events: none; }
.ba-tag--after { left: 75%; }
.gallery-item .ba-tag { top: 10px; padding: 5px 9px; font-size: .6rem; letter-spacing: .08em; }
.gallery-ig { margin-top: 38px; color: var(--ink-soft); }
.gallery-ig a { color: var(--purple); font-weight: 500; }

/* ============================ CONFIANZA ============================ */
.confianza-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.conf-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; border-left: 3px solid var(--lila); transition: transform .4s var(--ease), box-shadow .4s ease; }
.conf-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.conf-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.conf-item p { color: var(--ink-soft); font-size: .98rem; }
.conf-item .link-arrow { margin-top: 14px; }

/* ============================ EXPERIENCIA · RESEÑAS · PREMIOS ============================ */
.exp-stats { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 960px; margin: 0 auto clamp(44px, 5vw, 64px); }
.exp-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 24px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease; }
.exp-stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--lila); }
.exp-num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 5.5vw, 3.8rem); line-height: 1; color: var(--purple); }
.exp-star { color: #f5b301; font-size: .72em; margin-left: 4px; }
.exp-label { display: block; margin-top: 12px; font-size: .94rem; letter-spacing: .03em; color: var(--ink-soft); }
.exp-stat--google { background: var(--grad); border-color: transparent; box-shadow: var(--shadow-soft); }
.exp-stat--google .exp-num, .exp-stat--google .exp-label { color: #fff; }
.exp-stat--google .exp-star { color: #ffd86b; }

.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease; }
.review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--lila); }
.review-stars { color: #f5b301; letter-spacing: 3px; font-size: 1.05rem; }
.review-text { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: var(--ink); flex: 1; }
.review-author { display: flex; align-items: center; gap: 13px; }
.review-avatar { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; }
.review-author strong { display: block; font-weight: 500; color: var(--ink); }
.review-author span { font-size: .82rem; color: var(--ink-soft); }
.review-author .review-avatar { font-size: 1.3rem; color: #fff; } /* la regla anterior dejaba la inicial diminuta y gris */

.premios { margin-top: clamp(48px, 6vw, 72px); background: var(--bg-tint); border: 1px dashed var(--lila); border-radius: var(--radius); padding: clamp(32px, 4vw, 52px); text-align: center; }
.premios h3 { margin-bottom: 10px; }
.premios > p { color: var(--ink-soft); max-width: 640px; margin: 0 auto 28px; }
.premios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.premio-slot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.premio-slot img { max-height: 70px; width: auto; }
.premios-note { margin-top: 22px; font-size: .86rem; color: var(--purple); }
/* Premios reales (inicio y Sobre nosotras): foto 4:5 + nombre del premio */
.premios:has(.premios-grid--real) { border-style: solid; border-color: var(--line); }
.premios-grid.premios-grid--real { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: clamp(14px, 3vw, 28px); max-width: none; }
.premio-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); text-align: left; }
.premio-img { position: relative; aspect-ratio: 4 / 5; background: var(--grad-deep); }
.premio-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.premio-card figcaption { padding: 18px 20px 20px; display: grid; gap: 6px; }
.premio-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; color: var(--ink); }
.premio-card span { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
/* Procedencia de las reseñas (normativa de consumo sobre reseñas) */
.reviews-note { margin-top: 22px; text-align: center; font-size: .86rem; color: var(--ink-soft); }
/* Historia del salón (Sobre nosotras) */
.historia-text p { margin-top: 16px; color: var(--ink-soft); }

/* ============================ FAQ ============================ */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease; }
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: var(--lila); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 28px; font-weight: 500; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--serif); font-size: 1.9rem; color: var(--purple); transition: transform .3s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 28px 26px; color: var(--ink-soft); }
.faq-answer a { color: var(--purple); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lila); }
.faq-answer p + p { margin-top: 10px; }
.faq-answer strong { color: var(--ink); font-weight: 500; }

/* ============================ CARTA DE SERVICIOS ============================
   Lista de una columna (nombre · qué incluye · precio · duración), igual que la
   carta impresa del salón: escala a cualquier número de servicios sin huecos. */
.menu-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto clamp(40px, 5vw, 64px); }
.menu-nav a { background: #fff; border: 1.5px solid var(--line); color: var(--ink-soft); padding: 9px 20px; border-radius: 50px; font-size: .9rem; transition: border-color .28s ease, color .28s ease, transform .28s var(--ease); }
.menu-nav a:hover { border-color: var(--lila); color: var(--purple); transform: translateY(-2px); }

.menu-block { max-width: 1000px; margin-inline: auto; }
.menu-block + .menu-block { margin-top: clamp(52px, 6vw, 84px); }
.balayage-steps + .menu-block { margin-top: clamp(64px, 7vw, 100px); }
.menu-block__head { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.menu-block__head .eyebrow { margin-bottom: 10px; }
.menu-block__head h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.menu-block__note { color: var(--ink-soft); font-size: .95rem; margin-top: 10px; }
.menu-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.menu-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 36px; padding: 26px 32px; }
.menu-row + .menu-row { border-top: 1px solid var(--line); }
.menu-row h3, .menu-row h4 { font-size: clamp(1.25rem, 1.7vw, 1.45rem); }
.menu-row__incl { font-size: .9rem; font-style: italic; color: var(--purple); margin-top: 6px; }
.menu-row__desc { font-size: .96rem; color: var(--ink-soft); margin-top: 8px; max-width: 700px; }
.menu-row__extra { font-size: .88rem; color: var(--ink); margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--lila); max-width: 700px; }
.menu-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.menu-row__price { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1; color: var(--purple); white-space: nowrap; }
.menu-row__price small { display: block; margin-top: 5px; font-family: var(--sans); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.menu-row__time { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.menu-block__more { text-align: center; margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
/* Foto de producto junto al precio (página de GOA Organics) */
.menu-row--img { grid-template-columns: 96px 1fr auto; }
.menu-row__img { width: 96px; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--img), var(--grad-deep); background-size: cover; background-position: center; }

/* Botón "Ver resultado en Instagram": oculto hasta que js/instagram-resultados.js tenga su URL */
.ig-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--purple); padding-bottom: 2px; border-bottom: 1px solid var(--lila); transition: color .25s ease, border-color .25s ease; }
.ig-link svg { width: 17px; height: 17px; flex: 0 0 auto; }
.ig-link:hover { color: var(--ink); border-color: var(--purple); }
.ig-link[hidden] { display: none; }
.menu-row__ig { margin-top: 14px; }
.menu-row__ig:has(.ig-link[hidden]) { display: none; }
.service-body .ig-link { align-self: flex-start; margin-top: 14px; }
.ig-cta { text-align: center; margin-top: 26px; }
.ig-cta:has(.ig-link[hidden]) { display: none; }

/* Cabecera de un bloque de fotos dentro de una sección ya existente */
.fotos-head { margin-top: clamp(52px, 6vw, 84px); }
/* Foto propia en "Sobre nosotras"; sin --img se ve la del hero (solo se descarga una) */
.hero-frame--salon { background-image: var(--img, url('../assets/images/hero/hero.jpg')); }

/* ============================ MICROCOPY / FILTRO ============================ */
.filtro-band { background: var(--grad); color: #fff; }
.filtro-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.45; max-width: 820px; margin: 0 auto 34px; }

/* ============================ CTA banda ============================ */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 760px; margin: 0 auto 14px; }
.cta-band .lead { max-width: 620px; margin-inline: auto; }
.cta-band .btn { margin-top: 34px; }

/* ============================ CONTACTO ============================ */
.contacto-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.contacto-list { display: grid; gap: 26px; margin-bottom: 36px; }
.contacto-list li { display: flex; flex-direction: column; gap: 5px; }
.c-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); font-weight: 500; }
.c-value { font-size: 1.15rem; color: var(--ink); }
a.c-value:hover { color: var(--purple); }
.c-value--sm { font-size: 1rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; } /* reserva online: presente pero sin destacar */
.contacto-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.contacto-map { min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.contacto-map iframe { width: 100%; height: 100%; min-height: 380px; }
/* Mapa bajo demanda: Google Maps no se carga (ni instala cookies) hasta pulsar "Ver mapa" */
.map-consent { height: 100%; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px 24px; text-align: center; background: linear-gradient(160deg, var(--bg-tint) 0%, var(--bg-tint-2) 100%); }
.map-consent__icon { width: 42px; height: 42px; color: var(--purple); }
.map-consent__addr { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; color: var(--ink); }
.map-consent__note { font-size: .84rem; color: var(--ink-soft); max-width: 300px; }
.map-consent__note a, .diag-privacy a { color: var(--purple); text-decoration: underline; text-underline-offset: 2px; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--black); color: #C9CACC; padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand .brand-monogram { background: linear-gradient(135deg, #fff, var(--lila-mid)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand .brand-hidalgo { color: #fff; }
.footer-brand .brand-estilistes { color: var(--grey-mid); }
.footer-logo { height: 84px; width: auto; display: block; margin-bottom: 18px; }
.footer-brand p { font-size: .98rem; color: var(--grey-mid); max-width: 340px; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { font-size: .98rem; color: var(--grey-light); transition: color .25s ease; }
.footer-nav a:hover { color: var(--lila); }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.footer-contact { display: grid; gap: 10px; font-size: .98rem; }
.footer-contact a:hover { color: var(--lila); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background .32s var(--ease), transform .32s var(--ease); }
.footer-social a:hover { background: var(--grad); transform: translateY(-4px); }
.footer-social svg { width: 21px; height: 21px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; text-align: center; font-size: .85rem; color: var(--grey-dark); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 10px; }
.footer-legal a { color: var(--grey-mid); transition: color .25s ease; }
.footer-legal a:hover { color: var(--lila); }

/* ============================ PÁGINA 404 ============================ */
.page-hero--404 { min-height: 78vh; display: flex; align-items: center; }
.error-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.site-footer--min { padding-top: 0; }

/* ============================ TEXTOS LEGALES ============================ */
.page-hero--legal { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero--legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.legal { max-width: 780px; margin: 0 auto; }
.legal p, .legal li, .legal dd, .legal td { color: var(--ink-soft); line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; margin: 48px 0 14px; }
.legal h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; line-height: 1.4; margin: 24px 0 8px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.legal a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal-data { margin-top: 18px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 24px; }
.legal-data > div { display: grid; grid-template-columns: 170px 1fr; gap: 2px 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-data > div:last-child { border-bottom: 0; }
.legal-data dt { font-weight: 500; color: var(--ink); }
.legal-data dd { margin: 0; overflow-wrap: anywhere; }
.legal-table-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--bg-tint); color: var(--ink); font-weight: 500; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-updated { margin-top: 48px; font-size: .9rem; font-style: italic; }
/* Dato pendiente de completar: muy visible para que no se publique sin rellenar */
.pendiente { background: #FFF1B8; color: #6B4E00; padding: 1px 7px; border-radius: 4px; font-weight: 500; }
@media (max-width: 600px) {
  .legal-data { padding: 4px 18px; }
  .legal-data > div { grid-template-columns: 1fr; }
  /* La tabla de cookies se apila en fichas: cada celda lleva su etiqueta */
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table td { padding: 10px 16px; border-bottom: 0; }
  .legal-table td::before { content: attr(data-label); display: block; font-weight: 500; color: var(--ink); }
}

/* ============================ CTA STICKY MÓVIL ============================ */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 150; display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px -20px rgba(20,18,24,.5); }
.mobile-bar .btn { flex: 1; padding: 15px 16px; }
.mobile-bar .btn-primary { flex: 2; }

/* ============================ ANIMACIONES SCROLL ============================ */
.reveal, .reveal-left, .reveal-right, .reveal-scale { transition: opacity .8s var(--ease), transform .8s var(--ease); }
/* Estado inicial oculto SOLO si hay JavaScript (clase .js que pone el <head>): sin JS todo se ve */
.js .reveal { opacity: 0; transform: translateY(42px); }
.js .reveal-left { opacity: 0; transform: translateX(-50px); }
.js .reveal-right { opacity: 0; transform: translateX(50px); }
.js .reveal-scale { opacity: 0; transform: scale(.9); }
.js .reveal.is-visible, .js .reveal-left.is-visible, .js .reveal-right.is-visible, .js .reveal-scale.is-visible { opacity: 1; transform: none; }
.reveal[style*="--d"], .reveal-left[style*="--d"], .reveal-right[style*="--d"], .reveal-scale[style*="--d"] { transition-delay: var(--d); }

/* Primera pantalla (hero del inicio y cabecera de cada página): entrada 100% CSS.
   Se anima sola al pintar la página, sin esperar a main.js. */
@keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.anim-in { animation: fade-up .8s var(--ease) both; }
.anim-d1 { animation-delay: .08s; }
.anim-d2 { animation-delay: .16s; }
.anim-d3 { animation-delay: .24s; }
.anim-d4 { animation-delay: .32s; }
.anim-d5 { animation-delay: .4s; }
.anim-d6 { animation-delay: .48s; }
.anim-d7 { animation-delay: .56s; }
.anim-d8 { animation-delay: .64s; }

/* =================================================================
   RESPONSIVE — desktop primero; se simplifica hacia móvil
   ================================================================= */
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .balayage-steps { grid-template-columns: repeat(3, 1fr); }
  .proceso-steps { grid-template-columns: repeat(2, 1fr); }
  .confianza-grid { grid-template-columns: repeat(3, 1fr); }
  .balayage-intro { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .contacto-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .opt-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-stats { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .premios-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .pos-grid { grid-template-columns: repeat(4, 1fr); }
  .proceso-steps { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Listas de 4 pasos: 2x2 en tablet y 4 en línea en escritorio,
   para que no quede una fila huérfana en la rejilla de 3. */
@media (min-width: 760px) {
  .balayage-steps--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .balayage-steps--4 { grid-template-columns: repeat(4, 1fr); }
}

/* 4 fotos de resultados (GOA): 2x2 en tablet, 4 en línea en escritorio */
@media (min-width: 640px) { .ba-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ba-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Resultados en móvil: carrusel horizontal en vez de 3-8 fotos apiladas;
   la siguiente foto asoma por la derecha para invitar a deslizar. */
@media (max-width: 639px) {
  .ba-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 22px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .ba-grid::-webkit-scrollbar { display: none; }
  .ba-item { scroll-snap-align: start; }
  .js .ba-grid > .reveal-scale { opacity: 1; transform: none; }
  .ba-item figcaption { padding: 30px 16px 14px; font-size: .9rem; }
}

/* Pasos del diagnóstico con 4 opciones: 2x2 en vez de 3+1 (en móvil siguen a una columna) */
@media (min-width: 601px) {
  .opt-grid--2 { grid-template-columns: 1fr 1fr; }
}

/* ---------- MÓVIL / TABLET: menú, hero apilado, barra sticky ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  /* FIX menú móvil: el backdrop-filter del header lo convertía en el contenedor
     del drawer (position:fixed). Al hacer scroll, el menú se recortaba a la altura
     del header y se veía transparente. En móvil el header queda sólido y sin filtro. */
  .site-header.scrolled, .site-header.solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: #ffffff; box-shadow: 0 6px 24px -16px rgba(20,18,24,.45); }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(86vw, 360px); height: 100vh; height: 100dvh; background: #ffffff; flex-direction: column; padding: 104px 32px 44px; transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -24px 0 60px -30px rgba(20,18,24,.6); overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  /* Con el menú abierto: bloquear scroll de fondo y ocultar la barra inferior */
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-bar { display: none; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 22px; width: 100%; }
  .main-nav a:not(.btn), .site-header:not(.scrolled):not(.solid) .main-nav a:not(.btn) { color: var(--ink); font-size: 1.1rem; }
  .nav-cta { width: 100%; margin-top: 10px; }
  .nav-cta .btn { width: 100%; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 80px; }
  .hero-scroll { display: none; }
  /* Entradas laterales → verticales: un bloque desplazado 50px a la derecha antes de
     revelarse creaba scroll horizontal (p. ej. al entrar directo en contacto.html#diagnostico) */
  .js .reveal-left:not(.is-visible), .js .reveal-right:not(.is-visible) { transform: translateY(42px); }

  /* Hero apilado: el visual debajo del texto */
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; padding: 130px 0 90px; }
  .hero-text { min-width: 0; } /* el botón largo ensanchaba la columna a 372 px y cortaba el texto en móvil */
  .hero-visual { display: none; } /* en móvil el marco se oculta para aligerar (el fondo ya da contexto) */
  /* Móvil: versión de 1200 px (WebP 123 KB en vez del JPG de 2400 px y 689 KB) */
  .hero-bg { opacity: .55; background-image: url('../assets/images/hero/hero-movil.jpg');
    background-image: image-set(url('../assets/images/hero/hero-movil.webp') type('image/webp'), url('../assets/images/hero/hero-movil.jpg') type('image/jpeg')); }
  .hero::before { background: linear-gradient(160deg, rgba(8,7,10,.9), rgba(14,12,17,.74)); }
}

@media (max-width: 600px) {
  :root { --gutter: 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .diag-nav { flex-direction: column; align-items: stretch; }
  .diag-nav .btn { width: 100%; margin-left: 0 !important; }
  .diag-nav #diagPrev { order: 2; }
  /* Nuevas secciones: respiración en móvil */
  .exp-stat { padding: 28px 18px; }
  .review-card { padding: 28px 22px; gap: 14px; }
  .review-text { font-size: 1.05rem; }
  .premios { padding: 30px 20px; }
  .premios-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .premios-grid.premios-grid--real { grid-template-columns: 1fr 1fr; gap: 12px; }
  .premio-card figcaption { padding: 12px 12px 14px; }
  .premio-card strong { font-size: 1.05rem; }
  .premio-card span { font-size: .78rem; }
  .mobile-bar .btn { padding: 14px 12px; font-size: .92rem; }
  .brand-img { height: 60px; }
  .site-header.scrolled .brand-img { height: 50px; }
  .footer-logo { height: 70px; }
  /* CTA del hero a ancho completo para mejor toque en móvil */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; white-space: normal; padding-left: 20px; padding-right: 20px; }
  /* Opciones del formulario en una columna en pantallas pequeñas */
  .opt-grid { grid-template-columns: 1fr; }
  /* Carta: el precio pasa debajo del texto, con la duración a su derecha */
  .menu-row { grid-template-columns: 1fr; padding: 22px 20px; }
  .menu-row__side { flex-direction: row; justify-content: space-between; align-items: baseline; text-align: left; margin-top: 8px; }
  .menu-row__price small { display: inline; margin: 0 0 0 8px; }
  .menu-row--img { grid-template-columns: 72px 1fr; column-gap: 16px; }
  .menu-row--img .menu-row__img { width: 72px; }
  .menu-row--img .menu-row__side { grid-column: 1 / -1; }
  /* Galería: filtros en rejilla 2x3 de botones iguales (sin filas descompensadas)
     y pies de foto más pequeños */
  .gallery-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 30px; }
  .filter-btn { padding: 10px 8px; font-size: .86rem; }
  .gallery-item figcaption { padding: 26px 10px 10px; font-size: .8rem; line-height: 1.3; }
}

/* Capa para cerrar el menú al tocar fuera */
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 180; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* =================================================================
   MÓVIL/TÁCTIL: sin cursor personalizado ni animaciones pesadas
   ================================================================= */
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.cursor-on, body.cursor-on * { cursor: auto; }
  .btn-primary::after { display: none; } /* sin shine en táctil */
  .gallery-item figcaption { opacity: 1; transform: none; } /* sin hover: pie siempre visible */
}

/* =================================================================
   PREFERS-REDUCED-MOTION — accesibilidad
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; }
  .anim-in { animation: none !important; }
  .hero-scroll span { animation: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
