/* =============================================================================
   Comprar-TPV × Dojo — Sistema de diseño
   Estilo: Minimalismo / Swiss — limpio, espacioso, alto contraste, grid
   ========================================================================== */

:root {
  /* Paleta consolidada */
  --bg-primary: #ffffff;
  --text-main: #1a1a1a;
  --text-muted: #5c6470;
  --brand-dojo: #000000;
  --brand-glop: #2bba68;           /* verde exacto del logo Glop */
  --brand-glop-dark: #2bba68;
  --brand-glop-tint: #eaf7ee;
  --brand-ctpv-yellow: #fed700;    /* amarillo exacto del logo Comprar-TPV */
  --brand-ctpv-slate: #27323b;     /* gris pizarra del logo Comprar-TPV */
  --brand-comprar-tpv: #0056b3;
  --brand-comprar-tpv-tint: #eaf2fb;
  --accent-grey: #f8f9fa;
  --danger-aeat: #dc3545;
  --danger-aeat-dark: #b02a37;
  --danger-tint: #fdf0f1;
  --border: #e9ecef;

  /* Tipografía */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-lg: 1.25rem;     /* 20 */
  --fs-xl: 1.5rem;      /* 24 */
  --fs-2xl: 2rem;       /* 32 */
  --fs-3xl: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);

  /* Espaciado (escala 8pt) y forma */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 16px 40px -12px rgba(0, 0, 0, 0.15);

  /* Capas */
  --z-header: 100;
  --z-toast: 1000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; overflow-wrap: break-word; }

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}

a { color: var(--brand-glop-dark); }

:focus-visible {
  outline: 3px solid var(--brand-glop-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-glop); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: calc(var(--z-toast) + 1);
  background: var(--brand-dojo);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- Utilidades ----------------------------------------------------------- */
.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--grey { background: var(--accent-grey); }

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-6);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-glop-dark);
  margin-bottom: var(--space-2);
}
.eyebrow--green { color: var(--brand-glop-dark); }
.eyebrow--red { color: var(--danger-aeat-dark); }

.section-head h2 { font-size: var(--fs-2xl); }

.section-head .lead {
  margin-top: var(--space-2);
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Botones -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out), transform 0.15s var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn .btn-icon { flex: none; }

.btn-dojo {
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
}
.btn-dojo:hover { background: #eec900; }

.btn-glop {
  background: var(--brand-glop);
  color: #fff;
}
.btn-glop:hover { background: #239b56; }

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: #d4d9de;
}
.btn-outline:hover { border-color: var(--text-main); }

.btn-ghost-invert {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost-invert:hover { border-color: #fff; }

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn--block { width: 100%; }

/* --- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand .logo { width: auto; flex: none; }
.brand .logo-ctpv { height: 40px; }
.brand .logo-dojo { height: 30px; }
.brand .logo-glop { height: 34px; }
.brand .brand-ctpv { color: var(--brand-comprar-tpv); font-size: 1.25rem; }
.brand .brand-sep { color: #c3c9cf; font-weight: 400; }
.brand .brand-dojo { color: var(--brand-dojo); font-size: 1.35rem; }
.brand .brand-glop { color: var(--brand-glop-dark); font-size: 1rem; font-weight: 700; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 10px 2px;
  color: var(--text-main);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--brand-glop-dark); border-bottom-color: var(--brand-glop-dark); }

.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 18px;
  text-align: center;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(52rem 30rem at 85% -10%, var(--brand-comprar-tpv-tint), transparent 65%),
    radial-gradient(40rem 26rem at -10% 110%, var(--brand-glop-tint), transparent 60%),
    var(--bg-primary);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-3);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-glop);
}

.hero h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  max-width: 15ch;
}
.hero h1 .u-green { color: var(--brand-glop-dark); }
.hero h1 .u-blue { color: var(--brand-comprar-tpv); }

.hero .subtitle {
  margin-top: var(--space-3);
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 34rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks svg { color: var(--brand-glop-dark); flex: none; }

.hero-visual { position: relative; }
.hero-visual .terminal-svg {
  width: min(100%, 26rem);
  margin-inline: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.18));
}

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.float-chip .chip-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
}
.float-chip strong { display: block; font-size: var(--fs-sm); }
.chip-pay { top: 8%; right: 0; }
.chip-pay .chip-icon { background: var(--brand-glop-tint); color: var(--brand-glop-dark); }
.chip-conn { bottom: 10%; left: 0; }
.chip-conn .chip-icon { background: var(--brand-comprar-tpv-tint); color: var(--brand-comprar-tpv); }

/* --- Barra de confianza ------------------------------------------------------ */
.trustbar { border-block: 1px solid var(--border); background: var(--accent-grey); }
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-4);
  text-align: center;
}
.trust-item .num {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.trust-item .lbl {
  margin-top: 2px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Tarjetas de producto (Gama Dojo) ---------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-3);
  align-items: stretch;
}

.card-product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}
.card-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #dfe3e8;
}
.card-product.is-featured { border: 2px solid var(--brand-dojo); }

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.card-product .device {
  height: 190px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
  background: var(--accent-grey);
  border-radius: var(--radius-sm);
}
.card-product .device svg { height: 150px; width: auto; }
.card-product .device img { max-height: 170px; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }

.device-link { display: block; text-decoration: none; }
.card-product .title-link {
  color: inherit;
  text-decoration: none;
}
.card-product .title-link:hover { color: var(--brand-glop-dark); }
.card-product .more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-glop-dark);
  text-decoration: none;
}
.card-product .more-link:hover { text-decoration: underline; }

.card-product h3 { font-size: var(--fs-xl); }
.card-product .tagline {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.feature-list {
  list-style: none;
  margin: var(--space-3) 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--fs-sm);
}
.feature-list li { display: flex; align-items: flex-start; gap: 10px; }
.feature-list svg { color: var(--brand-glop-dark); flex: none; margin-top: 3px; }

