/* ============================================================
   PRODUCTEX — STYLES
   ============================================================ */

/* ─── RESET & BASE ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  color-scheme: dark;
  --accent: rgb(221 255 1 / var(--tw-text-opacity, 1));
  --accent-rgb: 221 255 1;
  --font-hero-display: "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-hero-serif: "DM Serif Display", Georgia, "Times New Roman", serif;

  --color-bg: #1a1a1a;
  --color-ink: #ffffff;
  --color-surface: #111111;
  --color-surface-mid: #161616;
  --color-surface-popover: #121212;
  --color-hero-minimal: var(--color-bg);
  --color-hero-strip: #0a0a0a;
  --color-footer-deep: #0a0a0a;
  --color-footer: #151515;
  --color-on-light: #000000;
  --color-nav-scrolled: rgba(26, 26, 26, 0.92);
  /* Mismo tono que --color-bg (#1a1a1a) para integrar con la página */
  --color-nav-hero: rgba(26, 26, 26, 0.94);
  --trusted-bg: #ebebeb;
  --trusted-text: #000000;
  --color-hero-text: #ffffff;
  --hero-btn-primary-bg: #ffffff;
  --hero-btn-primary-fg: #000000;
  --hero-btn-secondary-fg: #ffffff;
  --hero-btn-secondary-border: #ffffff;
  --shadow-card: 0 18px 45px rgba(18, 18, 30, 0.28);
  --step-active-bg: #0d0d0d;
  --step-active-number: #ffffff;
  --step-active-desc: rgba(255, 255, 255, 0.72);
  --wa-0p02: rgba(255, 255, 255, 0.02);
  --wa-0p05: rgba(255, 255, 255, 0.05);
  --wa-0p06: rgba(255, 255, 255, 0.06);
  --wa-0p07: rgba(255, 255, 255, 0.07);
  --wa-0p08: rgba(255, 255, 255, 0.08);
  --wa-0p1: rgba(255, 255, 255, 0.1);
  --wa-0p12: rgba(255, 255, 255, 0.12);
  --wa-0p14: rgba(255, 255, 255, 0.14);
  --wa-0p15: rgba(255, 255, 255, 0.15);
  --wa-0p18: rgba(255, 255, 255, 0.18);
  --wa-0p2: rgba(255, 255, 255, 0.2);
  --wa-0p24: rgba(255, 255, 255, 0.24);
  --wa-0p28: rgba(255, 255, 255, 0.28);
  --wa-0p3: rgba(255, 255, 255, 0.3);
  --wa-0p32: rgba(255, 255, 255, 0.32);
  --wa-0p35: rgba(255, 255, 255, 0.35);
  --wa-0p38: rgba(255, 255, 255, 0.38);
  --wa-0p4: rgba(255, 255, 255, 0.4);
  --wa-0p42: rgba(255, 255, 255, 0.42);
  --wa-0p45: rgba(255, 255, 255, 0.45);
  --wa-0p48: rgba(255, 255, 255, 0.48);
  --wa-0p5: rgba(255, 255, 255, 0.5);
  --wa-0p52: rgba(255, 255, 255, 0.52);
  --wa-0p55: rgba(255, 255, 255, 0.55);
  --wa-0p58: rgba(255, 255, 255, 0.58);
  --wa-0p6: rgba(255, 255, 255, 0.6);
  --wa-0p62: rgba(255, 255, 255, 0.62);
  --wa-0p65: rgba(255, 255, 255, 0.65);
  --wa-0p7: rgba(255, 255, 255, 0.7);
  --wa-0p72: rgba(255, 255, 255, 0.72);
  --wa-0p8: rgba(255, 255, 255, 0.8);
  --wa-0p85: rgba(255, 255, 255, 0.85);
  --wa-0p86: rgba(255, 255, 255, 0.86);
  --wa-0p88: rgba(255, 255, 255, 0.88);
  --wa-0p9: rgba(255, 255, 255, 0.9);
}

html.theme-light {
  color-scheme: light;
  --color-bg: #f5f5f4;
  --color-ink: #141414;
  --color-surface: #ffffff;
  --color-surface-mid: #fafaf9;
  --color-surface-popover: #ffffff;
  --color-hero-minimal: var(--color-bg);
  --color-hero-strip: #e0e0de;
  --color-footer-deep: #e8e8e6;
  --color-footer: #ebebeb;
  --color-on-light: #141414;
  --color-nav-scrolled: rgba(245, 245, 244, 0.94);
  --color-nav-hero: rgba(245, 245, 244, 0.98);
  --trusted-bg: #dddddb;
  --trusted-text: #141414;
  --color-hero-text: #141414;
  --hero-btn-primary-bg: #141414;
  --hero-btn-primary-fg: #ffffff;
  --hero-btn-secondary-fg: #141414;
  --hero-btn-secondary-border: #141414;
  --shadow-card: 0 18px 45px rgba(18, 18, 30, 0.08);
  --step-active-bg: #e4e4e2;
  --step-active-number: #141414;
  --step-active-desc: rgba(20, 20, 20, 0.72);
  --wa-0p02: rgba(0, 0, 0, 0.04);
  --wa-0p05: rgba(0, 0, 0, 0.07);
  --wa-0p06: rgba(0, 0, 0, 0.08);
  --wa-0p07: rgba(0, 0, 0, 0.10);
  --wa-0p08: rgba(0, 0, 0, 0.11);
  --wa-0p1: rgba(0, 0, 0, 0.13);
  --wa-0p12: rgba(0, 0, 0, 0.15);
  --wa-0p14: rgba(0, 0, 0, 0.17);
  --wa-0p15: rgba(0, 0, 0, 0.18);
  --wa-0p18: rgba(20, 20, 20, 0.18);
  --wa-0p2: rgba(20, 20, 20, 0.20);
  --wa-0p24: rgba(20, 20, 20, 0.24);
  --wa-0p28: rgba(20, 20, 20, 0.28);
  --wa-0p3: rgba(20, 20, 20, 0.30);
  --wa-0p32: rgba(20, 20, 20, 0.32);
  --wa-0p35: rgba(20, 20, 20, 0.35);
  --wa-0p38: rgba(20, 20, 20, 0.38);
  --wa-0p4: rgba(20, 20, 20, 0.40);
  --wa-0p42: rgba(20, 20, 20, 0.42);
  --wa-0p45: rgba(20, 20, 20, 0.45);
  --wa-0p48: rgba(20, 20, 20, 0.48);
  --wa-0p5: rgba(20, 20, 20, 0.50);
  --wa-0p52: rgba(20, 20, 20, 0.52);
  --wa-0p55: rgba(20, 20, 20, 0.55);
  --wa-0p58: rgba(20, 20, 20, 0.58);
  --wa-0p6: rgba(20, 20, 20, 0.60);
  --wa-0p62: rgba(20, 20, 20, 0.62);
  --wa-0p65: rgba(20, 20, 20, 0.65);
  --wa-0p7: rgba(20, 20, 20, 0.70);
  --wa-0p72: rgba(20, 20, 20, 0.72);
  --wa-0p8: rgba(20, 20, 20, 0.80);
  --wa-0p85: rgba(20, 20, 20, 0.85);
  --wa-0p86: rgba(20, 20, 20, 0.86);
  --wa-0p88: rgba(20, 20, 20, 0.88);
  --wa-0p9: rgba(20, 20, 20, 0.90);
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ─── CURSOR ANIMADO (activado con html.has-custom-cursor vía JS) ─── */
html.has-custom-cursor body,
html.has-custom-cursor body * {
  cursor: none !important;
}

html.has-custom-cursor body input,
html.has-custom-cursor body textarea,
html.has-custom-cursor body [contenteditable="true"] {
  cursor: text !important;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10050;
  opacity: 0;
  visibility: hidden;
}

.cursor-dot {
  transition: opacity 0.2s ease;
}

.cursor-ring {
  transition: opacity 0.2s ease, width 0.28s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.28s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.28s ease, background 0.28s ease;
}

html.has-custom-cursor .cursor-dot.is-visible,
html.has-custom-cursor .cursor-ring.is-visible {
  opacity: 1;
  visibility: visible;
}

.cursor-dot.is-hidden,
.cursor-ring.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgb(var(--accent-rgb) / 0.45);
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) translate(-50%, -50%)
    scale(var(--dot-scale, 1));
}

