/* ============================================================
   STILO'S PELUQUERÍA & ESTÉTICA — Sistema de Diseño
   Paleta: Nude/Rosa elegante con acento magenta de marca
   Estilo: Belleza y bienestar, cálido, femenino
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Dancing+Script:wght@600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --rosa-nude:   #F6E4DE;
  --rosa-crema:  #FBF3F0;
  --rosa:        #E3A9B8;
  --rosa-deep:   #C97B93;
  --magenta:     #AD42AB;
  --magenta-dark:#7C2E7A;
  --magenta-soft:#F3E1F2;
  --blush:       #FCEAEE;
  --negro:       #1A1513;
  --negro-2:     #2B2422;
  --gris:        #6B6058;
  --gris-light:  #9C8F87;
  --off-white:   #FFFDFC;
  --white:       #FFFFFF;
  --wa-green:    #25D366;

  --font-head:   'Playfair Display', serif;
  --font-body:   'Poppins', sans-serif;
  --font-script: 'Dancing Script', cursive;

  --nav-h: 84px;
  --radius: 6px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26,21,19,.10);
  --shadow-lg: 0 16px 56px rgba(26,21,19,.20);
  --transition: .25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--negro-2);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); font-size: 1rem; }

/* ---- Utilidades ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.text-center { text-align: center; }
.bg-nude  { background: var(--rosa-nude); }
.bg-crema { background: var(--rosa-crema); }
.bg-blush { background: var(--blush); }
.bg-negro { background: var(--negro); color: var(--rosa-nude); }
.bg-magenta { background: linear-gradient(135deg, var(--magenta), var(--magenta-dark)); color: var(--white); }
.bg-magenta h2, .bg-magenta h3, .bg-magenta .eyebrow { color: var(--white); }
.bg-magenta .eyebrow { color: var(--rosa); }
.bg-magenta p { color: rgba(255,255,255,.85); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* Evita que texto/botones largos fuercen el ancho mínimo de las columnas (bug clásico de CSS Grid) */
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ---- Tipografía ---- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow-white { color: var(--rosa); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--negro); }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--gris); }
.section-desc { max-width: 640px; margin: 0 auto 48px; color: var(--gris); font-size: 1.05rem; }
.script { font-family: var(--font-script); font-weight: 700; color: var(--magenta); line-height: 1.1; }
.script-white { color: var(--white); }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px; border-radius: 100px; font-weight: 600; font-size: .92rem;
  transition: var(--transition); text-align: center; max-width: 100%;
}
.btn-primary { background: var(--magenta); color: var(--white); }
.btn-primary:hover { background: var(--magenta-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 1.5px solid var(--negro); color: var(--negro); }
.btn-outline:hover { background: var(--negro); color: var(--white); }
.btn-outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--negro); }
.btn-wa { background: var(--wa-green); color: var(--white); }
.btn-wa:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ---- NAVBAR ---- */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); transition: var(--transition);
}
nav#navbar.transparent { background: transparent; }
nav#navbar.scrolled { background: rgba(255,253,252,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow); height: 72px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { height: 52px; width: auto; transition: var(--transition); }
nav#navbar.scrolled .nav-logo-img { height: 42px; }
.nav-logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--negro); display: block; }
nav#navbar.transparent .nav-logo-text { color: var(--white); }
.nav-logo-sub { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); display: block; }
nav#navbar.transparent .nav-logo-sub { color: rgba(255,255,255,.7); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 16px; font-size: .92rem; font-weight: 500; color: var(--negro);
  border-radius: 100px; transition: var(--transition);
}
nav#navbar.transparent .nav-links a { color: var(--white); }
.nav-links a:hover, .nav-links a.active { background: var(--magenta); color: var(--white) !important; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 280px; padding: 10px; opacity: 0; pointer-events: none; transition: var(--transition);
}
.nav-dropdown-menu.open, .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: auto; }
.nav-dropdown-menu a {
  display: flex; flex-direction: column; padding: 12px 16px; border-radius: 10px; color: var(--negro-2) !important;
  background: transparent !important;
}
.nav-dropdown-menu a:hover { background: var(--rosa-crema) !important; }
.nav-dropdown-menu .ddi-label { font-weight: 600; font-size: .88rem; }
.nav-dropdown-menu .ddi-sub { font-size: .74rem; color: var(--gris-light); margin-top: 2px; }
.nav-dropdown-menu .ddi-divider { height: 1px; background: #F1E5DE; margin: 6px 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; z-index: 1001; }
.hamburger span { display: block; height: 2px; background: var(--negro); transition: var(--transition); }
nav#navbar.transparent .hamburger span { background: var(--white); }
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: min(340px, 85vw); height: 100vh;
  background: var(--negro); z-index: 1002; transition: right .35s ease;
  padding: 100px 32px 40px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.open { right: 0; }
.mobile-menu a { padding: 14px 4px; font-size: 1.05rem; color: var(--rosa-nude); border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .btn { margin-top: 20px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn { display: none; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  background: var(--negro); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-bg.loaded { opacity: .55; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32,26,24,.55) 0%, rgba(32,26,24,.75) 55%, rgba(32,26,24,.95) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 1.2rem; max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-chips { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px; padding: 10px 20px; font-size: .82rem; color: rgba(255,255,255,.85);
}
.hero-chip strong { color: var(--white); }

/* ---- HERO PARTIDO (marca) ---- */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.hero-split-panel {
  background: linear-gradient(160deg, var(--magenta) 0%, var(--magenta-dark) 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 56px 56px;
}
.hero-split-panel::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 85%, rgba(255,255,255,.10) 0%, transparent 55%),
              radial-gradient(circle at 90% 10%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.hero-split-content { position: relative; z-index: 1; max-width: 520px; }
.hero-split-content .script { font-size: clamp(3.6rem, 7vw, 6.4rem); display: block; margin-bottom: 2px; }
.hero-split-tagline {
  font-family: var(--font-body); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 28px; display: block;
}
.hero-split-content .hero-sub { color: rgba(255,255,255,.9); }
.hero-split-photo { background-size: cover; background-position: center; position: relative; }
.hero-split-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,21,19,.18) 0%, transparent 18%); }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-photo { min-height: 340px; order: -1; }
  .hero-split-panel { padding: 48px 24px 56px; }
}

/* ---- CARDS DE SERVICIO ---- */
.service-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.service-card-body { padding: 28px; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p { font-size: .92rem; margin-bottom: 16px; }
.service-tag {
  position: absolute; top: 16px; left: 16px; background: var(--magenta); color: var(--white);
  font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
}

/* ---- FRANJA / STATS ---- */
.stats-strip { background: var(--negro); color: var(--white); padding: 56px 0; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--rosa); }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

/* ---- REVEAL ANIMATIONS ---- */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal { transform: translateY(28px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0,0); }

/* ---- TESTIMONIOS / VALORES ---- */
.value-card { background: var(--rosa-crema); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; }
.value-icon { font-size: 2.2rem; margin-bottom: 16px; }

/* ---- CTA BLOCK ---- */
.cta-block {
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; color: var(--white);
}
.cta-block h2 { color: var(--white); margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,.85); max-width: 480px; margin: 0 auto 32px; }

