/* ================================================
   PRESTAFÉ PAGE — Specific styles
   ================================================ */

/* HERO */
.pf-hero {
  background: var(--hero-background, #031C35);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 40px;
  gap: 40px;
}
.pf-hero-left, .pf-hero-right {
  position: relative;
  z-index: 1;
}

.pf-hero-left {
  padding: 64px 0 64px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-by-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
}
.pf-by-tag strong { color: rgba(255,255,255,0.8); }
.pf-hero-title {
  font-family: var(--font-cond);
  font-size: 88px;
  font-weight: 900;
  color: #fff;
  line-height: 0.9;
  margin-bottom: 20px;
}
.pf-hero-title em { color: var(--truver-red); font-style: normal; }
.pf-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 28px;
}
.pf-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pf-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-left: 2px solid var(--truver-red);
}
.pf-badge i { font-size: 15px; opacity: 0.75; }

/* HERO SIM */
.pf-hero-right {
  display: flex;
  align-items: center;
  padding: 40px 0;
}
[data-app="simulador"] { width: 100%; }
.pf-hero-sim {
  background: #fff;
  width: 100%;
  max-width: 380px;
  padding: 30px;
}
.sim-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.sim-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--truver-navy);
}
.sim-pill {
  background: var(--truver-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  text-transform: uppercase;
}
.sim-label { font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.sim-amount {
  font-family: var(--font-cond);
  font-size: 48px;
  font-weight: 900;
  color: var(--truver-navy);
  margin-bottom: 10px;
}
.sim-slider-pf {
  width: 100%;
  height: 4px;
  accent-color: var(--truver-red);
  margin-bottom: 6px;
  cursor: pointer;
}
.sim-range-labels { display: flex; justify-content: space-between; font-size: 10px; color: #bbb; margin-bottom: 16px; }
.sim-row-pf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.sim-field-pf { background: #f5f5f5; padding: 10px 12px; }
.sim-field-pf--result { background: #fff3f3; border-left: 2px solid var(--truver-red); }
.sim-select-pf {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-cond);
  font-size: 18px;
  font-weight: 700;
  color: var(--truver-navy);
  padding: 0;
  cursor: pointer;
  margin-top: 4px;
}
.sim-cuota-big {
  font-family: var(--font-cond);
  font-size: 24px;
  font-weight: 900;
  color: var(--truver-red);
  margin-top: 4px;
}
.sim-divider { border: none; border-top: 1px solid #eee; margin: 0 0 18px; }
.sim-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.sim-input {
  border: 1px solid #ddd;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.sim-input:focus { border-color: var(--truver-red); }
.sim-disclaimer { font-size: 11px; color: #aaa; text-align: center; line-height: 1.5; }

/* ARQUETIPOS */
.arquetipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 36px;
}
.arquetipo-card {
  background: var(--truver-gray);
  padding: 28px 24px;
  border-top: 3px solid var(--truver-border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.3s, box-shadow 0.3s, border-top-color 0.3s, background 0.3s;
}
.arquetipo-card.revealed { opacity: 1; transform: translateY(0); }
.arquetipo-card.revealed:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(13,27,62,0.1);
  border-top-color: var(--truver-red);
}
.arquetipo-card--featured { }
.arq-icon {
  width: 48px; height: 48px;
  background: var(--truver-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.arquetipo-card.revealed:hover .arq-icon { transform: scale(1.1); }
.arq-icon--red { background: var(--truver-red); }
.arq-icon i { font-size: 24px; color: #fff; }
.arq-title { font-size: 15px; font-weight: 700; color: var(--truver-navy); margin-bottom: 10px; }
.arq-desc { font-size: 13px; color: var(--truver-muted); line-height: 1.65; margin-bottom: 14px; }
.arq-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.arq-tags span {
  background: #e8e8e8;
  color: #555;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
}
.arquetipo-card--featured:hover .arq-tags span { background: #fde8e8; color: var(--truver-red-dk); }

/* REQUISITOS */
.req-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.req-list { list-style: none; margin-top: 24px; }
.req-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e8;
}
.req-item:last-child { border-bottom: none; }
.req-item i { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.req-item--yes i { color: var(--truver-red); }
.req-item--no i { color: #28a745; }
.req-item strong { display: block; font-size: 14px; color: var(--truver-navy); margin-bottom: 2px; }
.req-item span { font-size: 13px; color: var(--truver-muted); line-height: 1.55; }
.req-cta-box {
  background: var(--truver-navy);
  padding: 32px;
  position: sticky;
  top: 80px;
}
.req-cta-title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.req-cta-box p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 24px; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 36px auto 0;
}
.faq-item {
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.faq-item:hover {
  background: #f7f7f7;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--truver-navy);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--truver-red); }
.faq-question i {
  font-size: 18px;
  transition: transform 0.3s;
  flex-shrink: 0;
  color: var(--truver-red);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 18px; }
.faq-answer p { font-size: 14px; color: var(--truver-muted); line-height: 1.75; }
.faq-answer strong { color: var(--truver-navy); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .pf-hero { grid-template-columns: 1fr; padding: 0 20px; }
  .pf-hero-left { padding: 40px 0 24px; }
  .pf-hero-right { padding: 0 0 40px; justify-content: center; }
  .pf-hero-sim { max-width: 100%; }
  .pf-hero-title { font-size: 64px; }
  .arquetipo-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .req-cta-box { position: static; }
}
@media (max-width: 600px) {
  .pf-hero-left { align-items: center; text-align: center; padding: 36px 0 20px; }
  .pf-hero-title { font-size: 52px; }
  .pf-hero-sub { max-width: 100%; }
  .pf-hero-badges { justify-content: center; }
}