.card-product .btn { margin-top: auto; }

/* --- Sección GlopDroid -------------------------------------------------------- */
.glop-section { background: var(--accent-grey); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.glop-visual .phone-svg {
  width: min(100%, 21rem);
  margin-inline: auto;
  filter: drop-shadow(0 20px 36px rgba(27, 122, 51, 0.22));
}

.step-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  counter-reset: step;
}
.step-list li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.step-list .step-num {
  counter-increment: step;
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-glop-dark);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
}
.step-list .step-num::before { content: counter(step); }
.step-list h3 { font-size: var(--fs-base); font-weight: 700; }
.step-list p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 2px; }

.savings-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-3);
  background: #fff;
  border-left: 4px solid var(--brand-glop);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-sm);
}
.savings-note svg { color: var(--brand-glop-dark); flex: none; }
.savings-note strong { color: var(--brand-glop-dark); }

/* --- Sección VeriFactu ---------------------------------------------------------- */
.verifactu-alert {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  background: var(--danger-tint);
  border: 1px solid #f5c6cb;
  border-radius: var(--radius);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}
.verifactu-alert .alert-icon {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--danger-aeat);
  color: #fff;
}

.status-legal {
  color: var(--danger-aeat-dark);
  font-weight: bold;
  border-left: 4px solid var(--danger-aeat);
  padding-left: 10px;
  font-size: var(--fs-lg);
  line-height: 1.3;
}
.verifactu-alert p {
  margin-top: var(--space-1);
  color: var(--text-main);
  font-size: var(--fs-sm);
  max-width: 60ch;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.compliance-card {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.compliance-card .ok-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-glop-tint);
  color: var(--brand-glop-dark);
}
.compliance-card h3 { font-size: var(--fs-base); }
.compliance-card p { margin-top: 4px; color: var(--text-muted); font-size: var(--fs-sm); }

/* --- Ventajas -------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.benefit {
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit .b-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
}
.benefit:nth-child(odd) .b-icon { background: var(--brand-comprar-tpv-tint); color: var(--brand-comprar-tpv); }
.benefit:nth-child(even) .b-icon { background: var(--brand-glop-tint); color: var(--brand-glop-dark); }
.benefit h3 { font-size: var(--fs-base); }
.benefit p { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-sm); }

/* --- App Dojo (descarga) ----------------------------------------------------------- */
.app-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-6);
  align-items: center;
  background: var(--accent-grey);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.app-copy .lead { margin-top: var(--space-2); color: var(--text-muted); font-size: var(--fs-lg); }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--space-3); }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 9px 16px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge svg { flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.85; }
.store-badge strong { font-size: 1.05rem; font-weight: 600; }

.app-visual { display: flex; justify-content: center; }
.app-visual svg { width: 100%; max-width: 200px; height: auto; filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.12)); }

@media (max-width: 780px) {
  .app-card { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-4); }
  .app-visual { order: -1; }
  .app-visual svg { max-width: 150px; }
}

/* --- Reseñas / carrusel ------------------------------------------------------------ */
.reviews-section { overflow: hidden; }

.tp-stars { display: block; height: 20px; width: auto; }
.tp-stars--lg { height: 24px; }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-2);
}
.reviews-summary p { color: var(--text-muted); font-size: var(--fs-sm); }
.reviews-summary strong { color: var(--text-main); font-weight: 700; }
.reviews-summary a { color: var(--brand-glop); font-weight: 600; text-decoration: none; }
.reviews-summary a:hover { text-decoration: underline; }

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  max-width: 1180px;
  margin: var(--space-6) auto 0;
  padding-inline: var(--space-2);
}

.reviews-track {
  list-style: none;
  margin: 0;
  padding: var(--space-1) 4px var(--space-2);
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 calc((100% - 2 * var(--space-3)) / 3);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.review-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.review-card blockquote {
  margin: 0;
  color: var(--text-main);
  font-size: var(--fs-base);
  line-height: 1.6;
  flex: 1;
}

.review-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--space-1);
  border-top: 1px solid var(--border);
}
.review-author { font-weight: 700; font-size: var(--fs-sm); }
.review-meta { font-size: var(--fs-xs); color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.review-meta::before {
  content: '';
  width: 13px; height: 13px;
  background: #00b67a;
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 15.09 8.26 22 9.27l-5 4.87 1.18 6.88L12 17.77 5.82 21l1.18-6.88-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2 15.09 8.26 22 9.27l-5 4.87 1.18 6.88L12 17.77 5.82 21l1.18-6.88-5-4.87 6.91-1.01z'/%3E%3C/svg%3E");
  flex: none;
}

.carousel-btn {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
}
.carousel-btn:hover { background: var(--brand-glop); color: #fff; border-color: var(--brand-glop); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn:disabled:hover { background: #fff; color: var(--text-main); border-color: var(--border); }

.reviews-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.reviews-dots { display: flex; gap: 7px; }
.reviews-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.reviews-dots button.is-active { background: var(--brand-glop); transform: scale(1.3); }
.reviews-link { color: var(--brand-glop); font-weight: 600; text-decoration: none; font-size: var(--fs-sm); }
.reviews-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .review-card { flex-basis: calc((100% - var(--space-3)) / 2); }
}
@media (max-width: 640px) {
  .review-card { flex-basis: 85%; }
  .carousel-btn { display: none; }
  .reviews-carousel { padding-inline: var(--space-2); }
  .reviews-track { scroll-padding-left: var(--space-2); }
}

/* --- FAQ --------------------------------------------------------------------------- */
.faq-list {
  max-width: 46rem;
  margin-inline: auto;
  display: grid;
  gap: var(--space-2);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease-out);
}
.faq-item[open] { box-shadow: var(--shadow); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover h3 { color: var(--brand-glop); }

.faq-item summary h3 {
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-item summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--text-muted);
  border-bottom: 2.5px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out);
  margin-right: 4px;
}
.faq-item[open] summary::after { transform: rotate(225deg); }