.cursor-ring {
  width: var(--ring-size, 40px);
  height: var(--ring-size, 40px);
  border-radius: 50%;
  border: 1px solid rgb(var(--accent-rgb) / 0.45);
  background: rgb(var(--accent-rgb) / 0.04);
  transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) translate(-50%, -50%)
    scale(var(--ring-scale, 1));
}

.cursor-ring.is-hover {
  --ring-size: 52px;
  border-color: rgb(var(--accent-rgb) / 0.75);
  background: rgb(var(--accent-rgb) / 0.1);
}

.cursor-dot.is-hover {
  --dot-scale: 1.2;
}

.cursor-dot.is-pressed,
.cursor-ring.is-pressed {
  --dot-scale: 0.85;
  --ring-scale: 0.88;
}

html.theme-light.has-custom-cursor .cursor-dot {
  background: #1a1a1a;
  box-shadow: 0 0 24px rgb(26 26 26 / 0.32);
}

html.theme-light.has-custom-cursor .cursor-ring {
  border-color: rgb(26 26 26 / 0.32);
  background: rgb(26 26 26 / 0.05);
}

html.theme-light.has-custom-cursor .cursor-ring.is-hover {
  border-color: rgb(26 26 26 / 0.58);
  background: rgb(26 26 26 / 0.1);
}

/* Cursor normal, blanco y más grande */
html,
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23ffffff' d='M8 6v32l9-9 6 12 4-2-6-12h12L8 6z'/%3E%3C/svg%3E") 4 4, auto;
}

/* Mantener cursor grande también cuando el UA quiere "pointer" */
a,
button,
[role="button"],
summary,
label,
select {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23ffffff' d='M8 6v32l9-9 6 12 4-2-6-12h12L8 6z'/%3E%3C/svg%3E") 4 4, pointer;
}

/* Asegurar cursor grande aunque otras reglas pongan pointer */
a:hover,
a:focus,
a:active,
button:hover,
button:focus,
button:active,
[role="button"]:hover,
[role="button"]:focus,
[role="button"]:active {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath fill='%23ffffff' d='M8 6v32l9-9 6 12 4-2-6-12h12L8 6z'/%3E%3C/svg%3E") 4 4, pointer;
}

em,
i {
  font-family: var(--font-hero-serif);
  font-style: italic;
  font-weight: 400;
}

/* Tipografías de acento */
.nav-brand,
.hero-brand,
.section-title,
.cta-title,
.footer-logo,
.plan-name,
.workshop-card-title,
.workshop-pricing-title,
.workshop-testimonial-name,
.blog-card-title,
.pricing-card .plan-price {
  font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── NAV ─────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* El padding horizontal vive en .nav-inner (igual que .container / footer) para alinear bordes. */
  padding: 0;
  height: 56px;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s;
}

#main-nav.scrolled {
  background: var(--color-nav-scrolled);
  backdrop-filter: blur(16px);
}

body:has(main .hero--minimal) #main-nav:not(.scrolled) {
  background: var(--color-nav-hero);
  backdrop-filter: blur(12px);
}

/* En blog/artículos, la navbar no debe ser transparente (evita texto “por detrás”) */
body:has(main #blog) #main-nav,
body:has(main .blog-article-grid) #main-nav {
  background: var(--color-nav-scrolled);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: 100%;
  max-width: 85em;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu-backdrop {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: auto;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: var(--wa-0p08);
}

.nav-hamburger-box {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.nav-hamburger-line {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease,
    top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-hamburger-line:nth-child(1) { top: 0; }
.nav-hamburger-line:nth-child(2) { top: 7px; }
.nav-hamburger-line:nth-child(3) { top: 14px; }

#main-nav.is-menu-open .nav-hamburger-line:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

#main-nav.is-menu-open .nav-hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#main-nav.is-menu-open .nav-hamburger-line:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Bloque derecho: enlaces + CTA (mismo layout que antes: links a la izq del bloque, botón a la der.) */
.nav-end {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mismo tratamiento tipográfico que .nav-links, en la fila toggle · enlace · CTA */
#main-nav .nav-action-link {
  color: var(--wa-0p7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

#main-nav .nav-action-link:hover {
  color: var(--accent);
}

/* Logo en barra: aparece al pasar el hero (rosa); el bloque .nav-end se corre a la derecha */
.nav-brand {
  flex-shrink: 0;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  margin-right: 0;
  padding: 0;
  transition:
    max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    margin 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#main-nav.nav-past-hero .nav-brand {
  max-width: 160px;
  opacity: 1;
  margin-right: 28px;
  pointer-events: auto;
}

#main-nav.nav-past-hero .nav-end {
  transform: translateX(12px);
}

/* En páginas sin hero (blog/artículos), el logo debe mostrarse siempre */
body:has(main #blog) #main-nav .nav-brand,
body:has(main .blog-article-grid) #main-nav .nav-brand {
  max-width: 160px;
  opacity: 1;
  margin-right: 28px;
  overflow: visible;
  pointer-events: auto;
}

body:has(main #blog) #main-nav .nav-end,
body:has(main .blog-article-grid) #main-nav .nav-end {
  transform: translateX(12px);
}

/* Artículos de blog (solo clase en <main>): nav reducida a logo + tema + cliente + cotizar */
body:has(main.blog-article-page) #main-nav #primary-navigation {
  display: none !important;
}

body:has(main.blog-article-page) #main-nav.is-menu-open #primary-navigation {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body:has(main.blog-article-page) #main-nav .nav-hamburger {
  display: none !important;
}

body:has(main.blog-article-page) #main-nav .nav-end {
  justify-content: flex-end;
  transform: none;
}

/* Home: en hero, ocultamos links de navegación hasta llegar a "Nosotros". */
body.page-home #main-nav #primary-navigation {
  /* Mantiene las acciones (toggle/ingreso/cotizar) siempre alineadas a la derecha,
     y evita el “salto/centrado” cuando los links aparecen/desaparecen. */
  margin-right: auto;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

