/* Bricolage Grotesque (variable: opsz, wdth, wght), servida desde la propia web para no
   bloquear el primer pintado esperando a Google Fonts (auditoria de rendimiento, 11-nov-2026). */
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/assets/fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   HazteVIP — capa del sistema de diseño común de Factory TPV («diseño C»)
   --------------------------------------------------------------------------
   Va DETRÁS de style.css y la redibuja en el lenguaje de factorytpv.es:
   Bricolage Grotesque grande y apretada, base gris claro con bloques de tinta,
   tarjetas planas con borde fino y botones de pastilla oscuros. El color de la
   marca es el REAL del logo de HazteVIP: fucsia #E8328B (con #D42678 donde va
   texto blanco encima o texto fucsia sobre blanco, por contraste AA) y el verde
   #279B6B de acento. Las mismas clases de siempre: el HTML no cambia.
   Plan y reglas: factorytpv-web/docs/plan-webs-saas.md.
   ========================================================================== */

:root {
  --papel: #ECEEF1;
  --tinta: #1A2233;
  --tinta-2: #4A5468;
  --raya: #CDD2DA;
  --vip: #E8328B;
  --vip-hondo: #D42678;
  --vip-suave: #FCE8F2;
  --vip-verde: #279B6B;

  --brand: var(--vip-hondo);
  --brand-2: var(--vip);
  --brand-soft: var(--vip-suave);
  --ink: var(--tinta);
  --text: var(--tinta-2);
  --muted: var(--tinta-2);
  --bg: var(--papel);
  --surface: #fff;
  --line: var(--raya);
  --accion: var(--tinta);
  --accion-oscuro: var(--vip-hondo);
  --sobre-accion: #fff;
  --exito: var(--vip-verde);
  --grad-marca: var(--vip-hondo);
  --grad-accion: var(--tinta);
  --radio-card: 20px;
  --radius: 14px;
  --radius-lg: 20px;
  --sombra-1: none;
  --sombra-2: none;
  --sombra-3: 0 30px 60px -30px rgba(26, 34, 51, .45);
  --glow-marca: none;
  --glow-accion: none;
  --glow-exito: none;
  --maxw: 1320px;
  --fuente-titulo: "Bricolage Grotesque", system-ui, sans-serif;
  --fuente: "Bricolage Grotesque", system-ui, sans-serif;
}

body { font-size: 17px; line-height: 1.55; font-optical-sizing: auto; }
::selection { background: var(--vip-hondo); color: #fff; }
:focus-visible { outline-color: var(--vip-hondo); }

.hv-saltar { position: absolute; left: -9999px; }
.hv-saltar:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ── Tipografía: grande, apretada y estrecha ─────────────────────────────── */
h1, h2, h3, h4 { font-weight: 760; letter-spacing: -.025em; font-variation-settings: "wdth" 85; }
h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .94; letter-spacing: -.04em; }
h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: .98; letter-spacing: -.035em; }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.lead { color: var(--tinta-2); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.42; max-width: 34em; }
strong, b { color: var(--tinta); }

/* Antetítulo: un cuadradito de color y texto normal, como en factorytpv.es */
.eyebrow, .tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--fuente); font-size: 15px; font-weight: 650;
  letter-spacing: 0; text-transform: none; color: var(--tinta);
}
.eyebrow::before, .tag::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--vip); flex: none; }
.txt-hl { color: var(--vip-hondo); background: none; padding: 0; }

