/* ==========================================================================
   Peluquería Destellos — style.css v1
   Paleta: azul royal #1847B5 · dorado #DFA820 · off-white #F4F7FD
   ========================================================================== */

:root {
  --primary: #1847B5;
  --primary-dark: #0D2B70;
  --accent: #DFA820;
  --accent-dark: #A87F0E;
  --text: #1C2333;
  --text-muted: #5C6478;
  --white: #ffffff;
  --off-white: #F4F7FD;
  --border: #DDE4F2;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(16, 30, 68, .10);
  --shadow-lg: 0 20px 50px rgba(16, 30, 68, .16);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--primary-dark);
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--off-white); }

.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head .kicker {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.section-head p { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { flex: none; }

.btn.btn-gold { background: var(--accent); color: var(--primary-dark); }
.btn.btn-gold:hover { background: #EBBC3F; color: var(--primary-dark); }
.btn.btn-wine { background: var(--primary); color: var(--white); }
.btn.btn-wine:hover { background: var(--primary-dark); color: var(--white); }
.btn.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn.btn-outline-wine { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn.btn-outline-wine:hover { background: var(--primary); color: var(--white); }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(16,30,68,.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: .98rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.nav-links .btn { padding: .6rem 1.25rem; font-size: .92rem; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  color: var(--primary-dark);
}

/* Menú móvil: position fixed — no desplaza el contenido (CLS 0) */
.nav-mobile {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 950;
  background: var(--primary-dark);
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  padding: 5.5rem 2rem 2rem;
  gap: .25rem;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.45rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nav-mobile-close {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: .5rem;
}
.nav-mobile .nav-mobile-tels {
  margin-top: auto;
  display: grid;
  gap: .7rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
  background: linear-gradient(rgba(10,24,58,.72), rgba(10,24,58,.72)), var(--primary-dark) center/cover no-repeat;
  background-blend-mode: normal;
  color: var(--white);
}
.hero-home { background-image: linear-gradient(105deg, rgba(10,24,58,.86) 20%, rgba(13,43,112,.55)), url("../img/hero-peluqueria-destellos-burgos.webp"); }

.hero .badge-zone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(223,168,32,.16);
  border: 1px solid rgba(223,168,32,.55);
  color: #F2D98C;
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.hero h1 { color: var(--white); max-width: 780px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.8rem;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  font-weight: 600;
}
.hero-rating .stars { color: var(--accent); letter-spacing: .1em; }

/* Hero interior (páginas de servicio) */
.hero-page {
  min-height: 0;
  padding: 8.5rem 0 3.5rem;
  background: linear-gradient(100deg, var(--primary-dark) 30%, var(--primary));
}
.hero-page h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.hero-page .hero-sub { margin-bottom: 1.4rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,.75);
}
.breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--accent); }

/* --------------------------------------------------------------------------
   Franja de ventajas
   -------------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
}
.feature .icon {
  width: 58px; height: 58px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(223,168,32,.14);
  color: var(--accent-dark);
}
.feat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--primary-dark);
  margin-bottom: .4rem;
}
.feature p:last-child { color: var(--text-muted); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------------------
   Nosotros
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.about-list li { padding-left: 1.7rem; position: relative; }
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: .8em; height: .8em;
  background: var(--accent);
  border-radius: 50%;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* --------------------------------------------------------------------------
   Grid de servicios
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: var(--primary-dark);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,24,58,.05) 30%, rgba(10,24,58,.88) 82%);
}
.service-card .card-body { position: relative; z-index: 2; padding: 1.5rem; color: var(--white); }
.service-card .num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.service-card h3 { color: var(--white); margin: .3rem 0 .35rem; font-size: 1.2rem; }
.service-card p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0 0 .5rem; }
.service-card .card-link { color: var(--accent); font-weight: 700; font-size: .9rem; }

/* --------------------------------------------------------------------------
   Proceso (fondo oscuro)
   -------------------------------------------------------------------------- */
.process { background: var(--primary-dark); color: var(--white); }
.process .section-head h2, .process h2 { color: var(--white); }
.process .section-head p { color: rgba(255,255,255,.78); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .7rem;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .4rem;
}
.step p:last-child { color: rgba(255,255,255,.78); font-size: .93rem; margin: 0; }

/* --------------------------------------------------------------------------
   Testimonios
   -------------------------------------------------------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  box-shadow: var(--shadow);
}
.testimonial .stars { color: var(--accent); font-size: 1.05rem; letter-spacing: .12em; }
.testimonial blockquote { margin: 0; font-style: italic; color: var(--text); }
.testimonial .who {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font-size: .92rem;
}
.testimonial .who strong { color: var(--primary-dark); }
.testimonial .who span { color: var(--text-muted); display: block; font-size: .8rem; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   FAQ acordeón
   -------------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .9rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
}
.faq-q .chev { transition: transform .25s ease; flex: none; color: var(--accent-dark); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a > div { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Galería
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* --------------------------------------------------------------------------
   Estadísticas
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.stat .stat-num span { color: var(--accent); }
.stat p { color: var(--text-muted); font-weight: 600; margin: .3rem 0 0; }

/* --------------------------------------------------------------------------
   Banner CTA
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(100deg, var(--primary) 25%, var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-banner h2 { color: var(--white); margin: 0 0 .4rem; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.85); }
.cta-banner .hero-ctas { flex: none; }

/* --------------------------------------------------------------------------
   Sedes / mapas
   -------------------------------------------------------------------------- */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.location {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location iframe { width: 100%; height: 280px; border: 0; display: block; }
.location .loc-body { padding: 1.6rem; }
.location h3 { margin-bottom: .5rem; }
.location .loc-line { display: flex; gap: .55rem; align-items: flex-start; color: var(--text-muted); font-size: .95rem; margin-bottom: .45rem; }
.location .loc-line svg { flex: none; color: var(--accent-dark); margin-top: .2rem; }
.location .btn { margin-top: .8rem; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: .6rem; }
.hours-table td { padding: .32rem 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); }
.hours-table td:last-child { text-align: right; color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   Página de servicio: layout 2 columnas + sidebar
   -------------------------------------------------------------------------- */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 3rem;
  align-items: start;
}
.service-content img.service-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  width: 100%;
  object-fit: cover;
}
.service-content h2 { margin-top: 2.2rem; }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0 .5rem;
}
.benefit {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
}
.benefit .feat-title { font-size: 1rem; margin-bottom: .3rem; }
.benefit p { margin: 0; color: var(--text-muted); font-size: .92rem; }

.steps-inline { display: grid; gap: 1rem; margin: 1.5rem 0; counter-reset: paso; }
.step-line {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.step-line .step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1.3;
}
.step-line .step-title { color: var(--primary-dark); margin-bottom: .2rem; font-size: 1.02rem; }
.step-line p:last-child { margin: 0; color: var(--text-muted); font-size: .93rem; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.5rem; }
.related a {
  display: block;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
  transition: background .2s ease;
}
.related a:hover { background: var(--border); }
.related a small { display: block; font-weight: 400; color: var(--text-muted); margin-top: .25rem; }

.sidebar { display: grid; gap: 1.5rem; position: sticky; top: 96px; }
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.sidebar-box h2, .sidebar-box h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.sidebar-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.sidebar-nav a {
  display: block;
  padding: .55rem .6rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
}
.sidebar-nav a:hover { background: var(--off-white); color: var(--primary); }
.sidebar-nav a[aria-current="page"] { background: rgba(223,168,32,.15); color: var(--primary-dark); }
.sidebar-cta { background: var(--primary-dark); color: var(--white); border: 0; }
.sidebar-cta h3 { color: var(--white); }
.sidebar-cta p { color: rgba(255,255,255,.82); font-size: .93rem; }
.sidebar-cta .btn { width: 100%; margin-top: .6rem; }

/* --------------------------------------------------------------------------
   Formulario de contacto
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .92rem; color: var(--primary-dark); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  padding: .8rem .95rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.form-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); grid-column: 1 / -1; }
.form-check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.form-status { grid-column: 1 / -1; font-weight: 700; margin: 0; min-height: 1.4em; }
.form-status.ok { color: #1E7A3C; }
.form-status.error { color: #B3261E; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.82); padding: 4rem 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer .brand-name { color: var(--white); }
.footer .brand-name small { color: var(--accent); }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: .25rem; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font-size: .88rem;
}
.footer-bottom button {
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.82);
  border-radius: 999px;
  padding: .35rem .9rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.footer-bottom button:hover { border-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------------------------
   Barra móvil fija (2 salones, sin WhatsApp)
   -------------------------------------------------------------------------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 940;
  grid-template-columns: 1fr 1fr;
  background: var(--primary-dark);
  border-top: 1px solid rgba(255,255,255,.2);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
  padding: .6rem .4rem .7rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.25;
}
.mobile-bar a small { font-weight: 400; font-size: .72rem; color: rgba(255,255,255,.75); }
.mobile-bar a:first-child { background: var(--primary); }
.mobile-bar a:last-child { background: var(--accent); color: var(--primary-dark); }
.mobile-bar a:last-child small { color: rgba(10,24,58,.75); }

/* --------------------------------------------------------------------------
   Cookies (banner + modal) — position fixed, sin CLS
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 980;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.5rem;
  max-width: 560px;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner .btn { padding: .6rem 1.1rem; font-size: .88rem; }

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(10,24,58,.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal-backdrop.visible { display: flex; }
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.8rem;
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin: 0 0 1rem;
}
.cookie-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
}
.cookie-row p { margin: .15rem 0 0; font-size: .86rem; color: var(--text-muted); }
.cookie-row strong { color: var(--primary-dark); }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute;
  inset: 0;
  background: #C3CCDE;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease;
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s ease;
}
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { background: var(--primary); opacity: .55; cursor: not-allowed; }
.cookie-modal .cookie-actions { display: flex; gap: .6rem; margin-top: 1.3rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card img { width: 100%; height: 200px; object-fit: cover; }
.post-card .post-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-meta {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.post-meta .post-cat {
  background: rgba(223,168,32,.15);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: .15rem .7rem;
  font-weight: 700;
}
.post-card h2, .post-card h3 { font-size: 1.15rem; margin: 0; }
.post-card p.excerpt { color: var(--text-muted); font-size: .93rem; margin: 0; flex: 1; }
.post-card .card-link { color: var(--primary); font-weight: 700; font-size: .9rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin-bottom: 1.2rem;
}
.article-meta .post-cat {
  background: rgba(223,168,32,.2);
  color: #F2D98C;
  border-radius: 999px;
  padding: .2rem .8rem;
  font-weight: 700;
}
.article-body h2 { margin-top: 2rem; }
.article-body ul { color: var(--text); }
.article-body li { margin-bottom: .4rem; }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Páginas legales / 404 / prose
   -------------------------------------------------------------------------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose table th, .prose table td { border: 1px solid var(--border); padding: .6rem .7rem; text-align: left; }
.prose table th { background: var(--off-white); }

.page-404 { text-align: center; padding: 9rem 1.25rem 5rem; }
.page-404 .big {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .features, .services-grid, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 3.2rem 0; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 0; padding: 7.5rem 0 3.5rem; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .about-grid, .locations, .testimonials, .benefits-grid, .related, .form-grid { grid-template-columns: 1fr; }
  .features, .services-grid, .steps, .stats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .cta-banner { padding: 2.2rem 1.5rem; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 62px; }
  .cookie-banner { left: .7rem; right: .7rem; bottom: 5rem; }
  .footer { padding-bottom: 1rem; }
}
