/* ═══════════════════════════════════════════════════
   CENDAP - Seminario Ejecución Financiera 2026
   C:\static\css\styles.css
════════════════════════════════════════════════════ */

/* ── Variables de Color ── */
:root {
  --cendap-primary:   #0a3d62;
  --cendap-secondary: #1e5f8e;
  --cendap-accent:    #f0a500;
  --cendap-light:     #e8f4fd;
  --cendap-dark:      #071d2e;
  --cendap-gradient:  linear-gradient(135deg, #ebf1f5 0%, #1e5f8e 60%, #2980b9 100%);
}

/* ── Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #2c3e50;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* ── Utilidades de Color CENDAP ── */
.bg-cendap          { background-color: var(--cendap-primary) !important; }
.text-cendap        { color: var(--cendap-primary) !important; }
.bg-cendap-light    { background-color: var(--cendap-light) !important; }
.text-warning-dark  { color: #b7791f !important; }

/* ── NAVBAR ── */
.navbar.bg-cendap {
  background: var(--cendap-gradient) !important;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.navbar-brand span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .3px;
  transition: color .2s;
}

.nav-link:hover {
  color: var(--cendap-accent) !important;
}

/* ── HERO ── */
.hero-section {
  position: relative;
  background: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&q=80')
              center center / cover no-repeat;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 29, 46, .93) 0%,
    rgba(10, 61, 98, .85) 60%,
    rgba(30, 95, 142, .75) 100%
  );
  z-index: 0;
}

.hero-section .container {
  z-index: 1;
}

.min-vh-75 {
  min-height: 75vh;
}

.fw-black {
  font-weight: 900 !important;
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--cendap-primary);
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--cendap-accent);
  border-radius: 2px;
  margin: .5rem auto 0;
}

/* ── SEDE CARDS ── */
.card-sede {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.card-sede:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 61, 98, .18) !important;
}

/* ── BENEFITS LIST ── */
.benefits-list li {
  font-size: 1.05rem;
  padding: .4rem 0;
  border-bottom: 1px dashed #e0e0e0;
}

.benefits-list li:last-child {
  border-bottom: none;
}

/* ── EJE CARDS ── */
.eje-card {
  border-radius: 1rem;
  transition: transform .3s, box-shadow .3s;
  background: #fff;
}

.eje-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(10, 61, 98, .15) !important;
}

.eje-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cendap-gradient);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(10, 61, 98, .3);
}

.eje-card ul li {
  padding: .25rem 0;
  line-height: 1.5;
}

/* ── PLAN CARDS ── */
.plan-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .3s;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-b {
  border: 3px solid var(--cendap-accent) !important;
}

.plan-badge-popular {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--cendap-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 0 0 .5rem .5rem;
  z-index: 2;
}

.plan-features li {
  padding: .5rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .95rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

/* ── PRICE BADGES ── */
.price-badge {
  display: inline-block;
  background: var(--cendap-light);
  color: var(--cendap-primary);
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: .5rem;
  font-size: .9rem;
}

.price-badge-b {
  display: inline-block;
  background: #fff8e1;
  color: #7d5a00;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: .5rem;
  font-size: .9rem;
}

/* ── TABLE ── */
.table thead th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: .95rem;
}

.table tbody td {
  vertical-align: middle;
  padding: .9rem 1rem;
}

/* ── STEPS ── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cendap-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(10, 61, 98, .25);
}

.step-item p {
  margin-bottom: 0;
  padding-top: .4rem;
  font-size: .95rem;
  line-height: 1.6;
}

/* ── BANK CARDS ── */
.bank-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: box-shadow .2s;
}

.bank-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.bank-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── DECÁLOGO ── */
.decalogo-item {
  border-left: 4px solid var(--cendap-primary);
  transition: box-shadow .2s, transform .2s;
}

.decalogo-item:hover {
  box-shadow: 0 6px 20px rgba(10, 61, 98, .12) !important;
  transform: translateX(3px);
}

.decalogo-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cendap-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .85rem;
}

/* ── INSCRIPTION FORM ── */
.inscription-form .form-control,
.inscription-form .form-select {
  border-radius: .6rem;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: border-color .2s, background .2s;
}

.inscription-form .form-control::placeholder {
  color: rgba(255,255,255,.5);
}

.inscription-form .form-control:focus,
.inscription-form .form-select:focus {
  border-color: var(--cendap-accent);
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 3px rgba(240,165,0,.25);
  color: #fff;
}

.inscription-form .form-label {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
}

.inscription-form .form-select option {
  color: #2c3e50;
  background: #fff;
}

.inscription-form .form-check-label {
  color: rgba(255,255,255,.8);
}

/* ── CONTACT BOX ── */
.contact-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
}

/* ── BTN CENDAP ── */
.btn-cendap {
  background: var(--cendap-gradient);
  color: #fff;
  border: none;
  font-weight: 700;
  transition: opacity .2s, transform .2s;
}

.btn-cendap:hover {
  color: #fff;
  opacity: .9;
  transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .display-4 {
    font-size: 1.8rem;
  }

  .eje-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .plan-badge-popular {
    font-size: .65rem;
  }
}

@media (max-width: 576px) {
  .hero-section .btn {
    width: 100%;
    justify-content: center;
  }

  .d-flex.flex-wrap.gap-3 .btn {
    flex: 1 1 100%;
  }
}

/* ── SCROLL SUAVE ── */
html {
  scroll-padding-top: 80px;
}

/* ── ANIMACIONES ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-section .col-lg-8 > * {
  animation: fadeInUp .7s ease both;
}

.hero-section .col-lg-8 > *:nth-child(1) { animation-delay: .1s; }
.hero-section .col-lg-8 > *:nth-child(2) { animation-delay: .3s; }
.hero-section .col-lg-8 > *:nth-child(3) { animation-delay: .5s; }
.hero-section .col-lg-8 > *:nth-child(4) { animation-delay: .6s; }
.hero-section .col-lg-8 > *:nth-child(5) { animation-delay: .7s; }