body.page-home #main-nav:not(.nav-show-links) #primary-navigation {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.page-home #main-nav.nav-show-links #primary-navigation {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* En home, evitamos cambiar el layout del flex: solo animamos el UL. */
body.page-home #main-nav .nav-end {
  justify-content: flex-end;
}

body.page-home #main-nav:not(.nav-show-links).is-menu-open #primary-navigation {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--wa-0p7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.btn-nav {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--wa-0p5);
  border-radius: 100px;
  padding: 8px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-nav:hover {
  border-color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.08);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--wa-0p5);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: rgb(var(--accent-rgb) / 0.1);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

html.theme-light .nav-brand-logo {
  filter: brightness(0);
}

html.theme-light .footer-hg-logo {
  filter: brightness(0);
}

.theme-icon-moon {
  display: none;
}

html.theme-light .theme-icon-sun {
  display: none;
}

html.theme-light .theme-icon-moon {
  display: block;
}

html.theme-light #main-nav .btn-nav {
  border-color: rgba(20, 20, 20, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

html.theme-light #main-nav .btn-nav:hover {
  border-color: #141414;
  background: #141414;
  color: #fff;
}

html.theme-light .theme-toggle {
  border-color: rgba(20, 20, 20, 0.22);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--color-ink);
}

html.theme-light .theme-toggle svg {
  color: inherit;
}

html.theme-light .theme-toggle:hover {
  border-color: #141414;
  background: #f0f0ee;
  color: #141414;
}

/* btn-nav en heroes oscuros (p. ej. workshop): texto claro sobre fondo oscuro */
html.theme-light .hero .btn-nav {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  box-shadow: none;
}

html.theme-light .hero .btn-nav:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0a0a;
}

html.theme-light .step.step--active {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ─── HERO ─────────────────────────────── */
.hero {
  background: var(--color-bg);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-dark {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 96px 48px 0;
  padding-bottom: 0;
}

.hero-info {
  position: absolute;
  top: 160px;
  right: 62px;
  left: auto;
  max-width: min(420px, calc(100% - 110px));
  text-align: left;
}

.hero-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--wa-0p85);
  margin: 0 0 20px;
}

.hero-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
}

.hero-brand {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-ink);
  margin-bottom: -2px;
  padding-bottom: 0;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.nav-brand-logo {
  height: 16px;
  width: auto;
  display: block;
}

.hero-brand-logo {
  width: auto;
  height: 7rem;
  display: block;
  object-fit: contain;
  max-width: 100%;
}

/* ─── HERO CAROUSEL ─────────────────────────────── */
.hero-carousel {
  flex-shrink: 0;
  background: var(--color-bg);
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-carousel-track {
  display: flex;
  gap: 6px;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: marqueeScrollLeft 35s linear infinite;
}

.hero-carousel-item {
  flex-shrink: 0;
  width: 18vw;
  min-width: 160px;
  height: 42vh;
  min-height: 260px;
  background: #d8a4ee;
  overflow: hidden;
}

.hero-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── HERO PORTADA (index — mismo fondo que la página) ─────────────────── */
.hero.hero--minimal {
  background: var(--color-hero-minimal);
}

.hero.hero--minimal .hero-banner {
  flex: 1 1 0;
  min-height: 0;
  /* Mismo gutter horizontal que la navbar (.nav-inner). */
  padding-left: 24px;
  padding-right: 24px;
}

/* Home: forzamos el mismo gutter exacto que la navbar */
body.page-home .hero.hero--minimal .hero-banner {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.hero-banner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  max-width: 85em;
  margin: 0 auto;
  text-align: left;
  padding: 110px clamp(24px, 5vw, 72px) clamp(28px, 4vh, 48px);
  box-sizing: border-box;
}

/* Misma línea vertical que los enlaces del nav (sin padding extra del contenedor 85em) */
.hero.hero--minimal .hero-banner {
  padding-top: 110px;
  padding-bottom: clamp(28px, 4vh, 48px);
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 85em) {
  .hero.hero--minimal .hero-banner {
    padding-left: 48px;
    padding-right: 48px;
  }
}

.hero.hero--minimal .hero-carousel {
  background: var(--color-hero-minimal);
}

.hero.hero--minimal .hero-carousel-track {
  gap: 0;
}

.hero.hero--minimal .hero-carousel-item {
  width: 20vw;
  min-width: 180px;
  height: 36vh;
  min-height: 220px;
  max-height: 420px;
  background: var(--color-footer-deep);
}

.hero-banner-logo {
  margin: 0 0 clamp(28px, 4vh, 48px);
  line-height: 0;
}

.hero-banner-logo-img {
  display: block;
  width: auto;
  height: clamp(1.6rem, 4.1vw, 2.75rem);
  max-width: min(100%, 300px);
  object-fit: contain;
  object-position: left center;
}

.hero.hero--minimal .hero-banner-logo {
  margin-bottom: clamp(24px, 3.5vh, 40px);
}

html.theme-light .hero.hero--minimal .hero-banner-logo-img {
  filter: brightness(0);
}

.hero-banner-title {
  font-family: var(--font-hero-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--color-ink);
  margin: 0 0 clamp(36px, 5vh, 52px);
  max-width: 17em;
}

.hero-banner-title em {
  letter-spacing: -0.01em;
}

.hero-banner-line {
  display: block;
}

.hero-banner-line + .hero-banner-line {
  margin-top: -0.2em;
}

#hero-rotate-root {
  overflow: visible;
  padding-bottom: 0.08em;
}

.hero-banner-content {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  width: 100%;
}

.hero-banner-left {
  flex: 1;
}

.hero-banner-right {
  width: 260px;
  flex-shrink: 0;
  padding-bottom: 16px;
}

.hero-banner-right .hero-desc {
  line-height: 1.5;
}

.hero-banner-right .hero-desc + .hero-desc {
  margin-top: 12px;
}

@media (min-width: 768px) {
  .hero-banner-content {
    gap: 72px;
  }

  .hero-banner-right {
    width: min(380px, 36vw);
    padding-bottom: 20px;
  }

  .hero-banner-right .hero-desc {
    line-height: 1.5;
  }

  .hero-banner-right .hero-banner-trust {
    margin-top: 18px;
  }
}

.hero-banner-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.hero-btn--primary {
  background: var(--hero-btn-primary-bg);
  color: var(--hero-btn-primary-fg);
  border-color: var(--hero-btn-primary-bg);
}

.hero-btn--primary:hover {
  opacity: 0.92;
}

.hero-btn--secondary {
  background: transparent;
  color: var(--hero-btn-secondary-fg);
  border-color: var(--hero-btn-secondary-border);
}

.hero-btn--secondary:hover {
  background: var(--wa-0p08);
}

/* Loop infinito: mitad exacta en px vía --marquee-px (setea JS) */
@keyframes marqueeScrollLeft {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-1 * var(--marquee-px, 1px)), 0, 0); }
}

/* ─── CONFÍAN EN NOSOTROS ─────────────────────────────── */
.trusted-section {
  background: var(--trusted-bg);
  padding: 48px 0;
  overflow: hidden;
}

