/* ================================================================
   RUMBO — styles.css
   ================================================================ */

:root {
  /* Brand */
  --rumbo-navy:      #004F8C;
  --rumbo-navy-deep: #00345E;
  --rumbo-blue:      #004F8C;
  --rumbo-sky:       #6BC5D2;
  --rumbo-sky-soft:  #D6EEF3;
  --rumbo-sky-mist:  #EDF7F9;
  --rumbo-coral:     #1D7874;
  --rumbo-amber:     #F6C667;
  /* Backgrounds */
  --bg:       #F9F9F4;
  --bg-cream: #F1F1EB;
  --surface:  #FFFFFF;
  /* Text */
  --ink:      #0F1A2B;
  --ink-soft: #3A4658;
  --ink-mute: #7A8494;
  /* Borders */
  --line:      #E4E7EC;
  --line-soft: #EFF1F4;
  /* Legacy aliases */
  --primary:    #004F8C;
  --secondary:  #1D7874;
  --accent:     #F6C667;
  --light-blue: #6BC5D2;
  --card:       #FFFFFF;
  --text:       #0F1A2B;
  --text-muted: #7A8494;
  --border:     #E4E7EC;
  --radius:     0.75rem;
  /* Fonts */
  --font-display: 'Montserrat', -apple-system, sans-serif;
  --font-body:    'Open Sans', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,26,43,.04), 0 2px 6px rgba(15,26,43,.04);
  --shadow-md: 0 4px 12px rgba(15,26,43,.06), 0 12px 32px rgba(15,26,43,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); font-weight: 300;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rumbo-blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }

/* ========== Navbar ========== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.3s, box-shadow 0.3s; }
.navbar.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.navbar .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.5rem; max-width: 1200px; margin: 0 auto; gap: 1rem; }
.navbar .logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.5px; color: #fff; transition: color 0.3s; flex-shrink: 0; }
.navbar.scrolled .logo { color: var(--rumbo-navy); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; color: rgba(255,255,255,0.9); transition: color 0.3s; }
.navbar.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--rumbo-amber); }
.nav-cta { display: inline-flex; align-items: center; padding: 0.5rem 1.2rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; white-space: nowrap; background: var(--rumbo-amber); color: var(--rumbo-navy); transition: filter 0.2s, transform 0.2s; flex-shrink: 0; }
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 1.5rem; }
.navbar.scrolled .nav-toggle { color: var(--ink); }
.mobile-menu { display: none; flex-direction: column; gap: 1rem; padding: 1rem 1.5rem; background: var(--surface); border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.mobile-menu .nav-cta { display: inline-flex; width: fit-content; margin-top: 0.25rem; }
@media (max-width: 900px) { .nav-links { display: none; } .nav-toggle { display: block; } }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--rumbo-navy) 0%, var(--rumbo-coral) 50%, var(--rumbo-sky) 100%);
  overflow: hidden;
  padding: clamp(120px, 13vw, 180px) 0 clamp(80px, 10vw, 120px);
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rumbo-navy);
  background: var(--rumbo-sky-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rumbo-coral); animation: rumbo-pulse 2s infinite; flex-shrink: 0; }
@keyframes rumbo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 800;
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero h1 em { font-style: normal; color: var(--rumbo-amber); }
.hero-lede { color: rgba(255,255,255,0.9); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; max-width: 56ch; margin-bottom: 12px; }
.hero-bridge { font-family: var(--font-display); font-size: clamp(15px, 1.4vw, 17px); color: var(--rumbo-amber); font-weight: 500; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 580px;
}
@media (min-width: 600px) { .hero-meta { grid-template-columns: repeat(3, 1fr); } }
.hero-meta-v { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 40px); font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.hero-meta-l { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 6px; line-height: 1.4; }
.hero-meta { max-width: 720px; }

/* ========== Buttons ========== */
/* En el hero el btn-primary usa fondo ámbar para contrastar con el gradiente oscuro */
.hero .btn-primary {
  background: var(--rumbo-amber);
  color: var(--rumbo-navy);
}
.hero .btn-primary:hover { background: #f0bb55; transform: translateY(-1px); }
.btn-primary {
  background: var(--rumbo-navy);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
}
.btn-primary:hover { background: var(--rumbo-navy-deep); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: border-color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.7); }
/* Variante oscura para secciones con fondo claro */
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: border-color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  cursor: pointer;
}
.btn-ghost-dark:hover { border-color: var(--rumbo-navy); background: var(--surface); }
/* Legacy .btn para el formulario de contacto */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 2rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; transition: all 0.3s; cursor: pointer; border: none; }
.btn-accent { background: var(--rumbo-amber); color: var(--rumbo-navy); }
.btn-accent:hover { filter: brightness(1.1); }