.faq-item > p {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
  max-width: 65ch;
}

.faq-body {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
  display: grid;
  gap: var(--space-1);
}
.faq-body ul {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.15rem;
  list-style: disc;
}
.faq-body strong { color: var(--text-main); font-weight: 600; }

.faq-cat {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-glop);
}
.faq-list .faq-cat:first-child { margin-top: 0; }

.faq-source {
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}

/* --- Contacto ---------------------------------------------------------------------- */
.contact-section { background: var(--accent-grey); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info-list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.contact-info-list li { display: flex; gap: var(--space-2); align-items: flex-start; }
.contact-info-list .ci-icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--brand-comprar-tpv);
}
.contact-info-list strong { display: block; font-size: var(--fs-sm); }
.contact-info-list a, .contact-info-list span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: none;
}
.contact-info-list a:hover { color: var(--brand-glop-dark); text-decoration: underline; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-2);
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.req { color: var(--danger-aeat); }

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 16px; /* evita el auto-zoom de iOS */
  color: var(--text-main);
  background: #fff;
  border: 1.5px solid #d4d9de;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: #aab2ba; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-glop-dark);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.18);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--danger-aeat);
}
.field-error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--danger-aeat-dark);
  font-weight: 500;
}
.form-field.has-error .field-error { display: block; }

.form-hint { font-size: var(--fs-xs); color: var(--text-muted); }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 1px;
  accent-color: var(--brand-glop-dark);
  flex: none;
}

/* Honeypot: fuera de pantalla, invisible para humanos, visible para bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: var(--space-2);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  display: none;
}
.form-status.is-error {
  display: block;
  background: var(--danger-tint);
  color: var(--danger-aeat-dark);
  border: 1px solid #f5c6cb;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(0, 0, 0, 0.15);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- CTA final / banda oscura -------------------------------------------------------- */
.cta-band {
  background: var(--brand-dojo);
  color: #fff;
  text-align: center;
}
.cta-band h2 { font-size: var(--fs-2xl); color: #fff; }
.cta-band p {
  margin: var(--space-2) auto 0;
  max-width: 38rem;
  color: #c9ced4;
  font-size: var(--fs-lg);
}
.cta-band .hero-actions { justify-content: center; }

/* --- Footer ----------------------------------------------------------------------------- */
.site-footer {
  background: #111316;
  color: #b6bcc4;
  padding-block: var(--space-8) var(--space-4);
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid #2a2e33;
}
.site-footer h3 {
  color: #fff;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #b6bcc4; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: var(--space-2); max-width: 30ch; line-height: 1.6; }

.footer-logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.footer-logo-link--glop { padding: 6px; }
.footer-logo-link:not(.footer-logo-link--static):hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); }
.footer-logo-link--static { cursor: default; }
.footer-logo { display: block; width: auto; }
.footer-logo-ctpv { height: 28px; }
.footer-logo-dojo { height: 22px; }
.footer-logo-glop { height: 30px; border-radius: 6px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  font-size: var(--fs-xs);
  color: #8a9098;
}

.footer-legal {
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: #767c84;
}
.footer-legal a { color: #a9b0b8; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }

/* --- Página de gracias --------------------------------------------------------------------- */
.success-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background:
    radial-gradient(46rem 28rem at 90% -10%, var(--brand-glop-tint), transparent 60%),
    radial-gradient(40rem 26rem at -5% 110%, var(--brand-comprar-tpv-tint), transparent 60%),
    var(--bg-primary);
}
.success-card {
  max-width: 34rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}
.success-card .ok-badge {
  width: 76px;
  height: 76px;
  margin: 0 auto var(--space-3);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-glop-tint);
  color: var(--brand-glop-dark);
}
.success-card h1 { font-size: var(--fs-2xl); }
.success-card p {
  margin-top: var(--space-2);
  color: var(--text-muted);
  line-height: 1.6;
}
.success-card .hero-actions { justify-content: center; margin-top: var(--space-4); }
.success-meta {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: grid;
  gap: 6px;
}
.success-meta a { font-weight: 600; }

/* --- Animaciones de entrada ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Responsive -------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: var(--space-2) clamp(1.25rem, 4vw, 2.5rem) var(--space-3);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 4px; font-size: var(--fs-base); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .glop-visual { order: -1; }
  .hero-visual { margin-top: var(--space-2); }
  .compliance-grid { grid-template-columns: 1fr; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .brand { white-space: nowrap; gap: 6px; }
  .brand .logo-ctpv { height: 27px; }
  .brand .logo-dojo { height: 23px; }
  .brand .logo-glop { height: 25px; }

  .product-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .verifactu-alert { flex-direction: column; }
  .float-chip { position: static; margin-top: var(--space-2); }
  .hero-actions .btn { width: 100%; }
}

/* =============================================================================
   Bloque nuevo: regalos, cookies, flotantes, formas de pago y páginas interiores
   ========================================================================== */

/* --- Sección regalo de bienvenida ------------------------------------------ */
.gift-section {
  background:
    radial-gradient(46rem 26rem at 110% -20%, rgba(254, 215, 0, 0.16), transparent 60%),
    radial-gradient(40rem 24rem at -15% 120%, var(--brand-glop-tint), transparent 65%),
    var(--bg-primary);
  overflow: hidden;
}

.gift-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: var(--space-6);
}

.gift-box-svg {
  width: min(100%, 17rem);
  margin-inline: auto;
  filter: drop-shadow(0 22px 34px rgba(39, 50, 59, 0.22));
}

