/* Tipografía global — Inter (única fuente) */
:root {
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* MultiHealth IT — tema global (estilo Hostinger, colores originales MH) */
body.theme-saas {
  --saas-bg: #ffffff;
  --saas-bg-alt: #f4f7fa;
  --saas-bg-soft: #eef3f7;
  --saas-ink: #142033;
  --saas-muted: #5a6b7d;
  --saas-line: #d5dee8;
  --saas-navy: #0b1f33;
  --saas-navy-deep: #071525;
  --saas-brand: #0891b2;
  --saas-brand-deep: #0e7490;
  --saas-brand-bright: #22d3ee;
  --saas-brand-soft: rgba(34, 211, 238, 0.14);
  --saas-shadow: 0 18px 40px rgba(7, 21, 37, 0.1);
  --saas-radius: 16px;
  --saas-radius-sm: 12px;
  /* Escala tipográfica Inter */
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw-title: 700;
  --fw-subtitle: 600;
  --fw-nav: 500;
  --fw-body: 400;
  --type-h1: clamp(1.4rem, 1vw + 0.95rem, 1.95rem);
  --type-h2: clamp(1.2rem, 0.7vw + 0.9rem, 1.55rem);
  --type-h3: clamp(0.98rem, 0.2vw + 0.92rem, 1.05rem);
  --type-lead: clamp(0.92rem, 0.15vw + 0.88rem, 1rem);
  --type-body: 0.9375rem;
  --type-eyebrow: 0.7rem;
  --type-caption: 0.8125rem;
  --type-small: 0.8125rem;
  --type-nav: 0.875rem;
  --type-price: clamp(1.15rem, 1vw, 1.35rem);
  --lh-tight: 1.18;
  --lh-title: 1.22;
  --lh-body: 1.5;
  --lh-ui: 1.35;
  --section-y: clamp(2rem, 3.5vw, 3rem);
  --section-gap: clamp(1rem, 2vw, 1.5rem);
  color: var(--saas-ink);
  background: var(--saas-bg);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.theme-saas .site-header {
  color: #f4f8fb;
  background: rgba(7, 21, 37, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
}

body.theme-saas .brand,
body.theme-saas .brand:hover,
body.theme-saas .brand:focus-visible,
body.theme-saas .brand-text,
body.theme-saas .brand-name {
  color: #ffffff !important;
  font-weight: 700;
}

body.theme-saas .brand:hover,
body.theme-saas .brand:focus-visible,
body.theme-saas .brand:hover .brand-name,
body.theme-saas .brand:focus-visible .brand-name {
  color: #5eead4 !important;
}

/* NAV POLISH GLOBAL */
body.theme-saas .site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.7rem;
  color: rgba(244, 248, 251, 0.86) !important;
  font-weight: var(--fw-nav);
  opacity: 1;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  box-shadow: none !important;
  text-decoration: none !important;
  white-space: nowrap;
}

body.theme-saas .site-nav a:not(.btn):hover,
body.theme-saas .site-nav a:not(.btn):focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

body.theme-saas .site-nav a:not(.btn):hover,
body.theme-saas .site-nav a:not(.btn):focus-visible,
body.theme-saas .site-nav a[aria-current="page"] {
  color: #ffffff !important;
  opacity: 1;
}

body.theme-saas .site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--saas-brand-bright) !important;
}

