/* PuntoFrugal — Calculadoras v1.0
   Index page + individual calculator pages
*/

/* ─── PAGE WRAPPER ─── */
.pf-calc-page-wrap {
  padding-top: .5rem;
}

/* ─── INDEX HERO ─── */
.pf-calc-index-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 3rem;
}
.pf-calc-index-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #1A2744;
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.pf-calc-index-desc {
  font-size: 1rem;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ─── CATEGORY SECTIONS ─── */
.pf-calc-section {
  margin-bottom: 3.5rem;
}
.pf-calc-section-coming {
  opacity: .65;
}
.pf-calc-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: .85rem;
  border-bottom: 2px solid #e5e7eb;
}
.pf-calc-category-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: #FDF3E0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-calc-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1A2744;
  margin: 0 0 .15rem;
  border: none !important;
  padding: 0 !important;
}
.pf-calc-section-desc {
  font-size: .85rem;
  color: #9ca3af;
  margin: 0;
}

/* ─── CARD GRID ─── */
.pf-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* ─── CALCULATOR CARD ─── */
.pf-calc-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none !important;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
}
.pf-calc-card:hover {
  border-color: #F5A623;
  box-shadow: 0 4px 20px rgba(245,166,35,.12);
  transform: translateY(-2px);
}
.pf-calc-card-soon {
  cursor: default;
  pointer-events: none;
}
.pf-calc-card-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e7eb;
}
.pf-calc-card-icon {
  font-size: 2rem;
  width: 3.25rem;
  height: 3.25rem;
  background: #FDF3E0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.pf-calc-card-body {
  flex: 1;
}
.pf-calc-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1A2744 !important;
  margin: 0 0 .45rem;
  line-height: 1.3;
}
.pf-calc-card-body p {
  font-size: .88rem;
  color: #6b7280 !important;
  line-height: 1.6;
  margin: 0 !important;
}
.pf-calc-card-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}
.pf-calc-card-btn {
  font-size: .85rem;
  font-weight: 600;
  color: #F5A623;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color .15s;
}
.pf-calc-card:hover .pf-calc-card-btn {
  color: #C8860A;
}

/* ─── COMING SOON BADGE ─── */
.pf-calc-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem .75rem;
  border-radius: 20px;
}
.pf-calc-soon-badge::before {
  content: "⏳";
  font-size: .8rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .pf-calc-index-hero { padding: 2rem 1rem 1.75rem; }
  .pf-calc-grid { grid-template-columns: 1fr; }
}
