/* Font Awesome icon helpers */
.fa-solid, .fa-brands, .fa-regular { line-height: 1; }

/* ====================================================
   CONEXIÓN CANADÁ – Ultra Premium Stylesheet v3
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---- Design Tokens ---- */
:root {
  --red:         #CC0000;
  --red-dark:    #8B0000;
  --red-light:   #ff3b3b;
  --red-subtle:  rgba(204, 0, 0, 0.06);
  --white:       #ffffff;
  --off-white:   #fbfaf9;
  --cream:       #f5f2ef;
  --gray-100:    #f0eeec;
  --gray-200:    #e2dfdb;
  --gray-400:    #b5b0a8;
  --gray-600:    #706a63;
  --dark:        #0e0b08;
  --dark-2:      #1a1612;
  --dark-3:      #2a2520;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.04);
  --shadow-md:   0 8px 30px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.12), 0 8px 20px rgba(204,0,0,.08);
  --shadow-red:  0 12px 40px rgba(204,0,0,.3);
  --shadow-glow: 0 0 0 1px rgba(204,0,0,.1), 0 8px 24px rgba(204,0,0,.2);

  --radius-xs:   8px;
  --radius-sm:   14px;
  --radius-md:   22px;
  --radius-lg:   32px;
  --radius-xl:   48px;

  --transition:  .35s cubic-bezier(0.22, 1, 0.36, 1);
  --bounce:      .55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--off-white);
  color: var(--dark-2);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* ---- Noise Texture Layer (subtle grain) ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ==================================================
   NAVBAR
   ================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5vw;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}
#navbar.scrolled {
  height: 68px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid rgba(204,0,0,0.08);
  box-shadow: 0 1px 0 rgba(204,0,0,0.05), 0 8px 32px rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: -0.025em;
}
#navbar.scrolled .nav-logo { color: var(--dark); }
.nav-logo span { color: var(--red); }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: white;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: rgba(255,255,255,0.15);
  border-radius: 11px 11px 0 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-weight: 600;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  transition: all var(--transition);
  position: relative;
  letter-spacing: .01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red-light);
  border-radius: 2px;
  transition: width var(--bounce);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--gray-600); }
#navbar.scrolled .nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: all var(--bounce) !important;
  box-shadow: 0 4px 14px rgba(204,0,0,.35);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 100%);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(204,0,0,.4) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
  display: block;
}
#navbar.scrolled .hamburger span { background: var(--dark); }

/* ==================================================
   HERO
   ================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/vancouver_hero_hd.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  animation: heroKen 28s ease-in-out infinite alternate;
}
@keyframes heroKen {
  0%   { transform: scale(1.04) translate(0%, 0%); }
  100% { transform: scale(1.12) translate(-1.5%, -0.8%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,11,8,.55) 0%, rgba(14,11,8,.2) 40%, rgba(14,11,8,.75) 100%),
    linear-gradient(105deg, rgba(204,0,0,.22) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw 4rem;
  max-width: 900px;
}
@media (max-height: 800px) {
  .hero-content { padding-bottom: 2rem; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  color: var(--white);
  padding: .55rem 1.3rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 1s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--red-light);
  border-radius: 50%;
  animation: pulse 1.8s ease infinite;
  box-shadow: 0 0 8px var(--red-light);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: .5; }
}
.hero-title {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: .92;
  letter-spacing: -.035em;
  animation: fadeUp 1.1s .12s ease both;
}
.hero-title span {
  color: var(--red-light);
  position: relative;
  display: inline-block;
}
.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  opacity: .5;
}
.hero-subtitle {
  margin-top: 1.8rem;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  font-weight: 400;
  max-width: 560px;
  line-height: 1.75;
  animation: fadeUp 1.2s .28s ease both;
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 1.3s .44s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--red);
  color: var(--white);
  padding: 1rem 2.4rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .98rem;
  letter-spacing: .01em;
  transition: all var(--bounce);
  border: none; cursor: pointer;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: rgba(255,255,255,.1);
  border-radius: 50px 50px 0 0;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(204,0,0,.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  padding: 1rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .98rem;
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  transition: all var(--bounce);
  cursor: pointer;
}
.btn-outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-4px);
}
.hero-stats {
  position: absolute;
  bottom: 5rem;
  right: 5vw;
  display: flex;
  gap: 0;
  z-index: 10;
  animation: fadeIn 1.5s .9s ease both;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1.4rem 2rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%; right: 0;
  width: 1px; height: 50%;
  background: rgba(255,255,255,.15);
}
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .72rem;
  opacity: .7;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .4rem;
  display: block;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: fadeIn 2s 1.5s ease both;
}
.scroll-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollBounce 2.5s ease infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* ==================================================
   SECTION GENERIC
   ================================================== */
.section { padding: 6rem 5vw; position: relative; }

