/* ═══════════════════════════════════════════════════════
   vadereformas.com — Global Stylesheet
   v1.0 — Incluye modo oscuro y modo claro
   Uso: <link rel="stylesheet" href="/assets/css/styles.css" />
═══════════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;700;900&family=Inter:wght@400;500;600&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ══════════════════════════════════════
   TOKENS — modo oscuro (por defecto)
══════════════════════════════════════ */
:root {
  color-scheme: dark;
  /* Backgrounds */
  --bg:        #111111;
  --bg-2:      #1a1a1a;
  --bg-3:      #222222;
  --border:    #2e2e2e;

  /* Accent */
  --accent:    #FFD32D;
  --accent-dk: #e6bb00;

  /* Text */
  --text:      #f5f2ed;
  --muted:     #9e9a94;
  --muted-2:   #5a5650;

  /* Layout */
  --radius:     6px;
  --nav-h:      64px;
  --max-w:      1100px;
  --blog-prose: 680px;

  /* Shadows (sutiles en dark) */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);

  /* Transitions */
  --t-color: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* ══════════════════════════════════════
   TOKENS — modo claro
   Activado con: <html class="light">
══════════════════════════════════════ */
html.light {
  color-scheme: light;
  --bg:        #ffffff;
  --bg-2:      #f7f5f2;
  --bg-3:      #eeece9;
  --border:    #dedad4;

  --accent:    #FFD32D;
  --accent-dk: #e6bb00;

  --text:      #1a1916;
  --muted:     #6b6762;
  --muted-2:   #a8a49f;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
}

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: var(--t-color);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}

/* ══════════════════════════════════════
   TIPOGRAFÍA BASE
══════════════════════════════════════ */
.display {
  font-family: 'Epilogue', sans-serif;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.heading {
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 96px 0;
}
.divider {
  height: 1px;
  background: var(--border);
}

/* ══════════════════════════════════════
   NAVEGACIÓN
══════════════════════════════════════ */
#vr-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: var(--t-color), box-shadow 0.3s;
}
#vr-nav.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(0,0,0,0.2);
}
.vr-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo */
.vr-logo {
  font-family: 'Epilogue', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 40px;
  transition: opacity 0.2s;
}
.vr-logo:hover { opacity: 0.8; }
.vr-logo em { font-style: normal; color: var(--accent); }
.vr-logo-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 3px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

/* Desktop nav links */
.vr-menu {
  display: flex;
  align-items: center;
  height: 100%;
  flex: 1;
}
.vr-menu > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.vr-menu > li > a,
.vr-menu > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.vr-menu > li > a::after,
.vr-menu > li > button::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.vr-menu > li > a:hover,
.vr-menu > li > button:hover,
.vr-menu > li.active > a { color: var(--text); }
.vr-menu > li > a:hover::after,
.vr-menu > li > button:hover::after,
.vr-menu > li.active > a::after { transform: scaleX(1); }

/* Theme toggle */
.vr-theme-toggle {
  width: 38px; height: 22px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--t-color);
}
.vr-theme-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  transition: transform 0.25s ease, background 0.25s;
}
html.light .vr-theme-knob { transform: translateX(16px); }

/* Nav right side */
.vr-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.vr-tel {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.vr-tel:hover { color: var(--text); }
.vr-cta {
  background: var(--accent);
  color: #0f0f0f;
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 0.825rem;
  padding: 9px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.vr-cta:hover { background: var(--accent-dk); transform: translateY(-1px); }

/* Hamburger */
.vr-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}
.vr-hamburger:hover { border-color: var(--accent); }
.vr-hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.vr-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.vr-hamburger.open span:nth-child(2) { opacity: 0; }
.vr-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile panel */
.vr-mobile-panel {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  z-index: 999;
}
.vr-mobile-panel.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.vr-mobile-inner {
  padding: 16px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.78rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; color: var(--muted-2); }

/* ══════════════════════════════════════
   HERO FULLSCREEN
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.30;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, color-mix(in srgb, var(--bg) 92%, transparent) 45%, color-mix(in srgb, var(--bg) 30%, transparent) 100%),
    linear-gradient(to top, color-mix(in srgb, var(--bg) 80%, transparent) 0%, transparent 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,211,45,0.1);
  border: 1px solid rgba(255,211,45,0.25);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
html.light .hero-label {
  background: rgba(196,155,0,0.08);
  border-color: rgba(196,155,0,0.25);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  max-width: 780px;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Epilogue', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.825rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ══════════════════════════════════════
   BOTONES
══════════════════════════════════════ */
.btn-primary {
  background: var(--accent);
  color: #0f0f0f;
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); }