/* ---- TESTIMONIOS ---- */
.testimonial-grid { gap: 24px; margin-bottom: 28px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow);
  position: relative; text-align: left; display: flex; flex-direction: column;
}
.testimonial-stars { color: var(--magenta); font-size: .82rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-quote { font-family: var(--font-head); font-style: italic; font-size: .92rem; color: var(--negro-2); margin-bottom: 16px; line-height: 1.55; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--rosa-nude); display: flex;
  align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--magenta-dark);
}
.testimonial-name { font-weight: 600; font-size: .84rem; color: var(--negro); }
.testimonial-source { font-size: .72rem; color: var(--gris-light); }
.testimonial-cta { display: inline-block; }
.testimonial-placeholder {
  border: 1.5px dashed #E0C9BE; border-radius: var(--radius-lg); padding: 40px; text-align: center;
  color: var(--gris-light); font-size: .9rem; background: var(--rosa-crema);
}

/* ---- ANTES / DESPUÉS ---- */
.ba-wrapper { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-before-wrap img { position: absolute; inset: 0; width: var(--ba-w, 200%); max-width: none; height: 100%; object-fit: cover; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white); box-shadow: var(--shadow); }
.ba-handle {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; background: var(--white); border-radius: 50%;
  transform: translate(-50%,-50%); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  cursor: ew-resize; font-size: 1rem; color: var(--magenta-dark);
}
.ba-label { position: absolute; top: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: rgba(26,21,19,.55); padding: 6px 14px; border-radius: 100px; }
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; }