/* Section decorative background patterns */
.section:nth-child(even):not(.section-red):not(.section-dark) {
  background: var(--white);
}
.section-alt { background: var(--white); }
.section-red {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #b30000 0%, var(--red) 40%, #8B0000 100%);
}
.section-red::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 70%; height: 160%;
  background: radial-gradient(ellipse, rgba(255,255,255,.06) 0%, transparent 65%);
}
.section-dark { background: var(--dark); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  width: 20px; height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  display: block;
}
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--dark);
}
.section-subtitle {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.72;
}
.center { text-align: center; justify-content: center; }
.section-title.white { color: var(--white); }
.section-subtitle.white { color: rgba(255,255,255,.78); }

/* ==================================================
   ABOUT / QUIÉNES SOMOS
   ================================================== */

/* Decorative BG for About section */
#quienes-somos {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
#quienes-somos::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(204,0,0,.05) 0%, transparent 65%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-top: 2.5rem;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform .9s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }

/* Decorative frame ring */
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(204,0,0,.4) 0%, transparent 50%, rgba(204,0,0,.2) 100%);
  z-index: 1;
  pointer-events: none;
}
.about-img-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(204,0,0,.12);
  color: var(--dark);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 1rem;
  z-index: 2;
}
.about-img-badge .big {
  font-size: 1.6rem; font-weight: 900; line-height: 1; color: var(--red);
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: rgba(204,0,0,.08); border-radius: 10px;
}
.about-img-badge .small { font-size: .9rem; font-weight: 700; color: var(--dark-2); }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all var(--bounce);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  border-radius: 3px 0 0 3px;
  transition: height var(--transition);
}
.value-card:hover {
  border-color: rgba(204,0,0,.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.value-card:hover::before { height: 100%; }
.value-icon {
  font-size: 1.4rem;
  margin-bottom: .8rem;
  color: var(--red);
  width: 46px; height: 46px;
  background: var(--red-subtle);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.value-title { font-weight: 800; font-size: .98rem; color: var(--dark); margin-bottom: .35rem; }
.value-desc { font-size: .88rem; color: var(--gray-600); line-height: 1.6; }

/* ==================================================
   VANCOUVER
   ================================================== */
.vancouver-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.van-card {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: all var(--bounce);
}
.van-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.van-card-img {
  height: 200px;
  background: linear-gradient(135deg, rgba(204,0,0,.6) 0%, rgba(14,11,8,.8) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
}
.van-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(14,11,8,.4) 100%);
}
.van-card-body { padding: 1.6rem; }
.van-card-body h3 {
  font-size: 1.05rem; font-weight: 800;
  color: var(--white); margin-bottom: .5rem;
}
.van-card-body p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.65; }

.van-highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.van-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.van-stat::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.van-stat:hover { transform: translateY(-6px); }
.van-stat:hover::before { opacity: 1; }
.van-stat-num {
  font-size: 2.8rem; font-weight: 900;
  color: var(--white); display: block; line-height: 1;
}
.van-stat-label {
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.65);
  margin-top: .7rem; letter-spacing: .04em;
}

/* ==================================================
   EXPERIENCE / VIVIR
   ================================================== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.exp-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
  transition: all var(--bounce);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.exp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-subtle) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.exp-card:hover::after { opacity: 1; }
.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(204,0,0,.15);
}
.exp-card.big {
  grid-column: 1 / -1;
  background: linear-gradient(132deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  border: none;
  box-shadow: var(--shadow-red);
}
.exp-card.big::after { display: none; }
.exp-num {
  font-size: 5.5rem; font-weight: 900;
  color: rgba(0,0,0,.04); line-height: 1;
  position: absolute; top: 0; right: 1rem;
  pointer-events: none;
}
.exp-card.big .exp-num {
  position: static;
  font-size: 7rem;
  color: rgba(255,255,255,.1);
}
.exp-icon {
  position: relative; z-index: 1;
  font-size: 2rem; color: var(--red);
  width: 58px; height: 58px;
  background: var(--red-subtle);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.exp-card.big .exp-icon {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.exp-title { font-size: 1.2rem; font-weight: 800; position: relative; z-index: 1; color: var(--dark); }
.exp-desc { font-size: .92rem; color: var(--gray-600); line-height: 1.7; position: relative; z-index: 1; }
.exp-card.big .exp-title { color: var(--white); font-size: 1.7rem; }
.exp-card.big .exp-desc { color: rgba(255,255,255,.82); font-size: 1rem; }

/* ==================================================
   PROGRAMS / PAQUETES
   ================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--bounce);
  position: relative;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(204,0,0,.25);
}
.program-card.featured {
  border-color: rgba(204,0,0,.3);
  box-shadow: 0 0 0 3px rgba(204,0,0,.08), var(--shadow-md);
}
.program-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: var(--red);
  color: var(--white);
  font-size: .72rem; font-weight: 800;
  padding: .35rem .95rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 4px 12px rgba(204,0,0,.3);
}
.program-header {
  padding: 2.8rem 2.5rem 2rem;
  background: linear-gradient(145deg, var(--cream) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-100);
}
.program-icon {
  width: 62px; height: 62px;
  background: var(--red);
  color: var(--white);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  transition: all var(--bounce);
  box-shadow: 0 8px 20px rgba(204,0,0,.3);
  position: relative;
  overflow: hidden;
}
.program-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: rgba(255,255,255,.15);
  border-radius: 16px 16px 0 0;
}
.program-card:hover .program-icon { transform: scale(1.1) rotate(-6deg); }
.program-header h3 { font-size: 1.4rem; font-weight: 900; color: var(--dark); }
.program-header p { font-size: .92rem; color: var(--gray-600); margin-top: .5rem; line-height: 1.6; }
.program-features { padding: 2rem 2.5rem; flex: 1; }
.program-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--dark-2);
  padding: .7rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.program-features li:last-child { border-bottom: none; }
.feature-check {
  width: 22px; height: 22px;
  background: rgba(204,0,0,.1);
  color: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.program-cta { padding: 0 2.5rem 2.5rem; }

/* ==================================================
   DOCUMENTATION
   ================================================== */
