/* Tema claro del sitio comercial. Se carga después de los componentes base. */
:root {
  --font-heading: 'Inter', sans-serif;
  --font-display: 'Inter', sans-serif;
  --bg: #fff;
  --color-bg: #fff;
  --bg-soft: #f6f7f8;
  --text: #293238;
  --color-text: #293238;
  --text-muted: #5d666e;
  --color-text-muted: #5d666e;
  --border: #e5e8eb;
  --color-border: #e5e8eb;
  --shadow-card: 0 3px 16px rgba(31, 42, 51, .04);
  --shadow-float: 0 16px 40px rgba(31, 42, 51, .09);
}

h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.22; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); letter-spacing: -.035em; }
h3 { letter-spacing: -.02em; }
strong, b { font-weight: 600; }
.btn { font-weight: 500; border-radius: 10px; }
.btn-lg { padding: 15px 24px; font-size: 1rem; }
.btn-primary:hover { box-shadow: none; transform: translateY(-1px); }
.btn-outline { border-width: 1px; border-color: #cfd5da; }
.eyebrow { font-weight: 500; letter-spacing: .035em; text-transform: none; }
.section-header { max-width: 760px; }
.section-header p { line-height: 1.7; }
.faq-item summary, .panel-tab, .pricing-name, .pricing-badge,
.plan-label, .landing-showcase-kicker, .outcome-card small,
.solution-card span, .implementation-steps > li > span { font-weight: 500; }
.metric-placeholder, .price-placeholder, .pricing-price,
.flow-number, .demo-proof-row strong, .demo-strip-grid strong { font-weight: 500; }
.metric-placeholder { font-size: clamp(2rem, 3.3vw, 3rem); letter-spacing: -.045em; }
.landing-comparison tbody th, .landing-comparison td:last-child { font-weight: 500; }

/* Navegación clara en escritorio y en el menú desplegable. */
.nav-main, .nav-main.scrolled {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: transparent;
  box-shadow: none;
}
.nav-inner { height: 80px; }
.nav-links a { font-weight: 400; }
.nav-main.scrolled .nav-links a, .nav-main.scrolled .nav-logo { color: var(--text); }
.nav-links .nav-login-mobile { display: none; }

/* Los heroes con foto y overlay propios mantienen su contraste original. */
.hero:not([style]) {
  background: var(--bg-soft);
  color: var(--text);
  padding-top: 144px;
  padding-bottom: 72px;
}
.hero:not([style])::before { display: none; }
.hero:not([style]) h1 { color: var(--text); font-weight: 500; line-height: 1.13; }
.hero:not([style]) h1 .highlight { background: none; color: var(--text); }
.hero:not([style]) .hero-sub,
.hero:not([style]) .hero-trust span { color: var(--text-muted); }
.hero:not([style]) .btn-ghost-dark,
.landing-hero .btn-outline,
.demo-hero .btn-ghost-dark {
  color: var(--text);
  border: 1px solid #cfd5da;
  border-radius: 10px;
  background: transparent;
}
.hero:not([style]) .btn-ghost-dark:hover,
.landing-hero .btn-outline:hover,
.demo-hero .btn-ghost-dark:hover { color: #a53a10; border-color: #b85129; background: #fff; }
.landing-hero { min-height: 560px; }
.landing-hero h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); letter-spacing: -.04em; }