.trusted-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 48px;
}

.trusted-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-on-light);
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

.trusted-slider {
  flex: 1;
  overflow: hidden;
}

.trusted-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  direction: ltr;
  will-change: transform;
  backface-visibility: hidden;
  /* reverse: el loop sigue siendo seamless con clones al final */
  animation: marqueeScrollLeft 22s linear infinite reverse;
}

.trusted-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 44px;
  flex-shrink: 0;
}

.trusted-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
}

/* Si el logo viene dinámico (sin clase de ancho), mantenemos un tamaño consistente */
.trusted-track .trusted-logo {
  width: 170px;
}

.trusted-logo--shaka { width: 172px; }
.trusted-logo--jordan { width: 172px; }
.trusted-logo--luis-miguel { width: 198px; }
.trusted-logo--muta { width: 164px; }
.trusted-logo--luzu { width: 182px; }

/* ─── BUTTONS ─────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: 100px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ─── LAYOUT ─────────────────────────────── */
section { padding: 96px 0; }

.container {
  max-width: 85em;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  font-weight: 400;
  color: var(--wa-0p55);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.section-label::before {
  content: '';
  width: 0.5em;
  height: 0.5em;
  background: rgb(var(--accent-rgb) / 0.9);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}

.section-title em {
  color: var(--wa-0p55);
  letter-spacing: -0.02em;
}

/* Subtítulo inmediatamente debajo del título de sección */
.section-title + .about-intro {
  margin-top: 0;
}

/* ─── ABOUT ─────────────────────────────── */
.about-intro {
  font-size: 22px;
  font-weight: 300;
  color: var(--wa-0p55);
  max-width: 580px;
  margin-bottom: 64px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p07);
  border-radius: 20px;
  overflow: hidden;
}

.about-card-visual {
  height: 220px;
  background: var(--color-surface-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.about-card-visual:has(.about-card-img) {
  padding: 0;
}

.about-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-card-body { padding: 24px; }

.about-card-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}

.about-card-text {
  font-size: 14px;
  color: var(--wa-0p5);
  line-height: 1.65;
}

/* ─── MOCKUPS ─────────────────────────────── */
.mock-window {
  background: var(--wa-0p05);
  border: 1px solid var(--wa-0p1);
  border-radius: 14px;
  padding: 16px;
  width: 100%;
  font-size: 11px;
  position: relative;
  z-index: 1;
}

.mock-header {
  color: var(--wa-0p4);
  font-size: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-0p05);
  border: 1px solid var(--wa-0p07);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--wa-0p6);
  margin-bottom: 6px;
  font-size: 11px;
}

.mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wa-0p3);
  flex-shrink: 0;
}

.mock-text-block {
  color: var(--wa-0p45);
  font-size: 10px;
  line-height: 1.7;
  margin-top: 8px;
}

/* ─── USE CASES / TABS ─────────────────────────────── */
.tabs-bar {
  display: flex;
  border-bottom: 1px solid var(--wa-0p1);
  gap: 0;
  margin-bottom: 0;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--wa-0p4);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 0;
  margin-right: 32px;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover { color: var(--wa-0p8); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 48px;
}

.tab-visual {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: relative;
}

.tab-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tab-category {
  font-size: 13px;
  color: var(--wa-0p4);
}

.tab-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.tab-desc {
  font-size: 15px;
  color: var(--wa-0p55);
  line-height: 1.65;
}

/* ─── CHAT UI MOCKUP ─────────────────────────────── */
.chat-ui {
  width: 100%;
  font-size: 11px;
  position: relative;
  z-index: 1;
}

.chat-input {
  background: var(--wa-0p06);
  border: 1px solid var(--wa-0p1);
  border-radius: 12px;
  padding: 14px 16px 12px;
}

.chat-placeholder {
  color: var(--wa-0p3);
  margin-bottom: 20px;
}

.chat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-tools {
  display: flex;
  gap: 6px;
  align-items: center;
}

.chat-tool-btn {
  width: 26px;
  height: 26px;
  background: var(--wa-0p07);
  border-radius: 6px;
}

.chat-lib {
  background: var(--wa-0p07);
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--wa-0p5);
  font-size: 10px;
}

.chat-send-btn {
  background: var(--wa-0p9);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 10px;
  color: var(--color-on-light);
  font-weight: 500;
}

/* ─── HOW IT WORKS ─────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.how-visual {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface-mid);
  position: relative;
  padding: 0;
}

.how-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: none;
  pointer-events: none;
}

.how-visual-img.how-visual-img--visible {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.step {
  display: flex;
  gap: 18px;
  padding: 14px 18px 14px 20px;
  margin-left: -4px;
  border-radius: 0 14px 14px 0;
  border-left: 2px solid var(--wa-0p1);
  background: transparent;
  transition: none;
  cursor: pointer;
}

.step.step--active {
  border-left-color: rgb(var(--accent-rgb) / 0.85);
  background: var(--step-active-bg);
  box-shadow: none;
}

.step.step--active .step-number {
  color: var(--step-active-number);
}

.step.step--active .step-desc {
  color: var(--step-active-desc);
}

.step-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--wa-0p65);
  margin-top: 2px;
  transition: none;
}

.step.step--active .step-icon {
  color: rgb(var(--accent-rgb) / 0.95);
}

.step-number {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--wa-0p5);
  line-height: 1.65;
}

/* ─── BENEFITS ─────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p07);
  border-radius: 20px;
  padding: 28px 28px 32px;
}

.benefit-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--wa-0p6);
}

.benefit-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.benefit-text {
  font-size: 14px;
  color: var(--wa-0p5);
  line-height: 1.65;
}

/* ─── TESTIMONIALS ─────────────────────────────── */
.testimonials-marquee {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  max-height: 740px;
  overflow: hidden;
  isolation: isolate;
}

.testimonials-marquee::before,
.testimonials-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 5;
}

.testimonials-marquee::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 100%);
}

.testimonials-marquee::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
}

.testimonials-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 340px;
  will-change: transform;
}

.scroll-fast { --scroll-speed: 24; }
.scroll-medium { --scroll-speed: 19; }
.scroll-slow { --scroll-speed: 21; }
.desktop-only { display: none; }
.wide-only { display: none; }

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p07);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--wa-0p88);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.testimonial-person img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--wa-0p1);
}

.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.testimonial-role {
  font-size: 12px;
  color: var(--wa-0p55);
}

@media (min-width: 768px) {
  .desktop-only { display: flex; }
}

@media (min-width: 1100px) {
  .wide-only { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials-column { transform: none !important; }
}

/* ─── PRODUCTEXAPP® (showcase capturas + features) ─────────────────────────────── */
.app-showcase-section {
  position: relative;
}

.app-showcase-section .about-intro {
  max-width: 42em;
}

.app-showcase-stack {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

.app-showcase-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.app-showcase-panel--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
}

.app-showcase-panel--reverse .app-showcase-panel__intro {
  order: 2;
}

.app-showcase-panel--reverse .app-showcase-panel__shot {
  order: 1;
}

.app-showcase-panel__intro {
  min-width: 0;
}

.app-showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wa-0p48);
  margin-bottom: 14px;
}