/* ========== Utility: section backgrounds ========== */
/* Esquema de fondos alternados por sección:
   Niveles    → --bg      (crema claro)
   Pilares    → navy-deep (oscuro)
   Actividades→ --surface (blanco limpio)
   Equipo     → --bg-cream(crema cálido)
   Únete      → navy      (oscuro)
   FAQ        → --bg-cream(crema cálido)
   Contacto   → --bg      (crema claro)
*/
.section       { padding: clamp(24px, 3vw, 44px) 0; background: var(--surface); }
.section-cream { background: var(--bg-cream); }

/* ========== Problema ========== */
.problem-section { background: var(--rumbo-navy); padding: clamp(24px, 3vw, 44px) 0; }
.problem-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .problem-inner { grid-template-columns: 1fr; gap: 2.5rem; } }
.problem-left .section-tag-light { display: inline-block; font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--rumbo-amber); margin-bottom: 1.25rem; }
.problem-left h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1.25rem; }
.problem-left p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 1.5rem; }
.problem-accent-line { width: 60px; height: 4px; background: var(--rumbo-amber); border-radius: 2px; }
.problem-list { list-style: none; }
.problem-item { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 6px; transition: background 0.25s ease, opacity 0.5s ease, transform 0.5s ease; opacity: 0; transform: translateX(20px); }
.problem-item.visible { opacity: 1; transform: translateX(0); }
.problem-item:last-child { border-bottom: none; }
.problem-item:hover { background: rgba(255,255,255,0.06); }
.problem-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--rumbo-amber); min-width: 2rem; flex-shrink: 0; }
.problem-text { font-size: 0.92rem; color: rgba(255,255,255,0.88); line-height: 1.5; }

/* ========== Niveles (Propuesta) ========== */
.niv-section { background: var(--bg); padding: clamp(24px, 3vw, 44px) 0; }
.niv-inner { max-width: 1320px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
.niv-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.niv-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-weight: 800; color: var(--ink); text-wrap: balance; }
.niv-title .accent { color: var(--rumbo-blue); }
.niv-lede { color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; margin: 0; max-width: 56ch; text-wrap: pretty; }
.niv-track { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .niv-track { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.niv-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px); position: relative; display: flex; flex-direction: column;
  gap: 18px; overflow: hidden; min-height: 360px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .4s, opacity .6s ease;
  opacity: 0; transform: translateY(28px);
}
.niv-section.in .niv-card { opacity: 1; transform: none; }
.niv-track > .niv-card:nth-child(1) { transition-delay: 0ms; }
.niv-track > .niv-card:nth-child(2) { transition-delay: 120ms; }
.niv-track > .niv-card:nth-child(3) { transition-delay: 240ms; }
@media (hover: hover) { .niv-card:hover { transform: translateY(-6px); border-color: var(--rumbo-sky); box-shadow: var(--shadow-md); } }
.niv-card::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--rumbo-blue), var(--rumbo-sky)); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .niv-card:hover::after { transform: scaleX(1); } }
.niv-card.featured { background: var(--rumbo-navy); color: white; border-color: var(--rumbo-navy); }
.niv-card.featured .niv-num { color: rgba(255,255,255,0.9); }
.niv-card.featured .niv-card-title { color: white; }
.niv-card.featured .niv-sub { color: rgba(255,255,255,0.85); }
.niv-card.featured .niv-desc { color: rgba(255,255,255,0.7); }
.niv-card.featured .niv-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: white; }
.niv-card.featured::before { content: ''; position: absolute; top: -40%; right: -30%; width: 80%; height: 80%; background: radial-gradient(circle, rgba(246,198,103,.25) 0%, transparent 60%); pointer-events: none; }
.niv-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.niv-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--rumbo-blue); font-weight: 500; }
.niv-arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--rumbo-sky-soft); color: var(--rumbo-navy); flex-shrink: 0; transition: transform .3s, background .3s; }
.niv-card.featured .niv-arrow { background: rgba(255,255,255,0.15); color: white; }
@media (hover: hover) { .niv-card:hover .niv-arrow { transform: rotate(-45deg); } }
.niv-glyph { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--rumbo-sky-mist); color: var(--rumbo-navy); font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.niv-card.featured .niv-glyph { background: rgba(255,255,255,0.12); color: white; }
.niv-card-title { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.niv-sub { font-family: var(--font-display); font-size: 15px; color: var(--ink-soft); line-height: 1.4; margin: 0; font-weight: 500; }
.niv-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); margin: 0; flex: 1; }
.niv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.niv-tag { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--bg-cream); border: 1px solid var(--line); color: var(--ink-soft); font-weight: 500; }
.niv-dots { display: none; }
.niv-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .25s, width .25s; border: none; padding: 0; cursor: pointer; }
.niv-dot.on { background: var(--rumbo-blue); width: 22px; border-radius: 4px; }

