/* ==========================================================================
   Back to Back Ibiza — landing de campana
   Mobile first desde 390px. Depende de tokens.css.
   ========================================================================== */

/* --- Base ----------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Red de seguridad: nada puede ensanchar la página. Si algo se sale, se
   recorta en vez de encoger el viewport en móvil. */
html, body { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--btb-black);
  color: var(--btb-text);
  font-family: var(--btb-font-body);
  font-size: var(--btb-body);
  line-height: 1.5;
  /* deja sitio a la barra sticky para que no tape el ultimo bloque */
  padding-bottom: calc(var(--btb-sticky-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) { body { padding-bottom: 0; } }

img, picture, video { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0 0 var(--btb-s2); text-wrap: balance; }

h1 {
  font-family: var(--btb-font-display);
  font-weight: 400;
  font-size: var(--btb-h1);
  line-height: 1.1;
  color: var(--btb-heading);
}

h2 {
  font-weight: 700;
  font-size: var(--btb-h2);
  line-height: 1.2;
  color: var(--btb-heading);
}

/* El rojo NO se usa en h3/h4 como hace la web: 3,34:1 no llega para leer.
   Se queda para titulares grandes, bordes, iconos y botones solidos. */
h3 { font-weight: 700; font-size: var(--btb-h3); line-height: 1.3; color: var(--btb-heading); }
h4 { font-weight: 600; font-size: var(--btb-h4); line-height: 1.3; color: var(--btb-heading); }

p { margin: 0 0 var(--btb-s2); }
p:last-child { margin-bottom: 0; }

a { color: var(--btb-heading); text-decoration-color: var(--btb-accent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--btb-heading); }

:focus-visible {
  outline: 2px solid var(--btb-heading);
  outline-offset: 2px;
}

.btb-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* --- Layout --------------------------------------------------------------- */

.btb-container {
  width: 100%;
  max-width: var(--btb-container);
  margin-inline: auto;
  padding-inline: var(--btb-gutter);
}

/* El header es sticky: sin esto, el ancla deja la seccion medio tapada */
[id] { scroll-margin-top: 84px; }

.btb-section { padding-block: var(--btb-s5); }
.btb-section--tight { padding-block: var(--btb-s4); }
.btb-section--warm { background: var(--btb-bg); }

@media (min-width: 768px) {
  .btb-section { padding-block: var(--btb-s6); }
  .btb-section--tight { padding-block: var(--btb-s5); }
}

.btb-kicker {
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--btb-heading);
  margin: 0 0 var(--btb-s1);
  display: flex;
  align-items: center;
  gap: var(--btb-s1);
}

.btb-kicker::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--btb-accent);
  flex: none;
}

.btb-lead { font-size: 1.0625rem; max-width: 62ch; }

/* --- Botones -------------------------------------------------------------- */

.btb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--btb-s1);
  min-height: var(--btb-tap);
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--btb-radius);
  font-family: var(--btb-font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--btb-ease), color .2s var(--btb-ease), border-color .2s var(--btb-ease);
}

/* Primario: solido. Anadido nuestro, la marca solo tiene fantasma.
   #F3F3F3 sobre #BC1A35 = 5,67:1 */
.btb-btn--primary {
  background: var(--btb-accent);
  color: var(--btb-heading);
  padding: 18px 36px;
}
.btb-btn--primary:hover { background: var(--btb-accent-dk); }
.btb-btn--primary:active { transform: translateY(1px); }

/* Secundario: el boton fantasma de la marca, tal cual esta en su kit */
.btb-btn--ghost {
  background: transparent;
  color: var(--btb-heading);
  border-color: var(--btb-heading);
}
.btb-btn--ghost:hover { color: var(--btb-accent); border-color: var(--btb-accent); }

.btb-btn--wa { background: var(--btb-whatsapp); color: #0C0A0A; }
.btb-btn--wa:hover { background: #1FBA59; }

.btb-btn--sm { padding: 10px 18px; font-size: var(--btb-small); min-height: 40px; }

.btb-btn[disabled], .btb-btn[aria-disabled="true"] {
  opacity: .45; cursor: not-allowed; pointer-events: none;
}

.btb-btn__icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

.btb-cta-row { display: flex; flex-direction: column; gap: var(--btb-s2); }

@media (min-width: 560px) {
  .btb-cta-row { flex-direction: row; flex-wrap: wrap; }
}

/* --- Imagen: marcadores del prototipo ------------------------------------- */
/* Cada hueco dice que foto va aqui. Ver docs/RECURSOS-VISUALES.md */

.btb-ph {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #131111 0%, #0C0A0A 55%, #1a1416 100%);
  border: 1px dashed var(--btb-line);
  color: var(--btb-muted);
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--btb-s2);
  overflow: hidden;
}

.btb-ph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 70% 20%, rgba(188,26,53,.16), transparent 60%);
  pointer-events: none;
}

.btb-ph > span { position: relative; z-index: 1; max-width: 28ch; line-height: 1.6; }

.btb-ph--16x9  { aspect-ratio: 16 / 9; }
.btb-ph--4x3   { aspect-ratio: 4 / 3; }
.btb-ph--1x1   { aspect-ratio: 1 / 1; }
.btb-ph--3x4   { aspect-ratio: 3 / 4; }

/* Fondo de hero y CTA final: llena el contenedor y nada más. Con
   aspect-ratio + height:100% se salía del ancho y en móvil encogía la
   página entera (visto en la réplica el 21/09/2026). */
.btb-ph--fill  { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- Header --------------------------------------------------------------- */

.btb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--btb-line);
}

