/* ================================================
   TESTMA — precios.css
   Estilos específicos para la página de precios
   ================================================ */

/* ------------------------------------------------
   NAV ACTIVE STATE
------------------------------------------------- */
.nav__link--active {
  color: var(--text);
  background: rgba(0,0,0,.04);
}

/* ------------------------------------------------
   HERO PRECIOS
------------------------------------------------- */
.pricing-hero {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.pricing-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.pricing-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.pricing-hero__desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.pricing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pricing-hero__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: none;
}

/* Quote card */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.quote-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.quote-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border: 1px solid rgba(26,107,255,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.quote-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
  max-width: none;
}

.quote-card__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: none;
}

.quote-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.quote-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.quote-detail--accent {
  background: var(--accent-light);
  border-color: rgba(26,107,255,.15);
}

.quote-detail__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: none;
}

.quote-detail__value {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  font-family: var(--font-mono);
  max-width: none;
}

.quote-card__footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.quote-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green);
}

.quote-status__dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ------------------------------------------------
   FACTORES QUE DEFINEN EL PRECIO
------------------------------------------------- */
.pricing-factors {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.factors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.factor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.factor-card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.factor-card__icon {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

.factor-card__title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.factor-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ------------------------------------------------
   QUÉ INCLUYE
------------------------------------------------- */
.included__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--border);
}

.included-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  padding: 1.5rem 1.75rem;
}

.included-item__check {
  width: 28px;
  height: 28px;
  background: var(--green-light);
  border: 1px solid rgba(24,165,88,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

.included-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  max-width: none;
  line-height: 1.3;
}

.included-item__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: none;
}

/* ------------------------------------------------
   FUNCIONES ADICIONALES
------------------------------------------------- */
.addons {
  background: var(--bg);
}

.addons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--border);
}

.addon-card {
  background: var(--surface);
  padding: 2rem;
}

.addon-card__icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.addon-card__icon--accent {
  background: var(--accent-light);
  border-color: rgba(26,107,255,.15);
  color: var(--accent);
}

.addon-card__title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.addon-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
  max-width: 42ch;
}

/* ------------------------------------------------
   PROCESO DE COTIZACIÓN
   (reutiliza .steps y .step del styles.css)
------------------------------------------------- */
.process {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.link-accent {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-accent:hover { opacity: 0.8; }

/* ------------------------------------------------
   FAQ
------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.faq-item {
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.faq-item__q {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  color: var(--text);
}

.faq-item__a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 52ch;
}

/* ------------------------------------------------
   RESPONSIVE
------------------------------------------------- */
@media (min-width: 768px) {
  .pricing-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .pricing-hero__cta {
    flex-wrap: nowrap;
  }
}

@media (max-width: 767px) {
  .quote-card { display: none; }
}
