/* Homepage Zeli Medic — segunda pasada: producto, legibilidad, menos carga */
.home-page {
  --home-ink: #163a5f;
  --home-accent: #1a8fd1;
  --home-accent-deep: #0f6fa8;
  --home-soft: #f3f8fc;
  --home-muted: #5d6f82;
  --home-line: #d7e6f2;
  background: #fff;
  font-size: 16px;
  overflow-x: clip;
}

.home-page .container {
  max-width: 1180px;
}

/*
 * Anular estilos legacy de #hero en style.css
 * (min-height 700px, gradiente animado, tipografía cyan, íconos amarillos).
 */
.home-page #hero.home-hero,
.home-page section#hero.home-hero {
  position: relative;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 48px 0 56px;
  background: linear-gradient(180deg, var(--home-soft) 0%, #fff 78%);
  background-size: auto;
  animation: none;
  -webkit-animation: none;
  clip-path: none;
}

.home-page #hero.home-hero .container,
.home-page #hero.home-hero .container-fluid {
  padding-top: 0;
}

.home-page #hero.home-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--home-ink);
  font-weight: 750;
}

.home-page #hero.home-hero p {
  color: var(--home-muted);
  margin: 0;
  font-size: 1.08rem;
  padding-bottom: 0;
}

.home-page #hero.home-hero .home-hero-lead {
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: 1.15rem;
}

.home-page #hero.home-hero .home-hero-meta {
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

.home-page #hero.home-hero ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 1.4rem;
}

.home-page #hero.home-hero ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--home-ink);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-top: 0;
}

.home-page #hero.home-hero ul li i {
  color: var(--home-accent);
  font-size: 1.15rem;
  margin-top: 0.1rem;
  margin-right: 0;
  text-shadow: none;
  background: transparent;
  border-radius: 0;
}

.home-page .section-title {
  margin-bottom: 2rem;
}

.home-page .section-title h2 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 0.65rem;
}

.home-page .section-title .subtitle {
  color: var(--home-muted);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.05rem;
}

.home-page section {
  padding: 64px 0;
}

.home-page .section-bg-soft {
  background: var(--home-soft);
}

.home-eyebrow {
  display: inline-block;
  color: var(--home-accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.home-hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.home-cta-row .btn {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 600;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.home-page .btn-primary {
  color: #fff;
  background: var(--home-accent);
  border: 2px solid var(--home-accent);
}

.home-page .btn-primary:hover {
  color: #fff;
  background: var(--home-accent-deep);
  border-color: var(--home-accent-deep);
}

.home-page .btn-outline-primary {
  color: var(--home-accent-deep);
  background: #fff;
  border: 2px solid var(--home-accent-deep);
}

.home-page .btn-outline-primary:hover {
  color: #fff;
  background: var(--home-accent-deep);
  border-color: var(--home-accent-deep);
}

.home-page .btn-success {
  color: #fff;
  background: #128c7e;
  border: 2px solid #128c7e;
}

.home-page .btn-light {
  color: var(--home-ink);
  background: #fff;
  border: 2px solid #fff;
}

.home-hero-meta {
  color: var(--home-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Hero product collage */
.home-hero-product {
  position: relative;
  padding: 0;
  width: 100%;
}

.home-browser-frame {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(22, 58, 95, 0.14);
}

.home-browser-chrome {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: #eef4f9;
  border-bottom: 1px solid var(--home-line);
}

.home-browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d3e0;
}

.home-browser-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-float {
  position: absolute;
  width: 42%;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(22, 58, 95, 0.16);
}

.home-hero-float img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-float span {
  display: block;
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--home-ink);
  background: #fff;
  border-top: 1px solid var(--home-line);
}

.home-hero-float-clinic {
  left: -4%;
  bottom: 8%;
  transform: rotate(-2deg);
}

.home-hero-float-finance {
  right: -2%;
  top: 14%;
  transform: rotate(2deg);
}

.home-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1rem;
}

.home-hero-chips span {
  background: #fff;
  border: 1px solid var(--home-line);
  color: var(--home-ink);
  font-size: 0.8rem;
  font-weight: 650;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

.home-audience-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  padding: 1.85rem 1.55rem;
  height: 100%;
  box-shadow: 0 10px 24px rgba(22, 58, 95, 0.05);
  display: flex;
  flex-direction: column;
}

.home-audience-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(26, 143, 209, 0.1);
  color: var(--home-accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.home-audience-card h3 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 0 0.65rem;
}

.home-audience-card p {
  color: var(--home-muted);
  line-height: 1.55;
  font-size: 1rem;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.home-audience-card .btn {
  width: 100%;
  border-radius: 10px;
  font-weight: 600;
}

.home-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.home-compare-panel {
  border-radius: 18px;
  padding: 1.6rem 1.45rem;
  height: 100%;
}

.home-compare-panel.dispersed {
  background: #f4f6f8;
  border: 1px solid #e2e7ec;
}

.home-compare-panel.connected {
  background: #f0f8fd;
  border: 2px solid rgba(26, 143, 209, 0.4);
  box-shadow: 0 10px 24px rgba(26, 143, 209, 0.08);
}

.home-compare-panel h3 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

.home-compare-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-compare-panel li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}

.home-compare-panel.dispersed li i {
  color: #9aa7b5;
  margin-top: 0.2rem;
}

.home-compare-panel.connected li i {
  color: var(--home-accent);
  margin-top: 0.2rem;
}

.home-compare-highlight {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #163a5f 0%, #0f6fa8 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.35rem;
  text-align: center;
  font-weight: 650;
  line-height: 1.5;
  font-size: 1.02rem;
}

.home-page #home-product-demo {
  padding-bottom: 28px;
}

.home-page #product-screenshots {
  padding-top: 0;
  padding-bottom: 8px;
  background: transparent;
}

