/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --blue:   #1C9ED9;
  --orange: #F09323;
  --pink:   #E1175B;
  --green:  #8EC042;
  --purple: #69368C;
  --ink:    #1a2332;
  --ink-m:  #374151;
  --ink-s:  #6B7280;
  --surface:#f0f4f8;
  --white:  #ffffff;
  --radius: 12px;
}

/* ── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 2px solid var(--blue);
  backdrop-filter: blur(8px);
  padding: 12px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-logo { height: 48px; width: auto; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a { font-size: 0.88rem; font-weight: 600; color: var(--ink-m); transition: color .2s; }
.header-nav a:hover { color: var(--blue); }
.btn-nav {
  background: var(--blue); color: var(--white) !important;
  padding: 8px 20px; border-radius: 8px; font-size: 0.85rem;
  transition: background .2s;
}
.btn-nav:hover { background: #0d87b8 !important; }
.nav-toggle { display: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: #f0f9ff;
  border-bottom: 3px solid rgba(28,158,217,0.15);
  padding: 72px 0;
}
.hero-inner { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.hero-lead { font-size: 1.05rem; color: var(--ink-m); max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px; font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem; font-weight: 700; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #0d87b8; }
.btn-ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-ghost:hover { background: rgba(28,158,217,0.08); }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ink-m); font-weight: 600; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; }
.badge-dot.blue   { background: var(--blue); }
.badge-dot.green  { background: var(--green); }
.badge-dot.purple { background: var(--purple); }

/* Hero cards */
.hero-card { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
  background: var(--white); border-radius: var(--radius);
  border-left: 4px solid var(--blue);
  padding: 20px 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.stat-card.accent-orange { border-left-color: var(--orange); }
.stat-card.accent-green  { border-left-color: var(--green); }
.stat-card strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.stat-card span { font-size: 0.82rem; color: var(--ink-s); }

/* ── Sections ────────────────────────────────────────────── */
.section     { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-form { background: #f0f9ff; }

.section-header { text-align: center; margin-bottom: 48px; }
.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.section-lead { font-size: 1rem; color: var(--ink-m); max-width: 600px; margin: 0 auto; }

/* ── Topics grid ─────────────────────────────────────────── */
.topics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.topic-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border-top: 3px solid var(--blue);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.topic-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.9rem; color: #fff;
  margin-bottom: 12px;
}
.topic-icon.blue   { background: var(--blue); }
.topic-icon.orange { background: var(--orange); }
.topic-icon.pink   { background: var(--pink); }
.topic-icon.green  { background: var(--green); }
.topic-icon.purple { background: var(--purple); }
.topic-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.topic-card p  { font-size: 0.88rem; color: var(--ink-s); }

/* ── Researcher ──────────────────────────────────────────── */
.researcher-inner { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.researcher-text .kicker { margin-bottom: 8px; }
.researcher-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.researcher-text p  { color: var(--ink-m); margin-bottom: 16px; }
.researcher-badges  { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.researcher-badge {
  display: flex; gap: 12px; align-items: baseline;
  border-left: 3px solid var(--blue); padding-left: 12px;
}
.rb-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); min-width: 90px; }
.rb-value { font-size: 0.9rem; color: var(--ink-m); }
.contact-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border-top: 3px solid var(--blue);
}
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p  { font-size: 0.9rem; color: var(--ink-m); margin-bottom: 20px; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  margin-bottom: 10px; transition: opacity .2s;
}
.contact-link:hover { opacity: .85; }
.contact-link.email    { background: var(--blue);  color: #fff; }
.contact-link.whatsapp { background: #25D366; color: #fff; }

/* ── Groups ──────────────────────────────────────────────── */
.groups-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; border-top: 4px solid var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.group-card.blue   { border-top-color: var(--blue); }
.group-card.orange { border-top-color: var(--orange); }
.group-card.purple { border-top-color: var(--purple); }
.group-icon { font-size: 2.4rem; margin-bottom: 16px; }
.group-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.group-card p  { font-size: 0.88rem; color: var(--ink-s); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border-radius: var(--radius);
  border-left: 3px solid var(--blue); overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px; font-weight: 700; font-size: 0.97rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 18px; font-size: 0.92rem; color: var(--ink-m); }

/* ── Form wrapper ────────────────────────────────────────── */
.form-wrapper {
  max-width: 680px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border-top: 4px solid var(--blue);
}
.form-wrapper iframe { display: block; min-height: 600px; }

/* ── Video ───────────────────────────────────────────────── */
.section-video { background: var(--ink); }
.section-video .kicker { color: rgba(255,255,255,.6); }
.section-video h2 { color: #fff; }
.section-video .section-lead { color: rgba(255,255,255,.7); }
.video-wrapper {
  max-width: 800px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/9; box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.video-wrapper iframe { width: 100%; height: 100%; display: block; }

/* ── Researcher photo ────────────────────────────────────── */
.researcher-inner { grid-template-columns: 280px 1fr 300px; }
.researcher-photo img {
  width: 100%; border-radius: var(--radius);
  object-fit: cover; aspect-ratio: 3/4;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; align-items: start;
}
.footer-logo { height: 36px; filter: brightness(0) invert(1); margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; }
.footer-brand a { color: var(--blue); }
.footer-info p  { font-size: 0.83rem; margin-bottom: 4px; }
.footer-info a  { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-info a:hover { color: #fff; }
.footer-legal   { font-size: 0.78rem; line-height: 1.6; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-card        { flex-direction: row; flex-wrap: wrap; }
  .stat-card        { flex: 1; min-width: 140px; }
  .researcher-inner { grid-template-columns: 1fr; }
  .groups-grid      { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: all .25s;
  }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 12px;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .header-nav.is-open { display: flex; }
}
@media (max-width: 600px) {
  .section, .hero { padding: 48px 0; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .form-wrapper { padding: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