.btb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--btb-s2);
  min-height: 64px;
}

.btb-header__logo img { height: 34px; width: auto; }

.btb-header__right { display: flex; align-items: center; gap: var(--btb-s2); }

/* El CTA del header se oculta en movil: ya esta el sticky inferior */
.btb-header .btb-btn { display: none; }

@media (min-width: 768px) {
  .btb-header__inner { min-height: 76px; }
  .btb-header__logo img { height: 42px; }
  .btb-header .btb-btn { display: inline-flex; }
}

/* Teléfono del header. Solo aparece si hay número configurado. */
.btb-header__phone {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: var(--btb-tap);
  color: var(--btb-heading);
  text-decoration: none;
  font-size: var(--btb-small);
  font-weight: 600;
}

.btb-header__phone:hover { color: var(--btb-accent); }
.btb-header__phone svg { fill: currentColor; }

@media (min-width: 768px) { .btb-header__phone { display: inline-flex; } }

.btb-header__phone .btb-icono,
.btb-final__tel .btb-icono { fill: none; width: 18px; height: 18px; }

.btb-final__tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--btb-tap);
  color: var(--btb-heading);
  text-decoration: none;
}

.btb-final__tel:hover { color: var(--btb-accent); }

/* Imágenes reales: el marcador .btb-ph ya trae su proporción, pero cuando
   llega la foto de verdad hay que mantenerla para no perder el CLS. */
.btb-img { width: 100%; height: auto; object-fit: cover; }

.btb-card .btb-img { aspect-ratio: 4 / 3; }
.btb-kit__item .btb-img { aspect-ratio: 1 / 1; }
.btb-gallery .btb-img { aspect-ratio: 1 / 1; }
.btb-gallery > .btb-img:first-child { aspect-ratio: 4 / 3; }

.btb-hero__media .btb-img,
.btb-final__media .btb-img { height: 100%; }

.btb-hero__media picture { display: block; height: 100%; }

/* Selector de idioma */
.btb-lang { display: flex; align-items: center; gap: 2px; font-size: var(--btb-small); }

.btb-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 var(--btb-s1);
  text-decoration: none;
  color: var(--btb-muted);
  font-family: var(--btb-font-label);
  letter-spacing: .06em;
}

.btb-lang a:hover { color: var(--btb-heading); }
.btb-lang a[aria-current="true"] { color: var(--btb-heading); border-bottom: 2px solid var(--btb-accent); }
.btb-lang__sep { color: var(--btb-line); }

/* --- Hero ----------------------------------------------------------------- */

.btb-hero { position: relative; isolation: isolate; overflow: hidden; }

.btb-hero__media { position: absolute; inset: 0; z-index: -2; }
.btb-hero__media .btb-ph { height: 100%; border: 0; align-items: end; padding-bottom: var(--btb-s4); }
/* La etiqueta del hueco no puede competir con el copy del hero: abajo y tenue */
.btb-hero__media .btb-ph > span,
.btb-final__media .btb-ph > span { opacity: .45; }

/* El degradado de su web: linear-gradient(90deg,#000 50%,#0C0A0AE0 80%) a .76 */
.btb-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(12,10,10,.86) 60%, #000 100%);
}

@media (min-width: 1025px) {
  /* El copy del hero acaba sobre el 41% del ancho: hasta ahí, negro sólido y
     el texto siempre legible. A partir de ahí el velo cae deprisa para que se
     vea la foto. La versión anterior mantenía un 88% hasta el 75% del ancho y
     con una foto real se comía la piscina, el mar y el atardecer: quedaba una
     mancha negra con dos altavoces. Se vio poniendo la foto, no antes. */
  .btb-hero::before {
    background:
      linear-gradient(90deg,
        #000 0%,
        #000 34%,
        rgba(12,10,10,.88) 46%,
        rgba(12,10,10,.45) 70%,
        rgba(12,10,10,.20) 100%);
  }
}

.btb-hero__inner {
  padding-block: var(--btb-s5) var(--btb-s5);
}

/* El ancho de lectura va en el hijo, no en el contenedor: si se pone en
   .btb-container, su margin:auto centra el bloque y el hero queda flotando
   en medio en vez de a la izquierda, sobre la parte oscura del degradado. */
.btb-hero__copy { max-width: 44ch; }

@media (min-width: 1025px) {
  .btb-hero__inner { padding-block: var(--btb-s6); min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
  .btb-hero__copy { max-width: 52ch; }
}

/* --- Hero con formulario -------------------------------------------------- */
/* Pedido el 22/09/2026. En movil el formulario va DEBAJO del copy, no al lado:
   a 390 px dos columnas no caben y partir el hero deja el H1 en una tira. */

/* El degradado de siempre esta calibrado para un hero SIN formulario: negro
   solido en el 34% izquierdo y la foto respirando a la derecha. Con el
   formulario ocupando esa derecha, ese reparto deja un hero casi negro: el
   sujeto queda debajo del copy y lo poco que se veia lo tapa el formulario.
   Aqui el velo es mas parejo: la foto pasa a ser ambiente, se lee de lado a
   lado, y la legibilidad la ponen el text-shadow del copy y la tarjeta del
   formulario, que ya trae su propio fondo. */
@media (min-width: 1025px) {
  .btb-hero--form::before {
    background:
      linear-gradient(90deg,
        rgba(12,10,10,.88) 0%,
        rgba(12,10,10,.72) 30%,
        rgba(12,10,10,.52) 52%,
        rgba(12,10,10,.62) 100%);
  }
}

.btb-hero__form {
  margin-top: var(--btb-s4);
  background: rgba(12,10,10,.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--btb-line);
  padding: var(--btb-s3);
}

.btb-hero__form-title {
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--btb-heading);
  margin: 0 0 var(--btb-s2);
}