.btn-ghost {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

/* ══════════════════════════════════════
   ETIQUETAS DE SECCIÓN
══════════════════════════════════════ */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ══════════════════════════════════════
   CARDS GENÉRICAS
══════════════════════════════════════ */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(255,211,45,0.25);
  transform: translateY(-3px);
}
html.light .card:hover { border-color: rgba(196,155,0,0.3); }

/* ══════════════════════════════════════
   SERVICIOS GRID
══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.service-card {
  background: var(--bg-2);
  padding: 36px 30px;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-3); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 16px;
  transition: gap 0.2s;
}
.service-card:hover .service-link { gap: 10px; }

/* ══════════════════════════════════════
   PROCESO — 4 pasos
══════════════════════════════════════ */
.process-bg {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.process-bg-img {
  position: absolute; inset: 0; z-index: 0;
}
.process-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.08;
}
.process-bg-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-2) 0%, transparent 20%, transparent 80%, var(--bg-2) 100%),
    linear-gradient(to right, var(--bg-2) 0%, transparent 30%, transparent 70%, var(--bg-2) 100%);
}
.process-bg .container { position: relative; z-index: 1; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 56px;
}
.step {
  background: var(--bg-2);
  padding: 36px 28px;
  position: relative;
  cursor: default;
  transition: background 0.3s;
}
.step::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,211,45,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.step:hover { background: var(--bg-3); }
.step:hover::before { opacity: 1; }
.step-num {
  font-family: 'Epilogue', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, rgba(255,211,45,0.18), rgba(255,211,45,0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter 0.35s;
  display: inline-block;
}
.step:hover .step-num {
  background: linear-gradient(135deg, #FFD32D 0%, #ffec7a 60%, #FFD32D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(255,211,45,0.55));
}
.step h3 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 700; font-size: 1rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.step:hover h3 { color: var(--accent); }
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════════════════
   REVIEWS
══════════════════════════════════════ */
.reviews-bg {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 14px; }
.review-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Epilogue', sans-serif; font-weight: 700;
  font-size: 0.75rem; color: var(--accent); flex-shrink: 0;
}
.author-name { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 0.875rem; }
.author-loc { font-size: 0.775rem; color: var(--muted); }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-list { margin-top: 56px; display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--bg-2); border-radius: 8px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; text-align: left;
  color: var(--text);
  font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 1rem;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-3); }
.faq-arrow {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--accent);
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: rgba(255,211,45,0.15); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 28px 24px; font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
.faq-a-inner a { color: var(--accent); font-weight: 600; }

/* ══════════════════════════════════════
   FORMULARIO
══════════════════════════════════════ */
.cta-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 72px 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.form-full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: rgba(255,211,45,0.5); }
html.light .form-field input:focus,
html.light .form-field select:focus,
html.light .form-field textarea:focus { border-color: rgba(196,155,0,0.5); }
.form-field select option { background: var(--bg-3); color: var(--text); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit {
  background: var(--accent);
  color: #0f0f0f;
  font-family: 'Epilogue', sans-serif; font-weight: 700;
  font-size: 1rem; padding: 14px 32px;
  border-radius: var(--radius); border: none;
  cursor: pointer; width: 100%; margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--accent-dk); transform: translateY(-2px); }