/* ---- FAQ ACCORDION ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--negro);
}
.faq-icon { flex-shrink: 0; color: var(--magenta); font-size: 1.3rem; transition: transform .3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer-inner { padding: 0 26px 24px; font-size: .92rem; color: var(--gris); line-height: 1.7; }

/* ---- SERVICE PAGE HERO ---- */
.service-hero { background: var(--negro); position: relative; overflow: hidden; padding: calc(var(--nav-h) + 56px) 0 64px; }
.service-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.service-hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(74,25,70,.82) 0%, rgba(26,21,19,.94) 100%); }
.service-hero-content { position: relative; z-index: 1; max-width: 720px; }
.service-hero .eyebrow-white { color: var(--rosa); }
.service-hero-kicker { font-family: var(--font-script); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--rosa); display: block; margin-bottom: 6px; }
.service-hero h1 { color: var(--white); margin-bottom: 16px; }
.service-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ---- FOOTER ---- */
footer { background: var(--negro); color: rgba(255,255,255,.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo-text { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); font-weight: 700; }
.footer-logo-sub { font-size: .78rem; color: var(--rosa); text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 16px; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.55); max-width: 280px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition);
}
.social-link:hover { background: var(--magenta); }
footer h4 { color: var(--white); font-size: .92rem; margin-bottom: 18px; letter-spacing: .03em; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-links a:hover { color: var(--rosa); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: .88rem; align-items: flex-start; }
.footer-contact-item a { color: rgba(255,255,255,.75); }
.footer-contact-item a:hover { color: var(--rosa); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--rosa); }
.footer-credit { color: rgba(255,255,255,.4); }
.footer-credit a { color: rgba(255,255,255,.55); text-decoration: underline; }
.footer-credit a:hover { color: var(--rosa); }

/* ---- FLOATING BUTTONS ---- */
.floating-btns { position: fixed; bottom: 26px; right: 26px; z-index: 900; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.float-btn {
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); position: relative; transition: var(--transition);
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn:hover { transform: scale(1.08); }
.float-top { background: var(--white); color: var(--negro); width: 46px; height: 46px; }
.float-top svg { width: 20px; height: 20px; }
.float-phone { background: var(--negro); color: var(--white); }
.float-wa { background: var(--wa-green); color: var(--white); }
.float-btn-label { display: none; }
.float-wa-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--negro); color: var(--white); padding: 8px 14px; border-radius: 8px;
  font-size: .76rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: var(--transition);
}
.float-wa-group { position: relative; transition: opacity .3s ease; }
.float-wa-group:hover .float-wa-tooltip { opacity: 1; }