/* Portada: una superficie suave, con el producto como apoyo visual. */
.hero.home-hero {
  max-width: 1320px;
  width: calc(100% - 48px);
  margin: 116px auto 0;
  padding: 56px 44px 48px;
  border-radius: 28px;
  overflow: visible;
}
.home-hero .hero-grid {
  padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
}
.home-hero .eyebrow {
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
  color: #ad421a;
  font-size: .85rem;
  letter-spacing: .015em;
}
.home-hero h1 { margin: 0 0 24px; font-size: clamp(2.6rem, 4.3vw, 3.7rem); letter-spacing: -.045em; }
.home-hero .hero-sub { max-width: 460px; font-size: 1.12rem; line-height: 1.7; margin-bottom: 28px; }
.home-hero .hero-ctas { gap: 12px; margin-bottom: 22px; }
.home-hero .hero-ctas .btn { padding: 14px 20px; font-size: .95rem; }
.home-hero .hero-trust { gap: 10px 18px; font-size: .82rem; }
.home-hero .hero-trust i { color: #b84b20; }
.home-help { color: var(--text-muted); font-size: .82rem; margin-top: 16px; }
.home-help a { color: #a53a10; }
.home-help a:hover { color: #762b0d; }
.home-hero .hero-text, .home-demo-visual { min-width: 0; }
.home-demo-visual { min-height: 380px; padding-bottom: 48px; }
.home-demo-browser { width: 96%; box-shadow: var(--shadow-float); }
.home-demo-phone { right: -4px; width: 27%; box-shadow: 0 12px 28px rgba(31, 42, 51, .14); }
.browser-bar { background: #f8f9fa; }
.browser-url { color: #69727b; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-dot { flex-shrink: 0; }
.home-price-strip { background: #fff; padding: 40px 0; border-bottom-color: var(--border); }
.home-price-grid h2 { font-size: 1.2rem; font-weight: 500; }
.home-price-grid p, .home-price-grid small { color: var(--text-muted); }
.home-price-grid strong { color: var(--text); font-weight: 500; }

/* Superficies claras a lo largo de la home, sin bloques negros intermedios. */
.home-page .section-dark { background: #f6f7f8; color: var(--text); }
.home-page .section-dark h2, .home-page .section-dark h3 { color: var(--text); }
.home-page .section-dark p { color: var(--text-muted); }
.home-page .section-dark .eyebrow { color: #ad421a; background: #fff0e8; }
.home-page .workflow-card { background: #fff; border-color: var(--border); }
.home-page .workflow-media { background: #edf0f2; border-color: var(--border); }
.home-page .workflow-phone-flow, .home-app-stack { background: #edf0f2; }
.workflow-copy h3 { padding-right: 34px; }
.home-page .flow-number { color: #8b949c; font-size: 1.5rem; }
.outcome-card, .solution-card { box-shadow: none; }
.outcome-card p, .solution-card p, .implementation-steps p { color: var(--text-muted); }
.outcome-card small { background: #f5f6f7; color: #616b73; }
.home-app-stack > img, .workflow-phone-flow > img { box-shadow: 0 12px 26px rgba(31, 42, 51, .13); }

.cta-final {
  color: var(--text);
  background: #fff3eb;
  background-image: none;
}
.cta-final h2 { color: var(--text); font-weight: 500; }
.cta-final p { color: var(--text-muted); }
.cta-final .eyebrow-light { color: #ad421a; background: transparent; }
.cta-final .btn-on-dark { color: var(--text); border-color: #c9bbb1; }
.cta-final .btn-on-dark:hover { color: #a53a10; background: #fff; border-color: #b85129; }
.footer { background: #f7f8f9; color: var(--text-muted); }
.footer-brand p, .footer-col a, .footer-bottom, .footer-bottom a { color: var(--text-muted); }
.footer-col h3, .footer-col h4 { color: var(--text); font-weight: 500; text-transform: none; letter-spacing: 0; }
.footer-social a { background: #e9edf0; color: var(--text); }
.footer-social a:hover { color: #fff; }
.footer-bottom { border-color: var(--border); }
.footer-bottom a:hover { color: #a53a10; }

@media (max-width: 1000px) and (min-width: 901px) {
  .home-hero .hero-grid { gap: 28px; }
  .hero.home-hero { padding-inline: 32px; }
  .home-hero .hero-ctas { gap: 10px; }
  .home-hero .hero-ctas .btn { padding-inline: 16px; }
}
@media (max-width: 900px) {
  .nav-inner { height: 72px; }
  .nav-links .nav-login-mobile { display: block; }
  .nav-links.mobile-open { background: #fff; border-color: var(--border); box-shadow: 0 12px 24px rgba(31, 42, 51, .08); }
  .nav-links.mobile-open a { color: var(--text); border-color: var(--border); font-weight: 400; }
  .home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero.home-hero { margin-top: 96px; padding: 40px; }
  .home-hero .hero-text { max-width: 620px; }
  .home-demo-visual { width: 100%; max-width: 660px; margin: 0 auto; min-height: 350px; }
}
@media (max-width: 600px) {
  .hero:not([style]) { padding-top: 120px; padding-bottom: 48px; }
  .hero.home-hero { width: calc(100% - 24px); margin-top: 88px; padding: 28px 20px 24px; border-radius: 20px; }
  .home-hero .hero-grid { gap: 28px; }
  .home-hero .eyebrow { font-size: .73rem; margin-bottom: 18px; }
  .home-hero h1 { font-size: clamp(2.35rem, 10vw, 3rem); line-height: 1.12; margin-bottom: 18px; }
  .home-hero .hero-sub { font-size: 1rem; line-height: 1.6; margin-bottom: 22px; }
  .home-hero .hero-ctas { gap: 8px; margin-bottom: 18px; }
  .home-hero .hero-ctas .btn { min-height: 48px; padding: 12px 16px; }
  .home-hero .hero-ctas .btn-ghost-dark { border-color: #cfd5da; text-decoration: none; }
  .home-hero .hero-trust { font-size: .78rem; gap: 7px 14px; }
  .home-help { margin-top: 14px; font-size: .8rem; }
  .home-demo-visual { min-height: 0; padding: 0; }
  .home-demo-browser { width: 100%; }
  .home-price-strip { padding: 28px 0; }
  .landing-hero { min-height: 0; }
  .landing-hero h1 { font-size: clamp(2.1rem, 8.8vw, 3rem); }
  .section-header { margin-bottom: 32px; }
  .cta-final { padding: 56px 0; }
}