/* ══════════════════════════════════════
   GALERÍA INTERACTIVA
══════════════════════════════════════ */
.gallery-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 4px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 56px;
}
.gallery-strip .g-main { grid-row: 1 / 3; }
.gallery-cell { position: relative; overflow: hidden; cursor: pointer; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-cell:hover img { transform: scale(1.06); }
.gallery-cell-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.gallery-cell:hover .gallery-cell-overlay { background: rgba(0,0,0,0.35); }
.gallery-cell-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,211,45,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-cell:hover .gallery-cell-icon { opacity: 1; transform: scale(1); }

/* Lightbox */
.vr-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; visibility: hidden;
  transition: background 0.3s, visibility 0.3s;
}
.vr-lightbox.active { background: rgba(0,0,0,0.92); visibility: visible; }
.vr-lightbox-inner {
  position: relative; max-width: 1000px; width: 100%;
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.3s, transform 0.3s;
}
.vr-lightbox.active .vr-lightbox-inner { opacity: 1; transform: scale(1); }
.vr-lightbox-img { width: 100%; max-height: 80svh; object-fit: contain; border-radius: 8px; display: block; }
.vr-lightbox-caption { margin-top: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.55); text-align: center; }
.vr-lightbox-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.vr-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.vr-lightbox-nav:hover, .vr-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.vr-lightbox-prev { left: -56px; }
.vr-lightbox-next { right: -56px; }
.vr-lightbox-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.vr-lightbox-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.vr-lightbox-dot.active { background: var(--accent); transform: scale(1.4); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-inner p { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ══════════════════════════════════════
   ANIMACIONES
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.7s ease both; }
.fade-up-2 { animation: fadeUp 0.7s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.7s 0.3s ease both; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .vr-menu, .vr-tel { display: none; }
  .vr-cta { display: none; }
  .vr-hamburger { display: flex; }
}
@media (max-width: 900px) {
  .services-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-strip .g-main { grid-row: 1 / 2; grid-column: 1 / 3; }
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }
  .cta-box { padding: 48px 32px; }
  .vr-lightbox-prev { left: 0; }
  .vr-lightbox-next { right: 0; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .process-steps { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 100px 0 72px; }
  .hero-stats { gap: 24px; }
}

/* ══════════════════════════════════════
   HEADER — dropdowns & mega menu
══════════════════════════════════════ */
:root { --dropdown-w: 260px; --mega-w: 680px; }

.vr-chevron { width:14px;height:14px;display:flex;align-items:center;justify-content:center;transition:transform .25s ease;color:var(--muted-2); }
.vr-menu > li.open > button .vr-chevron { transform:rotate(180deg); }

.vr-dropdown {
  position:absolute;top:calc(100% + 1px);left:0;
  width:var(--dropdown-w);
  background:var(--bg-2);border:1px solid var(--border);border-radius:10px;padding:8px;
  box-shadow:0 16px 48px rgba(0,0,0,.5);
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
  list-style:none;
}
.vr-menu > li.open .vr-dropdown { opacity:1;visibility:visible;transform:translateY(0); }
.vr-dropdown a { display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:6px;text-decoration:none;transition:background .15s; }
.vr-dropdown a:hover { background:var(--bg-3); }
.vr-dropdown-icon { font-size:1.1rem;flex-shrink:0;margin-top:1px; }
.vr-dropdown-label { font-family:'Epilogue',sans-serif;font-weight:700;font-size:.875rem;color:var(--text);display:block;line-height:1.2; }
.vr-dropdown-desc { font-size:.775rem;color:var(--muted);display:block;margin-top:2px;line-height:1.4; }
.vr-dropdown-divider { height:1px;background:var(--border);margin:6px 8px; }

.vr-mega {
  position:absolute;top:calc(100% + 1px);left:-40px;
  width:var(--mega-w);
  background:var(--bg-2);border:1px solid var(--border);border-radius:12px;padding:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
}
.vr-menu > li.open .vr-mega { opacity:1;visibility:visible;transform:translateY(0); }
.vr-mega-header { padding:4px 8px 14px;border-bottom:1px solid var(--border);margin-bottom:16px;display:flex;align-items:center;justify-content:space-between; }
.vr-mega-header-label { font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted); }
.vr-mega-header-link { font-size:.775rem;font-weight:600;color:var(--accent);text-decoration:none;display:flex;align-items:center;gap:4px;transition:gap .2s; }
.vr-mega-header-link:hover { gap:8px; }
.vr-mega-grid { display:grid;grid-template-columns:1fr 1fr;gap:4px; }
.vr-mega-item { display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:8px;text-decoration:none;transition:background .15s; }
.vr-mega-item:hover { background:var(--bg-3); }
.vr-mega-item-icon { width:36px;height:36px;border-radius:8px;background:var(--bg-3);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0;transition:background .15s,border-color .15s; }
.vr-mega-item:hover .vr-mega-item-icon { background:rgba(255,211,45,.08);border-color:rgba(255,211,45,.25); }
.vr-mega-item-label { font-family:'Epilogue',sans-serif;font-weight:700;font-size:.875rem;color:var(--text);display:block;line-height:1.2; }
.vr-mega-item-desc { font-size:.775rem;color:var(--muted);display:block;margin-top:3px;line-height:1.4; }
.vr-mega-featured { grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:14px;border-radius:8px;background:rgba(255,211,45,.05);border:1px solid rgba(255,211,45,.15);text-decoration:none;transition:background .2s,border-color .2s;margin-bottom:4px; }
.vr-mega-featured:hover { background:rgba(255,211,45,.1);border-color:rgba(255,211,45,.3); }
.vr-mega-featured-icon { width:40px;height:40px;border-radius:8px;background:rgba(255,211,45,.12);display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0; }
.vr-mega-featured-label { font-family:'Epilogue',sans-serif;font-weight:700;font-size:.95rem;color:var(--text);display:block; }
.vr-mega-featured-desc { font-size:.78rem;color:var(--muted);display:block;margin-top:2px; }
.vr-mega-featured-badge { margin-left:auto;flex-shrink:0;font-size:.7rem;font-weight:700;color:#0f0f0f;background:var(--accent);border-radius:4px;padding:3px 8px;text-transform:uppercase;letter-spacing:.05em; }
.vr-mega-cities { margin-top:16px;padding-top:14px;border-top:1px solid var(--border);display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.vr-mega-cities-label { font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-2);white-space:nowrap; }
.vr-mega-city { font-size:.775rem;color:var(--muted);text-decoration:none;padding:3px 8px;border-radius:4px;border:1px solid var(--border);transition:color .15s,border-color .15s;white-space:nowrap; }
.vr-mega-city:hover { color:var(--accent);border-color:rgba(255,211,45,.3); }

/* Mobile nav components */
.vr-mob-link { display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:8px;font-family:'Epilogue',sans-serif;font-weight:700;font-size:1rem;color:var(--text);text-decoration:none;background:none;border:none;cursor:pointer;width:100%;text-align:left;transition:background .15s; }
.vr-mob-link:hover { background:var(--bg-2); }
.vr-mob-chevron { width:20px;height:20px;border-radius:4px;background:var(--bg-3);display:flex;align-items:center;justify-content:center;font-size:.7rem;color:var(--muted);transition:transform .25s,background .2s; }
.vr-mob-section.open > .vr-mob-link .vr-mob-chevron { transform:rotate(180deg);background:rgba(255,211,45,.12);color:var(--accent); }
.vr-mob-submenu { display:none;flex-direction:column;gap:2px;padding:4px 0 8px 14px; }
.vr-mob-section.open .vr-mob-submenu { display:flex; }
.vr-mob-sub-link { display:flex;align-items:center;gap:10px;padding:9px 14px;border-radius:6px;text-decoration:none;transition:background .15s; }
.vr-mob-sub-link:hover { background:var(--bg-2); }
.vr-mob-sub-icon { font-size:.95rem;flex-shrink:0; }
.vr-mob-sub-label { font-family:'Epilogue',sans-serif;font-weight:700;font-size:.9rem;color:var(--text);display:block; }
.vr-mob-sub-desc { font-size:.75rem;color:var(--muted);display:block; }
.vr-mob-divider { height:1px;background:var(--border);margin:8px 0; }
.vr-mob-cta { display:block;margin-top:12px;background:var(--accent);color:#0f0f0f;font-family:'Epilogue',sans-serif;font-weight:700;font-size:1rem;padding:16px;border-radius:8px;text-align:center;text-decoration:none;transition:background .2s; }
.vr-mob-cta:hover { background:var(--accent-dk); }

@media(max-width:960px){.vr-menu,.vr-tel{display:none}.vr-cta{display:none}.vr-hamburger{display:flex}}

/* ══════════════════════════════════════
   LIGHT MODE FIXES
   v1.1 — Contraste hero, texto y fotos
══════════════════════════════════════ */

/* ── 1. HERO SECTIONS — foto visible + texto siempre claro ──
   El hero siempre tiene imagen de fondo. En light mode el overlay
   blanco al 92% aplana la foto y vuelve el texto ilegible.
   Solución: overlay oscuro fijo + opacidad imagen mayor. */

html.light .hero-bg img,
html.light .article-hero-bg img {
  opacity: 0.55;     /* más visible que 0.30 en dark */
  filter: brightness(0.85);
}

html.light .hero-bg::after {
  background:
    linear-gradient(to right, rgba(15,15,15,0.82) 40%, rgba(15,15,15,0.45) 100%),
    linear-gradient(to top,   rgba(15,15,15,0.75) 0%,  transparent 45%);
}

html.light .article-hero-bg::after {
  background:
    linear-gradient(to top, rgba(15,15,15,0.95) 0%, rgba(15,15,15,0.65) 40%, rgba(15,15,15,0.25) 100%),
    linear-gradient(to right, rgba(15,15,15,0.4) 0%, transparent 60%);
}

/* ── Texto del hero: siempre claro (está sobre foto oscura) ── */
.hero h1,
.hero h1 .accent,
.hero-sub,
.hero-label,
.hero-stats,
.stat-num,
.stat-label,
.btn-ghost,
.article-hero h1,
.article-hero h1 em,
.article-category,
.article-meta,
.article-meta-item {
  /* solo en light — en dark ya son claros por defecto */
  color: inherit; /* permite que dark siga funcionando */
}

html.light .hero h1             { color: #f0ede8; }
html.light .hero h1 .accent     { color: #FFD32D; }
html.light .hero-sub            { color: rgba(240,237,232,0.8); }
html.light .hero-label          { color: #FFD32D; }
html.light .stat-num            { color: #FFD32D; }
html.light .stat-label          { color: rgba(240,237,232,0.7); }
html.light .hero-stats          { border-top-color: rgba(255,255,255,0.15); }
html.light .btn-ghost           { color: rgba(240,237,232,0.7); }
html.light .btn-ghost:hover     { color: #f0ede8; }

html.light .article-hero h1          { color: #f0ede8; }
html.light .article-hero h1 em       { color: #FFD32D; }
html.light .article-category         { color: #FFD32D; background: rgba(255,211,45,0.15); border-color: rgba(255,211,45,0.35); }
html.light .article-meta             { color: rgba(240,237,232,0.7); }
html.light .article-meta-item        { color: rgba(240,237,232,0.7); }
html.light .article-meta-dot         { background: rgba(240,237,232,0.35); }

/* ── 2. TEXTO PROSA DEL BLOG — más oscuro y legible ── */

html.light .article-prose {
  color: #2e2b27;   /* casi negro, mucho más legible que el muted */
}

html.light .article-prose .lead {
  color: #1a1916;
  border-left-color: #FFD32D;
}

html.light .article-prose h2,
html.light .article-prose h3 {
  color: #111111;
}

html.light .article-prose a {
  color: #e6bb00;
  text-decoration-color: rgba(160,125,0,0.4);
}
html.light .article-prose a:hover {
  text-decoration-color: #e6bb00;
}

html.light .article-prose p {
  color: #2e2b27;
}

/* ── 3. CALLOUTS — fondo y texto con contraste real ── */

html.light .callout-tip {
  background: rgba(196,155,0,0.08);
  border-color: rgba(196,155,0,0.3);
  color: #2e2b27;
}

html.light .callout-warn {
  background: rgba(200,100,20,0.08);
  border-color: rgba(200,100,20,0.3);
  color: #2e2b27;
}

/* ── 4. IDEA CARDS — texto legible en light ── */

html.light .idea-card-body {
  color: #3d3a35;
}
html.light .idea-card-body strong {
  color: #111111;
}
html.light .idea-price { color: #5a5650; }
html.light .idea-price strong { color: #1a1916; }

/* ── 5. TOC SIDEBAR ── */

html.light .toc-list a         { color: #5a5650; }
html.light .toc-list a:hover   { color: #1a1916; background: var(--bg-3); }
html.light .toc-list a.active  { color: #e6bb00; background: rgba(196,155,0,0.08); }
html.light .toc-num            { color: #a8a49f; }

/* ── 6. SIDEBAR CTA ── */

html.light .sidebar-cta {
  border-color: rgba(196,155,0,0.25);
}
html.light .sidebar-cta h3     { color: #111111; }
html.light .sidebar-cta p      { color: #5a5650; }
html.light .sidebar-cta-label  { color: #e6bb00; }
html.light .sidebar-cta-btn    { background: #FFD32D; color: #fff; }
html.light .sidebar-cta-btn:hover { background: #e6bb00; }

/* ── 7. ARTICLE AUTHOR + TAGS ── */

html.light .author-name { color: #111111; }
html.light .author-bio  { color: #5a5650; }
html.light .article-tag { color: #5a5650; }
html.light .article-tag:hover { color: #e6bb00; border-color: rgba(196,155,0,0.35); }

/* ── 8. RELATED CARDS ── */

html.light .related-card-title { color: #1a1916; }
html.light .related-card-label { color: #e6bb00; }

/* ── 9. CHECKLIST (blog) ── */

html.light .checklist li         { color: #3d3a35; }
html.light .checklist li::before { color: #e6bb00; }
html.light .checklist            { background: var(--bg-2); border-color: var(--border); }

/* ── 10. ARTICLE CTA INLINE ── */

html.light .article-cta {
  background: linear-gradient(135deg, var(--bg-2) 0%, #f0ede6 100%);
  border-color: rgba(196,155,0,0.25);
}
html.light .article-cta h3 { color: #111111; }
html.light .article-cta p  { color: #5a5650; }
html.light .article-cta-btn { background: #FFD32D; color: #fff; }
html.light .article-cta-btn:hover { background: #e6bb00; }

/* ── 11. READ PROGRESS BAR ── */
html.light .read-progress-bar { background: #FFD32D; }