@keyframes gift-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes gift-shine {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.gift-box-svg .gift-body { animation: gift-float 4.5s ease-in-out infinite; transform-origin: center; }
.gift-box-svg .gift-spark { animation: gift-shine 2.6s ease-in-out infinite; }

.gift-steps-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.gift-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.gift-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  min-height: 44px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--fs-sm);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              transform 0.2s var(--ease-out);
}
.gift-option:hover { border-color: var(--brand-glop); transform: translateY(-2px); box-shadow: var(--shadow); }
.gift-option[aria-pressed="true"] {
  border-color: var(--brand-glop);
  box-shadow: 0 0 0 3px var(--brand-glop-tint);
}
.gift-option .go-icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-glop-tint);
  color: var(--brand-glop-dark);
}
.gift-option strong { display: block; font-size: var(--fs-base); letter-spacing: -0.01em; }
.gift-option span.go-sub { color: var(--text-muted); }

.gift-result {
  margin-top: var(--space-3);
  border: 2px solid var(--brand-glop);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}
.gift-result[hidden] { display: none; }
.gift-result .gr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.gift-result h3 { font-size: var(--fs-xl); margin-bottom: 8px; }
.gift-result p { color: var(--text-muted); }
.gift-result .gr-conditions {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.gift-result .gr-actions { margin-top: var(--space-3); display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Aviso de cookies -------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: calc(var(--z-toast) + 2);
  max-width: 30rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.35);
  padding: 20px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: var(--fs-base); display: flex; align-items: center; gap: 8px; }
.cookie-banner p { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 8px; line-height: 1.55; }
.cookie-banner p a { color: var(--brand-glop-dark); }
.cookie-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; padding: 8px 18px; flex: 1 1 auto; }

/* --- Botones flotantes: WhatsApp y volver arriba ----------------------------- */
.float-wa,
.float-top {
  position: fixed;
  bottom: 18px;
  z-index: var(--z-toast);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
              opacity 0.25s var(--ease-out), visibility 0.25s;
}
.float-wa {
  right: 18px;
  background: #25d366;
  color: #fff;
}
.float-wa:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32); }

.float-top {
  left: 18px;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--brand-ctpv-slate);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}
.float-top.is-visible { opacity: 1; visibility: visible; }
.float-top:hover { transform: translateY(-3px); }

/* --- Formas de pago aceptadas ------------------------------------------------ */
.pay-methods { margin-top: var(--space-4); }
.pay-methods h3 { font-size: var(--fs-base); margin-bottom: var(--space-2); }
.pay-grid { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}
.pay-chip svg { color: var(--brand-glop-dark); flex: none; }

/* --- Migas de pan ------------------------------------------------------------- */
.crumbs {
  padding-block: var(--space-2);
  font-size: var(--fs-xs);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--text-muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #c3c9cf; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-glop-dark); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text-main); font-weight: 600; }

/* --- Página de producto (PDP) -------------------------------------------------- */
.pdp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.pdp-hero h1 { font-size: var(--fs-3xl); letter-spacing: -0.02em; }
.pdp-hero .subtitle { margin-top: var(--space-3); font-size: var(--fs-lg); color: var(--text-muted); line-height: 1.55; }
.pdp-photo {
  background: var(--accent-grey);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  place-items: center;
}
.pdp-photo img { max-height: 380px; width: auto; max-width: 100%; object-fit: contain; }
.pdp-photo--illus svg { width: auto; height: auto; max-height: 340px; max-width: 100%; }

.pdp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.pdp-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.pdp-feature .b-icon { margin-bottom: 12px; }
.pdp-feature h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.pdp-feature p { color: var(--text-muted); font-size: var(--fs-sm); }

.spec-list {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px var(--space-3);
}
.spec-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  padding: 12px 14px;
  background: var(--accent-grey);
  border-radius: var(--radius-sm);
}
.spec-list svg { color: var(--brand-glop-dark); flex: none; margin-top: 2px; }
.spec-list strong { display: block; }
.spec-list span { color: var(--text-muted); }