/* El prefijo no puede encoger ni estirarse: lleva bandera + hasta 4 digitos.
   El numero se queda con el resto. */
.btb-phone-row { display: flex; gap: var(--btb-s1); }
.btb-phone-row .btb-cc { flex: 0 0 auto; width: auto; min-width: 104px; }
.btb-phone-row input[type="tel"] { flex: 1 1 auto; min-width: 0; }

/* Una sola columna, siempre. .btb-form pasa a dos columnas a partir de 640px
   y aqui eso no vale: la columna del hero mide 420px y el campo de telefono
   se parte en dos, con el prefijo ocupando casi todo y el numero cortado. */
.btb-form--compact { grid-template-columns: 1fr !important; }
.btb-form--compact .btb-form__submit { width: 100%; }
.btb-form--compact .btb-form__consent { margin-top: 0; font-size: var(--btb-label); }

@media (min-width: 1025px) {
  /* Dos columnas: el copy deja de ocupar todo el ancho y el formulario se
     apoya en la derecha, que es donde lo pidio el cliente. */
  .btb-hero__inner--form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: var(--btb-s5);
    align-items: center;
  }

  .btb-hero__inner--form .btb-hero__copy { max-width: none; }

  .btb-hero__form {
    margin-top: 0;
    padding: var(--btb-s4);
  }
}

.btb-hero h1 { text-shadow: 0 0 10px rgba(0,0,0,.97); }

.btb-hero__sub {
  font-size: 1.0625rem;
  color: var(--btb-heading);
  text-shadow: 0 0 10px rgba(0,0,0,.85);
  margin-bottom: var(--btb-s3);
}

@media (min-width: 768px) { .btb-hero__sub { font-size: 1.125rem; } }

.btb-hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: var(--btb-s1) var(--btb-s2);
  margin-top: var(--btb-s3);
  padding: 0;
  list-style: none;
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--btb-text);
}

.btb-hero__micro li { display: flex; align-items: center; gap: var(--btb-s1); }
.btb-hero__micro li::before { content: ""; width: 5px; height: 5px; background: var(--btb-accent); flex: none; }

/* --- Trust ---------------------------------------------------------------- */

.btb-trust { border-block: 1px solid var(--btb-line); background: var(--btb-bg); }

.btb-trust__grid {
  display: grid;
  gap: var(--btb-s3);
  grid-template-columns: 1fr;
}

@media (min-width: 560px) { .btb-trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .btb-trust__grid { grid-template-columns: repeat(4, 1fr); gap: var(--btb-s4); } }

.btb-trust__item { padding-left: var(--btb-s2); border-left: 2px solid var(--btb-accent); }
.btb-trust__item h3 { font-size: 1.0625rem; margin-bottom: var(--btb-s1); }
.btb-trust__item p { font-size: var(--btb-small); color: var(--btb-text); }

/* Tira de marcas en tipografia, no en logo. Decision 7. */
.btb-brands {
  margin-top: var(--btb-s4);
  padding-top: var(--btb-s3);
  border-top: 1px solid var(--btb-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--btb-s2) var(--btb-s3);
  list-style: none;
  padding-inline: 0;
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--btb-muted);
}

@media (min-width: 768px) { .btb-brands { gap: var(--btb-s3) var(--btb-s5); } }

/* Variante con logos. El equilibrio optico va horneado en los ficheros (mismo
   lienzo, cada marca escalada por su area de tinta), asi que aqui basta una
   altura comun. Monocromo y algo apagados: son material de fabricante, no
   nuestra marca, y no deben competir con el acento rojo. */
.btb-brands__title {
  text-align: center;
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--btb-muted);
  margin: 0 0 var(--btb-s3);
}

/* Rejilla, no flex: con anchos tan dispares (KV2 mide la tercera parte que
   Pioneer) el wrap dejaba 3+2+1 y la ultima marca sola. Asi son 3x2 en movil
   y una fila de 6 en escritorio, siempre igual. */
.btb-brands--logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  gap: var(--btb-s3) var(--btb-s2);
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.btb-brands-wrap {
  margin-top: var(--btb-s4);
  padding-top: var(--btb-s3);
  border-top: 1px solid var(--btb-line);
}

/* max-height + max-width en vez de height fijo: con una altura fija los logos
   anchos (Pioneer DJ mide 5:1) se salen de su celda y se cortan. Asi el que no
   cabe baja de alto en vez de desbordarse. */
.btb-brands--logos .btb-brands__logo {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .72;
  aspect-ratio: auto;
}

@media (min-width: 768px) {
  .btb-brands--logos { grid-template-columns: repeat(var(--n, 6), 1fr); gap: var(--btb-s3); max-width: calc(var(--n, 6) * 220px); margin-inline: auto; }
  .btb-brands--logos .btb-brands__logo { max-height: 40px; }
}

.btb-clients {
  margin-bottom: var(--btb-s4);
  padding-bottom: var(--btb-s4);
  border-bottom: 1px solid var(--btb-line);
}

.btb-brands--clients { grid-template-columns: repeat(4, 1fr); }
.btb-brands--clients .btb-brands__logo { max-height: 44px; opacity: .85; }

@media (min-width: 768px) {
  .btb-brands--clients { grid-template-columns: repeat(8, 1fr); }
  .btb-brands--clients .btb-brands__logo { max-height: 56px; }
}