#documentacion { background: var(--cream); }

.docs-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.docs-list-group { margin-bottom: 2.5rem; }
.docs-list-group h3 {
  font-size: 1rem; font-weight: 800; color: var(--dark);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 10px;
}
.docs-list-group h3 span {
  width: 30px; height: 30px;
  background: var(--red);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  box-shadow: 0 4px 10px rgba(204,0,0,.25);
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: .7rem;
  transition: all var(--bounce);
  box-shadow: var(--shadow-sm);
}
.doc-item:hover {
  border-color: rgba(204,0,0,.25);
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}
.doc-icon {
  font-size: 1.15rem; color: var(--red);
  width: 40px; height: 40px;
  background: var(--red-subtle);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-info .doc-name { font-size: .9rem; font-weight: 700; color: var(--dark); }
.doc-info .doc-note { font-size: .8rem; color: var(--gray-600); margin-top: 2px; }
.doc-optional, .doc-required {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.doc-optional { color: var(--gray-600); background: var(--gray-100); }
.doc-required { color: var(--red); background: rgba(204,0,0,.09); }

/* Upload Box */
.upload-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
  overflow: hidden;
}
.upload-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(204,0,0,.06) 0%, transparent 65%);
  pointer-events: none;
}
.upload-box h3 {
  font-size: 1.5rem; font-weight: 900; color: var(--dark);
  margin-bottom: .7rem; position: relative;
}
.upload-box > p { font-size: .92rem; color: var(--gray-600); margin-bottom: 2rem; line-height: 1.65; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block; font-size: .82rem;
  font-weight: 700; color: var(--dark-3); margin-bottom: .45rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: .9rem 1.1rem;
  background: var(--cream);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  color: var(--dark);
  transition: all var(--transition);
  outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(204,0,0,.1);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

/* ==================================================
   STEPS TIMELINE
   ================================================== */
#como-funciona { background: var(--cream); }

.steps-timeline {
  max-width: 820px;
  margin: 3rem auto 0;
}
.step-item {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 58px; left: 28px;
  width: 2px;
  height: calc(100% + 1rem);
  background: linear-gradient(to bottom, rgba(204,0,0,.3), var(--gray-200));
}
.step-num {
  width: 58px; height: 58px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900;
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
  z-index: 1;
  position: relative;
  overflow: hidden;
}
.step-num::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: rgba(255,255,255,.15);
}
.step-content { flex: 1; padding-top: .9rem; }
.step-content h3 { font-size: 1.15rem; font-weight: 800; color: var(--dark); margin-bottom: .45rem; }
.step-content p { font-size: .92rem; color: var(--gray-600); line-height: 1.7; }

/* ==================================================
   ADVISOR / ORIENTADOR
   ================================================== */
#orientador { background: var(--white); }

.advisor-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}
.advisor-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.advisor-img::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(204,0,0,.3) 0%, transparent 40%, rgba(204,0,0,.15) 100%);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}
.advisor-img img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .9s ease;
  display: block;
}
.advisor-img:hover img { transform: scale(1.04); }
.advisor-chips {
  display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: .6rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: .85rem; font-weight: 700;
  color: var(--dark-2);
  transition: all var(--bounce);
  box-shadow: var(--shadow-sm);
}
.chip:hover {
  border-color: rgba(204,0,0,.25);
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.chip .fa-solid, .chip .fa-brands { font-size: .9rem; color: var(--red); flex-shrink: 0; }

/* ==================================================
   TESTIMONIOS
   ================================================== */
.testi-card {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 300px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  transition: all var(--transition);
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  color: rgba(255,255,255,.1);
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-6px);
}