.home-page #product-screenshots .product-screenshot-card-body h3 {
  font-size: 1.05rem;
}

.home-page #product-screenshots .product-screenshot-card-body p {
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-video-block h3 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  margin: 1.75rem 0 0.55rem;
}

.home-video-block .lead-copy {
  color: var(--home-muted);
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
  font-size: 1.05rem;
}

.home-video-main {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  box-shadow: 0 14px 32px rgba(22, 58, 95, 0.1);
  background: #000;
}

.home-area-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  padding: 1.65rem 1.4rem;
  height: 100%;
  box-shadow: 0 8px 20px rgba(22, 58, 95, 0.04);
}

.home-area-card h3 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.55rem;
}

.home-area-card > p {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.home-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-area-tags li {
  background: var(--home-soft);
  border: 1px solid var(--home-line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--home-ink);
}

.home-trust-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  padding: 1.55rem 1.35rem;
  height: 100%;
}

.home-trust-card h3 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.home-trust-card p {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.home-trust-geo {
  text-align: center;
  color: var(--home-muted);
  font-size: 0.98rem;
  margin: 1.5rem 0 1.15rem;
}

.home-price-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  padding: 1.85rem 1.55rem;
  height: 100%;
  box-shadow: 0 10px 24px rgba(22, 58, 95, 0.05);
  display: flex;
  flex-direction: column;
}