/* --- Cards genericas ------------------------------------------------------ */

.btb-grid { display: grid; gap: var(--btb-s3); grid-template-columns: 1fr; }

@media (min-width: 640px)  { .btb-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .btb-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .btb-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .btb-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .btb-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.btb-card {
  background: var(--btb-surface-2);
  border: 1px solid var(--btb-line);
  border-radius: var(--btb-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--btb-ease);
}

.btb-card:hover { border-color: var(--btb-accent); }

.btb-card__body { padding: var(--btb-s3); flex: 1; }
.btb-card__body h3 { margin-bottom: var(--btb-s1); }
.btb-card__body p { font-size: var(--btb-small); margin: 0; }

/* --- Equipamiento --------------------------------------------------------- */

.btb-kit { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--btb-s2); }

@media (min-width: 640px)  { .btb-kit { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .btb-kit { grid-template-columns: repeat(3, 1fr); } }

.btb-kit__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--btb-s2);
  align-items: center;
  background: var(--btb-surface);
  border: 1px solid var(--btb-line);
  padding: var(--btb-s2);
}

.btb-kit__item .btb-ph { border: 0; font-size: 10px; }
.btb-kit__use {
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--btb-accent);
  display: block;
  margin-bottom: 4px;
}
.btb-kit__name { font-weight: 700; color: var(--btb-heading); display: block; margin-bottom: 4px; }
.btb-kit__note { font-size: var(--btb-small); color: var(--btb-text); }

.btb-note {
  margin-top: var(--btb-s3);
  font-size: var(--btb-small);
  color: var(--btb-muted);
}

/* --- Packs ---------------------------------------------------------------- */

.btb-pack { display: flex; flex-direction: column; }

.btb-pack__head {
  padding: var(--btb-s3);
  border-bottom: 1px solid var(--btb-line);
}

.btb-pack__name { font-family: var(--btb-font-display); font-size: 1.5rem; color: var(--btb-heading); margin: 0 0 var(--btb-s1); }
.btb-pack__price { display: flex; align-items: baseline; gap: 6px; }
.btb-pack__from { font-size: var(--btb-small); color: var(--btb-muted); }
.btb-pack__amount { font-size: 1.75rem; font-weight: 700; color: var(--btb-heading); }

.btb-pack__for {
  display: block;
  margin-top: var(--btb-s1);
  font-size: var(--btb-small);
  color: var(--btb-text);
}

.btb-pack__list { list-style: none; margin: 0; padding: var(--btb-s3); flex: 1; display: grid; gap: 10px; font-size: var(--btb-small); }
.btb-pack__list li { display: grid; grid-template-columns: 14px 1fr; gap: var(--btb-s1); align-items: start; }
.btb-pack__list li::before { content: ""; width: 8px; height: 8px; margin-top: 6px; background: var(--btb-accent); }

.btb-pack__foot { padding: 0 var(--btb-s3) var(--btb-s3); }
.btb-pack__foot .btb-btn { width: 100%; }

.btb-pack--featured { border-color: var(--btb-accent); }
.btb-pack__tag {
  display: inline-block;
  font-family: var(--btb-font-label);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--btb-accent);
  color: var(--btb-heading);
  padding: 3px 8px;
  margin-bottom: var(--btb-s1);
}

/* --- Que incluye ---------------------------------------------------------- */

.btb-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--btb-s2); }

@media (min-width: 640px)  { .btb-includes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .btb-includes { grid-template-columns: repeat(4, 1fr); } }

.btb-includes li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--btb-s2);
  align-items: start;
  padding: var(--btb-s2) 0;
  border-top: 1px solid var(--btb-line);
  font-size: var(--btb-small);
}

.btb-includes__n {
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  color: var(--btb-accent);
  padding-top: 2px;
}

/* Imagen de apoyo: banda ancha bajo la lista, no entra en la rejilla. */
.btb-includes__media {
  margin-top: var(--btb-s4);
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

.btb-includes__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

@media (max-width: 639px) { .btb-includes__media { aspect-ratio: 3 / 2; } }

/* --- Galeria -------------------------------------------------------------- */

.btb-gallery { display: grid; gap: var(--btb-s2); grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px)  { .btb-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1025px) { .btb-gallery { grid-template-columns: repeat(4, 1fr); gap: var(--btb-s3); } }

.btb-gallery > *:nth-child(1) { grid-column: span 2; }
/* Al ocupar 2 columnas y 2 filas de celdas cuadradas, la destacada tiene que
   ser cuadrada tambien: con 4/3 se queda mas baja que las dos filas de al lado
   y deja un hueco debajo. En movil no lleva span de fila, asi que sigue 4/3. */
@media (min-width: 768px) {
  .btb-gallery > *:nth-child(1) { grid-row: span 2; }
  .btb-gallery > .btb-img:first-child { aspect-ratio: 1 / 1; }
}

/* --- Proceso -------------------------------------------------------------- */

.btb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--btb-s4); counter-reset: step; }

@media (min-width: 768px) { .btb-steps { grid-template-columns: repeat(3, 1fr); gap: var(--btb-s3); } }

.btb-steps li { position: relative; padding-top: var(--btb-s4); counter-increment: step; }

.btb-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--btb-font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--btb-accent);
}

.btb-steps li::after {
  content: "";
  position: absolute;
  top: 12px; left: 48px; right: 0;
  height: 1px;
  background: var(--btb-line);
}

.btb-steps h3 { font-size: 1.125rem; }
.btb-steps p { font-size: var(--btb-small); margin: 0; }