.pdp-glop {
  background: var(--brand-glop-tint);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.pdp-glop h2 { font-size: var(--fs-xl); }
.pdp-glop p { margin-top: 10px; color: var(--text-main); }

/* --- Página guía GlopDroid ------------------------------------------------------ */
.guide-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff8e1;
  border: 1px solid #f3dd8a;
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
}
.guide-callout svg { color: #b8860b; flex: none; margin-top: 2px; }

.perm-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); }
.perm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-glop-tint);
  color: var(--brand-glop-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.guide-steps { counter-reset: gstep; list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.guide-steps > li {
  counter-increment: gstep;
  position: relative;
  padding: var(--space-3) var(--space-3) var(--space-3) 68px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.guide-steps > li::before {
  content: counter(gstep);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-glop);
  color: #fff;
  font-weight: 800;
}
.guide-steps h3 { font-size: var(--fs-base); margin-bottom: 6px; }
.guide-steps p { color: var(--text-muted); font-size: var(--fs-sm); }
.guide-steps code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  background: var(--accent-grey);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* --- Responsive del bloque nuevo -------------------------------------------------- */
@media (max-width: 1024px) {
  .pdp-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .gift-intro { grid-template-columns: 1fr; }
  .gift-box-svg { width: min(60%, 13rem); }
  .gift-options { grid-template-columns: 1fr; }
  .pdp-hero { grid-template-columns: 1fr; padding-block: var(--space-4); }
  .pdp-photo { order: -1; }
  .pdp-photo img { max-height: 260px; }
  .pdp-features { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .float-wa { right: 12px; bottom: 12px; }
  .float-top { left: 12px; bottom: 12px; }
  .cookie-banner { inset-inline: 10px; bottom: 10px; }
}

/* --- Enlaces de sección GlopDroid, subtítulo del wizard y confeti ----------- */
a.eyebrow-link { text-decoration: none; }
a.eyebrow-link:hover { text-decoration: underline; }
.glop-visual .glop-visual-link { display: block; }
.glop-visual .glop-visual-link:hover .phone-svg { transform: translateY(-4px); }
.glop-visual .phone-svg { transition: transform 0.25s var(--ease-out); }

.gift-sub {
  margin: -8px 0 var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.confetti-piece {
  position: fixed;
  z-index: calc(var(--z-toast) + 3);
  border-radius: 2px;
  pointer-events: none;
  will-change: transform, opacity;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* --- REGALO destacado, tooltip GlopDroid, nota de tarifas y vídeo ------------ */
.u-regalo {
  display: inline-block;
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
  padding: 0 12px;
  border-radius: 10px;
  line-height: 1.3;
}

.glop-visual-link { position: relative; }
.glop-visual-link::after {
  content: "Pulsa y descubre GlopDroid →";
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(8px);
  background: var(--brand-ctpv-slate);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
}
.glop-visual-link:hover::after,
.glop-visual-link:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.pay-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
}
.pay-note svg { color: var(--brand-glop-dark); flex: none; margin-top: 3px; }
.pay-note strong { color: var(--brand-glop-dark); }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 52rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  max-width: 52rem;
  margin: var(--space-2) auto 0;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.dojo-video {
  display: block;
  object-fit: cover;
  background: #000;
}

/* --- Diferencia clave frente al datáfono del banco (home) ------------------- */
.key-diff {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 62rem;
  margin: var(--space-6) auto 0;
  padding: 20px 24px;
  background: #eef8f1;
  border: 1px solid rgba(43, 186, 104, 0.35);
  border-left: 5px solid var(--brand-glop);
  border-radius: var(--radius-lg);
}
.key-diff__icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-glop);
  color: #fff;
}
.key-diff p {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.5;
}
.key-diff strong { color: var(--brand-glop-dark); }
.key-diff a {
  color: var(--brand-glop-dark);
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 560px) {
  .key-diff { flex-direction: column; text-align: center; }
}

/* --- Asesor de tarifas (/tarifas) ------------------------------------------- */
.tw-intro { padding-bottom: 0; }
.tw-intro .lead a { color: var(--brand-glop-dark); font-weight: 600; }

.tw-shell {
  max-width: 50rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 4vw, 40px);
}

.tw-progress { margin-bottom: var(--space-4); }
.tw-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  min-height: 34px;
}
.tw-step-label {
  margin-left: auto;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tw-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: 0;
  padding: 6px 10px;
  margin-left: -10px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 34px;
  transition: color 0.2s, background-color 0.2s;
}
.tw-back:hover { color: var(--brand-glop-dark); background: #eef8f1; }

.tw-bar {
  height: 8px;
  border-radius: 999px;
  background: #e8ecef;
  overflow: hidden;
}
.tw-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-glop), var(--brand-glop-dark));
  transition: width 0.35s var(--ease-out);
}
.tw-bar.is-done .tw-bar-fill { background: linear-gradient(90deg, var(--brand-glop), var(--brand-ctpv-yellow)); }

.tw-step[hidden] { display: none; }
.tw-step .gift-steps-label { outline: none; }

.tw-options { margin-top: var(--space-2); }
.tw-options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tw-rows {
  display: grid;
  gap: 10px;
  margin-top: var(--space-2);
}
.tw-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  font: inherit;
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  min-height: 52px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background-color 0.2s;
}
.tw-row:hover { border-color: var(--brand-glop); transform: translateY(-1px); box-shadow: var(--shadow); }
.tw-row:focus-visible { outline: 3px solid rgba(43, 186, 104, 0.4); outline-offset: 2px; }
.tw-row-dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c3c9cf;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tw-row[aria-pressed="true"] {
  border-color: var(--brand-glop-dark);
  background: #eef8f1;
}
.tw-row[aria-pressed="true"] .tw-row-dot {
  border-color: var(--brand-glop-dark);
  box-shadow: inset 0 0 0 5px var(--brand-glop-dark);
}
.tw-row-text strong { color: var(--text-main); }

.tw-ticket {
  margin-top: var(--space-3);
  padding: 16px;
  background: #f6f8f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.tw-ticket-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 8px;
}
.tw-ticket-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.tw-ticket-field {
  position: relative;
  flex: 1 1 180px;
}
.tw-ticket-field input {
  font: inherit;
  font-size: 16px;
  color: var(--text-main);
  background: #fff;
  border: 1.5px solid #d4d9de;
  border-radius: var(--radius-sm);
  padding: 12px 40px 12px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tw-ticket-field input:hover { border-color: #aab2ba; }
.tw-ticket-field input:focus {
  outline: none;
  border-color: var(--brand-glop-dark);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.18);
}
.tw-ticket-eur {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--text-muted);
}
.tw-error {
  margin-top: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--danger-aeat);
}

/* Resultado */
.tw-result[hidden] { display: none; }
.tw-result-title { font-size: var(--fs-xl); margin: 6px 0 14px; outline: none; }
.tw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
}
.tw-chips li {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-ctpv-slate);
  background: #f1f3f5;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
}

.tw-plan {
  border: 1.5px solid var(--brand-glop);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 28px);
  background: linear-gradient(180deg, #f2fbf5, #fff 38%);
}
.tw-plan[hidden] { display: none; }
.tw-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}
.tw-plan-head h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tw-price {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}
.tw-price span {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}
.tw-price--txt { font-size: clamp(1.5rem, 4vw, 2rem); }
.tw-badge {
  flex: none;
  align-self: flex-start;
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}
.tw-plan-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.tw-plan-cols h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 8px;
}
.tw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.tw-list li {
  position: relative;
  padding-left: 22px;
}
.tw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c3c9cf;
}
.tw-list--ok li::before {
  background: var(--brand-glop);
}
.tw-tip {
  margin-top: var(--space-3);
  padding: 12px 16px;
  background: #fffbe6;
  border: 1px solid #f0e0a0;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-main);
}