.home-price-card h3 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.home-price-card .from {
  color: var(--home-muted);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.home-price-card .amount {
  color: var(--home-accent-deep);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.home-price-card p {
  color: var(--home-muted);
  line-height: 1.55;
  font-size: 1rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.home-price-card .btn {
  width: 100%;
  border-radius: 10px;
  font-weight: 600;
}

.home-price-aside {
  text-align: center;
  margin-top: 1.35rem;
}

.home-price-aside a {
  color: var(--home-accent-deep);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.home-price-aside a:hover {
  text-decoration: underline;
}

.home-case-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  padding: 1.65rem 1.4rem;
  height: 100%;
  box-shadow: 0 8px 20px rgba(22, 58, 95, 0.04);
  display: flex;
  flex-direction: column;
}

.home-case-card h3 {
  color: var(--home-ink);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

.home-case-meta {
  color: var(--home-accent-deep);
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 0.85rem;
}

.home-case-label {
  display: block;
  color: var(--home-ink);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.home-case-card p {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.home-case-card .btn {
  margin-top: auto;
  border-radius: 10px;
  font-weight: 600;
}

.home-final-cta {
  background: linear-gradient(135deg, #163a5f 0%, #0f6fa8 100%);
  border-radius: 20px;
  padding: 2.4rem 1.75rem;
  text-align: center;
  color: #fff;
}

.home-final-cta h2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.home-final-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
  font-size: 1.05rem;
}

.home-final-cta .home-cta-row {
  justify-content: center;
  margin-bottom: 0.85rem;
}

.home-final-cta .home-hero-meta {
  color: rgba(255, 255, 255, 0.82);
}

.home-cta-wrap {
  padding-bottom: 72px;
}

.home-page #product-screenshots .feat-expand-btn {
  min-height: 46px;
  border-radius: 10px;
  font-weight: 600;
}

/* —— Tablet (hasta lg) —— */
@media (max-width: 991px) {
  .home-page section {
    padding: 52px 0;
  }

  .home-page #hero.home-hero,
  .home-page section#hero.home-hero {
    padding: 28px 0 36px;
    text-align: center;
    min-height: 0;
  }

  .home-page #hero.home-hero .container,
  .home-page #hero.home-hero .container-fluid {
    padding-top: 0;
  }

  .home-page #hero.home-hero h1 {
    font-size: clamp(1.5rem, 4.2vw, 1.95rem);
    line-height: 1.22;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  .home-page #hero.home-hero .home-hero-lead {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.02rem;
    max-width: 32rem;
  }

  .home-page #hero.home-hero ul.home-hero-points {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .home-page #hero.home-hero .home-hero-meta {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .home-cta-row {
    justify-content: center;
  }

  .home-hero-product {
    padding: 0.35rem 0 0;
    max-width: 100%;
    margin: 0 auto;
  }

  .home-browser-frame {
    box-shadow: 0 12px 28px rgba(22, 58, 95, 0.1);
    border-radius: 12px;
  }

  .home-compare {
    grid-template-columns: 1fr;
  }

  .home-compare-panel {
    padding: 1.45rem 1.25rem;
  }

  .home-compare-highlight {
    padding: 1.1rem 1.15rem;
    font-size: 1rem;
  }

  .home-final-cta {
    padding: 2rem 1.35rem;
    border-radius: 16px;
  }

  .home-cta-wrap {
    padding-bottom: 52px;
  }

  .home-audience-card,
  .home-price-card {
    padding: 1.65rem 1.35rem;
  }

  .home-area-card,
  .home-case-card,
  .home-trust-card {
    padding: 1.45rem 1.25rem;
  }
}

/* —— Móvil / phablet —— */
@media (max-width: 767px) {
  .home-page section {
    padding: 44px 0;
  }

  .home-page .section-title {
    margin-bottom: 1.65rem;
  }

  .home-page .section-title .subtitle {
    font-size: 1rem;
  }

  .home-page #hero.home-hero,
  .home-page section#hero.home-hero {
    padding: 20px 0 28px;
  }

  .home-page #hero.home-hero h1 {
    font-size: clamp(1.4rem, 6.2vw, 1.68rem);
    line-height: 1.24;
    margin-bottom: 0.75rem;
  }

  .home-page #hero.home-hero .home-hero-lead {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }

  .home-page #hero.home-hero ul.home-hero-points {
    margin-bottom: 1.1rem;
    width: 100%;
    max-width: 22rem;
  }

  .home-page #hero.home-hero ul li {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .home-hero-product {
    max-width: 100%;
    margin-top: 0.35rem;
    padding: 0;
  }

  .home-browser-frame {
    border-radius: 10px;
  }

  .home-browser-chrome {
    padding: 0.4rem 0.6rem;
  }

  .home-hero-chips {
    margin-top: 0.7rem;
    justify-content: center;
    gap: 0.35rem;
  }

  .home-hero-chips span {
    font-size: 0.78rem;
    padding: 0.25rem 0.55rem;
  }

  .home-page #hero.home-hero .home-cta-row,
  .home-cta-row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    gap: 0.65rem;
  }

  .home-page #hero.home-hero .home-cta-row .btn,
  .home-cta-row .btn,
  .home-final-cta .home-cta-row .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-page #hero.home-hero .home-hero-meta {
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
  }

  #home-audiences .col-md-6,
  #plans-intro .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #home-areas .col-md-6,
  #testimonials .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .home-page #product-screenshots {
    padding-bottom: 4px;
  }

  .home-page #product-screenshots .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .home-page #product-screenshots .feat-expand-btn {
    width: 100%;
    max-width: 22rem;
  }

  .home-video-block h3 {
    font-size: 1.2rem;
    margin-top: 1.4rem;
  }

  .home-video-block .lead-copy {
    font-size: 1rem;
    padding: 0 0.25rem;
  }

  .home-video-block .btn-lg {
    width: 100%;
    max-width: 22rem;
  }

  .home-area-card h3 {
    font-size: 1.12rem;
  }

  .home-area-card > p,
  .home-trust-card p,
  .home-case-card p {
    font-size: 0.98rem;
  }

  .home-area-tags li {
    font-size: 0.86rem;
  }

  #home-areas .btn-lg,
  #home-trust .btn {
    width: 100%;
    max-width: 22rem;
  }

  .home-price-card .amount {
    font-size: 1.75rem;
  }

  .home-final-cta {
    padding: 1.75rem 1.15rem;
    border-radius: 14px;
  }

  .home-final-cta h2 {
    font-size: clamp(1.3rem, 5.5vw, 1.55rem);
  }

  .home-final-cta p {
    font-size: 0.98rem;
  }
}

@media (max-width: 575px) {
  .home-eyebrow {
    font-size: 0.76rem;
    margin-bottom: 0.65rem;
  }

  .home-page #hero.home-hero,
  .home-page section#hero.home-hero {
    padding: 16px 0 24px;
  }

  .home-page #hero.home-hero h1 {
    font-size: 1.38rem;
  }

  .home-browser-chrome {
    padding: 0.35rem 0.55rem;
  }

  .home-compare-panel h3 {
    font-size: 1.1rem;
  }

  .home-case-meta {
    font-size: 0.88rem;
  }
}