/* --- Formulario ----------------------------------------------------------- */

.btb-form-block { background: var(--btb-bg); border-block: 1px solid var(--btb-line); }

.btb-form-grid { display: grid; gap: var(--btb-s4); }

@media (min-width: 1025px) {
  .btb-form-grid { grid-template-columns: 1fr 1.15fr; gap: var(--btb-s6); align-items: start; }
}

.btb-form { display: grid; gap: var(--btb-s2); }

@media (min-width: 640px) {
  .btb-form { grid-template-columns: repeat(2, 1fr); }
  .btb-field--full { grid-column: 1 / -1; }
}

.btb-field { display: flex; flex-direction: column; gap: 6px; }

.btb-field label { font-size: var(--btb-small); font-weight: 600; color: var(--btb-heading); }
.btb-field label .btb-req { color: var(--btb-accent); }

.btb-field input,
.btb-field select,
.btb-field textarea {
  min-height: var(--btb-tap);
  padding: 14px 16px;
  background: var(--btb-surface);
  color: var(--btb-heading);
  border: 1px solid var(--btb-line);
  border-radius: var(--btb-radius);
  font-family: inherit;
  font-size: 1rem;  /* 16px: por debajo, iOS hace zoom al enfocar */
  line-height: 1.3;
  width: 100%;
  transition: border-color .15s var(--btb-ease);
}

.btb-field textarea { min-height: 96px; resize: vertical; }

.btb-field input::placeholder, .btb-field textarea::placeholder { color: var(--btb-muted); }

.btb-field input:focus, .btb-field select:focus, .btb-field textarea:focus { border-color: var(--btb-heading); }

.btb-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--btb-muted) 50%),
                    linear-gradient(135deg, var(--btb-muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

/* Error: el borde y el icono en rojo, el texto en blanco.
   El texto que hay que leer no puede ir a 3,34:1. */
.btb-field[data-state="error"] input,
.btb-field[data-state="error"] select,
.btb-field[data-state="error"] textarea { border-color: var(--btb-accent); }

.btb-field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: var(--btb-small);
  color: var(--btb-heading);
}

.btb-field__error::before {
  content: "";
  width: 14px; height: 14px; flex: none;
  background: var(--btb-accent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.btb-field[data-state="error"] .btb-field__error { display: flex; }

.btb-form__consent { font-size: var(--btb-small); color: var(--btb-muted); }

.btb-field .btb-check__label {
  display: flex;
  font-weight: 400;
  align-items: flex-start;
  gap: 10px;
  min-height: var(--btb-tap);
  padding-top: 2px;
  font-size: var(--btb-small);
  line-height: 1.45;
  color: var(--btb-text);
  cursor: pointer;
}

.btb-field .btb-check__label input {
  flex: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  margin: 1px 0 0;
  accent-color: var(--btb-accent);
  cursor: pointer;
}

.btb-field .btb-check__label a { color: var(--btb-heading); }
.btb-form__consent a { color: var(--btb-text); }

.btb-form__note { font-size: var(--btb-small); color: var(--btb-muted); margin-top: var(--btb-s1); }

.btb-form__submit { width: 100%; }
@media (min-width: 640px) { .btb-form__submit { width: auto; } }

/* Mensajes globales del formulario */
.btb-alert {
  display: none;
  padding: var(--btb-s2);
  border: 1px solid var(--btb-line);
  font-size: var(--btb-small);
  color: var(--btb-heading);
}
.btb-alert[data-show="true"] { display: block; }
.btb-alert--ok   { border-color: var(--btb-success); }
.btb-alert--fail { border-color: var(--btb-accent); }

.btb-form.is-sending { opacity: .6; pointer-events: none; }

/* --- FAQ ------------------------------------------------------------------ */

.btb-faq { max-width: 80ch; }

.btb-faq details {
  border-top: 1px solid var(--btb-line);
}
.btb-faq details:last-of-type { border-bottom: 1px solid var(--btb-line); }

.btb-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--btb-s2);
  padding: var(--btb-s3) 0;
  min-height: var(--btb-tap);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--btb-heading);
}

.btb-faq summary::-webkit-details-marker { display: none; }

.btb-faq summary::after {
  content: "";
  width: 14px; height: 14px; flex: none;
  border-right: 2px solid var(--btb-accent);
  border-bottom: 2px solid var(--btb-accent);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s var(--btb-ease);
}

.btb-faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }

.btb-faq details > div { padding-bottom: var(--btb-s3); font-size: var(--btb-small); max-width: 70ch; }

/* --- CTA final ------------------------------------------------------------ */

.btb-final { position: relative; isolation: isolate; text-align: center; overflow: hidden; }
.btb-final__media { position: absolute; inset: 0; z-index: -2; }
.btb-final__media .btb-ph { height: 100%; border: 0; }
.btb-final::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #000 0%, rgba(12,10,10,.72) 50%, #000 100%);
}
.btb-final .btb-cta-row { justify-content: center; }
.btb-final p { margin-inline: auto; }
.btb-final__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--btb-s3); font-size: var(--btb-small); }
.btb-final__mail .btb-icono { width: 18px; height: 18px; }

/* --- Sticky mobile -------------------------------------------------------- */
/* Dos bloques al 50%: no hay telefono publicado. Ver DECISIONES.md nº4.
   Con telefono pasa a tres al 33% anadiendo .btb-sticky--3 */

.btb-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--btb-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.btb-sticky--3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 768px) { .btb-sticky { display: none; } }