.tw-duo-intro { color: var(--text-muted); margin-bottom: var(--space-2); }
.tw-duo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.tw-duo-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #fff;
}
.tw-duo-card--star { border-color: var(--brand-glop); }
.tw-duo-card .card-badge {
  position: static;
  display: inline-block;
  transform: none;
  margin-bottom: 10px;
}
.card-badge--plain {
  background: #eef1f3;
  color: var(--brand-ctpv-slate);
}
.tw-duo-sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 2px 0 12px;
}
.tw-duo-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}
.tw-duo-card a { display: block; }
.tw-duo-card a:hover img { border-color: var(--brand-glop); }
.tw-duo-note {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.tw-terminal,
.tw-gift {
  margin-top: var(--space-3);
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}
.tw-terminal h3,
.tw-gift h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.tw-terminal p,
.tw-gift p { color: var(--text-muted); font-size: var(--fs-sm); }
.tw-terminal-any { margin-top: 10px; }
.tw-terminal-any a,
.tw-gift a { color: var(--brand-glop-dark); font-weight: 600; }
.tw-gift-body[hidden] { display: none; }
.tw-gift-body .gr-conditions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: var(--fs-xs);
}

.tw-counter {
  margin-top: var(--space-3);
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--brand-ctpv-slate);
  color: #fff;
}
.tw-counter[hidden] { display: none; }
.tw-counter h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: 8px; }
.tw-counter p { color: #c9d2da; font-size: var(--fs-sm); }
.tw-counter strong { color: var(--brand-ctpv-yellow); }
.tw-counter .gr-actions { margin-top: var(--space-2); display: flex; gap: 12px; flex-wrap: wrap; }
.tw-counter .btn-outline {
  border-color: #55636f;
  color: #fff;
}
.tw-counter .btn-outline:hover { border-color: var(--brand-ctpv-yellow); color: var(--brand-ctpv-yellow); }

.tw-final {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tw-restart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.2s;
}
.tw-restart:hover { color: var(--brand-glop-dark); }

@media (max-width: 640px) {
  .tw-options--2 { grid-template-columns: 1fr; }
  .tw-plan-head { flex-direction: column; }
  .tw-final .btn { width: 100%; justify-content: center; }
}

/* «regalo seguro» resaltado en amarillo CTPV y más grande */
.tw-gift-hl {
  display: inline-block;
  font-size: 1.5em;
  font-weight: 800;
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
  padding: 1px 10px;
  border-radius: 9px;
  line-height: 1.2;
  vertical-align: middle;
}

/* Ilustración de regalo (misma de la home) en el resultado */
.tw-gift { display: flex; align-items: center; gap: var(--space-3); }
.tw-gift-illus { flex: none; width: 108px; }
.tw-gift-illus .gift-box-svg { width: 100%; filter: drop-shadow(0 12px 20px rgba(39, 50, 59, 0.18)); }
.tw-gift-main { flex: 1 1 auto; min-width: 0; }
@media (max-width: 560px) {
  .tw-gift { flex-direction: column; text-align: center; }
  .tw-gift-illus { width: 92px; }
}

/* Paso opcional: captura de email */
.tw-optional { color: var(--text-muted); font-weight: 400; font-size: var(--fs-xs); }
.tw-email-fields { margin-top: var(--space-3); }
.tw-email-fields .form-grid { margin-bottom: var(--space-2); }
.tw-gate-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: var(--space-2);
}
.tw-gate-actions .tw-restart { padding: 10px 4px; }

/* Insignia de zoom sobre las imágenes de tarifa */
.tw-img-zoom { position: relative; display: block; cursor: zoom-in; }
.tw-zoom-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 32, 0.72);
  color: #fff;
  border-radius: 50%;
  pointer-events: none;
  transition: background-color 0.2s;
}
.tw-img-zoom:hover .tw-zoom-badge { background: var(--brand-glop-dark); }

/* Modales (popup) — <dialog> nativo */
.tw-modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: min(92vw, 640px);
  color: var(--text-main);
  overflow: visible;
}
.tw-modal::backdrop {
  background: rgba(15, 23, 32, 0.6);
  backdrop-filter: blur(3px);
}
.tw-modal-panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  max-height: 88vh;
  overflow-y: auto;
}
.tw-modal-lead { color: var(--text-muted); font-size: var(--fs-sm); margin: 6px 0 var(--space-3); }
.tw-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f3f5;
  color: var(--text-main);
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s;
}
.tw-modal-close:hover { background: #e4e8eb; }
.tw-modal[open] { animation: tw-modal-in 0.22s var(--ease-out); }
@keyframes tw-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.tw-modal--img { max-width: min(94vw, 1000px); }
.tw-modal-panel--img { padding: 12px; }
.tw-modal-panel--img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}
.tw-modal-cap {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 10px 6px 4px;
}
@media (prefers-reduced-motion: reduce) {
  .tw-modal[open] { animation: none; }
}

