@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #16a34a;
  --cyan: #06b6d4;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #ffffff;
  --ink: #111827;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.section-shell,
.site-header,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.desktop-nav,
.header-actions,
.hero-actions,
.trust div {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav {
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a,
.client-link,
.footer a {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.client-link:hover,
.footer a:hover {
  color: var(--blue);
}

.client-link {
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border-color: #bfdbfe;
  background: var(--white);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  z-index: 100;
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.mobile-nav a:hover {
  background: #eff6ff;
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 60px;
  align-items: center;
  padding: 76px 0 52px;
}

.hero h1,
.section-heading h2,
.pricing h2,
.demo h2 {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.8vw, 64px);
  line-height: 1.02;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #475569;
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 34px;
  gap: 12px;
}

.hero-copy small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.hero-product {
  position: relative;
  min-height: 510px;
}

.dashboard-card {
  position: absolute;
  inset: 20px 0 42px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), var(--white) 38%), var(--white);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid #e5edf7;
}

.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-bar strong {
  margin-left: 10px;
  color: #334155;
  font-size: 13px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
}

.dashboard-grid article,
.chart,
.employee-list,
.benefit-grid article,
.report-card,
.steps article,
.testimonials article,
.price-grid article,
.demo form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.dashboard-grid article {
  padding: 20px;
}

.dashboard-grid article span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-grid article strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 24px;
}

.dashboard-grid article em {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.chart,
.employee-list {
  grid-column: span 2;
}

.chart {
  padding: 20px;
}

.chart > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #334155;
  font-size: 14px;
}

.chart > div:first-child span {
  color: var(--muted);
  font-weight: 700;
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 140px;
  margin-top: 22px;
}

.bars i {
  flex: 1;
  min-height: 28px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.employee-list {
  padding: 8px;
}

.employee-list p {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
}

.employee-list p + p {
  border-top: 1px solid #f1f5f9;
}

.employee-list p span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue);
}

.employee-list p strong {
  color: var(--green);
  font-size: 12px;
}

.phone-card {
  position: absolute;
  right: -14px;
  bottom: 4px;
  display: flex;
  width: 190px;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 8px solid #0f172a;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
}

.phone-card span {
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.phone-card strong {
  color: var(--ink);
  font-size: 34px;
}

.phone-card button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 70px;
  border-top: 1px solid #eef2f7;
}

.trust p {
  margin: 0;
  color: #334155;
  font-weight: 800;
}

.trust div {
  flex-wrap: wrap;
  gap: 12px;
}

.trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #1e40af;
  font-size: 13px;
  font-weight: 800;
}

.section-block,
.process,
.faq,
.pricing {
  padding: 94px 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.pricing h2,
.demo h2 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
}

.section-heading p,
.pricing p,
.demo p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.benefit-grid article {
  min-height: 245px;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.benefit-grid article:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.1);
}

.benefit-grid article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--blue);
  font-weight: 900;
}