/* ========== Pilares ========== */
.pil-section { background: var(--rumbo-navy-deep); color: white; padding: clamp(24px, 3vw, 44px) 0; position: relative; overflow: hidden; }
.pil-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(246,198,103,.10) 0%, transparent 40%), radial-gradient(circle at 10% 90%, rgba(107,197,210,.15) 0%, transparent 45%); pointer-events: none; }
.pil-inner { max-width: 1240px; margin: 0 auto; position: relative; padding: 0 clamp(20px, 5vw, 60px); }
.pil-head { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(48px, 6vw, 72px); align-items: end; }
@media (min-width: 880px) { .pil-head { grid-template-columns: 1.2fr 1fr; gap: 60px; } }
.pil-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rumbo-amber); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.pil-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.pil-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 14px 0 0; font-weight: 800; color: white; text-wrap: balance; }
.pil-title em { font-style: normal; color: var(--rumbo-sky); }
.pil-lede { color: rgba(255,255,255,0.7); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; margin: 0; max-width: 50ch; text-wrap: pretty; }
.pil-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .pil-grid { grid-template-columns: 1fr 1fr; } }
.pil-card { background: var(--rumbo-navy-deep); padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 18px; position: relative; opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease, background .35s ease; min-height: 220px; }
.pil-section.in .pil-card { opacity: 1; transform: none; }
.pil-section.in .pil-card:nth-child(1) { transition-delay: 0ms; }
.pil-section.in .pil-card:nth-child(2) { transition-delay: 90ms; }
.pil-section.in .pil-card:nth-child(3) { transition-delay: 180ms; }
.pil-section.in .pil-card:nth-child(4) { transition-delay: 270ms; }
@media (hover: hover) { .pil-card:hover { background: #0a1f3d; } }
.pil-card::after { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--rumbo-sky), var(--rumbo-amber)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .pil-card:hover::after { width: 100%; } }
.pil-card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.pil-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(107,197,210,.15); color: var(--rumbo-sky); display: grid; place-items: center; border: 1px solid rgba(107,197,210,.25); transition: transform .35s, background .35s, color .35s, border-color .35s; flex-shrink: 0; }
@media (hover: hover) { .pil-card:hover .pil-icon { transform: rotate(-6deg) scale(1.05); background: rgba(246,198,103,.15); color: var(--rumbo-amber); border-color: rgba(246,198,103,.3); } }
.pil-num { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.18em; color: rgba(255,255,255,0.4); }
.pil-card h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.01em; margin: 0; color: white; text-wrap: balance; }
.pil-card p { color: rgba(255,255,255,0.65); font-size: 14.5px; line-height: 1.55; margin: 0; text-wrap: pretty; }

/* ========== Carousels ========== */
.carousel-outer { position: relative; padding: 0 2.5rem; }
.carousel-wrapper { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.4s ease; }
.carousel-track.single { justify-content: center; }
.carousel-track.carousel-centered { justify-content: center; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 1.25rem; color: var(--ink); z-index: 10; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, opacity 0.2s; }
.carousel-btn:hover { background: var(--rumbo-amber); color: var(--rumbo-navy); }
.carousel-outer .carousel-btn.prev { left: 0; }
.carousel-outer .carousel-btn.next { right: 0; }
.carousel-btn.btn-hidden { opacity: 0; pointer-events: none; }

