/* ============================================================
   Equipos de Éxito — Sitio Web Corporativo
   Paleta basada en logotipo:
     --primary:    #1AA8B0  (teal)
     --secondary:  #3D3B8C  (índigo profundo)
     --accent:     #A8C96D  (verde lima)
     --steel:      #6B7EC4  (azul acero)
     --gray:       #939598  (gris)
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --primary:    #1AA8B0;
  --primary-dk: #138F96;
  --secondary:  #3D3B8C;
  --secondary-lt: #5250A8;
  --accent:     #A8C96D;
  --steel:      #6B7EC4;
  --gray:       #939598;
  --light:      #F4F8F9;
  --dark:       #1C1B2E;
  --text:       #333347;
  --white:      #FFFFFF;
  --gradient-hero: linear-gradient(135deg, rgba(26,168,176,.88) 0%, rgba(61,59,140,.92) 100%);
  --gradient-section: linear-gradient(135deg, #1AA8B0 0%, #3D3B8C 100%);
  --shadow-sm:  0 2px 12px rgba(26,168,176,.12);
  --shadow-md:  0 8px 32px rgba(61,59,140,.15);
  --shadow-lg:  0 16px 48px rgba(61,59,140,.2);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}
a { color: var(--primary); transition: var(--transition); }
a:hover { color: var(--secondary); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ---------- Navbar ---------- */
.navbar-web {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  padding: 1rem 0;
  transition: var(--transition);
  background: var(--nb-web-bg, #cae8cd);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.navbar-web.scrolled {
  background: var(--nb-web-bg, #cae8cd);
  padding: .6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  filter: brightness(.96);
}
.navbar-web .navbar-brand img {
  height: var(--nb-web-logo-h, 64px);
  transition: var(--transition);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.2));
  padding: 6px 0;
}
.navbar-web.scrolled .navbar-brand img { height: calc(var(--nb-web-logo-h, 64px) - 12px); }
.navbar-web .nav-link {
  color: var(--nb-web-text, #1C1B2E) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem 1rem !important;
  border-radius: 6px;
  transition: var(--transition);
}
.navbar-web .nav-link:hover,
.navbar-web .nav-link.active {
  color: var(--nb-web-hover, #3D3B8C) !important;
  background: rgba(0,0,0,.07);
}
.navbar-web .btn-nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: 50px;
  padding: .45rem 1.4rem !important;
  font-weight: 600;
  letter-spacing: .02em;
  border: 2px solid var(--primary);
  transition: var(--transition);
}
.navbar-web .btn-nav-cta:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,59,140,.35);
}
.navbar-toggler {
  border: 2px solid rgba(0,0,0,.3) !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url('/assets/site/images/team-spirit-2447163_1920.jpg') center center / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.hero .hero-badge {
  display: inline-block;
  background: rgba(168,201,109,.25);
  border: 1px solid rgba(168,201,109,.5);
  color: var(--accent);
  padding: .4rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: 2.5rem;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: rgba(255,255,255,.6);
  font-size: 2rem;
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ---------- Curso Hero Logo / Subtítulo ---------- */
.curso-hero-logo {
  display: block;
  margin: 0 auto 1rem;
  max-height: 200px;
  object-fit: contain;
}
.curso-hero-titulo {
  font-size: clamp(2.5rem,5vw,4.5rem);
}
.curso-hero-subtitulo {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.5rem;
}
@media (max-width: 991.98px) {
  .curso-hero-logo { max-height: 150px; }
}
@media (max-width: 767.98px) {
  .curso-hero-logo {
    max-height: 120px;
    margin-top: 2rem;   /* aire del navbar en móvil */
  }
}

/* ---------- Buttons ---------- */
.btn-primary-web {
  background: var(--primary);
  color: var(--white) !important;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-primary-web:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,168,176,.4);
}
.btn-secondary-web {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-secondary-web:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-accent {
  background: var(--accent);
  color: var(--dark) !important;
  border: 2px solid var(--accent);
  border-radius: 50px;
  padding: .75rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.btn-accent:hover {
  background: #96b85f;
  border-color: #96b85f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168,201,109,.4);
}
.btn-outline-white {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

/* ---------- Section Helpers ---------- */
.section-py { padding: 5rem 0; }
.section-py-sm { padding: 3.5rem 0; }
.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  position: relative;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: .5rem;
  vertical-align: middle;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 580px;
}
.bg-light-web { background-color: var(--light); }
.bg-gradient-web { background: var(--gradient-section); }
.text-primary-web { color: var(--primary) !important; }
.text-secondary-web { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }

/* ---------- Stats Band ---------- */
.stats-band {
  background: var(--secondary);
  padding: 3rem 0;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1.5rem 1rem;
}
.stat-item .stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-item .stat-label {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.stat-divider {
  border: none;
  border-left: 1px solid rgba(255,255,255,.15);
  height: 60px;
  margin: auto;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(26,168,176,.08);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-section);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(26,168,176,.12), rgba(61,59,140,.12));
  border-radius: var(--radius);
  display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient-section);
  color: var(--white);
}
.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: .75rem;
  color: var(--dark);
}
.service-card p {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Why Us / Features ---------- */
.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(26,168,176,.1);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon-wrap {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}
.feature-item h5 {
  font-size: 1rem;
  margin-bottom: .3rem;
  color: var(--dark);
}
.feature-item p {
  color: var(--gray);
  font-size: .9rem;
  margin: 0;
}

/* ---------- Process Steps ---------- */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 36px; left: calc(50% + 44px); right: calc(-50% + 44px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--steel));
  opacity: .3;
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 72px; height: 72px;
  background: var(--gradient-section);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26,168,176,.3);
}
.process-step h5 {
  font-size: .95rem;
  color: var(--dark);
  margin-bottom: .5rem;
}
.process-step p {
  font-size: .85rem;
  color: var(--gray);
}