.benefit-grid h3,
.feature-list h3 {
  margin: 20px 0 0;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.benefit-grid p,
.feature-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-band {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  align-items: center;
  padding: 90px max(20px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-list span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.feature-list h3 {
  grid-column: 2;
  margin-top: 0;
}

.feature-list p {
  grid-column: 2;
}

.report-card {
  padding: 28px;
}

.report-head,
.report-card p {
  display: grid;
  grid-template-columns: 132px 1fr 52px;
  gap: 14px;
  align-items: center;
}

.report-head {
  grid-template-columns: 1fr auto;
  margin-bottom: 24px;
}

.report-head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.report-card p {
  min-height: 54px;
  margin: 0;
}

.report-card p span {
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.report-card i {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.report-card b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.report-card p strong {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.steps article {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.steps strong {
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 23px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 88px max(20px, calc((100vw - 1180px) / 2));
  background: #0f172a;
}

.testimonials article {
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.testimonials p {
  margin: 0;
  color: #e2e8f0;
  font-size: 20px;
  line-height: 1.65;
}

.testimonials strong {
  display: block;
  margin-top: 24px;
  color: var(--white);
}

.testimonials span {
  display: block;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 14px;
}

.pricing {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-items: center;
}

.pricing .button {
  margin-top: 28px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-grid article {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 32px 24px;
  height: 100%;
  box-sizing: border-box;
}

.price-grid .highlight {
  border-color: #93c5fd;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.14);
}

.price-grid span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.price-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.price-grid p {
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.faq details {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq details:first-of-type {
  margin-top: 38px;
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 850;
}

.faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.demo {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

.demo form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
}

.demo label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.demo input,
.demo select {
  min-height: 50px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: var(--white);
  padding: 0 14px;
  color: var(--ink);
  font-size: 15px;
  width: 100%;
}

.demo input:focus,
.demo select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.demo button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  grid-column: span 2;
  width: 100%;
}

.demo small {
  align-self: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  grid-column: span 2;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0;
  color: var(--muted);
}

.footer p {
  max-width: 620px;
  margin: 14px 0 0;
  line-height: 1.7;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .desktop-nav,
  .client-link,
  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .feature-band,
  .pricing,
  .demo {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 520px;
  }

  .benefit-grid,
  .steps,
  .problem-grid,
  .use-cases-grid,
  .blog-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 32px auto 0;
  }
}

@media (max-width: 760px) {
  .section-shell,
  .site-header,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 14px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-product {
    min-height: 430px;
  }

  .dashboard-card {
    inset: 0 0 54px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .dashboard-grid article:nth-child(2),
  .chart,
  .employee-list {
    display: none;
  }

  .phone-card {
    right: 10px;
    width: 172px;
  }

  .trust {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 44px;
  }

  .benefit-grid,
  .steps,
  .testimonials,
  .price-grid,
  .demo form {
    grid-template-columns: 1fr;
  }
  
  .price-grid {
    max-width: 100%;
  }
  
  .price-grid article {
    padding: 24px 20px;
    min-height: auto;
  }
  
  .price-grid strong {
    font-size: 22px;
  }

  .section-block,
  .process,
  .faq,
  .pricing,
  .demo,
  .feature-band,
  .testimonials {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .report-head,
  .report-card p {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .report-card p {
    padding: 12px 0;
  }

  .report-card p strong {
    text-align: left;
  }

  .footer {
    flex-direction: column;
  }

  .footer nav {
    justify-content: flex-start;
  }
}

/* --- NUEVOS ESTILOS PARA OPTIMIZACIÓN WEB --- */

/* Barra promocional superior */
.promo-banner {
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 30;
  width: 100%;
}

@media (max-width: 760px) {
  .promo-banner {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.4;
  }
  
  .promo-banner a {
    font-size: 11px;
    padding: 4px 12px;
  }
}

.promo-banner a {
  background: var(--white);
  color: var(--blue);
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-banner a:hover {
  transform: scale(1.04);
}

/* Fila de checks de confianza bajo el Hero */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding: 16px 24px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
}

.trust-badge-item i {
  color: var(--green);
  font-weight: 900;
  font-style: normal;
}

/* Sección de logos de empresas */
.logos-container {
  text-align: center;
  margin-top: 32px;
  padding-top: 16px;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 18px;
  opacity: 0.65;
}

.logos-grid svg {
  height: 28px;
  fill: #475569;
}

/* Sección del problema */
.problem-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.problem-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fef2f2; /* Tono rojo muy suave */
  border-left: 5px solid #ef4444;
  transition: transform 160ms ease;
}

.problem-card:hover {
  transform: translateY(-2px);
}

.problem-card h3 {
  margin: 0 0 12px 0;
  color: #991b1b;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.problem-card p {
  margin: 0;
  color: #7f1d1d;
  font-size: 15px;
  line-height: 1.6;
}

/* Guía legal / Qué dice la ley */
.legal-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-top: 36px;
  align-items: center;
}

.legal-content h3 {
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 10px;
}

.legal-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
}

/* Tabla comparativa */
.comparison-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.comparison-table th {
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  font-family: Manrope, sans-serif;
}

.comparison-table td {
  color: #475569;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table .highlight-col {
  background: #eff6ff;
  color: var(--blue);
  font-weight: 700;
}

.comparison-table th.highlight-col {
  background: #dbeafe;
  color: var(--blue-dark);
}

.comparison-table .check {
  color: var(--green);
  font-weight: 800;
}

.comparison-table .cross {
  color: #ef4444;
  font-weight: 800;
}

/* Casos de uso */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.use-case-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.use-case-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.use-case-card h3 {
  margin: 0 0 12px;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.use-case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Lead Magnet */
.lead-magnet-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.lead-magnet-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
  align-items: center;
}

.lead-magnet-info h3 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}

.lead-magnet-info p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.lead-magnet-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.lead-magnet-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.lead-magnet-form input {
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  background: var(--white);
}

.lead-magnet-form input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.lead-magnet-form button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 160ms ease;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.16);
}

.lead-magnet-form button:hover {
  background: #15803d;
}

.lead-magnet-form small {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* FAQ Acordeón */
.faq-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.faq-section details {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.faq-section details:hover {
  border-color: #bfdbfe;
}

.faq-section details[open] {
  border-color: #93c5fd;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.05);
}

.faq-section summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--ink);
  font-weight: 800;
  font-family: Manrope, sans-serif;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue);
  font-weight: 400;
  transition: transform 160ms ease;
}

.faq-section details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-section details p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Seccion de Blog en Home */
.blog-preview-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.blog-card span {
  font-size: 12px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 {
  margin: 12px 0 10px;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.blog-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-card .read-more {
  font-size: 14px;
  color: var(--blue);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 160ms ease;
}

.blog-card:hover .read-more {
  gap: 10px;
}

/* Ajustes adicionales de Precios */
.pricing-features-list {
  margin-top: auto;
  padding: 20px 0 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 10px;
}

.pricing-features-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.pricing-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
  font-weight: 900;
}

.pricing-faq {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  grid-column: span 2;
}

.pricing-faq h3 {
  font-family: Manrope, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
}

/* Ajustes de footer */
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  width: 100%;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-col ul a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}

.footer-col ul a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  font-size: 13px;
  color: var(--muted);
}

/* Ajustes de botones repetidos en navegación */
.button-outline {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.button-outline:hover {
  background: #eff6ff;
}

/* Ajustes Responsive para Nuevas Secciones */
@media (max-width: 1040px) {
  .problem-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-magnet-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 28px;
  }
  
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .problem-grid,
  .use-cases-grid,
  .blog-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 12px;
  }
  
  .lead-magnet-card {
    padding: 24px;
  }

  .lead-magnet-info h3 {
    font-size: 26px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Toggle Switch para Precios */
.switch input:checked + .slider {
  background-color: var(--blue);
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px var(--blue);
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}