/* ========== Activities ========== */
.act-section { padding: clamp(24px, 3vw, 44px) 0; background: var(--surface); }
.act-head { margin-bottom: clamp(32px, 4vw, 52px); text-align: center; }
.act-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; font-weight: 800; color: var(--ink); }

.activity-slide { flex: 0 0 50%; padding: 0 0.75rem; display: flex; }
@media (max-width: 600px)  { .activity-slide { flex: 0 0 100%; } }
.carousel-track.single .activity-slide { flex: 0 0 auto; width: 520px; max-width: 90vw; display: flex; }

.act-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; flex: 1; will-change: transform; }
@media (hover: hover) { .act-card:hover { transform: translateY(-4px); border-color: var(--rumbo-sky); box-shadow: var(--shadow-md); } }

/* Mini-carrusel de fotos */
.mini-photos { position: relative; width: 100%; overflow: hidden; background: var(--rumbo-sky-mist); aspect-ratio: 16 / 10; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.mini-track { display: flex; height: 100%; transition: transform 0.35s ease; }
.mini-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.mini-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 2; }
.mini-dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); background: rgba(255,255,255,0.35); cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.mini-dot.active { background: #fff; border-color: #fff; transform: scale(1.25); }

.act-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.act-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--rumbo-blue); text-transform: uppercase; font-weight: 500; }
.act-card h3 { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.act-meta { display: flex; gap: 18px; font-size: 13px; color: var(--ink-mute); font-family: var(--font-mono); flex-wrap: wrap; }
.act-quote { border-left: 3px solid var(--rumbo-coral); padding: 8px 0 8px 16px; font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-top: auto; text-wrap: pretty; }
@media (max-width: 600px) { .act-quote { font-size: 12.5px; line-height: 1.45; } }

/* ========== Team ========== */
.team-head { margin-bottom: clamp(32px, 4vw, 52px); text-align: center; }
.team-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; font-weight: 800; color: var(--ink); }

.team-slide { flex: 0 0 25%; padding: 0 0.75rem; }
@media (max-width: 992px) { .team-slide { flex: 0 0 50%; } }
@media (max-width: 600px)  { .team-slide { flex: 0 0 100%; } }
.team-card { text-align: center; padding: 1rem 0; }
.team-avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1rem; background: var(--rumbo-sky-mist); overflow: hidden; border: 4px solid rgba(246,198,103,0.3); transition: border-color 0.3s; display: flex; align-items: center; justify-content: center; position: relative; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.team-avatar::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.team-card:hover .team-avatar { border-color: var(--rumbo-amber); }
.team-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; }
.team-card .role { font-size: 0.78rem; font-weight: 700; color: var(--rumbo-coral); margin-bottom: 0.1rem; }
.team-card .org  { font-size: 0.72rem; color: var(--ink-mute); }
.team-card .linkedin-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.55rem; font-size: 0.78rem; font-weight: 600; color: var(--rumbo-navy); transition: color 0.2s; }
.team-card .linkedin-link:hover { color: var(--rumbo-coral); }