@media (max-width: 767px) {
  /* Ocultos hasta que se hace scroll, para no tapar contenido justo al cargar la página */
  .float-phone, .float-wa-group { opacity: 0; pointer-events: none; }
}

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--negro); color: rgba(255,255,255,.85);
  z-index: 2000; transform: translateY(120%); transition: transform .4s ease;
  max-height: 80vh; overflow-y: auto;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-main {
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
#cookie-banner p { font-size: .84rem; color: rgba(255,255,255,.75); max-width: 700px; }
#cookie-banner a { color: var(--rosa); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-accept, .cookie-reject, .cookie-configure { padding: 10px 22px; border-radius: 100px; font-size: .82rem; font-weight: 600; }
.cookie-accept { background: var(--magenta); color: var(--white); }
.cookie-reject, .cookie-configure { background: transparent; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
.cookie-panel {
  display: none; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px 24px;
}
.cookie-panel.show { display: block; }
.cookie-option {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option-text strong { font-size: .88rem; color: var(--white); display: block; margin-bottom: 4px; }
.cookie-option-text p { font-size: .78rem; color: rgba(255,255,255,.6); max-width: 560px; }
.cookie-toggle {
  flex-shrink: 0; width: 52px; padding: 6px 0; border-radius: 100px; text-align: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.7);
}
.cookie-toggle-on { background: var(--wa-green); color: var(--white); }
.cookie-toggle-locked { cursor: not-allowed; background: rgba(255,255,255,.1); color: rgba(255,255,255,.4); }
.cookie-panel-actions { margin-top: 12px; text-align: right; }
.cookie-save { background: var(--magenta); color: var(--white); padding: 10px 26px; border-radius: 100px; font-size: .82rem; font-weight: 600; }
@media (max-width: 600px) {
  .cookie-option { flex-direction: column; }
  .cookie-panel-actions { text-align: center; }
}

/* ---- PAGE HEADER (subpáginas) ---- */
.page-header {
  padding: calc(var(--nav-h) + 64px) 0 72px; background: var(--negro); text-align: center; position: relative; overflow: hidden;
}
.page-header-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .32; }
.page-header::after { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(74,25,70,.78) 0%, rgba(26,21,19,.9) 100%); }
.page-header-content { position: relative; z-index: 2; }
.page-header-kicker { font-family: var(--font-script); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--rosa); display: block; margin-bottom: 6px; }
.page-header h1 { color: var(--white); }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 14px; }
.breadcrumb a { color: rgba(255,255,255,.8); }

/* ---- FORMULARIO CONTACTO ---- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 8px; color: var(--negro); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; border: 1.5px solid #E5D9D3; border-radius: var(--radius);
  background: var(--white); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--magenta); }
.form-group input.error, .form-group textarea.error { border-color: #DC2626; }
.rgpd-check { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--gris); margin-bottom: 24px; }
.rgpd-check input { width: auto; margin-top: 3px; }
.form-success {
  display: none; background: #E9F7EF; border: 1px solid #B7E4C7; border-radius: var(--radius);
  padding: 24px; text-align: center; color: #1E7A3D;
}
.form-success.show { display: block; }
.form-error {
  display: none; background: #FDECEC; border: 1px solid #F5C2C2; border-radius: var(--radius);
  padding: 20px; text-align: center; color: #B42318; font-size: .92rem;
}
.form-error a { text-decoration: underline; font-weight: 600; }
.form-error.show { display: block; }

/* ---- MAPA ---- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 400px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---- BLOG ---- */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; background-size: cover; background-position: center; }
.blog-card-body { padding: 24px; }
.blog-meta { font-size: .76rem; color: var(--gris-light); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-article { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.blog-article h2 { margin-top: 40px; margin-bottom: 16px; }
.blog-article p { margin-bottom: 18px; font-size: 1.02rem; line-height: 1.8; }
.blog-article ul { margin: 0 0 18px 20px; list-style: disc; color: var(--gris); }
.blog-article li { margin-bottom: 8px; }
.blog-hero-img { height: 340px; background-size: cover; background-position: center; border-radius: var(--radius-lg); margin-bottom: 32px; }

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 800px; margin: 0 auto; padding: 56px 24px; }
.legal-content h2 { margin-top: 36px; margin-bottom: 14px; font-size: 1.4rem; }
.legal-content p, .legal-content li { color: var(--gris); margin-bottom: 12px; font-size: .96rem; }
.legal-content ul { margin-left: 20px; list-style: disc; }

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-strip .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 32px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  footer h4 { margin-bottom: 12px; }
  .footer-links li { margin-bottom: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 0; }
  .footer-legal { gap: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section-pad { padding: 64px 0; }
  .cookie-main { flex-direction: column; align-items: stretch; }
  .cookie-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .cookie-btns button { width: 100%; }
}