/* ==================================================
   WHATSAPP FLOAT
   ================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  display: flex; align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #1da854 100%);
  color: var(--white);
  padding: 1rem 1.8rem;
  border-radius: 50px;
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
  cursor: pointer;
  transition: all var(--bounce);
  text-decoration: none;
  line-height: 1;
  overflow: visible;
}
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 16px 40px rgba(37,211,102,.55);
}
.whatsapp-float .wa-icon {
  font-size: 1.5rem;
  animation: wiggle 3s ease infinite;
  line-height: 1;
}
@keyframes wiggle {
  0%,80%,100% { transform: rotate(0deg); }
  85%  { transform: rotate(-14deg); }
  92%  { transform: rotate(12deg); }
  96%  { transform: rotate(-6deg); }
}
.wa-pulse {
  position: absolute;
  top: -5px; right: -5px;
  width: 14px; height: 14px;
  background: #ff3b3b;
  border-radius: 50%;
  border: 2px solid var(--off-white);
  animation: waPulse 1.8s ease infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,59,59,.5); }
  50%      { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(255,59,59,0); }
}
@media (max-width: 768px) {
  .wa-label { display: none; }
  .whatsapp-float { padding: 1rem; border-radius: 50%; }
}

/* ==================================================
   FOOTER
   ================================================== */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 5.5rem 5vw 2.5rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,.4), rgba(255,255,255,.1), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand .brand-name {
  font-size: 1.65rem; font-weight: 900; color: var(--white); margin-bottom: 1rem;
}
.footer-brand .brand-name span { color: var(--red); }
.footer-brand p {
  font-size: .9rem; color: rgba(255,255,255,.45);
  line-height: 1.8; max-width: 280px;
}
.footer-col h4 {
  font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1.4rem;
}
.footer-col a, .footer-col p {
  display: block; font-size: .9rem; color: rgba(255,255,255,.5);
  margin-bottom: .7rem; transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; font-size: .8rem; color: rgba(255,255,255,.3);
}
.footer-social { display: flex; gap: .8rem; margin-top: 1.5rem; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(255,255,255,.7);
  transition: all var(--bounce);
  border: 1px solid rgba(255,255,255,.06);
}
.social-btn:hover {
  background: var(--red); transform: translateY(-4px);
  color: var(--white); border-color: transparent;
  box-shadow: 0 8px 20px rgba(204,0,0,.35);
}

/* ==================================================
   ANIMATIONS
   ================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; filter: blur(6px); }
  to   { opacity: 1; filter: blur(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered delay for grids */
.van-card:nth-child(1), .program-card:nth-child(1), .exp-card:nth-child(2) { transition-delay: 0s; }
.van-card:nth-child(2), .program-card:nth-child(2), .exp-card:nth-child(3) { transition-delay: .08s; }
.van-card:nth-child(3), .exp-card:nth-child(4) { transition-delay: .16s; }
.van-card:nth-child(4), .exp-card:nth-child(5) { transition-delay: .24s; }

/* ==================================================
   MOBILE MENU
   ================================================== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(14,11,8,.97);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.9rem; font-weight: 800; color: var(--white);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--red-light); transform: translateX(8px); }
.mobile-close {
  position: absolute; top: 2rem; right: 2rem;
  font-size: 2.2rem; cursor: pointer;
  color: var(--white); background: none; border: none;
  transition: all var(--transition);
}
.mobile-close:hover { color: var(--red-light); transform: rotate(90deg); }

/* ==================================================
   RESPONSIVE
   ================================================== */
@media (max-width: 1024px) {
  .section { padding: 5rem 5vw; }
  .about-grid, .docs-layout, .advisor-section { grid-template-columns: 1fr; gap: 3rem; }
  .vancouver-grid, .van-highlight { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .experience-grid { grid-template-columns: 1fr; }
  .exp-card.big { flex-direction: column; gap: 2rem; }
  .upload-box { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding-bottom: 5rem; }
  .hero-stats {
    position: static; z-index: 2;
    margin-top: 3rem; border-radius: var(--radius-md);
    margin-left: 5vw; display: inline-flex;
  }
  .about-values, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .van-highlight { grid-template-columns: 1fr 1fr; }
  .whatsapp-float span:not(.wa-icon):not(.wa-pulse) { display: none; }
  .whatsapp-float { padding: 1.1rem; border-radius: 50%; }
  #hero::after { height: 60px; }
}
@media (max-width: 480px) {
  .section { padding: 4.5rem 5vw; }
  .hero-title { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { justify-content: center; width: 100%; }
}