.btb-sticky a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--btb-sticky-h);
  text-decoration: none;
  font-family: var(--btb-font-label);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.btb-sticky svg { width: 20px; height: 20px; fill: currentColor; }
.btb-sticky .btb-icono { fill: none; }

.btb-sticky__wa    { background: var(--btb-whatsapp); color: #0C0A0A; }
.btb-sticky__call  { background: var(--btb-surface);  color: var(--btb-heading); }
.btb-sticky__quote { background: var(--btb-accent);   color: var(--btb-heading); }

/* --- Widget de WhatsApp --------------------------------------------------- */

.btb-wa { position: fixed; z-index: 60; right: var(--btb-gutter); bottom: calc(var(--btb-sticky-h) + env(safe-area-inset-bottom, 0px) + 16px); }

@media (min-width: 768px) { .btb-wa { bottom: 24px; right: 24px; } }

/* El boton flotante lleva el LOGO de WhatsApp, con su burbuja verde y el
   auricular blanco. Por eso el boton va sin fondo: el verde lo pone el logo,
   y dos verdes superpuestos se notan. La sombra pasa a drop-shadow para que
   siga la silueta de la burbuja y no un circulo que ya no existe. */
.btb-wa__launcher {
  position: relative;   /* ancla del contador */
  width: 56px; height: 56px;
  border: 0;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.55));
  transition: transform .2s var(--btb-ease);
}

.btb-wa__launcher:hover { transform: scale(1.05); }
.btb-wa__launcher svg { width: 100%; height: 100%; display: block; }

.btb-wa__badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--btb-accent);
  color: var(--btb-heading);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.btb-wa__panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(360px, calc(100vw - var(--btb-gutter) * 2));
  background: var(--btb-surface);
  border: 1px solid var(--btb-line);
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  display: none;
  overflow: hidden;
}

.btb-wa[data-open="true"] .btb-wa__panel { display: block; }
.btb-wa[data-open="true"] .btb-wa__badge { display: none; }

.btb-wa__head {
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  gap: var(--btb-s2);
  align-items: center;
  padding: var(--btb-s2);
  background: var(--btb-surface-2);
  border-bottom: 1px solid var(--btb-line);
}

.btb-wa__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1416, #0C0A0A);
  border: 1px solid var(--btb-line);
  display: grid;
  place-items: center;
  font-family: var(--btb-font-label);
  font-size: 9px;
  color: var(--btb-muted);
  text-align: center;
  line-height: 1.1;
  overflow: hidden;
}

.btb-wa__who strong { display: block; color: var(--btb-heading); font-size: var(--btb-small); }
.btb-wa__who span { display: block; font-family: var(--btb-font-label); font-size: 10px; letter-spacing: .06em; color: var(--btb-muted); }

.btb-wa__status { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 11px; color: var(--btb-text); }
.btb-wa__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--btb-success); flex: none; }
.btb-wa[data-online="false"] .btb-wa__dot { background: var(--btb-muted); }

.btb-wa__close {
  width: 32px; height: 32px;
  background: transparent;
  border: 0;
  color: var(--btb-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.btb-wa__close:hover { color: var(--btb-heading); }

.btb-wa__log {
  padding: var(--btb-s2);
  display: flex;
  flex-direction: column;
  gap: var(--btb-s1);
  max-height: 46vh;
  overflow-y: auto;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(188,26,53,.06), transparent 70%),
    var(--btb-surface);
}

/* Burbujas redondeadas pese al radio 0 de la marca: es la convencion que
   el usuario reconoce. Ver STYLE-GUIDE.md nº4. */
.btb-wa__msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: var(--btb-small);
  line-height: 1.45;
  animation: btb-pop .22s var(--btb-ease);
}

@keyframes btb-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.btb-wa__msg--them {
  align-self: flex-start;
  background: var(--btb-surface-2);
  border: 1px solid var(--btb-line);
  border-bottom-left-radius: 4px;
  color: var(--btb-text);
}

.btb-wa__msg--me {
  align-self: flex-end;
  background: rgba(188,26,53,.14);
  border: 1px solid var(--btb-accent);
  border-bottom-right-radius: 4px;
  color: var(--btb-heading);
}

.btb-wa__typing { display: inline-flex; gap: 4px; }
.btb-wa__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--btb-muted); animation: btb-blink 1.2s infinite; }
.btb-wa__typing i:nth-child(2) { animation-delay: .2s; }
.btb-wa__typing i:nth-child(3) { animation-delay: .4s; }

@keyframes btb-blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.btb-wa__form { padding: var(--btb-s2); border-top: 1px solid var(--btb-line); display: grid; gap: var(--btb-s1); }

.btb-wa__row { display: grid; gap: var(--btb-s1); grid-template-columns: 1fr auto; }
.btb-wa__row--phone { grid-template-columns: 96px 1fr auto; }

/* El display:grid de la clase gana al [hidden] del navegador: hay que
   devolverselo a mano o la fila del telefono aparece desde el principio. */
.btb-wa__row[hidden] { display: none; }

