/*
  Secciones de producto de la home (ToDo.md Fase 21, 2026-09-24): hero con
  CTA doble, pasos, tarjetas de precio, comparativa, FAQ y banda de CTA.
  Complementa style.css (plantilla "Personal") sin tocarlo: mismos colores
  (#12d640 acento, fondos oscuros del header) y misma tipografía.
*/

#header .hero-lead {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* En la barra compacta (.header-top) style.css oculta el h2 del hero pero
   no conoce este párrafo: sin esto queda flotando entre el logo y el menú. */
#header.header-top .hero-lead {
  display: none;
}

/* Los dos CTA del hero viven en .social-links (debajo del menú), así que
   header-cta.css y brand.css les aplican el estilo del botón compacto
   "Comenzar". Fuera de la barra compacta se pisa con el estilo píldora;
   en .header-top solo se muestra "Comenzar" con su estilo compacto. */
#header .social-links.hero-cta {
  flex-wrap: wrap;
  gap: 12px;
}

#header.header-top .social-links.hero-cta .btn-cta-secondary {
  display: none;
}

#header:not(.header-top) .social-links.hero-cta .btn-cta,
#header:not(.header-top) .social-links.hero-cta .btn-cta:hover,
#header:not(.header-top) .social-links.hero-cta .btn-cta:focus,
#header:not(.header-top) .social-links.hero-cta .btn-cta:active,
#header:not(.header-top) .social-links.hero-cta .btn-cta:visited,
.cta-band .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

#header:not(.header-top) .social-links.hero-cta .btn-cta {
  height: auto;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

#header .social-links.hero-cta .btn-cta-primary,
#header .social-links.hero-cta .btn-cta-primary:focus,
#header .social-links.hero-cta .btn-cta-primary:active,
#header .social-links.hero-cta .btn-cta-primary:visited {
  background: #12d640;
  color: #0b2314;
}

#header .social-links.hero-cta .btn-cta-primary:hover {
  background: #2ce65a;
  color: #0b2314;
}

#header:not(.header-top) .social-links.hero-cta .btn-cta-secondary,
#header:not(.header-top) .social-links.hero-cta .btn-cta-secondary:focus,
#header:not(.header-top) .social-links.hero-cta .btn-cta-secondary:active,
#header:not(.header-top) .social-links.hero-cta .btn-cta-secondary:visited {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

#header:not(.header-top) .social-links.hero-cta .btn-cta-secondary:hover {
  background: transparent;
  border: 2px solid #12d640;
  color: #12d640;
}

.btn-cta-primary {
  background: #12d640;
  color: #0b2314 !important;
}

.btn-cta-primary:hover {
  background: #2ce65a;
}

.btn-cta-secondary {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff !important;
}

.btn-cta-secondary:hover {
  border-color: #12d640;
  color: #12d640 !important;
}

.product-section {
  padding: 60px 0;
}

.product-section .icon-box {
  height: 100%;
}

.steps .step .icon i {
  font-size: 30px;
}

.price-card {
  height: 100%;
  padding: 32px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.price-card-accent {
  border-color: rgba(18, 214, 64, 0.6);
  box-shadow: 0 0 0 1px rgba(18, 214, 64, 0.25);
}

.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-card .price-amount {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: #12d640;
  margin: 8px 0 4px;
}

.price-card .price-unit {
  opacity: 0.85;
  margin-bottom: 18px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-card li {
  padding: 6px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-card li i {
  color: #12d640;
  margin-top: 3px;
}

.price-example {
  max-width: 820px;
  margin: 28px auto 8px;
  text-align: center;
  font-size: 15px;
  opacity: 0.9;
}

.price-note {
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.compare,
.product-subsection {
  margin-top: 50px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
  text-align: left;
}

.compare-table th {
  font-weight: 700;
}

.compare-table .compare-us {
  background: rgba(18, 214, 64, 0.08);
  font-weight: 600;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: #12d640;
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-item p {
  margin: 10px 0 0 18px;
  opacity: 0.9;
}

.cta-band {
  margin-top: 50px;
  padding: 36px 24px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 214, 64, 0.16), rgba(18, 214, 64, 0.04));
  border: 1px solid rgba(18, 214, 64, 0.35);
}

.cta-band h3 {
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-band p:last-child {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .price-card .price-amount {
    font-size: 36px;
  }

  #header .hero-lead {
    font-size: 15px;
  }
}