/* ── Botones: pastillas oscuras ───────────────────────────────────────────── */
.btn { font-family: var(--fuente); font-weight: 650; font-size: 16.5px; padding: 14px 24px; border-width: 2px; text-transform: none; letter-spacing: 0; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-primary, .btn-primary.btn-lg { background: var(--tinta); color: #fff; border-color: var(--tinta); box-shadow: none; text-transform: none; letter-spacing: 0; font-size: inherit; }
.btn-primary:hover { background: var(--vip-hondo); border-color: var(--vip-hondo); color: #fff; box-shadow: none; transform: none; }
.btn-ghost, .btn-white { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.btn-ghost:hover, .btn-white:hover { background: var(--tinta); color: #fff; border-color: var(--tinta); transform: none; }

/* ── Cabecera ─────────────────────────────────────────────────────────────── */
.site-header { background: rgba(236, 238, 241, .92); border-bottom: 1px solid var(--raya); }
.site-header.scrolled { box-shadow: none; }
.marca-txt { font-family: var(--fuente); font-weight: 800; font-size: 25px; letter-spacing: -.03em; color: var(--tinta); font-variation-settings: "wdth" 85; }
.marca-txt .vip { color: var(--vip-hondo); }
.nav-links a { color: var(--tinta); font-weight: 550; font-size: 15.5px; }
.nav-links a:hover, .nav-links a.activo, .nav-links a[aria-current="page"] { color: var(--vip-hondo); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-entrar a { color: var(--tinta); font-weight: 650; }
.subnav { border-radius: 14px; border: 1px solid var(--raya); box-shadow: 0 24px 40px -24px rgba(26, 34, 51, .35); }

/* ── Héroes: sin foto ni velo; papel, tinta y el producto delante ─────────── */
.hero-foto, .pagehead { color: var(--tinta); background: var(--papel); }
.hero-foto .hero-bg, .pagehead .hero-bg { display: none; }
.hero-foto::after, .pagehead::after, .cta-band::after { display: none; }
.hero-foto h1, .pagehead h1 { color: var(--tinta); text-shadow: none; }
.hero-foto h1 .hl, .pagehead h1 .hl { color: var(--vip-hondo); text-shadow: none; }
.hero .eyebrow, .pagehead .eyebrow { color: var(--tinta); font-size: 15px; letter-spacing: 0; }
.hero-foto p.lead, .pagehead p { color: var(--tinta-2); text-shadow: none; }
.pagehead { text-align: left; padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--raya); }
.pagehead h1, .pagehead p { margin-inline: 0; }
.pagehead h1 { max-width: 15em; }
.pagehead .acciones { justify-content: flex-start; }
.hero-metrics { border-top-color: var(--raya); }
.hero-metrics .m strong { color: var(--tinta); text-shadow: none; letter-spacing: -.035em; font-variation-settings: "wdth" 85; }
.hero-metrics .m span { color: var(--tinta-2); text-shadow: none; }
.flota { border: 1px solid var(--raya); box-shadow: 0 20px 40px -24px rgba(26, 34, 51, .4); }

/* ── Cabeceras de sección: a la izquierda, como en la marca madre ─────────── */
.sec-head { justify-items: start; text-align: left; max-width: none; margin-inline: 0; grid-template-columns: minmax(0, 1fr); }
.sec-head p { color: var(--tinta-2); max-width: 40em; }

/* ── Fondos: planos. Gris papel, blanco y bloques de tinta ────────────────── */
.benefits, .adv { background: #fff; border-top: 1px solid var(--raya); }
.showcase { color: #fff; }
.showcase::before { background: var(--tinta); }
.showcase .eyebrow, .showcase .tag { color: #fff; }
.showcase p, .showcase li { color: #C4CBD8; }
.showcase .txt-hl { color: #FF8CC1; }
.cta-band { background: var(--tinta); color: #fff; text-align: left; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C4CBD8; }
.cta-band .btn-primary { background: #fff; color: var(--tinta); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--vip); border-color: var(--vip); color: #fff; }
.cta-band .btn-white, .cta-band .btn-ghost, .showcase .btn-white, .showcase .btn-ghost { color: #fff; border-color: #fff; }
.cta-band .btn-white:hover, .showcase .btn-white:hover { background: #fff; color: var(--tinta); }

/* ── Tarjetas: blancas, planas, borde fino ────────────────────────────────── */
.card, .benefit, .adv-item, .plan, .faq-item {
  background: #fff; border: 1px solid var(--raya); box-shadow: none; border-radius: var(--radio-card);
}
.card:hover, .benefit:hover, .adv-item:hover, .plan:hover { transform: none; box-shadow: none; border-color: var(--tinta); }
.card p, .benefit p, .card ul { color: var(--tinta-2); font-size: 15.5px; }
.card .ico, .benefit .big { background: var(--vip-suave); color: var(--vip-hondo); border-radius: 12px; }
.benefit:hover .big { transform: none; }
.showcase .card, .showcase .benefit { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.showcase .card p, .showcase .benefit p { color: #C4CBD8; }

/* Planes: el destacado, con el fucsia de la marca */
.plan-destacado { border: 2px solid var(--vip-hondo); }
.plan-etiqueta { background: var(--vip-hondo); color: #fff; }
.plan-precio { font-variation-settings: "wdth" 85; letter-spacing: -.035em; }
.conmutador { border: 1px solid var(--raya); background: #fff; }
.conmutador button.on { background: var(--tinta); color: #fff; }

/* Tablas y pastillas */
.cmp { border-color: var(--raya); }
.cmp thead th { background: var(--tinta); color: #fff; }
.pastilla { background: #fff; border: 1px solid var(--raya); color: var(--tinta); }
code { background: var(--vip-suave); color: var(--vip-hondo); }

/* ── Pie: bloque de tinta, como el de factorytpv.es ───────────────────────── */
.site-footer { background: var(--tinta); color: #C4CBD8; }
.footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-marca { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-footer h4, .site-footer h2 { font-family: var(--fuente); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.site-footer a { color: #C4CBD8; }
.site-footer a:hover { color: #fff; }
.marca--pie { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.marca--pie .marca-txt { color: #fff; }
.marca--pie .marca-txt .vip { color: #FF8CC1; }
.footer-marca .marca--pie img { height: 40px; width: 40px; filter: none; margin: 0; }
.footer-marca p { color: #9AA3B5; font-size: 15px; }
.hv-firma { margin-top: 10px; }
.hv-firma a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bajo { color: #9AA3B5; }

/* Restos del oro antiguo: lo que era «acción» pasa a tinta o al fucsia */
.hv-destaca { color: var(--vip-hondo); }
.showcase .hv-destaca, .cta-band .hv-destaca { color: #FF8CC1; }
.showcase strong { color: #fff; }
.card .ico.ico-oro { background: var(--vip-suave); color: var(--vip-hondo); }
.showcase .card .ico { color: #FF8CC1; }
.showcase .benefit .big { background: var(--vip); color: #fff; box-shadow: none; }
.cmp thead th.us { background: var(--vip-hondo); border-bottom-color: var(--vip-hondo); }
.cta-band::before { display: none; }
.cta-band { text-align: center; }
.faq-wrap { margin-left: 0; }


/* Formulario de contacto: trampa para robots y avisos */
.hv-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hv-form-ok { color: var(--vip-verde); font-weight: 600; }
.hv-form-error { color: #B42318; }

/* Encabezados con el nivel corregido (auditoria SEO, 11-nov-2026): un h4 que colgaba de un h2 pasa
   a h3 con class="h4", y un h3 que colgaba del h1 a h2 con class="h3". Conservan el aspecto de antes. */
h3.h4 { font-size: 16.5px; line-height: 1.14; letter-spacing: -.02em; }
.card h3.h4 { font-size: 16.5px; margin-bottom: 6px; }
.adv-item h3.h4 { font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.benefit h3.h4, .plan h3.h4 { font-size: 16.5px; }
h3.h4 + .btn { margin-top: 18px; }
h2.h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.card h2.h3, .benefit h2.h3 { font-size: 18px; margin-bottom: 8px; }
.plan h2.h3 { font-size: 20px; margin: 0; }
.showcase h3.h4, .showcase h2.h3 { color: #fff; }