/* --- Regalo "Ya trabajo con Glop": elegir entre 2 regalos --------------------- */
.gr-choice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.gr-choice-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.5vw, 22px);
  background: #fff;
}
.gr-choice-card h4 {
  font-size: var(--fs-lg);
  margin: 10px 0 6px;
}
.gr-choice-card p { color: var(--text-muted); font-size: var(--fs-sm); }
.gr-choice-card .btn { margin-top: auto; align-self: flex-start; }
.gr-choice-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
}
.gr-choice-tag--glop { background: #e7f7ee; color: var(--brand-glop-dark); }
.gr-choice-tag--soporte { background: #fff5cc; color: #8a6d00; }

/* --- Sub-pregunta del wizard (kioscos de autoventa) -------------------------- */
.tw-subq {
  margin-top: var(--space-3);
  padding: clamp(16px, 3vw, 24px);
  border: 1.5px dashed var(--brand-glop);
  border-radius: var(--radius-lg);
  background: #f2fbf5;
}
.tw-subq[hidden] { display: none; }
.tw-subq-q {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 4px;
}

/* --- Condiciones de tarifa en HTML (sustituyen a las imágenes) --------------- */
.tw-rate { margin-top: 6px; }
.tw-rate-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-glop-dark);
  margin-bottom: 8px;
}
.tw-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.tw-rate-table th,
.tw-rate-table td {
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.tw-rate-table th { font-weight: 500; color: var(--text-muted); }
.tw-rate-table td {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tw-rate-table tr:last-child th,
.tw-rate-table tr:last-child td { border-bottom: 0; }
.tw-rate-alt {
  margin-top: 10px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}
.tw-rate-alt strong { color: var(--text-main); }
.tw-rate-foot {
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.45;
}
.tw-duo-foot {
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Nota de la tarifa plana (solo Dojo Go, no integrada) -------------------- */
.tw-flat-note {
  margin-top: var(--space-3);
  padding: clamp(16px, 3vw, 22px);
  border: 1.5px solid var(--brand-ctpv-yellow);
  border-radius: var(--radius-lg);
  background: #fffdf2;
}
.tw-flat-note[hidden] { display: none; }
.tw-flat-note p { color: var(--text-main); font-size: var(--fs-sm); margin-bottom: var(--space-2); }
.tw-flat-note a { color: var(--brand-glop-dark); font-weight: 600; }

/* ============================================================================
   LANDINGS DE OFERTA PARA CLIENTES GLOP (newsletter)
   ============================================================================ */
.site-header--focus .header-inner { justify-content: space-between; }

.of-hero {
  background: linear-gradient(180deg, #f2fbf5 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding-block: clamp(2.25rem, 6vw, 4rem);
}
.of-hero-inner { max-width: 760px; margin-inline: auto; }
.of-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e7f7ee;
  color: var(--brand-glop-dark);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
}
.of-greet {
  margin-top: var(--space-2);
  font-size: var(--fs-lg);
  color: var(--text-main);
}
.of-greet[hidden] { display: none; }
.of-title {
  margin-top: var(--space-2);
  font-size: clamp(1.85rem, 5.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.of-sub {
  margin-top: var(--space-2);
  margin-inline: auto;
  max-width: 60ch;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.6;
}

.of-countdown {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  margin-top: var(--space-3);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  background: var(--brand-ctpv-slate);
  color: #fff;
}
.of-countdown[hidden] { display: none; }
.of-cd-label { font-size: var(--fs-xs); font-weight: 600; color: #c9d2da; text-transform: uppercase; letter-spacing: 0.05em; }
.of-cd-clock { display: inline-flex; align-items: baseline; gap: 8px; }
.of-cd-unit { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.of-cd-unit b {
  font-size: 1.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--brand-ctpv-yellow);
}
.of-cd-unit span { font-size: 0.7rem; color: #c9d2da; margin-top: 3px; }
.of-cd-sep { font-size: 1.3rem; font-weight: 800; color: #55636f; align-self: center; }

.of-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: var(--space-3);
}
.of-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-main);
}
.of-trust svg { color: var(--brand-glop); flex: none; }

.of-section { padding-block: clamp(1.5rem, 4vw, 2.5rem); }
.of-wizard { max-width: 820px; margin-inline: auto; }
.of-block {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}
.of-block + .of-block { margin-top: var(--space-3); }
.of-block[hidden] { display: none; }
.of-step-num {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-glop-dark);
  margin-bottom: 6px;
}
.of-q { font-size: clamp(1.2rem, 3.2vw, 1.6rem); line-height: 1.2; }
.of-q-sub { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-sm); }

.of-gift-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: var(--space-3);
}
.of-gift { position: relative; padding-right: 92px; }
.of-gift[hidden] { display: none; }
.of-gift-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-glop);
  color: #fff;
  text-transform: uppercase;
}
.of-gift-tag--alt { background: var(--brand-ctpv-yellow); color: var(--brand-ctpv-slate); }
.of-gift-tag--host { background: var(--brand-ctpv-slate); color: #fff; text-transform: none; letter-spacing: 0; }

.of-result { margin-top: var(--space-3); }
.of-result[hidden] { display: none; }
.of-claim {
  border: 2px solid var(--brand-glop);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f2fbf5, #fff 42%);
  padding: clamp(1.2rem, 3.5vw, 2rem);
}
.of-claim[hidden] { display: none; }
.of-claim h2 { font-size: var(--fs-xl); margin-bottom: 6px; }
.of-claim-lead { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-3); }
.of-claim .gr-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.of-claim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-2);
}

.of-success {
  text-align: center;
  border: 2px solid var(--brand-glop);
  border-radius: var(--radius-lg);
  background: #f2fbf5;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.of-success[hidden] { display: none; }
.of-success-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-2);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-glop);
  color: #fff;
}
.of-success h2 { font-size: var(--fs-xl); margin-bottom: 6px; }
.of-success p { color: var(--text-muted); max-width: 52ch; margin-inline: auto; }
.of-success a { color: var(--brand-glop-dark); font-weight: 600; }

.of-fine {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}
.of-fine strong { color: var(--text-main); }

.footer-bottom--solo { justify-content: center; text-align: center; }
.footer-bottom--solo a { color: var(--brand-glop-dark); font-weight: 600; }

@media (max-width: 560px) {
  .of-gift { padding-right: 76px; }
  .of-cd-unit b { font-size: 1.35rem; }
}

/* --- Escasez (plazas limitadas) --------------------------------------------- */
.of-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-2);
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff5f2;
  border: 1px solid #ffd9cc;
  color: #b23c17;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.of-scarcity svg { flex: none; }