/* ========== Únete ========== */
.unete-section { background: var(--rumbo-navy); padding: clamp(24px, 3vw, 44px) 0; }
.unete-head { margin-bottom: clamp(32px, 4vw, 52px); text-align: center; }
.unete-head .eyebrow { color: var(--rumbo-amber); }
.unete-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; font-weight: 800; color: #fff; }
.unete-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 800px) { .unete-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.unete-card { background: var(--surface); border: 2px solid rgba(255,255,255,0.12); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; position: relative; transition: border-color .45s ease, box-shadow .45s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.unete-card:hover { border-color: var(--rumbo-amber); box-shadow: 0 0 0 1px var(--rumbo-amber), 0 8px 24px rgba(246,198,103,.18); transform: translateY(-4px); }
.unete-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--rumbo-sky-mist); color: var(--rumbo-navy); display: grid; place-items: center; flex-shrink: 0; }
.unete-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.01em; color: var(--ink); }
.unete-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; flex: 1; text-wrap: pretty; }
.unete-card a { margin-top: 4px; align-self: center; }
.btn-yape {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  padding: 11px 20px; border-radius: 999px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--line); cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-yape:hover { border-color: var(--rumbo-navy); background: var(--bg); transform: translateY(-1px); }
.unete-qr-panel { display: none; margin-top: 8px; }
.unete-qr-panel.open { display: block; animation: qr-appear .3s ease; }
.unete-qr-panel img { width: 160px; height: 160px; border-radius: var(--r-sm); object-fit: cover; display: block; margin: 0 auto; }
@keyframes qr-appear { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
/* Botones de las cards de únete con fondo claro */
.unete-card .btn-primary { background: var(--rumbo-navy); color: white; }
.unete-card .btn-ghost-dark { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.unete-card .btn-ghost-dark:hover { border-color: var(--rumbo-navy); background: var(--bg); }

/* ========== FAQ ========== */
.faq-section { padding: clamp(24px, 3vw, 44px) 0; background: var(--bg); }
.faq-inner { max-width: 920px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
.faq-head { margin-bottom: clamp(32px, 4vw, 52px); text-align: center; }
.faq-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; font-weight: 800; color: var(--ink); }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.faq-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; cursor: pointer; font-family: var(--font-body); font-size: 13.5px; color: var(--ink-soft); font-weight: 500; transition: all .25s ease; }
.faq-tab svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--rumbo-blue); transition: color .25s; }
.faq-tab:hover { border-color: var(--rumbo-sky); color: var(--rumbo-navy); }
.faq-tab:hover svg { color: var(--rumbo-navy); }
.faq-tab.active { background: var(--rumbo-navy); color: white; border-color: var(--rumbo-navy); }
.faq-tab.active svg { color: var(--rumbo-amber); }
.faq-group { display: none; flex-direction: column; gap: 8px; }
.faq-group.active { display: flex; }
details.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .25s; }
details.faq-item[open] { border-color: var(--rumbo-sky); }
details.faq-item summary { cursor: pointer; padding: 18px 20px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 15.5px; font-weight: 500; color: var(--ink); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-family: var(--font-display); font-size: 22px; color: var(--rumbo-blue); transition: transform .25s; font-weight: 300; line-height: 1; flex-shrink: 0; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-body { padding: 0 20px 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; text-wrap: pretty; }
.faq-item-body p { margin: 0; }

/* ========== Contacto ========== */
.contact-section { padding: clamp(24px, 3vw, 44px) 0; background: var(--bg-cream); }
.contact-head { margin-bottom: clamp(32px, 4vw, 52px); text-align: center; }
.contact-title { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; font-weight: 800; color: var(--ink); }
.contact-lede { color: var(--ink-soft); font-size: 15px; margin: 10px 0 0; line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--ink); }
.contact-info p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-info .email-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--rumbo-navy); margin-bottom: 1rem; word-break: break-all; }
.contact-social { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.contact-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--rumbo-sky-mist); display: flex; align-items: center; justify-content: center; color: var(--ink-mute); transition: background 0.2s, color 0.2s; }
.contact-social a:hover { background: var(--rumbo-amber); color: var(--rumbo-navy); }
.social-icon { width: 20px; height: 20px; display: block; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--font-body); font-size: 0.88rem; color: var(--ink); background: var(--surface); transition: border-color 0.2s; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--rumbo-navy); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-success { display: none; padding: 1rem; background: #d4edda; border-radius: var(--r-sm); color: #155724; font-size: 0.88rem; text-align: center; }

/* ========== Footer ========== */
.footer { background: var(--rumbo-navy); color: #fff; }
.footer-main { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; gap: 1rem; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 0.75rem; }
.footer-left .logo { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.footer-left .tagline { font-size: 0.72rem; opacity: 0.65; }
.footer-social { display: flex; gap: 0.75rem; align-items: center; }
.footer-social a { color: rgba(255,255,255,0.65); transition: color 0.2s; display: flex; }
.footer-social a:hover { color: var(--rumbo-amber); }
.footer-social .social-icon { color: inherit; }
.footer-copy { text-align: center; font-size: 0.68rem; opacity: 0.45; padding: 0.6rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* ========== Animations ========== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