/* ---------- Course Card (CTA) ---------- */
.course-cta-card {
  background: var(--gradient-section);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.course-cta-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.course-cta-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: rgba(168,201,109,.08);
  border-radius: 50%;
}
.course-cta-card .course-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(168,201,109,.2);
  border: 1px solid rgba(168,201,109,.4);
  color: var(--accent);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.course-cta-card h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 1rem;
}
.course-price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin: 1.5rem 0;
}
.course-price .price-amount {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.course-price .price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
}
.course-price .price-period {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  font-weight: 400;
}
.course-date-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid rgba(26,168,176,.08);
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .5rem;
}
.testimonial-text {
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 1rem;
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-section);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author .author-name {
  font-weight: 700;
  color: var(--dark);
  font-size: .95rem;
}
.testimonial-author .author-role {
  color: var(--gray);
  font-size: .85rem;
}
.stars { color: #FFB800; font-size: .9rem; margin-bottom: .75rem; }

/* ---------- Contact Form ---------- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-label-web {
  font-weight: 600;
  font-size: .9rem;
  color: var(--form-label-color, #2e5010);
  margin-bottom: .4rem;
}
.form-control-web {
  border: 2px solid var(--form-field-border, #5A881C);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .95rem;
  color: var(--form-field-text, #2c3e6b);
  background: var(--form-field-bg, #f7fbf2);
  transition: var(--transition);
  width: 100%;
}
.form-control-web::placeholder {
  color: var(--form-placeholder, #6b7a9a);
  opacity: 1;
}
.form-control-web:focus {
  border-color: var(--form-focus-border, #3D3B8C);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(61,59,140,.14);
}
.form-control-web.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,.12);
}
select.form-control-web {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23939598' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

/* Utilidades de color (Bootstrap no carga en website) */
.text-danger { color: #dc3545 !important; }
.text-muted  { color: #6c757d !important; }
.text-success { color: #198754 !important; }

/* ---------- Footer ---------- */
.footer-web {
  background: var(--nb-web-bg, #cae8cd);
  padding: 4rem 0 1.5rem;
  color: var(--nb-web-text, #1C1B2E);
}
.footer-brand img { height: 52px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; color: var(--nb-web-text, #1C1B2E); opacity: .8; }
.footer-heading {
  color: var(--nb-web-text, #1C1B2E);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  color: var(--nb-web-text, #1C1B2E);
  opacity: .72;
  font-size: .9rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--nb-web-hover, #3D3B8C); opacity: 1; padding-left: 4px; }
.footer-social {
  display: flex; gap: .75rem; margin-top: 1.25rem;
}
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(0,0,0,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--nb-web-text, #1C1B2E);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--nb-web-hover, #3D3B8C);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p {
  font-size: .85rem;
  color: var(--nb-web-text, #1C1B2E);
  opacity: .55;
  margin: 0;
}
.footer-bottom a {
  font-size: .85rem;
  color: var(--nb-web-text, #1C1B2E);
  opacity: .55;
  text-decoration: none;
  margin-left: 1rem;
}
.footer-bottom a:hover { color: var(--nb-web-hover, #3D3B8C); opacity: 1; }

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--gradient-section);
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/site/images/network-1020332_1920.jpg') center / cover no-repeat;
  opacity: .1;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
}
.page-header .breadcrumb {
  justify-content: center;
  background: none;
  padding: 0;
  margin-top: .5rem;
}
.page-header .breadcrumb-item, .page-header .breadcrumb-item a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  text-decoration: none;
}
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- About Page ---------- */
.values-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--light);
  transition: var(--transition);
}
.values-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.values-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.values-card h4 { color: var(--secondary); font-size: 1.1rem; margin-bottom: .5rem; }

/* ---------- Team Member Card ---------- */
.team-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--light);
  margin-bottom: 1rem;
}
.team-card h5 { color: var(--dark); margin-bottom: .25rem; }
.team-card .role { color: var(--primary); font-size: .9rem; font-weight: 600; }

/* ---------- Inscription / Payment ---------- */
.insc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.insc-header {
  background: var(--gradient-section);
  padding: 2rem 2.5rem;
  color: var(--white);
}
.insc-header h3 { color: var(--white); margin: 0; }
.insc-body { padding: 2.5rem; }
.price-display {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 2px solid rgba(26,168,176,.15);
}
.price-display .main-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.price-display .price-note {
  color: var(--gray);
  font-size: .85rem;
  margin-top: .5rem;
}
.secure-badge {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--gray);
  justify-content: center;
  margin-top: 1rem;
}

/* ---------- Success & Thank You ---------- */
.success-wrap {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem 0;
}
.success-card {
  text-align: center;
  padding: 4rem 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}
.success-icon {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: var(--white);
  box-shadow: 0 16px 40px rgba(26,168,176,.3);
}
.success-card h2 { color: var(--secondary); margin-bottom: 1rem; }
.success-card p { color: var(--gray); line-height: 1.7; }

/* ---------- Privacy & Legal ---------- */
.legal-content h2 { color: var(--secondary); font-size: 1.5rem; margin: 2rem 0 .75rem; }
.legal-content h3 { color: var(--primary); font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--text); line-height: 1.8; }
.legal-content a { color: var(--primary); }

/* ---------- Countdown Timer ---------- */
.countdown-wrap {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin: 1.5rem 0;
}
.countdown-item {
  text-align: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: .75rem 1.25rem;
  min-width: 80px;
  backdrop-filter: blur(8px);
}
.countdown-item .count-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}
.countdown-item .count-label {
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Alert / Flash Messages ---------- */
.alert-web {
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: .95rem;
  border: none;
  display: flex; align-items: center; gap: .75rem;
}
.alert-web.success { background: rgba(168,201,109,.15); color: #4a7c20; border-left: 4px solid var(--accent); }
.alert-web.error { background: rgba(220,53,69,.08); color: #a31b2a; border-left: 4px solid #dc3545; }
.alert-web.info { background: rgba(26,168,176,.1); color: var(--primary-dk); border-left: 4px solid var(--primary); }

/* ---------- Sticky course ribbon ---------- */
.sticky-course-ribbon {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--secondary);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: center;
  z-index: 1040;
  transform: translateY(100%);
  transition: transform .4s ease;
  border-top: 3px solid var(--accent);
}
.sticky-course-ribbon.visible { transform: translateY(0); }
.sticky-course-ribbon a { color: var(--accent); font-weight: 700; text-decoration: none; }
.sticky-course-ribbon a:hover { text-decoration: underline; }

/* ---------- Back to top ---------- */
#back-to-top {
  position: fixed;
  bottom: 4rem; right: 1.5rem;
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 1030;
  box-shadow: 0 4px 16px rgba(26,168,176,.4);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--secondary); transform: translateY(-3px); color: var(--white); }

/* ---------- Utilities ---------- */
.fw-700 { font-weight: 700; }
.text-white-75 { color: rgba(255,255,255,.75); }
.gap-3-custom { gap: .75rem; }
.border-radius-web { border-radius: var(--radius); }
.bg-soft-primary { background: rgba(26,168,176,.08); }
.border-primary-soft { border: 1px solid rgba(26,168,176,.2); }
.opacity-80 { opacity: .8; }

/* ============================================================
   RESPONSIVE
   Breakpoints Bootstrap 5:
     xs  < 576px
     sm  576–767px
     md  768–991px
     lg  992–1199px
     xl  ≥ 1200px
   ============================================================ */

/* ── lg: tablets en landscape / pantallas medianas (< 992px) ── */
@media (max-width: 991.98px) {

  /* Navbar */
  .navbar-web .navbar-collapse {
    background: #b8debb;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-top: .5rem;
    border: 1px solid rgba(0,0,0,.08);
  }
  .navbar-web .nav-link { padding: .6rem 1rem !important; }
  .navbar-web .btn-nav-cta { margin-top: .5rem; text-align: center; justify-content: center; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero .hero-content { padding-top: 6rem !important; padding-bottom: 3rem !important; }

  /* Stats */
  .stats-band .stat-divider { display: none; }
  .stats-band { padding: 2rem 0; }
  .stat-item { padding: 1rem .5rem; }

  /* Sections */
  .section-py { padding: 4rem 0; }

  /* Process */
  .process-step::after { display: none; }
  .process-step { padding: 0 .5rem; }

  /* Course CTA */
  .course-cta-card { padding: 2.5rem 1.75rem; }
  .course-cta-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

  /* Why us — floating badge */
  .why-us-badge {
    position: static !important;
    margin-top: 1rem;
    display: inline-block;
  }

  /* Footer */
  .footer-brand { margin-bottom: .5rem; }

  /* Inscription */
  .insc-header { padding: 1.5rem; }
  .insc-body { padding: 1.5rem; }

  /* Success */
  .success-card { padding: 2.5rem 1.5rem; }
}

/* ── md: tablets en portrait (< 768px) ─────────────────────── */
@media (max-width: 767.98px) {

  /* Navbar brand */
  .navbar-web .navbar-brand img { height: 50px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .hero p.lead { font-size: 1rem; }
  .hero-scroll-indicator { display: none; }

  /* Stats — 2×2 grid */
  .stats-band .col-6 { border-bottom: 1px solid rgba(255,255,255,.08); }

  /* Sections */
  .section-py { padding: 3.5rem 0; }

  /* Section titles */
  .section-title { font-size: clamp(1.4rem, 4vw, 2rem); }
  .section-subtitle { font-size: .95rem; }

  /* Service cards — full width on xs */
  .service-card { padding: 1.75rem 1.5rem; }

  /* Feature items */
  .feature-item { gap: 1rem; padding: 1.25rem 0; }
  .feature-icon-wrap { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Process steps — 2 columns on md */
  .process-step .step-number { width: 60px; height: 60px; font-size: 1.25rem; }
  .process-step h5 { font-size: .9rem; }

  /* Course CTA */
  .course-cta-card { padding: 2rem 1.25rem; text-align: center; }
  .course-price { justify-content: center; }
  .course-cta-card .d-flex.flex-wrap { justify-content: center !important; }

  /* Testimonials */
  .testimonial-card { padding: 1.5rem; }

  /* Contact form */
  .contact-form-wrap { padding: 1.5rem; }

  /* Page header */
  .page-header { padding: 6rem 0 3rem; }

  /* Footer */
  .footer-web { padding: 3rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin-left: .5rem; }

  /* Sticky ribbon */
  .sticky-course-ribbon { font-size: .85rem; padding: .6rem .75rem; }

  /* Back to top */
  #back-to-top { bottom: 3.5rem; right: 1rem; width: 42px; height: 42px; }

  /* Countdown */
  .countdown-item { min-width: 65px; padding: .6rem 1rem; }
  .countdown-item .count-num { font-size: 1.6rem; }

  /* Values / Team cards */
  .values-card { padding: 1.5rem 1rem; }
}

/* ── sm: móviles grandes (< 576px) ─────────────────────────── */
@media (max-width: 575.98px) {

  /* Container padding */
  .container { padding-left: 1rem; padding-right: 1rem; }

  /* Navbar */
  .navbar-web { padding: .75rem 0; }

  /* Hero */
  .hero h1 { font-size: 1.8rem; line-height: 1.2; }
  .hero p.lead { font-size: .95rem; margin-bottom: 1.75rem; }
  .hero .hero-badge { font-size: .78rem; padding: .35rem 1rem; }
  .hero .d-flex.flex-wrap { gap: .75rem !important; }
  .btn-accent, .btn-primary-web, .btn-secondary-web, .btn-outline-white {
    padding: .65rem 1.5rem;
    font-size: .95rem;
    width: 100%;
    justify-content: center;
  }

  /* Stats — stacked */
  .stat-item .stat-number { font-size: 2.2rem; }
  .stat-item .stat-label { font-size: .85rem; }

  /* Sections */
  .section-py { padding: 3rem 0; }
  .section-py .mb-5 { margin-bottom: 2rem !important; }

  /* Service cards */
  .service-card { padding: 1.5rem 1.25rem; }
  .service-icon { width: 60px; height: 60px; font-size: 1.6rem; }

  /* Why us image — hide floating badge on very small screens */
  .why-us-badge { display: none !important; }

  /* Process steps — single column */
  .process-step { padding: 0; }

  /* Course CTA card */
  .course-cta-card { padding: 1.75rem 1.25rem; border-radius: var(--radius); }
  .course-cta-card h2 { font-size: 1.5rem; }
  .course-price .price-amount { font-size: 2.5rem; }

  /* Testimonials */
  .testimonial-card { padding: 1.25rem; }
  .testimonial-quote { font-size: 2.5rem; }

  /* Contact form */
  .contact-form-wrap { padding: 1.25rem; border-radius: var(--radius); }

  /* Page header */
  .page-header { padding: 5.5rem 0 2.5rem; }
  .page-header h1 { font-size: 1.75rem; }

  /* Footer */
  .footer-brand img { height: 44px; }
  .footer-brand p { font-size: .85rem; }
  .footer-web { padding: 2.5rem 0 1rem; }

  /* Inscription */
  .insc-header { padding: 1.25rem; }
  .insc-body { padding: 1.25rem; }
  .price-display .main-price { font-size: 2.5rem; }

  /* Success page */
  .success-card { padding: 2rem 1.25rem; border-radius: var(--radius); }
  .success-icon { width: 80px; height: 80px; font-size: 2rem; }

  /* Countdown */
  .countdown-wrap { gap: .5rem; }
  .countdown-item { min-width: 58px; padding: .5rem .75rem; }
  .countdown-item .count-num { font-size: 1.4rem; }
  .countdown-item .count-label { font-size: .65rem; }

  /* Legal / Privacy */
  .legal-content h2 { font-size: 1.25rem; }
  .legal-content h3 { font-size: 1rem; }

  /* Sticky ribbon — 2 lines */
  .sticky-course-ribbon { font-size: .8rem; line-height: 1.5; padding: .5rem .75rem; }

  /* Alert */
  .alert-web { padding: .75rem 1rem; font-size: .9rem; }

  /* Back to top — repositioned above ribbon */
  #back-to-top { bottom: 4.5rem; }
}

/* ── xs extra narrow: (< 375px) ─────────────────────────────── */
@media (max-width: 374px) {
  .hero h1 { font-size: 1.6rem; }
  .countdown-item { min-width: 50px; padding: .4rem .5rem; }
  .countdown-item .count-num { font-size: 1.2rem; }
  .btn-accent, .btn-primary-web, .btn-secondary-web, .btn-outline-white {
    padding: .6rem 1.2rem;
    font-size: .9rem;
  }
  .section-title { font-size: 1.3rem; }
  .stat-item .stat-number { font-size: 2rem; }
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
#faqAccordion .accordion-button {
  color: #1a4a00;
  background-color: #fff;
}
#faqAccordion .accordion-button:not(.collapsed) {
  color: #1a4a00;
  background-color: rgba(26, 74, 0, 0.08);
  box-shadow: none;
}

/* ── Touch / pointer: mejoras táctiles ─────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .testimonial-card:hover,
  .values-card:hover,
  .team-card:hover {
    transform: none;
  }
  .navbar-web .nav-link { min-height: 44px; display: flex; align-items: center; }
  .btn-accent, .btn-primary-web, .btn-secondary-web { min-height: 44px; }
}
