/*
Theme Name: Quince Quince
Theme URI: https://quincequince.mx
Author: Quince Quince
Description: Tema a medida para Quince Quince – Montecristo Business Center. Identidad oficial 15/15, optimizado para SEO, IA, accesibilidad (WCAG 2.1 AA) y Core Web Vitals.
Version: 1.3.0
Requires PHP: 7.4
License: Propietario
Text Domain: quincequince
*/
/* ============================================================
   Quince Quince — Montecristo Business Center
   Identidad oficial (Manual 15/15): negro / blanco / rojo
   Tipografías: Outfit (titulares, libre; sustituye a MADE Outer Sans
   que requiere licencia comercial) + Roboto (texto, oficial del manual)
   ============================================================ */
/* Outfit (SIL OFL, libre para uso comercial): alternativa muy cercana a
   MADE Outer Sans del manual. Fuente variable: un archivo, pesos 100–900. */
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #111112;          /* negro de marca (#030304 puro en logos) */
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --paper-warm: #f7f5f2;
  --red: #b52022;          /* rojo de marca exacto (muestreado del imagotipo) */
  --red-dark: #8e1a1c;
  --red-soft: #ef4d4d;     /* rojo accesible sobre fondos oscuros (WCAG, rojo puro) */
  --wa-green: #0c7c3b;     /* verde WhatsApp oscurecido para contraste 4.5:1 con texto blanco */
  --line: #e6e2dc;
  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(20, 20, 20, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* Accesibilidad: foco visible por teclado en todo el sitio */
:focus-visible {
  outline: 3px solid var(--red-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Accesibilidad: enlace para saltar al contenido */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: 14px 22px;
  font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Accesibilidad: respetar la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal, .reveal.pre { opacity: 1 !important; transform: none !important; }
}

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--red); margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 17px; height: 17px;
  background: url("img/flecha-1515.png") center / contain no-repeat;
}
/* Flecha en versión blanca sobre secciones oscuras */
.hero .kicker::before, .services .kicker::before, .page-hero .kicker::before,
.lp-hero .kicker::before, .lp-cta-final .kicker::before {
  background-image: url("img/flecha-1515-blanca.png");
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { margin-bottom: 56px; max-width: 760px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; max-width: 1320px;
}
.site-header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
/* Logo oficial: versión blanca sobre el hero, negra con fondo blanco */
.brand { display: block; position: relative; }
.brand img { height: 46px; width: auto; display: block; transition: opacity .3s; }
.brand .logo-negro { position: absolute; inset: 0; opacity: 0; }
.site-header.scrolled .brand .logo-blanco, .site-header.solid .brand .logo-blanco { opacity: 0; }
.site-header.scrolled .brand .logo-negro, .site-header.solid .brand .logo-negro { opacity: 1; }
.site-header.solid { background: #fff; box-shadow: 0 1px 0 var(--line); }
/* Marca tipográfica del footer y usos donde no hay imagen */
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: .34em; text-transform: uppercase; color: #fff;
}
.brand-sub {
  display: block; font-size: .58rem; letter-spacing: .30em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; transition: color .25s;
  padding: 12px 2px; /* área táctil ampliada */
}
.site-header.scrolled .nav a, .site-header.solid .nav a { color: var(--ink); }
.nav a:hover { color: var(--red) !important; }
.nav .nav-cta {
  background: var(--red); color: #fff !important; padding: 10px 22px; border-radius: 100px;
}
.nav .nav-cta:hover { background: var(--red-dark); color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; z-index: 110; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: all .3s; }
.site-header.scrolled .nav-toggle span, .site-header.solid .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  color: #fff; padding: 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("img/recepcion-oficinas-en-renta-merida.jpg") center 65% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.82) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.30) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 90px; padding-top: 160px; }
.hero .kicker { color: #fff; }
.hero .kicker::before { background: var(--red); }
.hero h1 { max-width: 17ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--red-soft); }
.hero p { margin: 24px 0 36px; max-width: 56ch; font-size: 1.12rem; color: rgba(255,255,255,.88); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Barra de datos ---------- */
.stats { background: var(--ink); color: #fff; padding: 0; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat { padding: 34px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; }
.stat b span { color: var(--red-soft); }
.stat small { color: rgba(255,255,255,.65); font-size: .82rem; letter-spacing: .04em; }

/* ---------- Nosotros ---------- */
.about { background: var(--paper-warm); }
.about .cols { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about figure { position: relative; }
.about figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about figure .tag {
  position: absolute; left: -18px; bottom: 28px; background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; padding: 12px 20px; border-radius: 8px;
}
.about p + p { margin-top: 16px; }
.checklist { margin-top: 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-soft); }
.checklist li::before { content: "—"; color: var(--red); font-weight: 800; }

/* ---------- Beneficios ---------- */
.benefits .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.benefit {
  border-top: 3px solid var(--ink); padding-top: 26px;
  transition: transform .3s ease;
}
.benefit:hover { transform: translateY(-6px); }
.benefit .num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--red);
  line-height: 1; display: block; margin-bottom: 14px;
}
.benefit h3 { margin-bottom: 10px; font-size: 1.3rem; }
.benefit p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Servicios ---------- */
.services { background: var(--ink); color: #fff; }
.services .kicker { color: var(--red-soft); }
.services .section-head p { color: rgba(255,255,255,.75); }
.services .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: #1d1d1d; border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease; display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-6px); }
.service img { height: 210px; width: 100%; object-fit: cover; }
.service .body { padding: 24px 24px 28px; flex: 1; }
.service h3 { margin-bottom: 10px; }
.service h3::after { content: ""; display: block; width: 28px; height: 2px; background: var(--red); margin-top: 10px; }
.service p { color: rgba(255,255,255,.72); font-size: .94rem; }

/* ---------- Galería ---------- */
.gallery .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px;
}
.gallery .grid a { overflow: hidden; border-radius: 10px; position: relative; }
.gallery .grid a img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery .grid a:hover img { transform: scale(1.05); }
.gallery .grid a.tall { grid-row: span 2; }
.gallery .grid a.wide { grid-column: span 2; }
.gallery .carousel-track a { display: block; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,10,10,.92); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button {
  position: absolute; top: 22px; right: 26px; background: none; border: 0;
  color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* ---------- Disponibilidad / planos ---------- */
.floors { background: var(--paper-warm); }
.floors .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.floors img { border-radius: var(--radius); box-shadow: var(--shadow); }
.floors .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Reseñas ---------- */
.reviews .rating-line { display: flex; align-items: center; gap: 14px; margin-bottom: 46px; flex-wrap: wrap; }
.reviews .score { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; }
.reviews .stars { color: var(--red); font-size: 1.3rem; letter-spacing: 3px; }
.reviews .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  background: var(--paper-warm); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review p { font-size: .98rem; color: var(--ink-soft); flex: 1; }
.review footer { font-weight: 600; font-size: .9rem; }
.review footer small { display: block; color: var(--ink-soft); font-weight: 400; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-warm); }
.faq .faq-list { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.6rem; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Contacto ---------- */
.contact .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact form { display: grid; gap: 18px; }
.contact label { font-weight: 600; font-size: .88rem; display: grid; gap: 8px; }
.contact input, .contact textarea, .contact select,
.lp-form input, .lp-form textarea, .lp-form select {
  font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper-warm); transition: border-color .2s;
}
.contact input:focus, .contact textarea:focus, .contact select:focus,
.lp-form input:focus, .lp-form textarea:focus, .lp-form select:focus { outline: none; border-color: var(--ink); }
.contact select, .lp-form select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111112' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: var(--paper-warm);
}
.contact select:hover, .lp-form select:hover { border-color: var(--ink); }
.contact .info { display: grid; gap: 22px; align-content: start; }
.contact .info-item b { font-family: var(--font-display); display: block; margin-bottom: 4px; font-size: .95rem; }
.contact .info-item a:hover { color: var(--red); }
.contact iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius); }
.socials { display: flex; gap: 18px; margin-top: 6px; }
.socials a { font-weight: 600; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; }
.socials a:hover { color: var(--red); }
.form-note { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 40px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.site-footer .brand-name { color: #fff; }
.site-footer h4 {
  font-family: var(--font-display); color: #fff; font-size: .8rem; letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 16px;
}
.site-footer a:hover { color: var(--red); }
.site-footer li { margin-bottom: 10px; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem;
}

/* ---------- Carrusel de imágenes ---------- */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.carousel-track > figure { min-width: 100%; margin: 0; position: relative; }
.carousel-track img { width: 100%; height: clamp(280px, 52vw, 560px); object-fit: cover; }
.carousel-track figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 28px 22px;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(to top, rgba(10,10,10,.78), transparent);
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 9px; z-index: 2; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.5); transition: background .2s, transform .2s;
}
.carousel-dots button[aria-current="true"] { background: #fff; transform: scale(1.3); }

/* ---------- Acento de marca antes del footer ---------- */
.pattern-strip {
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 55%, var(--ink) 55%, var(--ink) 100%);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: var(--wa-green); color: #fff; padding: 14px 22px; border-radius: 100px;
  font-weight: 700; font-size: .92rem; box-shadow: 0 8px 30px rgba(0,0,0,.25);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- Página interior ---------- */
.page-hero { padding: 170px 0 70px; background: var(--ink); color: #fff; }
.page-hero .kicker { color: var(--red-soft); }
.page-hero .lead { color: rgba(255,255,255,.78); }
.iframe-holder { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.iframe-holder iframe { width: 100%; height: 78vh; border: 0; display: block; }

.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.room { background: var(--paper-warm); border-radius: var(--radius); overflow: hidden; }
.room img { height: 280px; width: 100%; object-fit: cover; }
.room .body { padding: 30px; }
.room .cap { color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.room h3 { font-size: 1.5rem; margin: 8px 0 12px; }
.room p { color: var(--ink-soft); margin-bottom: 22px; }

/* ---------- Animación de entrada ----------
   Visible por defecto; .pre (oculto) solo se aplica vía JS cuando
   IntersectionObserver está disponible, para que nada quede invisible. */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.pre { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }

/* Aparición escalonada: las tarjetas de una misma fila entran en cascada */
.benefits .grid .reveal:nth-child(2), .services .grid .reveal:nth-child(2),
.reviews .grid .reveal:nth-child(2), .stats .stat:nth-child(2) { transition-delay: .08s; }
.benefits .grid .reveal:nth-child(3), .services .grid .reveal:nth-child(3),
.reviews .grid .reveal:nth-child(3), .stats .stat:nth-child(3) { transition-delay: .16s; }
.services .grid .reveal:nth-child(4), .stats .stat:nth-child(4) { transition-delay: .24s; }
.services .grid .reveal:nth-child(5) { transition-delay: .32s; }
.services .grid .reveal:nth-child(6) { transition-delay: .40s; }

/* Entrada del hero: siempre está por encima del pliegue, así que el
   IntersectionObserver nunca lo oculta; se anima por keyframes al cargar. */
.hero .wrap > * { animation: qq-rise .7s ease both; }
.hero .kicker { animation-delay: 0s; }
.hero h1 { animation-delay: .08s; }
.hero p { animation-delay: .16s; }
.hero .hero-ctas { animation-delay: .24s; }
@keyframes qq-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .about .cols, .floors .cols, .contact .cols { grid-template-columns: 1fr; gap: 44px; }
  .benefits .grid, .services .grid, .reviews .grid { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .gallery .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .rooms { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .benefits .grid, .services .grid, .reviews .grid { grid-template-columns: 1fr; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column;
    justify-content: center; gap: 30px; transform: translateX(100%); transition: transform .35s ease;
  }
  .nav.open { transform: none; }
  .nav a { color: #fff !important; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  /* Menú abierto: header transparente y logo/icono blancos sin importar el scroll.
     Importante: quitar backdrop-filter, que crea un bloque contenedor y atrapa
     el overlay fijo del menú (lo dejaba de 78px sobre las secciones scrolleadas). */
  body.nav-open .site-header,
  body.nav-open .site-header.scrolled,
  body.nav-open .site-header.solid {
    background: transparent; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body.nav-open .brand .logo-blanco { opacity: 1; }
  body.nav-open .brand .logo-negro { opacity: 0; }
  body.nav-open .nav-toggle span { background: #fff; }
  body.nav-open { overflow: hidden; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero .wrap { padding-bottom: 64px; }
  .wa-float span { display: none; }
  .wa-float { padding: 16px; }
}

/* ============================================================
   CookieYes — override de colores de marca.
   La versión gratuita bloquea el editor de colores del plugin,
   así que forzamos su banner/modal con CSS propio. Se usa
   !important porque CookieYes aplica estilos en línea (inline)
   que de otro modo ganarían. Paleta: :root de este mismo archivo.
   Si el plugin cambia sus clases en una actualización, revisar
   los selectores .cky-* con el inspector del navegador.
   ============================================================ */

/* --- Banner inferior --- */
.cky-consent-bar {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  font-family: var(--font-body) !important;
}
.cky-title { color: var(--ink) !important; font-family: var(--font-display) !important; }
.cky-notice-des, .cky-notice-des * { color: var(--ink-soft) !important; }
.cky-notice-des a { color: var(--red) !important; text-decoration: underline !important; }

/* --- Botones (base tipo píldora, como los .btn del sitio) --- */
.cky-btn {
  border-radius: 100px !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease !important;
}
/* Aceptar = rojo de marca */
.cky-btn-accept {
  background: var(--red) !important;
  border: 1px solid var(--red) !important;
  color: #fff !important;
}
.cky-btn-accept:hover { background: var(--red-dark) !important; border-color: var(--red-dark) !important; }
/* Rechazar = contorno tinta */
.cky-btn-reject {
  background: transparent !important;
  border: 1px solid var(--ink) !important;
  color: var(--ink) !important;
}
.cky-btn-reject:hover { background: var(--ink) !important; color: #fff !important; }
/* Personalizar / Guardar preferencias = contorno suave */
.cky-btn-customize,
.cky-btn-preferences {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--ink-soft) !important;
}
.cky-btn-customize:hover,
.cky-btn-preferences:hover { border-color: var(--ink) !important; color: var(--ink) !important; }

/* --- Insignia flotante "revisar consentimiento" --- */
/* Se oculta el botón flotante. Para reabrir las preferencias de
   cookies, enlazar desde el footer o la página de privacidad a
   javascript:void(0) con la clase cky-banner-element, o al hook
   del plugin (revisitCkyConsent). */
.cky-btn-revisit-wrapper,
.cky-revisit-bottom-left { display: none !important; }

/* --- Modal "Centro de preferencias" --- */
.cky-preference-center {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
}
.cky-preference-title { color: var(--ink) !important; font-family: var(--font-display) !important; }
.cky-preference-content-wrapper,
.cky-preference-content-wrapper *,
.cky-gpc-wrapper .cky-gpc-desc { color: var(--ink-soft) !important; }
.cky-preference-content-wrapper a { color: var(--red) !important; }
.cky-accordion-btn { color: var(--ink) !important; font-family: var(--font-display) !important; }
.cky-always-active { color: var(--ink-soft) !important; }

/* Interruptores activos = rojo de marca */
.cky-switch input[type="checkbox"]:checked {
  background-color: var(--red) !important;
  border-color: var(--red) !important;
}

/* Fondo oscurecido del modal */
.cky-overlay { background: rgba(17, 17, 18, .55) !important; }