.app-showcase-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--accent-rgb) / 0.95);
  flex-shrink: 0;
}

.app-showcase-panel__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--color-ink);
}

.app-showcase-panel__lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--wa-0p62);
  max-width: 36em;
}

.app-showcase-panel__lead strong {
  color: var(--wa-0p86);
  font-weight: 500;
}

.app-showcase-panel__shot {
  margin: 0;
  min-width: 0;
}

.app-showcase-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--wa-0p12);
  background: #e6e6e4;
  box-shadow: var(--shadow-card);
}

html.theme-light .app-showcase-frame {
  background: #ededeb;
  border-color: var(--wa-0p12);
}

.app-showcase-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.app-showcase-frame__bar span:first-child,
.app-showcase-frame__bar span:nth-child(2),
.app-showcase-frame__bar span:nth-child(3) {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.app-showcase-frame__bar-label {
  margin-left: 6px;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.42);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.app-showcase-features {
  margin-top: clamp(48px, 8vw, 88px);
  padding: clamp(28px, 4vw, 40px) clamp(22px, 3vw, 36px);
  border-radius: 20px;
  border: 1px solid var(--wa-0p08);
  background: var(--color-surface);
}

.app-showcase-features__heading {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.028em;
  margin-bottom: 28px;
  color: var(--color-ink);
}

.app-showcase-features__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
  margin-bottom: 32px;
}

.app-showcase-features__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.58;
  color: var(--wa-0p72);
}

.app-showcase-features__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgb(var(--accent-rgb) / 0.55);
}

.app-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.app-showcase-actions .btn-primary {
  text-decoration: none;
}

.app-showcase-actions__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--wa-0p24);
  background: transparent;
  color: var(--wa-0p88);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.app-showcase-actions__ghost:hover {
  background: var(--wa-0p06);
  border-color: var(--wa-0p4);
  color: var(--color-ink);
}

/* ─── WORKSHOPS (mobile-first) ─────────────────────────────── */
.workshop-hero-ctas {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.workshop-grid-2 {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.workshop-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 22px;
}

.workshop-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.workshop-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workshop-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--wa-0p72);
}

.workshop-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--wa-0p45);
}

.workshop-urgency {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.workshop-urgency-chip {
  flex-shrink: 0;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wa-0p08);
  border: 1px solid var(--wa-0p12);
  color: var(--wa-0p72);
}

.workshop-urgency-text {
  font-size: 13px;
  color: var(--wa-0p6);
  line-height: 1.6;
}

.workshop-video-wrap {
  width: 100%;
}

.workshop-video {
  background: #0d0d0d;
  border: 1px solid var(--wa-0p1);
  border-radius: 18px;
  padding: 18px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.workshop-video-badge {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wa-0p65);
}

.workshop-video-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.workshop-video-sub {
  font-size: 13px;
  color: var(--wa-0p58);
  line-height: 1.7;
}

.workshop-video-play {
  margin-top: 6px;
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid var(--wa-0p2);
  background: var(--wa-0p06);
  color: var(--wa-0p86);
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
}

.workshop-includes-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.workshop-include {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 18px;
}

.workshop-include-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.workshop-include-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--wa-0p6);
}

.workshop-milestones {
  margin-top: 26px;
}

.workshop-section-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.workshop-milestones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.workshop-milestone {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 18px;
}

.workshop-milestone-step {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wa-0p38);
  margin-bottom: 8px;
}

.workshop-milestone-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.workshop-milestone-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--wa-0p6);
}

.workshop-pricing-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.workshop-pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 22px;
}

.workshop-pricing-card--secondary {
  background: #0f0f0f;
  border-color: var(--wa-0p06);
}

.workshop-pricing-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wa-0p35);
  margin-bottom: 10px;
}

.workshop-pricing-title {
  font-size: 20px;
  font-weight: 650;
  margin-bottom: 10px;
}

.workshop-pricing-price {
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.workshop-pricing-currency {
  font-size: 14px;
  font-weight: 500;
  margin-right: 8px;
  color: var(--wa-0p7);
  letter-spacing: 0.02em;
}

.workshop-pricing-price--secondary {
  font-size: 42px;
}

.workshop-pricing-sub {
  font-size: 13px;
  color: var(--wa-0p6);
  line-height: 1.7;
  margin-bottom: 14px;
}

.workshop-pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.workshop-pricing-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--wa-0p7);
  line-height: 1.6;
}

.workshop-pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.85);
}

.workshop-pricing-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.workshop-pricing-note {
  font-size: 12px;
  color: var(--wa-0p42);
  line-height: 1.5;
}

.workshop-pricing-cta-secondary {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}

.workshop-bottom-cta {
  margin-top: 30px;
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workshop-bottom-cta-text {
  font-size: 16px;
  font-weight: 600;
}

@media (min-width: 860px) {
  .workshop-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }

  .workshop-includes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workshop-milestones-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workshop-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ─── WORKSHOPS (conversion + elementos nuevos) ─────────────────────────────── */
.workshop-accent { color: var(--accent); }

.workshop-accent-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 10px;
  transform: translateY(-1px);
}

.workshop-bullets-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.workshop-obj-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 18px;
}

.workshop-obj-title {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.workshop-obj-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--wa-0p62);
}

.workshop-session-map {
  margin-top: 22px;
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 18px;
}

.workshop-session-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.workshop-session-card {
  background: var(--wa-0p02);
  border: 1px solid var(--wa-0p06);
  border-radius: 16px;
  padding: 14px;
}

.workshop-session-chip {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wa-0p35);
  margin-bottom: 8px;
}

.workshop-session-title {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 6px;
}

.workshop-session-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--wa-0p62);
}

.workshop-session-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--wa-0p45);
  line-height: 1.6;
}

.workshop-testimonials-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.workshop-testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 18px;
  padding: 18px;
}

.workshop-testimonial-quote {
  font-size: 14px;
  line-height: 1.75;
  color: var(--wa-0p72);
  margin-bottom: 14px;
}

.workshop-testimonial-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.workshop-testimonial-name {
  font-size: 14px;
  font-weight: 650;
}

.workshop-testimonial-city {
  font-size: 12px;
  color: var(--wa-0p5);
}

/* Pricing nuevo (valores en ARS) */
.workshop-pricing-value { margin-bottom: 10px; }

.workshop-pricing-real {
  font-size: 13px;
  color: var(--wa-0p62);
  margin-bottom: 6px;
}

.workshop-pricing-real s {
  color: var(--wa-0p35);
  text-decoration-thickness: 2px;
}

.workshop-pricing-hoy {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--accent);
}

.workshop-pricing-guarantee { display: none; }

.workshop-guarantee {
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgb(var(--accent-rgb) / 0.25);
  background: rgb(var(--accent-rgb) / 0.06);
}

.workshop-guarantee-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--accent-rgb) / 0.92);
  margin-bottom: 6px;
  font-weight: 700;
}

.workshop-guarantee-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--wa-0p62);
}

/* Sticky CTA mobile */
.workshop-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: rgba(10, 10, 10, 0.96);
  border-top: 1px solid var(--wa-0p08);
  padding: 12px 16px;
  display: none;
}

