/* ==========================================================
   PACTO DE MEMBRESÍA — Stylesheet
   Prefijo: pac-
   Scope:   .page-template-page-pacto .pac-page
   Estilos compartidos (inner, section, hero, eyebrow, fade-up)
   → ibg-base.css. Misma línea visual que membresia.css.
   ========================================================== */

.page-template-page-pacto .pac-page,
.page-template-page-pacto .pac-page * {
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* ----------------------------------------------------------
   Tipografía — blindaje contra los estilos globales
---------------------------------------------------------- */
.page-template-page-pacto .pac-page h1.ibg-hero-title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 0.85rem;
  text-transform: none !important;
}

.page-template-page-pacto .pac-page h2.ibg-section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #3E3838;
  margin: 0 0 0.5rem;
  text-transform: none !important;
}

.page-template-page-pacto .pac-page h3.pac-title {
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #3E3838;
  margin: 0 0 0.5rem;
  text-transform: none !important;
}

/* ----------------------------------------------------------
   Hero — igual que membresía (teal con acento cálido)
---------------------------------------------------------- */
.pac-page .pac-hero {
  height: auto;
  min-height: 400px;
  background-color: #024555;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255, 92, 27, 0.22) 0, rgba(255, 92, 27, 0) 45%),
    radial-gradient(circle at 10% 100%, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0) 40%);
}

.pac-page .pac-hero .ibg-hero-overlay { background: none; }

.pac-page .pac-hero .ibg-hero-content {
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

.pac-page .ibg-hero-sub {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
}

/* ----------------------------------------------------------
   Introducción
---------------------------------------------------------- */
.pac-page .pac-intro {
  position: relative;
  padding-left: 1.75rem;
  border-left: 3px solid #FF5C1B;
}

.pac-page .pac-intro-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF5C1B;
  margin: 0 0 0.85rem;
}

.pac-page .pac-intro-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.6;
  color: #3E3838;
  margin: 0;
}

/* ----------------------------------------------------------
   Compromisos
---------------------------------------------------------- */
.pac-page .ibg-section-header { margin-bottom: 2rem; }

.pac-page ol.pac-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pac-page .pac-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.1rem;
  align-items: start;
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border: 0.5px solid #e4ddd5;
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pac-page .pac-item:hover {
  border-color: #FFCDB8;
  box-shadow: 0 4px 24px rgba(255, 92, 27, 0.08);
}

.pac-page .pac-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFF0EB;
  color: #FF5C1B;
  font-weight: 700;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.pac-page .pac-text {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

/* ----------------------------------------------------------
   Cierre
---------------------------------------------------------- */
.pac-page .pac-cta-block { text-align: center; }

.pac-page .pac-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.pac-page a.pac-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF5C1B;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  min-height: 44px;
  border: 1px solid #FF5C1B;
  transition: opacity 0.15s, transform 0.1s;
}

.pac-page a.pac-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.pac-page a.pac-btn--ghost {
  background: transparent;
  color: #3E3838;
  border-color: #d8d0c8;
}

/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */
@media (max-width: 640px) {
  .page-template-page-pacto .pac-page h1.ibg-hero-title { font-size: 34px; line-height: 1.1; }
  .page-template-page-pacto .pac-page h2.ibg-section-title { font-size: 24px; }
  .page-template-page-pacto .pac-page h3.pac-title { font-size: 17px; }

  .pac-page .ibg-inner { padding: 0 1.25rem; }
  .pac-page .pac-hero { min-height: 340px; }
  .pac-page .pac-hero .ibg-hero-content { padding: 2.75rem 1.25rem 2.5rem; }

  .pac-page .pac-intro { padding-left: 1.1rem; }
  .pac-page .pac-intro-text { font-size: 18px; }

  .pac-page .pac-item { grid-template-columns: 1fr; gap: 0.75rem; padding: 1.25rem; }
  .pac-page .pac-num { width: 40px; height: 40px; font-size: 15px; }
}