.of-scarcity strong { color: #93300f; }

/* --- Condición de acceso: datáfono integrado -------------------------------- */
.of-access-sec { padding-block: clamp(1.5rem, 4vw, 2.75rem); }
.of-access {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
}
.of-access-info h2 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); line-height: 1.15; margin: 4px 0 10px; }
.of-terminals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-2);
}
.of-terminals li { list-style: none; }
.of-terminals a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e7f7ee;
  color: var(--brand-glop-dark);
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  border: 1px solid transparent;
}
.of-terminals a:hover { border-color: var(--brand-glop); }
.of-rate-card {
  border: 2px solid var(--brand-glop);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f2fbf5, #fff 42%);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}
.of-rate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.of-rate-badge {
  display: inline-block;
  background: var(--brand-glop);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.of-rate-price { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; color: var(--text-main); }
.of-rate-price span { font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.of-rate-sub { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 10px; }
.of-access-foot {
  max-width: 980px;
  margin: var(--space-3) auto 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}
.of-access-foot strong { color: var(--text-main); }

/* --- Valor tachado en los regalos + "GRATIS" bien visible ------------------- */
.of-gift-value {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.of-gift-value s { color: #9aa2ab; text-decoration-thickness: 2px; }
.of-gift-tag {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  box-shadow: 0 2px 6px rgba(43, 186, 104, 0.28);
}
.of-gift-tag--alt { box-shadow: 0 2px 6px rgba(254, 215, 0, 0.35); }

@media (max-width: 720px) {
  .of-access { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* --- Disclaimer por volumen alto (asesor de tarifas) ------------------------ */
.tw-volume-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: var(--space-3);
  padding: clamp(16px, 3vw, 22px);
  border: 1.5px solid var(--brand-ctpv-yellow);
  border-radius: var(--radius-lg);
  background: #fffdf2;
}
.tw-volume-note[hidden] { display: none; }
.tw-volume-ico {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-ctpv-yellow);
  color: var(--brand-ctpv-slate);
}
.tw-volume-body h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.tw-volume-body p { color: var(--text-muted); font-size: var(--fs-sm); }
.tw-volume-note .gr-actions { margin-top: var(--space-2); display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Tabla comparativa Dojo / Banco / SumUp -------------------------------- */
.tw-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: var(--space-3); }
.tw-compare {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--fs-sm);
}
.tw-compare th, .tw-compare td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.tw-compare thead th {
  font-weight: 700;
  background: var(--accent-grey);
  border-bottom: 2px solid var(--border);
}
.tw-compare tbody th[scope="row"] { font-weight: 600; color: var(--text-main); }
.tw-compare td { color: var(--text-muted); }
.tw-compare .tw-compare-hl { background: #f2fbf5; color: var(--text-main); font-weight: 600; }
.tw-compare thead th.tw-compare-hl {
  background: var(--brand-glop);
  color: #fff;
  border-bottom-color: var(--brand-glop);
}
.tw-compare tbody tr:last-child th, .tw-compare tbody tr:last-child td { border-bottom: 0; }
.tw-compare-foot { margin-top: var(--space-2); font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }

/* --- Popup de información RGPD (consentimiento) ----------------------------- */
.privacy-modal {
  width: min(92vw, 640px);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}
.privacy-modal::backdrop { background: rgba(23, 32, 38, 0.55); }
.privacy-modal-panel { padding: clamp(1.25rem, 3vw, 2rem); position: relative; }
.privacy-modal h2 { font-size: var(--fs-xl); margin-bottom: 10px; padding-right: 32px; }
.privacy-modal h3 { font-size: var(--fs-base); margin: 14px 0 4px; }
.privacy-modal p, .privacy-modal li { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }
.privacy-modal ul { padding-left: 18px; margin-top: 4px; }
.privacy-modal a { color: var(--brand-glop-dark); font-weight: 600; }
.privacy-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%;
  background: #fff; color: var(--text-main); cursor: pointer;
}
.privacy-modal-close:hover { background: var(--accent-grey); }
.link-privacy { color: var(--brand-glop-dark); font-weight: 600; text-decoration: underline; background: none; border: none; padding: 0; font: inherit; cursor: pointer; }

.tw-compare-sub { display:block; font-weight:400; font-size:var(--fs-xs); color:var(--text-muted); }

/* --- Toast de regalo de bienvenida (aparece a los 30s) ---------------------- */
.gift-toast {
  position: fixed;
  left: 18px;
  right: auto;
  bottom: 88px;
  z-index: var(--z-toast);
  width: min(360px, calc(100vw - 36px));
  display: flex;
  gap: 14px;
  padding: 18px 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.gift-toast[hidden] { display: none; }
.gift-toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-ctpv-yellow), var(--brand-glop));
}
.gift-toast.is-in { animation: gift-toast-in 0.5s cubic-bezier(0.16, 0.84, 0.34, 1) both; }
.gift-toast.is-out { animation: gift-toast-out 0.3s ease-in both; }
@keyframes gift-toast-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes gift-toast-out {
  to { opacity: 0; transform: translateY(16px) scale(0.98); }
}

.gift-toast__badge {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--brand-ctpv-slate);
  background: linear-gradient(135deg, var(--brand-ctpv-yellow), #ffe66b);
  box-shadow: 0 6px 16px rgba(254, 215, 0, 0.45);
  position: relative;
}
.gift-toast__badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: gift-toast-pulse 2.4s ease-out infinite;
}
@keyframes gift-toast-pulse {
  0% { box-shadow: 0 0 0 0 rgba(254, 215, 0, 0.5); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(254, 215, 0, 0); }
}

.gift-toast__body { min-width: 0; }
.gift-toast__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-glop-dark);
}
.gift-toast__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-ctpv-slate);
  margin-top: 2px;
  line-height: 1.25;
}
.gift-toast__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}
.gift-toast__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 700;
  background: var(--brand-glop);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.gift-toast__cta svg { transition: transform 0.2s var(--ease-out); }
.gift-toast__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(43, 186, 104, 0.35); }
.gift-toast__cta:hover svg { transform: translateX(3px); }

.gift-toast__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.gift-toast__close:hover { background: #f0f2f4; color: var(--brand-ctpv-slate); }

@media (max-width: 520px) {
  .gift-toast { right: 12px; left: 12px; bottom: 74px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .gift-toast.is-in, .gift-toast.is-out { animation: none; }
  .gift-toast__badge::after { animation: none; }
}