.workshop-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.workshop-sticky-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.workshop-sticky-label {
  font-size: 11px;
  color: var(--wa-0p5);
}

.workshop-sticky-amount {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.workshop-sticky-sub {
  font-size: 11px;
  color: var(--wa-0p55);
}

.workshop-sticky-btn {
  flex-shrink: 0;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 640px) {
  .workshop-sticky-cta {
    display: block;
  }
  /* evitar que el contenido quede tapado por CTA */
  main { padding-bottom: 84px; }
}

@media (min-width: 860px) {
  .workshop-bullets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshop-session-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workshop-testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ─── PRICING ─────────────────────────────── */
.price-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 14px;
  color: var(--wa-0p65);
}

.toggle-track {
  position: relative;
  width: 46px;
  height: 26px;
  background: var(--wa-0p15);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s;
}

.toggle-track.active { background: var(--wa-0p28); }

.toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.toggle-track.active .toggle-thumb { transform: translateX(20px); }

.price-badge {
  background: var(--wa-0p1);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--wa-0p6);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p07);
  border-radius: 20px;
  padding: 32px;
}

.pricing-card.featured { border-color: var(--wa-0p18); }

.pricing-card.featured:hover {
  border-color: var(--wa-0p4);
}

.plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.plan-name {
  font-size: 17px;
  font-weight: 500;
}

.plan-tag {
  background: var(--wa-0p1);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--wa-0p7);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.price-amount {
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-amount.custom { font-size: 36px; }

.price-period {
  font-size: 14px;
  color: var(--wa-0p45);
}

.plan-desc {
  font-size: 14px;
  color: var(--wa-0p5);
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-plan {
  display: block;
  width: 100%;
  border-radius: 100px;
  padding: 13px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
  margin-bottom: 28px;
}

.btn-plan.outline {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--wa-0p2);
}

.btn-plan.outline:hover {
  background: var(--wa-0p06);
  border-color: var(--wa-0p45);
}

.btn-plan.filled {
  background: var(--hero-btn-primary-bg);
  color: var(--hero-btn-primary-fg);
  border: none;
}

.btn-plan.filled:hover {
  opacity: 0.88;
}

.plan-divider {
  border: none;
  border-top: 1px solid var(--wa-0p08);
  margin-bottom: 20px;
}

.plan-features-label {
  font-size: 11px;
  color: var(--wa-0p3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.plan-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--wa-0p65);
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── FAQ ─────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--wa-0p08);
}

.faq-item {
  border-bottom: 1px solid var(--wa-0p08);
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--color-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-btn:hover {
  color: var(--accent);
}

.faq-plus {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--wa-0p45);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding-bottom: 22px;
  font-size: 14px;
  color: var(--wa-0p55);
  line-height: 1.75;
}

/* ─── BLOG ─────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ─── BLOG ARTICLE (legibilidad + layout) ─────────────────── */
.blog-article-page > section {
  padding-top: 35px;
}

.blog-article-title {
  margin-bottom: 10px !important;
  font-size: clamp(26px, 3.2vw, 42px) !important;
}

.blog-article-lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--wa-0p55);
  max-width: min(68ch, 100%);
  margin: 0 0 28px;
  font-weight: 400;
  letter-spacing: 0;
}

.blog-article-page .blog-article-meta {
  margin: 0 0 14px;
}

.blog-article-cover {
  width: 100%;
  border-radius: 18px;
  margin: 0 0 22px;
  display: block;
}

.blog-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 32px;
  align-items: start;
}

.blog-article-content {
  max-width: none;
  min-width: 0;
}

.blog-article-end-cta {
  margin-top: 40px;
  padding: 22px 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--wa-0p08);
  background: linear-gradient(145deg, var(--wa-0p04), var(--wa-0p02));
}

.blog-article-end-cta__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-ink);
}

.blog-article-end-cta__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--wa-0p55);
  max-width: 60ch;
}

.blog-article-end-cta__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.blog-article-end-cta__secondary {
  padding: 10px 18px;
  font-size: 13px;
}

.blog-article-prose {
  color: var(--wa-0p65);
  font-size: 16px;
  line-height: 1.85;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 16px;
  color: var(--wa-0p55);
  font-size: 13px;
}

.blog-article-meta a {
  color: inherit;
  text-decoration: none;
}

.blog-article-meta a:hover {
  color: var(--color-ink);
}

.blog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--wa-0p55);
  font-size: 12px;
  margin-bottom: 10px;
}

.blog-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.blog-breadcrumbs a:hover {
  color: var(--color-ink);
}

.blog-toc {
  background: var(--wa-0p04);
  border: 1px solid var(--wa-0p08);
  border-radius: 16px;
  padding: 14px 14px;
  margin: 0 0 18px;
}

.blog-toc-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wa-0p55);
  margin: 0 0 10px;
}

.blog-toc a {
  display: block;
  color: var(--wa-0p75);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 10px;
}

.blog-toc a:hover {
  background: var(--wa-0p06);
  color: var(--color-ink);
}

.blog-article-prose h2 {
  margin: 24px 0 10px;
  color: var(--color-ink);
  font-size: 18px;
  line-height: 1.35;
}

.blog-article-prose h3 {
  margin: 18px 0 8px;
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.35;
}

.blog-article-prose p {
  margin: 0 0 14px;
}

.blog-article-prose ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.blog-article-prose li {
  margin: 6px 0;
}

.blog-article-prose a {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--wa-0p24);
}

.blog-article-prose a:hover {
  text-decoration-color: var(--wa-0p55);
}

.blog-article-prose blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--wa-0p24);
  background: var(--wa-0p04);
  border-radius: 14px;
  color: var(--wa-0p75);
}

.blog-article-prose code {
  background: var(--wa-0p06);
  border: 1px solid var(--wa-0p08);
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 0.95em;
}

.blog-article-prose pre {
  background: var(--wa-0p06);
  border: 1px solid var(--wa-0p08);
  border-radius: 14px;
  padding: 12px 14px;
  overflow: auto;
}

.blog-article-prose pre code {
  border: none;
  padding: 0;
  background: transparent;
}

.blog-article-sidebar {
  position: sticky;
  top: 88px;
}

.blog-article-cta {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p08);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  /* ~3× altura habitual del bloque (título + lead + botón) en columna lateral */
  min-height: 540px;
}

.blog-article-cta .cta-title {
  font-size: 18px;
  line-height: 1.2;
  /* Sobre .cta-title global (banner) que fuerza #fff; en light el fondo del card es claro */
  color: var(--color-ink);
}

.blog-article-cta .cta-sub {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--wa-0p55);
  line-height: 1.6;
}

.blog-article-cta .btn-primary {
  margin-top: 14px;
  align-self: flex-start;
  flex-shrink: 0;
}

.blog-article-cta__btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-article-cta-wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .blog-article-grid {
    grid-template-columns: 1fr;
  }
  .blog-article-sidebar {
    position: static;
  }

  .blog-article-cta {
    min-height: 0;
  }
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--wa-0p07);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--wa-0p14);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card-tag {
  font-size: 11px;
  color: var(--wa-0p4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-ink);
}