.btb-wa__form input, .btb-wa__form select {
  min-height: 44px;
  padding: 10px 12px;
  background: var(--btb-surface-2);
  color: var(--btb-heading);
  border: 1px solid var(--btb-line);
  border-radius: var(--btb-radius);
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

.btb-wa__form input:focus, .btb-wa__form select:focus { border-color: var(--btb-heading); outline: none; }
.btb-wa__form[data-state="error"] input { border-color: var(--btb-accent); }

.btb-wa__send {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--btb-radius);
  background: var(--btb-accent);
  color: var(--btb-heading);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btb-wa__send:hover { background: var(--btb-accent-dk); }
.btb-wa__send[disabled] { opacity: .45; cursor: not-allowed; }

.btb-wa__err { font-size: 12px; color: var(--btb-heading); display: none; }
.btb-wa__form[data-state="error"] .btb-wa__err { display: block; }

.btb-wa__legal { font-size: 11px; color: var(--btb-muted); }
.btb-wa__legal a { color: var(--btb-text); }

.btb-wa__done { padding: var(--btb-s3); text-align: center; display: none; }
.btb-wa[data-step="done"] .btb-wa__form { display: none; }
.btb-wa[data-step="done"] .btb-wa__done { display: block; }

.btb-wa {
  --wa-head: #075e54;
  --wa-green: #25d366;
  --wa-bg: #efeae2;
  --wa-ink: #111b21;
  --wa-muted: #54656f;
}

.btb-wa__launcher {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  filter: none;
}

.btb-wa__launcher .btb-wa__glifo { width: 30px; height: 30px; }
.btb-wa__launcher .btb-wa__x { display: none; width: 26px; height: 26px; }
.btb-wa[data-open="true"] .btb-wa__glifo { display: none; }
.btb-wa[data-open="true"] .btb-wa__x { display: block; }
.btb-wa__launcher:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.btb-wa__teaser {
  position: absolute;
  right: 72px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 4px 4px 0;
  background: #fff;
  border-radius: 12px;
  white-space: nowrap;
  animation: btb-pop .22s var(--btb-ease);
}

.btb-wa__teaser[hidden] { display: none; }

.btb-wa__teaser-text,
.btb-wa__teaser-x {
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.btb-wa__teaser-text { padding: 6px 4px 6px 14px; font-size: 14px; color: var(--wa-ink); }
.btb-wa__teaser-x { width: 26px; height: 26px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--wa-muted); }

.btb-wa__panel {
  bottom: 76px;
  background: var(--wa-bg);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12);
}

.btb-wa__head {
  background: var(--wa-head);
  border-bottom: 0;
  padding: 12px 12px 12px 14px;
}