body.theme-saas .nav-toggle span { background: #f4f8fb; }

body.theme-saas .btn,
body.theme-saas .btn-plan,
body.theme-saas .btn-plan-light {
  border-radius: 12px;
  min-height: 2.65rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: var(--fw-subtitle);
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  box-shadow: none;
}

body.theme-saas .btn-primary,
body.theme-saas .btn-plan {
  background: #0e7490;
  color: #fff;
  border: 1px solid #0e7490;
  box-shadow: 0 10px 28px rgba(14, 116, 144, 0.28);
}

body.theme-saas .btn-primary:hover,
body.theme-saas .btn-primary:focus-visible,
body.theme-saas .btn-plan:hover,
body.theme-saas .btn-plan:focus-visible {
  background: #0b5f73;
  border-color: #0b5f73;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(8, 145, 178, 0.4);
}

body.theme-saas .btn-ghost,
body.theme-saas .btn-plan-light {
  background: #fff;
  color: var(--saas-navy);
  border: 1.5px solid var(--saas-brand);
}

body.theme-saas .btn-ghost:hover,
body.theme-saas .btn-ghost:focus-visible,
body.theme-saas .btn-plan-light:hover,
body.theme-saas .btn-plan-light:focus-visible {
  background: var(--saas-brand-soft);
  color: var(--saas-brand-deep);
  border-color: var(--saas-brand-deep);
}

body.theme-saas .btn-nav {
  background: var(--saas-brand-bright) !important;
  border-color: var(--saas-brand-bright) !important;
  color: #071525 !important;
  min-height: 2.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: none;
}

body.theme-saas .btn-nav:hover,
body.theme-saas .btn-nav:focus-visible {
  background: #67e8f9 !important;
  border-color: #67e8f9 !important;
  color: #071525 !important;
}

body.theme-saas .eyebrow {
  color: var(--saas-brand-deep);
  font-size: var(--type-eyebrow);
  font-weight: var(--fw-subtitle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-saas .page-hero {
  background:
    radial-gradient(800px 360px at 90% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(165deg, #071525 0%, #0b1f33 100%);
  color: #f4f8fb;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(1.5rem, 2.5vw, 2.25rem);
  border-bottom: 0;
}

body.theme-saas .page-hero h1,
body.theme-saas .page-hero__copy h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--type-h1);
  font-weight: var(--fw-title);
  letter-spacing: -0.035em;
  line-height: var(--lh-tight);
  max-width: 18ch;
}

body.theme-saas .page-hero__lead,
body.theme-saas .page-hero__caption {
  color: #b7c5d4;
  font-size: clamp(0.98rem, 0.2vw + 0.92rem, 1.08rem);
  line-height: 1.55;
  max-width: 40rem;
}

body.theme-saas .page-hero__visual,
body.theme-saas .illust-feature__visual {
  border-radius: var(--saas-radius);
  overflow: visible;
}

body.theme-saas .page-hero__visual .illust-zoom,
body.theme-saas .illust-feature__visual .illust-zoom,
body.theme-saas .illust-zoom {
  border-radius: var(--saas-radius);
  overflow: hidden;
  display: block;
  width: 100%;
}

body.theme-saas .illust-zoom {
  border: 1px solid var(--saas-line);
  background: #fff;
  box-shadow: var(--saas-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.theme-saas .illust-zoom:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(7, 21, 37, 0.12);
}

body.theme-saas .section {
  background: var(--saas-bg);
  padding: var(--section-y) 0;
}

body.theme-saas .section-alt,
body.theme-saas .section.section-alt {
  background: var(--saas-bg-alt);
}

body.theme-saas .section-head h2,
body.theme-saas .pricing-subtitle,
body.theme-saas .illust-feature__copy h3,
body.theme-saas .download-platform h3,
body.theme-saas .contact-aside h3,
body.theme-saas .contact-links h3 {
  color: var(--saas-navy);
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

body.theme-saas .section-head p,
body.theme-saas .illust-feature__copy p,
body.theme-saas .muted {
  color: var(--saas-muted);
}

/* Enlaces de contenido (no nav ni footer) */
body.theme-saas main a:not(.btn):not(.brand):not(.footer-cta),
body.theme-saas .legal-shell a:not(.btn) {
  color: var(--saas-brand-deep);
}

body.theme-saas main a:not(.btn):not(.brand):not(.footer-cta):hover,
body.theme-saas .legal-shell a:not(.btn):hover {
  color: var(--saas-navy);
}

/* nav colors: dark header (ver bloque superior) */

body.theme-saas .feature-list li,
body.theme-saas .steps li,
body.theme-saas .trust-list li,
body.theme-saas .benefit-grid li,
body.theme-saas .flow-steps li,
body.theme-saas .download-platform,
body.theme-saas .contact-card,
body.theme-saas .compare-mobile-card,
body.theme-saas .faq-item,
body.theme-saas .faq-list details {
  background: #fff;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.theme-saas .feature-list li:hover,
body.theme-saas .download-platform:hover,
body.theme-saas .contact-card:hover,
body.theme-saas .faq-list details:hover {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.1);
}

body.theme-saas .billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 1.5rem;
}

body.theme-saas .billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--saas-line);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(7, 21, 37, 0.06);
}

body.theme-saas .billing-toggle__btn {
  border: 0;
  background: transparent;
  color: var(--saas-muted);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: var(--fw-subtitle);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

body.theme-saas .billing-toggle__btn.is-active {
  background: var(--saas-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(7, 21, 37, 0.22);
}

body.theme-saas .billing-toggle__save {
  color: var(--saas-brand-deep);
  background: var(--saas-brand-soft);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}

body.theme-saas .billing-toggle__btn.is-active .billing-toggle__save {
  color: var(--saas-navy-deep);
  background: var(--saas-brand-bright);
}

body.theme-saas .plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

body.theme-saas .plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--saas-line);
  border-radius: 18px;
  padding: 1.25rem 1.05rem 1.3rem;
  box-shadow: 0 10px 24px rgba(7, 21, 37, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
}

body.theme-saas .plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--saas-shadow);
}

body.theme-saas .plan-card[data-plan-id="profesional"] {
  background: linear-gradient(180deg, #0b1f33 0%, #071525 100%);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 22px 48px rgba(7, 21, 37, 0.35);
  color: #e8eef5;
}

body.theme-saas .plan-card[data-plan-id="profesional"]::before {
  content: "Más popular";
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--saas-brand-bright);
  color: var(--saas-navy-deep);
  font-size: 0.7rem;
  font-weight: var(--fw-title);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__name,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__amount { color: #fff; }

body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__desc,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__period,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__cycle-label,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__features,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__details {
  color: #9fb0c2;
}

body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__devices {
  color: var(--saas-navy-deep);
  background: var(--saas-brand-bright);
}

body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__mark,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__savings {
  color: var(--saas-brand-bright);
}

body.theme-saas .plan-card__badge { display: none; }

body.theme-saas .plan-card__name,
body.theme-saas .plan-card__amount {
  color: var(--saas-navy);
  font-family: var(--font-display);
}

body.theme-saas .plan-card__desc,
body.theme-saas .plan-card__period,
body.theme-saas .plan-card__cycle-label,
body.theme-saas .plan-card__features,
body.theme-saas .plan-card__details {
  color: var(--saas-muted);
}

body.theme-saas .plan-card__devices {
  color: var(--saas-brand-deep);
  background: var(--saas-brand-soft);
  border-radius: 999px;
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
}

body.theme-saas .plan-card__mark { color: var(--saas-brand); font-weight: 700; }

body.theme-saas .plan-card__features li[data-status="not_included"] .plan-card__mark,
body.theme-saas .plan-card__features li[data-status="pending"] .plan-card__mark {
  color: #7b8b9c;
}

body.theme-saas .plan-card__savings { color: var(--saas-brand-deep); font-weight: var(--fw-subtitle); }

body.theme-saas .plan-card .btn-plan,
body.theme-saas .plan-card .btn-primary {
  width: 100%;
  justify-content: center;
}

body.theme-saas .seo-plan-fallback,
body.theme-saas .seo-plan-list {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.theme-saas .compare-table,
body.theme-saas .compare-table--plans {
  border: 1px solid var(--saas-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

body.theme-saas .compare-table th {
  background: var(--saas-bg-alt);
  color: var(--saas-navy);
}

body.theme-saas .compare-table td { color: var(--saas-muted); }

body.theme-saas input,
body.theme-saas select,
body.theme-saas textarea,
body.theme-saas .field input,
body.theme-saas .field select,
body.theme-saas .field textarea {
  border-radius: 10px;
  border-color: var(--saas-line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.theme-saas input:focus,
body.theme-saas select:focus,
body.theme-saas textarea:focus,
body.theme-saas .field input:focus,
body.theme-saas .field select:focus,
body.theme-saas .field textarea:focus {
  border-color: var(--saas-brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22);
}

body.theme-saas .account-card,
body.theme-saas .registro-card,
body.theme-saas .contact-panel {
  background: #fff;
  border: 1px solid var(--saas-line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(7, 21, 37, 0.06);
}

body.theme-saas .cta-band,
body.theme-saas .cta-band.cta-band--pulse {
  background:
    radial-gradient(700px 320px at 85% 20%, rgba(34, 211, 238, 0.22), transparent 60%),
    linear-gradient(135deg, #071525 0%, #0b1f33 55%, #123049 100%);
  color: #f8fafc;
}

body.theme-saas .cta-band h2,
body.theme-saas .cta-band--pulse h2 { color: #fff; }

body.theme-saas .cta-band p,
body.theme-saas .cta-band--pulse p { color: #b7c5d4; }

body.theme-saas .cta-band .btn-ghost,
body.theme-saas .cta-band--pulse .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(248, 250, 252, 0.35);
}

body.theme-saas .cta-band .btn-ghost:hover,
body.theme-saas .cta-band--pulse .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.theme-saas .site-footer {
  background: var(--saas-navy-deep);
  color: #cbd5e1;
  border-top: 0;
}

body.theme-saas .footer-brand,
body.theme-saas .footer-col-title { color: #fff; }

body.theme-saas .site-footer a:not(.btn):not(.brand):not(.footer-cta) {
  color: #d5dee8;
  transition: color 0.25s ease;
}

body.theme-saas .site-footer a:not(.btn):not(.brand):not(.footer-cta):hover,
body.theme-saas .site-footer a:not(.btn):not(.brand):not(.footer-cta):focus-visible {
  color: var(--saas-brand-bright);
}

body.theme-saas .site-footer .muted,
body.theme-saas .footer-tagline { color: #9fb0c2; }

body.theme-saas .site-footer a.footer-cta {
  background: var(--saas-brand);
  color: #fff;
  border-radius: 999px;
}

body.theme-saas .site-footer a.footer-cta:hover,
body.theme-saas .site-footer a.footer-cta:focus-visible {
  background: var(--saas-brand-deep);
  color: #fff;
}

body.theme-saas .skip-link {
  background: var(--saas-brand);
  color: #fff;
}

body.theme-saas .legal-doc,
body.theme-saas .legal-content { color: var(--saas-muted); }

body.theme-saas .legal-doc h2,
body.theme-saas .legal-content h2,
body.theme-saas .legal-doc h3,
body.theme-saas .legal-content h3 { color: var(--saas-navy); }

body.theme-saas .sitemap-list a { color: var(--saas-brand-deep); }

body.theme-saas .step-num,
body.theme-saas .flow-steps .step-num,
body.theme-saas .page-home .flow-steps .step-num::before {
  color: var(--saas-brand);
}

@media (max-width: 1100px) {
  body.theme-saas .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body.theme-saas .plan-grid { grid-template-columns: 1fr; }
  body.theme-saas .page-hero h1,
  body.theme-saas .page-hero__copy h1 { max-width: none; }
  body.theme-saas .page-hero__grid,
  body.theme-saas .illust-feature,
  body.theme-saas .illust-feature--reverse,
  body.theme-saas .contact-layout,
  body.theme-saas .download-layout,
  body.theme-saas .capability-showcase {
    grid-template-columns: 1fr;
  }
  body.theme-saas img,
  body.theme-saas svg,
  body.theme-saas video {
    max-width: 100%;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-saas .btn,
  body.theme-saas .plan-card,
  body.theme-saas .illust-zoom,
  body.theme-saas .feature-list li,
  body.theme-saas .download-platform {
    transition: none !important;
    transform: none !important;
  }
}

/* Escala tipográfica + jerarquía de pesos Inter */
body.theme-saas input,
body.theme-saas select,
body.theme-saas textarea,
body.theme-saas button,
body.theme-saas .btn,
body.theme-saas .btn-plan,
body.theme-saas .btn-plan-light {
  font-family: var(--font-body);
}

body.theme-saas .site-nav a:not(.btn),
body.theme-saas .footer-cols a,
body.theme-saas .footer-legal a {
  font-weight: var(--fw-nav);
}

body.theme-saas .brand,
body.theme-saas .brand-name,
body.theme-saas .footer-brand,
body.theme-saas h1,
body.theme-saas h2,
body.theme-saas #hero-title,
body.theme-saas .plan-card__amount,
body.theme-saas .compare-plan-price {
  font-family: var(--font-display);
  font-weight: var(--fw-title);
}

body.theme-saas h3,
body.theme-saas h4,
body.theme-saas .plan-card__name,
body.theme-saas .compare-plan-name,
body.theme-saas .footer-col-title,
body.theme-saas label,
body.theme-saas .account-field label,
body.theme-saas summary,
body.theme-saas .faq-list summary,
body.theme-saas .btn,
body.theme-saas .btn-plan,
body.theme-saas .btn-plan-light,
body.theme-saas .eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-subtitle);
}

body.theme-saas p,
body.theme-saas li,
body.theme-saas td,
body.theme-saas th,
body.theme-saas dd,
body.theme-saas dt,
body.theme-saas .muted,
body.theme-saas .footer-tagline,
body.theme-saas .hero-lead,
body.theme-saas .page-hero__lead {
  font-weight: var(--fw-body);
}

body.theme-saas input,
body.theme-saas select,
body.theme-saas textarea {
  font-size: var(--type-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-ui);
}

body.theme-saas .site-footer,
body.theme-saas .footer-tagline,
body.theme-saas .footer-cols a {
  font-family: var(--font-body);
  line-height: var(--lh-body);
}

body.theme-saas .footer-col-title,
body.theme-saas .footer-brand {
  letter-spacing: -0.02em;
}



/* Escala tipográfica */
body.theme-saas .site-nav a:not(.btn) { font-size: var(--type-nav); }

body.theme-saas .eyebrow {
  font-size: var(--type-eyebrow) !important;
  line-height: 1.35;
}

body.theme-saas h1,
body.theme-saas .page-hero h1,
body.theme-saas .page-hero__copy h1,
body.theme-saas #page-title,
body.theme-saas #pricing-title,
body.theme-saas #map-title {
  font-family: var(--font-display);
  font-size: var(--type-h1) !important;
  font-weight: var(--fw-title);
  letter-spacing: -0.035em;
  line-height: var(--lh-tight);
  max-width: 18ch;
}

body.theme-saas h2,
body.theme-saas .section-head h2,
body.theme-saas .pricing-subtitle,
body.theme-saas .cta-band h2,
body.theme-saas .cta-band--pulse h2,
body.theme-saas .contact-panel h2,
body.theme-saas .problem-copy h2,
body.theme-saas .flow-layout .section-head h2 {
  font-family: var(--font-display);
  font-size: var(--type-h2) !important;
  font-weight: var(--fw-title);
  letter-spacing: -0.03em;
  line-height: var(--lh-title);
  max-width: 24ch;
}

body.theme-saas h3,
body.theme-saas .section-head h3,
body.theme-saas .illust-feature__copy h3,
body.theme-saas .feature-list h2,
body.theme-saas .feature-list h3,
body.theme-saas .download-platform h3,
body.theme-saas .contact-aside h3,
body.theme-saas .contact-links h3,
body.theme-saas .steps h3,
body.theme-saas .flow-steps h3,
body.theme-saas .benefit-grid h3,
body.theme-saas .state-grid h3,
body.theme-saas .capability-card h3,
body.theme-saas .plan-card__name,
body.theme-saas .compare-plan-name,
body.theme-saas .legal-doc h3,
body.theme-saas .legal-content h3 {
  font-family: var(--font-display);
  font-size: var(--type-h3) !important;
  font-weight: var(--fw-subtitle);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

body.theme-saas .hero-lead,
body.theme-saas .page-hero__lead,
body.theme-saas .section-head > p:not(.eyebrow),
body.theme-saas .section-head p:not(.eyebrow),
body.theme-saas .problem-copy > .section-head > p:not(.eyebrow) {
  font-size: var(--type-lead) !important;
  line-height: 1.55;
}

body.theme-saas .section-head .eyebrow,
body.theme-saas p.eyebrow {
  font-size: var(--type-eyebrow) !important;
  line-height: 1.35;
  color: var(--saas-brand-deep);
}

body.theme-saas p,
body.theme-saas li,
body.theme-saas .plan-card__desc,
body.theme-saas .plan-card__features,
body.theme-saas .faq-list p,
body.theme-saas .illust-feature__copy p,
body.theme-saas .feature-list p,
body.theme-saas .trust-list span,
body.theme-saas .problem-list span {
  font-size: var(--type-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
}

body.theme-saas .page-hero__caption,
body.theme-saas .console-caption,
body.theme-saas .billing-hint,
body.theme-saas .plan-card__period,
body.theme-saas .plan-card__cycle-label,
body.theme-saas .plan-card__devices,
body.theme-saas .plan-card__details,
body.theme-saas .plan-card__note,
body.theme-saas .compare-plan-devices {
  font-size: var(--type-caption) !important;
  line-height: 1.45;
}

body.theme-saas .plan-card__amount,
body.theme-saas .compare-plan-price {
  font-family: var(--font-display);
  font-size: var(--type-price) !important;
  font-weight: var(--fw-title);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

body.theme-saas .contact-card .contact-mail { font-size: 1.05rem !important; }

body.theme-saas .btn,
body.theme-saas .btn-plan,
body.theme-saas .btn-plan-light { font-size: 0.98rem !important; }

body.theme-saas .section-head--center h2,
body.theme-saas .section-head--center p { max-width: 40rem; }

@media (max-width: 720px) {
  body.theme-saas {
    --type-h1: clamp(1.55rem, 5.5vw, 1.95rem);
    --type-h2: clamp(1.3rem, 4.5vw, 1.6rem);
  }
  body.theme-saas h1,
  body.theme-saas .page-hero h1,
  body.theme-saas .hero h1 { max-width: none; }
}

/* Contraste tarjeta destacada Profesional */
.page-home.page-home--saas .plan-card[data-plan-id="profesional"],
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] * {
  color: #d7e3ef;
}
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__name,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__amount {
  color: #ffffff !important;
}
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__desc,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__period,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__cycle-label,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__features,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__features li,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__features span,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__details,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__note,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__status,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .muted {
  color: #b8c9da !important;
}
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__devices {
  color: #071525 !important;
  background: #22d3ee !important;
}
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__mark,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .plan-card__savings {
  color: #22d3ee !important;
}
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .btn-plan,
.page-home.page-home--saas .plan-card[data-plan-id="profesional"] .btn-primary {
  color: #ffffff !important;
  background: #0891b2 !important;
  border-color: #0891b2 !important;
}

body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__name,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__amount {
  color: #ffffff !important;
}
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__desc,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__period,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__cycle-label,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__features,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__features li,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__features span,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__details,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__note,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__status,
body.theme-saas .plan-card[data-plan-id="profesional"] .muted {
  color: #b8c9da !important;
}
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__devices {
  color: #071525 !important;
  background: #22d3ee !important;
}
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__mark,
body.theme-saas .plan-card[data-plan-id="profesional"] .plan-card__savings {
  color: #22d3ee !important;
}


/* ========== Pasos de instalación (Descargas) ========== */
body.theme-saas section:has(#install-title) {
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(34, 211, 238, 0.08), transparent 55%),
    var(--saas-bg-alt);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

body.theme-saas .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
  counter-reset: none;
}

body.theme-saas .steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
  background: #fff;
  border: 1px solid var(--saas-line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: 0 14px 32px rgba(7, 21, 37, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.theme-saas .steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22d3ee, #0891b2);
}

body.theme-saas .steps li:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 40px rgba(7, 21, 37, 0.12);
}

body.theme-saas .steps .step-num {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.7rem;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.14);
  color: #0e7490;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--fw-title);
  letter-spacing: -0.02em;
  line-height: 1;
}

body.theme-saas .steps h3 {
  margin: 0 0 0.45rem;
  color: var(--saas-navy);
  font-family: var(--font-display);
  font-size: var(--type-h3) !important;
  font-weight: var(--fw-subtitle);
  letter-spacing: -0.02em;
  line-height: var(--lh-title);
}

body.theme-saas .steps p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

body.theme-saas .steps li > div {
  width: 100%;
}

@media (max-width: 900px) {
  body.theme-saas .steps {
    grid-template-columns: 1fr;
  }
}

/* Fallback si :has no aplica en algún navegador: se sigue viendo bien */
@supports not selector(:has(*)) {
  body.theme-saas .steps {
    margin-top: 1.5rem;
  }
}

body.theme-saas .section-install-steps {
  background:
    radial-gradient(700px 320px at 10% 0%, rgba(34, 211, 238, 0.08), transparent 55%),
    var(--saas-bg-alt);
  padding: clamp(2rem, 4vw, 3rem) 0;
}


/* Continúa en la plataforma — tarjetas con más presencia */
body.theme-saas .section-next-steps {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

body.theme-saas .section-next-steps .feature-list,
body.theme-saas .feature-list.feature-list--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

body.theme-saas .section-next-steps .feature-list li,
body.theme-saas .feature-list.feature-list--grid > li {
  background: #fff;
  border: 1px solid var(--saas-line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: 0 14px 32px rgba(7, 21, 37, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.theme-saas .section-next-steps .feature-list li:hover,
body.theme-saas .feature-list.feature-list--grid > li:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 40px rgba(7, 21, 37, 0.12);
}

body.theme-saas .section-next-steps .feature-list h3,
body.theme-saas .feature-list.feature-list--grid h3 {
  color: var(--saas-navy);
  margin: 0 0 0.5rem;
}

body.theme-saas .section-next-steps .feature-list p,
body.theme-saas .feature-list.feature-list--grid p {
  color: #475569;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 900px) {
  body.theme-saas .section-next-steps .feature-list,
  body.theme-saas .feature-list.feature-list--grid {
    grid-template-columns: 1fr;
  }
}


/* Comparativa de planes — contraste y colores alineados a MH */
body.theme-saas .compare-table,
body.theme-saas .compare-table--plans {
  background: #fff;
  border: 1px solid var(--saas-line);
  border-radius: 16px;
  overflow: hidden;
}

body.theme-saas .compare-table thead th {
  background: #f4f7fa !important;
  color: var(--saas-navy) !important;
  border-bottom: 1px solid var(--saas-line);
  vertical-align: top;
}

body.theme-saas .compare-table thead .compare-feature-col {
  background: #eef3f7 !important;
  color: var(--saas-navy) !important;
}

body.theme-saas .compare-plan-name {
  color: var(--saas-navy) !important;
  font-weight: 700;
}

body.theme-saas .compare-plan-price,
body.theme-saas .compare-table thead .compare-plan-price {
  color: var(--saas-brand-deep) !important;
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-weight: var(--fw-title);
  letter-spacing: -0.02em;
}

body.theme-saas .compare-plan-devices,
body.theme-saas .compare-table thead .compare-plan-devices,
body.theme-saas .compare-table tbody .compare-plan-devices,
body.theme-saas .compare-mobile-card .compare-plan-devices {
  color: #0e7490 !important;
  background: rgba(8, 145, 178, 0.12) !important;
  border: 1px solid rgba(8, 145, 178, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

body.theme-saas .compare-mobile-card .compare-plan-price {
  color: var(--saas-navy) !important;
}

body.theme-saas .compare-table .btn-plan,
body.theme-saas .compare-table .btn-primary,
body.theme-saas .compare-plan-head .btn,
body.theme-saas .compare-plan-head .btn-plan {
  background: var(--saas-brand);
  border-color: var(--saas-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 145, 178, 0.28);
}


/* ========== LAYOUT SYSTEM (auditoría): centrado, coherente, responsive ========== */
body.theme-saas {
  --shell-gutter: clamp(1rem, 3.5vw, 1.75rem);
  --shell-max: 1200px;
  --shell: min(var(--shell-max), calc(100% - (var(--shell-gutter) * 2)));
  overflow-x: clip;
}

@media (min-width: 1366px) {
  body.theme-saas { --shell-max: 1280px; }
}

@media (min-width: 1920px) {
  body.theme-saas { --shell-max: 1320px; }
}

/* Anula --shell de main en .shell (1520px @1920) y centra */
body.theme-saas .shell,
body.theme-saas .site-header .shell,
body.theme-saas .site-footer .shell,
body.theme-saas .page-hero .shell,
body.theme-saas .section .shell,
body.theme-saas .cta-band .shell,
body.theme-saas .cta-band .shell.cta-inner,
body.theme-saas .cta-band .cta-inner {
  --shell-gutter: clamp(0.85rem, 3vw, 1.5rem);
  --shell: min(var(--shell-max, 1200px), calc(100% - (var(--shell-gutter) * 2)));
  width: var(--shell) !important;
  max-width: var(--shell) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-width: 0;
  box-sizing: border-box;
}

/* Header: logo izq, menú der — sin width:100% que pelee con .shell */
body.theme-saas .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  min-width: 0;
}

body.theme-saas .site-nav {
  margin-left: auto !important;
  margin-right: 0;
  flex: 0 1 auto;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.65rem, 1.2vw, 1.35rem);
  min-width: 0;
}

body.theme-saas .site-nav a:not(.btn) {
  white-space: nowrap;
  flex-shrink: 0;
}

body.theme-saas .site-nav .btn-nav {
  margin-left: 0.35rem !important;
  flex-shrink: 0;
  white-space: nowrap;
}

body.theme-saas .brand {
  flex-shrink: 0;
  min-width: 0;
}

body.theme-saas .brand-name {
  white-space: nowrap;
}

@media (min-width: 1366px) {
  body.theme-saas .shell { --shell-max: 1280px; }
}
@media (min-width: 1920px) {
  body.theme-saas .shell { --shell-max: 1320px; }
}


/* Tipografía / secciones */
body.theme-saas .section {
  overflow-x: clip;
  overflow-y: visible;
}

body.theme-saas .section-head h2,
body.theme-saas .page-hero h1,
body.theme-saas .page-hero__copy h1 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

body.theme-saas .section-head p,
body.theme-saas .page-hero__lead,
body.theme-saas p,
body.theme-saas li {
  overflow-wrap: anywhere;
}

body.theme-saas .cta-band h2,
body.theme-saas .cta-band--pulse h2 {
  max-width: 22ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body.theme-saas .cta-band p,
body.theme-saas .cta-band--pulse p {
  max-width: 44ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

body.theme-saas .cta-band .cta-actions,
body.theme-saas .cta-band--pulse .cta-actions {
  justify-content: center;
}

/* Footer ordenado */
body.theme-saas .site-footer {
  overflow-x: clip;
}

body.theme-saas .footer-inner {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  min-width: 0;
}

body.theme-saas .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

body.theme-saas .footer-brand-block {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-width: 0;
}

body.theme-saas .footer-tagline {
  max-width: 36ch;
  margin: 0;
  line-height: 1.45;
}

body.theme-saas .section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

body.theme-saas .footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  min-width: 0;
}

body.theme-saas .footer-col {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  min-width: 0;
}

body.theme-saas .footer-col a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

body.theme-saas .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

body.theme-saas .footer-bottom p {
  margin: 0;
  max-width: 100%;
}

body.theme-saas .footer-legal-note {
  text-align: right;
  max-width: 42ch;
}

/* Page hero consistency */
body.theme-saas .page-hero__grid {
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  min-width: 0;
}

body.theme-saas .page-hero__copy,
body.theme-saas .page-hero__visual {
  min-width: 0;
}

body.theme-saas .page-hero__visual img,
body.theme-saas .page-hero__visual svg {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Cards / grids no se desbordan */
body.theme-saas .plan-grid,
body.theme-saas .capability-grid,
body.theme-saas .feature-list,
body.theme-saas .download-platforms,
body.theme-saas .benefit-grid,
body.theme-saas .contact-layout {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.theme-saas .plan-card,
body.theme-saas .capability-card,
body.theme-saas .benefit-card,
body.theme-saas .download-platform,
body.theme-saas .contact-card {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Mobile nav: panel a ancho completo, bien apilado */
@media (max-width: 980px) {
  body.theme-saas .site-nav {
    margin-left: 0 !important;
    flex: none;
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
  }

  body.theme-saas .site-nav a:not(.btn) {
    max-width: none;
    white-space: normal;
  }

  body.theme-saas .site-nav .btn-nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  body.theme-saas .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 600px) {
  body.theme-saas .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1.1rem;
  }

  body.theme-saas .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  body.theme-saas .footer-legal-note {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 420px) {
  body.theme-saas .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* LAYOUT AUDIT POLISH */
body.theme-saas .faq-list {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body.theme-saas .console-carousel,
body.theme-saas .console-carousel__viewport,
body.theme-saas .console-frame {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

body.theme-saas .page-hero {
  overflow-x: clip;
}

body.theme-saas .page-hero__copy h1 {
  max-width: 18ch;
  line-height: 1.12;
}

body.theme-saas .page-hero__lead {
  max-width: 42rem;
}

body.theme-saas .contact-layout,
body.theme-saas .download-layout {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  min-width: 0;
  width: 100%;
}

@media (max-width: 1100px) and (min-width: 981px) {
  body.theme-saas .site-nav {
    gap: clamp(0.45rem, 0.9vw, 0.85rem);
  }
  body.theme-saas .site-nav a:not(.btn) {
    font-size: 0.92rem;
  }
  body.theme-saas .brand-name {
    font-size: 0.95rem;
  }
}

/* MOBILE NAV PANEL SOLID */
@media (max-width: 980px) {
  body.theme-saas.nav-open .site-nav {
    position: fixed !important;
    top: 4.25rem;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: #071525 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: stretch !important;
    z-index: 60;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    padding: 0.85rem max(1rem, env(safe-area-inset-right)) calc(1.15rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  }

  body.theme-saas.nav-open .site-nav a:not(.btn) {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.9rem 1rem;
  }

  body.theme-saas.nav-open .site-nav .btn-nav {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
  }
}



/* Subtítulos (h3/cards/labels) — peso 600, sin duplicar familias */
body.theme-saas h3,
body.theme-saas .capability-card h3,
body.theme-saas .benefit-card h3,
body.theme-saas .benefit-grid h3,
body.theme-saas .flow-step__body h3,
body.theme-saas .feature-list h3,
body.theme-saas .state-grid h3,
body.theme-saas .plan-card__name,
body.theme-saas .download-platform h3,
body.theme-saas .contact-aside h3,
body.theme-saas .contact-links h3,
body.theme-saas .illust-feature__copy h3,
body.theme-saas .steps h3,
body.theme-saas .faq-list summary,
body.theme-saas .eyebrow,
body.theme-saas label,
body.theme-saas .footer-col-title {
  font-weight: var(--fw-subtitle) !important;
}

/* Tipografía responsive */
@media (max-width: 720px) {
  body.theme-saas {
    --type-body: 0.9375rem;
    --type-nav: 0.9375rem;
    --lh-body: 1.5;
    --section-y: clamp(1.65rem, 5vw, 2.25rem);
  }

  body.theme-saas .page-hero h1,
  body.theme-saas .page-hero__copy h1 {
    max-width: none;
  }
}


/* Evitar recorte de textos/captions en heroes */
body.theme-saas .page-hero__caption {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 0.65rem;
  padding-inline: 0.15rem;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body.theme-saas .page-hero__copy,
body.theme-saas .page-hero__lead,
body.theme-saas .page-hero h1 {
  overflow: visible;
  max-width: 100%;
}

body.theme-saas .page-hero__copy h1,
body.theme-saas .page-hero h1 {
  max-width: min(28ch, 100%);
}

/* Densidad de lectura — gutters seguros, sin recortar contenido */
body.theme-saas .shell {
  width: var(--shell) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 0;
  box-sizing: border-box;
}

body.theme-saas .page-hero,
body.theme-saas .section,
body.theme-saas .cta-band,
body.theme-saas .site-footer {
  overflow-x: clip;
  overflow-y: visible;
}

body.theme-saas .section-head {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

body.theme-saas .plan-card {
  padding: 1.15rem 1.1rem 1.1rem;
  gap: 0.85rem;
}

body.theme-saas .feature-list,
body.theme-saas .benefit-grid,
body.theme-saas .capability-grid,
body.theme-saas .steps,
body.theme-saas .trust-list {
  gap: var(--section-gap, 1rem);
}

/* Ilustraciones: no recortar texto del SVG ni captions */
body.theme-saas .page-hero__visual .illust-zoom img,
body.theme-saas .page-hero__visual .illust-zoom .illust-inline-svg,
body.theme-saas .illust-feature__visual .illust-zoom img,
body.theme-saas .illust-feature__visual .illust-zoom .illust-inline-svg {
  object-fit: contain !important;
  object-position: center center !important;
  background: #071525;
  animation: none !important;
  transform: none !important;
  width: 100%;
  height: auto;
  max-width: 100%;
}

body.theme-saas .page-hero__visual .illust-zoom {
  background: #071525;
}

/* Evitar que el contenido roce el borde de la ventana */
@media (max-width: 1100px) {
  body.theme-saas {
    --shell-gutter: clamp(1.1rem, 4vw, 1.5rem);
  }
}

/* Medios de pago en pie */
body.theme-saas .footer-payments {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0 0.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
body.theme-saas .footer-payments-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}
body.theme-saas .footer-payments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
body.theme-saas .footer-payments-list li {
  margin: 0;
  line-height: 0;
}
body.theme-saas .footer-payments-list img {
  display: block;
  height: 28px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
@media (max-width: 640px) {
  body.theme-saas .footer-payments-list img {
    height: 24px;
  }
}

/* Páginas internas alineadas con la portada */
body.theme-saas .page-hero {
  padding: clamp(2.4rem, 5vw, 4.25rem) 0 clamp(2rem, 4vw, 3.4rem);
}

body.theme-saas .page-hero .eyebrow {
  display: inline-flex;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.theme-saas .page-hero h1,
body.theme-saas .page-hero__copy h1 {
  max-width: 16em;
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 1.5vw + 1rem, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

body.theme-saas .page-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 38rem;
}

body.theme-saas .page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

body.theme-saas .page-hero .btn-primary {
  background: #22d3ee !important;
  color: #071525 !important;
  border-color: #22d3ee !important;
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.28);
}

body.theme-saas .page-hero .btn-primary:hover,
body.theme-saas .page-hero .btn-primary:focus-visible {
  background: #67e8f9 !important;
  border-color: #67e8f9 !important;
  color: #071525 !important;
}

body.theme-saas .page-hero .btn-ghost {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

body.theme-saas .page-hero .btn-ghost:hover,
body.theme-saas .page-hero .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.theme-saas .page-hero__visual .illust-zoom,
body.theme-saas .page-hero__shot {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #071525;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.theme-saas .page-hero__shot img,
body.theme-saas .page-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

body.theme-saas .page-hero__caption {
  margin: 0.7rem 0 0;
}

body.theme-saas .plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

body.theme-saas .plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

body.theme-saas .plan-card__actions {
  margin-top: auto;
}

body.theme-saas .plan-card__features {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-saas .plan-card__amount {
  margin: 0;
  font-size: clamp(1.35rem, 1.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

@media (max-width: 720px) {
  body.theme-saas .plan-grid {
    grid-template-columns: 1fr;
  }
}