.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--wa-0p55);
  margin: 0;
}

.blog-card-link {
  font-size: 13px;
  color: var(--wa-0p45);
  margin-top: auto;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-link {
  color: var(--color-ink);
}

/* ─── POPUP COTIZAR ─────────────────────────────── */
body.quote-modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}

.quote-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: min(78vh, 640px);
  overflow-y: auto;
  background: var(--color-surface-popover);
  border: 1px solid var(--wa-0p1);
  border-radius: 20px;
  padding: 24px 28px 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  -webkit-overflow-scrolling: touch;
}

.quote-modal-title {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 500;
  margin: 0 40px 8px 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-ink);
}

.quote-modal-lead {
  font-size: 14px;
  color: var(--wa-0p5);
  margin: 0 0 18px;
  line-height: 1.45;
}

.quote-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: var(--wa-0p08);
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.quote-modal-close:hover {
  background: var(--wa-0p14);
}

.quote-form {
  max-width: none;
  margin-top: 0;
  position: relative;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

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

.quote-field--full {
  grid-column: 1 / -1;
}

.quote-label {
  font-size: 13px;
  color: var(--wa-0p55);
}

.quote-optional {
  font-weight: 400;
  color: var(--wa-0p38);
}

.quote-field input,
.quote-field textarea,
.quote-field select {
  background: var(--wa-0p06);
  border: 1px solid var(--wa-0p12);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--color-ink);
  font-family: inherit;
  transition: border-color 0.2s;
}

.quote-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='0.45' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

html.theme-light .quote-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-opacity='0.5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.quote-field select option {
  background: var(--color-bg);
  color: var(--color-ink);
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: var(--wa-0p28);
}

.quote-field input:focus,
.quote-field textarea:focus,
.quote-field select:focus {
  outline: none;
  border-color: var(--wa-0p35);
}

.quote-field textarea {
  resize: vertical;
  min-height: 64px;
}

.quote-form-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.quote-btn-submit {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.btn-quote-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 22px;
  border-radius: 100px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-quote-wa:hover {
  opacity: 0.92;
  color: #fff;
  transform: translateY(-1px);
}

.btn-quote-wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.quote-form-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--wa-0p38);
  line-height: 1.45;
  text-align: center;
}

.quote-form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float::after {
  content: "Estamos en linea";
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--color-on-light);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgb(var(--accent-rgb) / 0.45);
  color: #fff;
}

.whatsapp-float:hover::after {
  opacity: 1;
}

.whatsapp-float-icon {
  width: 32px;
  height: 32px;
}

/* ─── TOAST (sitio) ─────────────────────────────── */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10001;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 16, 18, 0.92);
  color: #fff;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  max-width: min(560px, calc(100% - 32px));
  text-align: center;
}

.site-toast.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.site-toast--success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(6, 78, 59, 0.92);
}

html.theme-light .site-toast {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.16);
}

html.theme-light .site-toast--success {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
  color: #0a0a0a;
}

/* ─── CTA BANNER ─────────────────────────────── */
.cta-wrap {
  padding: 0 24px 96px;
}

.cta-banner {
  max-width: 85em;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  padding: 88px 72px;
  background:
    radial-gradient(900px 520px at 20% 30%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 60%),
    radial-gradient(700px 420px at 80% 70%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 62%),
    linear-gradient(135deg, rgba(26, 26, 26, 0.92), rgba(10, 10, 10, 0.92)),
    radial-gradient(1200px 520px at 50% 100%, rgba(var(--accent-rgb), 0.20), rgba(var(--accent-rgb), 0) 70%);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
  color: #fff;
}

.cta-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  color: #fff;
}

.cta-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ─── FOOTER ─────────────────────────────── */
footer {
  background: var(--color-footer-deep);
  padding: 72px 0 calc(48px + env(safe-area-inset-bottom, 0px));
}

/* ─── FOOTER (estilo HG Design) ─────────────────────────────── */
.footer-hg {
  background: var(--color-footer);
  border-top: 1px solid var(--wa-0p12);
  padding: 0;
  overflow: visible;
}

.footer-hg-wrap {
  max-width: 85em;
  margin: 0 auto;
  /* Aire inferior: evita que el contenido roce el borde (barra Home, FAB WhatsApp). */
  padding: 0 24px calc(52px + env(safe-area-inset-bottom, 0px));
  position: relative;
}

.footer-hg-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: var(--wa-0p6);
  padding: 20px 0;
  border-bottom: 1px solid var(--wa-0p1);
  position: relative;
  z-index: 2;
}

.footer-hg-copy {
  white-space: nowrap;
}

.footer-hg-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
}

.footer-hg-policy-links a {
  color: var(--wa-0p6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-hg-policy-links a:hover {
  color: var(--accent);
}

.footer-hg-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 28px 0 8px;
  position: relative;
  z-index: 2;
}

.footer-hg-location {
  font-size: 12px;
  line-height: 1.7;
  color: var(--wa-0p6);
  text-align: left;
}

.footer-hg-logo {
  height: 16px;
  width: auto;
  display: block;
  opacity: 1;
}

.footer-hg-location-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  color: var(--wa-0p85);
  white-space: nowrap;
}

.footer-hg-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.footer-hg-contact-link {
  color: var(--wa-0p6);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.6;
}

.footer-hg-contact-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-hg-location-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-hg-watermark {
  display: none;
}

@media (max-width: 860px) {
  .nav-inner,
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero.hero--minimal .hero-banner {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-home .hero.hero--minimal .hero-banner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .footer-hg-wrap {
    padding: 0 20px calc(48px + env(safe-area-inset-bottom, 0px));
  }

  .footer-hg-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-hg-policy-links {
    gap: 16px;
  }

  .footer-hg-mid {
    flex-direction: column;
    gap: 16px;
  }

  .footer-hg-location {
    text-align: left;
  }

  .footer-hg-watermark {
    font-size: clamp(60px, 14vw, 140px);
  }
}

.footer-grid {
  max-width: 85em;
  margin: 0 auto;
  padding: 0 24px 56px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  border-bottom: 1px solid var(--wa-0p07);
}

.footer-brand { max-width: 300px; }

.footer-logo {
  display: inline-block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-decoration: none;
  margin-bottom: 14px;
  line-height: 1;
}

.footer-location-img {
  width: 100%;
  max-width: 120px;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--wa-0p14);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--wa-0p4);
  line-height: 1.65;
  margin-bottom: 24px;
}

.social-row { display: flex; gap: 10px; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--wa-0p14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wa-0p55);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.social-btn:hover {
  border-color: var(--wa-0p4);
  color: var(--color-ink);
}