.btb-wa__avatar { width: 40px; height: 40px; border: 0; background: #fff; }
.btb-wa__head { grid-template-columns: 40px 1fr 32px; }
.btb-wa__who strong { color: #fff; font-size: 15px; }
.btb-wa__who span { font-family: inherit; font-size: 12px; letter-spacing: 0; color: rgba(255,255,255,.85); }
.btb-wa__status { color: rgba(255,255,255,.85); }
.btb-wa__dot { background: var(--wa-green); }
.btb-wa__close { color: #fff; border-radius: 50%; }
.btb-wa__close:hover { color: #fff; background: rgba(255,255,255,.12); }

.btb-wa__log {
  padding: 12px;
  background-color: var(--wa-bg);
  background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 16px 16px;
}

.btb-wa__msg {
  padding: 6px 9px 6px 9px;
  border: 0;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--wa-ink);
  box-shadow: 0 1px .5px rgba(0,0,0,.13);
}

.btb-wa__msg--them { background: #fff; border-top-left-radius: 0; border-bottom-left-radius: 8px; color: var(--wa-ink); }
.btb-wa__msg--me { background: #d9fdd3; border-top-right-radius: 0; border-bottom-right-radius: 8px; color: var(--wa-ink); }
.btb-wa__typing i { background: #8696a0; }

.btb-wa__form { background: var(--wa-bg); border-top: 0; padding: 8px 10px 10px; }

.btb-wa__form input,
.btb-wa__form select {
  background: #fff;
  color: var(--wa-ink);
  border: 1px solid #d1d7db;
  border-radius: 8px;
}

.btb-wa__form input::placeholder { color: #8696a0; }
.btb-wa__form input:focus, .btb-wa__form select:focus { border-color: var(--wa-green); outline: 1px solid var(--wa-green); }
.btb-wa__form[data-state="error"] input { border-color: #b3261e; }

.btb-wa__send { background: var(--wa-green); color: #fff; border-radius: 24px; }
.btb-wa__send:hover { background: #1ebe5b; }

.btb-wa__err { color: #b3261e; }
.btb-wa__legal { color: var(--wa-muted); }
.btb-wa__legal a { color: #027eb5; }
.btb-wa__done { background: var(--wa-bg); color: var(--wa-ink); }

/* --- Modal "Solicitar informacion" ---------------------------------------- */

.btb-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--btb-gutter);
  background: rgba(0,0,0,.8);
}

.btb-modal[data-open="true"] { display: flex; }

.btb-modal__box {
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--btb-bg);
  border: 1px solid var(--btb-line);
  padding: var(--btb-s3);
}

.btb-modal__head { display: flex; align-items: start; justify-content: space-between; gap: var(--btb-s2); }
.btb-modal__head h2 { font-size: 1.5rem; }

/* --- Pie ------------------------------------------------------------------ */

.btb-foot {
  border-top: 1px solid var(--btb-line);
  padding-block: var(--btb-s3);
  font-size: var(--btb-small);
  color: var(--btb-muted);
}

.btb-foot__inner { display: flex; flex-direction: column; gap: var(--btb-s2); }

@media (min-width: 768px) {
  .btb-foot__inner { flex-direction: row; align-items: center; justify-content: space-between; padding-right: 88px; }
}

.btb-foot nav { display: flex; flex-wrap: wrap; gap: var(--btb-s2); }
.btb-foot a { color: var(--btb-text); }

/* --- Lo que entra en el precio: tarjetas con icono ------------------------- */
/* Sustituye a la lista numerada 01…07. El numero no decia nada —no es un
   proceso, son siete cosas incluidas— y el icono se lee sin leer. */

.btb-icono {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;      /* Lucide viene a 2: a este tamano pesa demasiado */
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btb-incluye {
  list-style: none;
  margin: var(--btb-s4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--btb-s2);
}

@media (min-width: 640px)  { .btb-incluye { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .btb-incluye { grid-template-columns: repeat(4, 1fr); gap: var(--btb-s3); } }

.btb-incluye__grupo {
  margin: var(--btb-s4) 0 0;
  font-family: var(--btb-font-label);
  font-size: var(--btb-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--btb-accent);
}

.btb-incluye--grupo { margin-top: var(--btb-s2); }

.btb-incluye__item {
  display: flex;
  gap: var(--btb-s2);
  align-items: flex-start;
  padding: var(--btb-s3);
  background: var(--btb-black);
  border: 1px solid var(--btb-line);
  transition: border-color .2s var(--btb-ease);
}

.btb-incluye__item:hover { border-color: var(--btb-accent); }

.btb-incluye__icono {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  color: var(--btb-accent);
  border: 1px solid var(--btb-line);
}

.btb-incluye__texto { display: grid; gap: 4px; min-width: 0; }

.btb-incluye__texto strong {
  font-size: var(--btb-small);
  font-weight: 600;
  color: var(--btb-heading);
  line-height: 1.3;
}

.btb-incluye__texto span {
  font-size: var(--btb-label);
  color: var(--btb-muted);
  line-height: 1.5;
}

/* --- CookieYes: el banner, con la marca --------------------------------- */
/*
   CookieYes deja elegir colores en su panel, pero el Custom CSS es de pago
   (Basic, Pro, Ultimate). Esto va en NUESTRA hoja, asi que funciona en
   cualquier plan y ademas no se pierde si alguien toca su panel.
   Los selectores `cky-` son los suyos; si cambian, esto deja de aplicar y el
   banner vuelve a su aspecto por defecto, que sigue siendo funcional.
*/

/* El enlace del pie: es un <button>, se pinta como los demas enlaces. */
.btb-foot__cookies {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--btb-accent);
  text-underline-offset: 3px;
}

.btb-foot__cookies:hover { text-decoration-color: var(--btb-heading); }

/* Caja del banner y del modal de preferencias */
.cky-consent-container .cky-consent-bar,
.cky-modal .cky-preference-center {
  background: var(--btb-bg) !important;
  border: 1px solid var(--btb-line) !important;
  border-radius: var(--btb-radius) !important;
  font-family: var(--btb-font-body) !important;
  color: var(--btb-text) !important;
}

.cky-title,
.cky-preference-title,
.cky-accordion-header .cky-accordion-btn {
  color: var(--btb-heading) !important;
  font-family: var(--btb-font-body) !important;
}

.cky-notice-des, .cky-preference-content-wrapper, .cky-accordion-header-des {
  color: var(--btb-text) !important;
}

/* LOS TRES BOTONES, EXACTAMENTE IGUALES. No es una preferencia estetica.
 *
 * Aqui NO se aplica la jerarquia de CTA de la landing (decision 11): esto no
 * es un CTA, es una eleccion. Si "Aceptar" destaca sobre "Rechazar" —color
 * solido contra fantasma, o mas grande— el consentimiento deja de ser libre,
 * y tanto la AEPD como el EDPB lo senalan como practica no conforme.
 *
 * Estuvo mal un rato el 22/09/2026: aceptar salia en rojo solido y 2px mas
 * alto que los otros dos. Lo mide qa/cky-botones.js.
 *
 * Mismo fondo, mismo borde, mismo texto, misma altura. El unico que puede
 * distinguirse es el de guardar preferencias DENTRO del panel, que ya no
 * compite con nada.
 */
.cky-btn,
.cky-btn-accept,
.cky-btn-reject,
.cky-btn-customize,
.cky-btn-preferences {
  background: transparent !important;
  border: 1px solid var(--btb-heading) !important;
  color: var(--btb-heading) !important;
  border-radius: var(--btb-radius) !important;
  font-family: var(--btb-font-body) !important;
  font-weight: 600 !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 10px 18px !important;
  opacity: 1 !important;
  text-decoration: none !important;

  /* Y el MISMO ANCHO. Con solo igualar color y alto, CookieYes seguia dando
     a "Aceptar todo" 390px contra 184 del de personalizar: el doble de
     superficie es destacar igual que el color. */
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
}

/* El contenedor de los botones, en fila y repartiendo por igual. */
.cky-notice-btn-wrapper,
.cky-prefrence-btn-wrapper {
  display: flex !important;
  gap: var(--btb-s1) !important;
  align-items: stretch !important;
}

.cky-btn:hover,
.cky-btn-accept:hover,
.cky-btn-reject:hover,
.cky-btn-customize:hover,
.cky-btn-preferences:hover {
  border-color: var(--btb-accent) !important;
  color: var(--btb-accent) !important;
  background: transparent !important;
}

/* El interruptor de cada categoria, en el rojo de marca */
.cky-switch input[type="checkbox"]:checked {
  background: var(--btb-accent) !important;
  border-color: var(--btb-accent) !important;
}

/* El aspa de cerrar y los enlaces internos */
.cky-banner-btn-close img { filter: invert(1) !important; }
.cky-policy, .cky-show-desc-btn { color: var(--btb-heading) !important; }