.footer-nav-title {
  font-size: 11px;
  color: var(--wa-0p3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  color: var(--wa-0p55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-nav-list a:hover {
  color: var(--accent);
}

.footer-nav-list li {
  color: var(--wa-0p55);
  font-size: 14px;
}

.footer-bottom {
  max-width: 85em;
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 13px;
  color: var(--wa-0p2);
  text-align: center;
}

/* ─── SCROLL REVEAL ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s cubic-bezier(0.12, 0.23, 0.17, 0.99),
    transform 0.8s cubic-bezier(0.12, 0.23, 0.17, 0.99);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .how-visual-img {
    transition: none;
  }
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .app-showcase-features__list { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 860px) {
  .tab-panel.active { grid-template-columns: 1fr; gap: 32px; }
  .tab-visual { display: none; }
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .app-showcase-panel,
  .app-showcase-panel--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .app-showcase-panel--reverse .app-showcase-panel__intro {
    order: 0;
  }
  .app-showcase-panel--reverse .app-showcase-panel__shot {
    order: 0;
  }
  .cta-banner { padding: 56px 36px; }
  .footer-grid { flex-direction: column; gap: 40px; }
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .app-showcase-features {
    padding: 22px 18px;
  }
  /* Logo en barra visible desde el inicio (no solo tras el hero como en desktop) */
  #main-nav .nav-brand {
    max-width: 140px;
    opacity: 1;
    margin-right: 10px;
    pointer-events: auto;
    overflow: visible;
  }

  #main-nav.nav-past-hero .nav-end {
    transform: none;
  }

  .nav-inner {
    position: relative;
    z-index: 2;
  }

  /* Menú móvil: overlay a pantalla completa + panel inferior full-bleed */
  #main-nav.is-menu-open {
    background: var(--color-nav-scrolled);
    backdrop-filter: blur(20px) saturate(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
  }

  .nav-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.48s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0.48s;
  }

  html.theme-light .nav-menu-backdrop {
    background: rgba(0, 0, 0, 0.38);
  }

  #main-nav.is-menu-open .nav-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-hamburger {
    display: inline-flex;
    z-index: 3;
  }

  .nav-end {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
    z-index: 3;
  }

  .nav-links {
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - 56px);
    min-height: calc(100dvh - 56px);
    max-height: none;
    margin: 0;
    padding: 24px 28px max(32px, env(safe-area-inset-bottom, 0px));
    list-style: none;
    background: var(--color-surface-popover);
    border: none;
    border-top: 1px solid var(--wa-0p08);
    box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.18);
    transform: translate3d(0, 100%, 0);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.58s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.58s;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #main-nav.is-menu-open .nav-links {
    display: flex !important;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition:
      opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
  }

  #main-nav.is-menu-open .nav-links li {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  #main-nav.is-menu-open .nav-links li:nth-child(1) { transition-delay: 0.05s; }
  #main-nav.is-menu-open .nav-links li:nth-child(2) { transition-delay: 0.09s; }
  #main-nav.is-menu-open .nav-links li:nth-child(3) { transition-delay: 0.13s; }
  #main-nav.is-menu-open .nav-links li:nth-child(4) { transition-delay: 0.17s; }
  #main-nav.is-menu-open .nav-links li:nth-child(5) { transition-delay: 0.21s; }
  #main-nav.is-menu-open .nav-links li:nth-child(6) { transition-delay: 0.25s; }
  #main-nav.is-menu-open .nav-links li:nth-child(7) { transition-delay: 0.29s; }

  #main-nav .nav-action-link {
    font-size: 13px;
  }

  .nav-links a {
    display: block;
    padding: 16px 18px;
    font-size: clamp(18px, 4.8vw, 22px);
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 14px;
    color: var(--color-ink);
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
  }

  #main-nav.is-menu-open .nav-links a:active {
    transform: scale(0.985);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: var(--wa-0p08);
    color: var(--accent);
  }
  .hero-dark {
    padding: 80px 20px 0;
    padding-bottom: 0;
  }
  .hero-info {
    top: 128px;
    right: 32px;
    max-width: min(340px, calc(100% - 52px));
    text-align: left;
  }
  .hero-brand {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }
  .hero-banner {
    padding: 96px 20px 56px;
  }
  .hero.hero--minimal .hero-banner {
    padding: 96px 20px 40px;
  }
  .hero-banner-title {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
    max-width: none;
  }
  .hero-btn {
    flex: 1 1 auto;
    min-width: min(100%, 200px);
    justify-content: center;
    padding: 13px 22px;
    font-size: 13px;
  }
  .hero-banner-ctas {
    width: 100%;
  }
  .hero-carousel-item {
    width: 40vw;
    min-width: 140px;
    height: 35vh;
    min-height: 200px;
  }
  .hero.hero--minimal .hero-carousel-item {
    width: 40vw;
    min-width: 130px;
    height: 32vh;
    min-height: 180px;
    max-height: 300px;
  }
  .trusted-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 20px;
  }
  .quote-form-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 767px) {
  .hero-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-banner-left {
    display: contents;
  }

  .hero-banner-right {
    width: 100%;
    padding-bottom: 0;
    order: 2;
  }

  .hero-banner-left h1 {
    order: 1;
    width: 100%;
  }

  .hero-banner-left .hero-banner-ctas {
    order: 3;
  }

  .hero-banner-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-btn {
    width: auto;
    flex: 0 1 auto;
  }

  .hero-banner-right p:first-child {
    display: none;
  }

  .hero-banner-title {
    font-size: clamp(32px, 8vw, 48px);
  }

  #hero-rotate-root {
    display: block;
    margin-top: 4px;
  }

  .hero-banner-right {
    margin-top: -32px;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .nav-menu-backdrop,
  .nav-links,
  .nav-links li {
    transition-duration: 0.01ms !important;
  }

  #main-nav.is-menu-open .nav-links li:nth-child(n) {
    transition-delay: 0s !important;
  }
}

/* ─── HOME (index): titulares de sección mismo tamaño; oscuro → blanco ─── */
body.page-home .section-title,
body.page-home .hero-banner-title,
body.page-home .cta-banner .cta-title {
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 300;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
}

body.page-home .hero-banner-title {
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

body.page-home .cta-banner .cta-title {
  margin-bottom: 16px;
}

/* Nosotros (#about): intro principal = tamaño de título de sección; oscuro → blanco */
body.page-home #about .about-intro {
  font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 300;
  line-height: 1.15 !important;
  letter-spacing: -0.035em !important;
  max-width: min(42rem, 100%);
}

html:not(.theme-light) body.page-home #about .about-intro {
  color: #fff;
}

html:not(.theme-light) body.page-home #about .about-intro em {
  color: rgba(255, 255, 255, 0.78);
}

html.theme-light body.page-home #about .about-intro {
  color: var(--color-ink);
}

html.theme-light body.page-home #about .about-intro em {
  color: var(--wa-0p55);
}

html:not(.theme-light) body.page-home .section-title,
html:not(.theme-light) body.page-home .hero-banner-title {
  color: #fff;
}

html:not(.theme-light) body.page-home .section-title em,
html:not(.theme-light) body.page-home .hero-banner-title em {
  color: rgba(255, 255, 255, 0.78);
}

html.theme-light body.page-home .section-title,
html.theme-light body.page-home .hero-banner-title {
  color: var(--color-ink);
}

html.theme-light body.page-home .section-title em,
html.theme-light body.page-home .hero-banner-title em {
  color: var(--wa-0p55);
}

/* Banner CTA: siempre texto claro sobre bloque oscuro */
html.theme-light body.page-home .cta-banner .cta-title,
body.page-home .cta-banner .cta-title {
  color: #fff;
}
