/* ==========================================================================
   Cacique Group — Landing
   Colores oficiales: negro #1b1b1e · blanco · verde #00b66a · azul #5171ff
   Dirección visual: degradé azul profundo + verde como acento protagonista
   ========================================================================== */

:root {
  --negro: #1b1b1e;
  --blanco: #ffffff;
  --verde: #00b66a;
  --azul: #5171ff;

  /* Degradé azul profundo (moodboard campaña) */
  --navy-1: #050a1e;
  --navy-2: #081334;
  --navy-3: #0c1c4e;
  --navy-4: #12266b;

  --texto-suave: rgba(255, 255, 255, 0.72);
  --texto-tenue: rgba(255, 255, 255, 0.45);
  --borde: rgba(255, 255, 255, 0.1);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', 'Open Sans', sans-serif;

  --radius: 18px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-1);
  color: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--verde); color: var(--navy-1); }

/* ---------- Utilidades de color ---------- */
.verde { color: var(--verde); }
.azul { color: var(--azul); }
.amp { color: var(--verde); font-style: italic; }
.mail-italic { font-style: italic; color: var(--verde); }

/* ---------- Pills / labels (moodboard) ---------- */
.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.45em 1.4em;
  border-radius: 999px;
  border: 1.5px solid currentColor;
}
.pill--verde { color: var(--verde); }
.pill--azul { color: var(--azul); }

.vertical-label {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin: 1.4rem 0 0.6rem;
}
.vertical-label--verde { color: var(--verde); }
.vertical-label--azul { color: var(--azul); }
.vertical-label--blanco { color: var(--texto-suave); }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85em 2em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s, background 0.25s, color 0.25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn--verde {
  background: var(--verde);
  color: var(--navy-1);
  box-shadow: 0 8px 30px rgba(0, 182, 106, 0.35);
}
.btn--verde:hover { box-shadow: 0 14px 40px rgba(0, 182, 106, 0.5); }

.btn--outline-verde {
  border-color: var(--verde);
  color: var(--verde);
  background: transparent;
}
.btn--outline-verde:hover { background: rgba(0, 182, 106, 0.12); box-shadow: 0 8px 30px rgba(0,182,106,0.25); }

.btn--outline-azul {
  border-color: var(--azul);
  color: var(--blanco);
  background: transparent;
}
.btn--outline-azul:hover { background: rgba(81, 113, 255, 0.15); box-shadow: 0 8px 30px rgba(81,113,255,0.3); }

.btn--outline-blanco {
  border-color: rgba(255,255,255,0.4);
  color: var(--blanco);
}
.btn--outline-blanco:hover { border-color: var(--blanco); background: rgba(255,255,255,0.08); }

.btn--small { font-size: 0.78rem; padding: 0.6em 1.5em; }
.btn--big { font-size: 1.05rem; padding: 1em 2.6em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}
.site-header.scrolled {
  background: rgba(5, 10, 30, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.header-logo img { height: 34px; width: auto; }
.header-nav { display: flex; gap: clamp(1rem, 3vw, 2.2rem); }
.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-suave);
  position: relative;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: currentColor;
  transition: width 0.3s cubic-bezier(.2,.8,.3,1);
}
.nav-link:hover { color: var(--blanco); }
.nav-link:hover::after { width: 100%; }
.nav-link--verde:hover { color: var(--verde); }
.nav-link--azul:hover { color: var(--azul); }

@media (max-width: 640px) {
  .header-cta { display: none; }
  .header-logo img { height: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) clamp(1.2rem, 5vw, 4rem) 5rem;
  background:
    radial-gradient(ellipse 90% 60% at 75% 18%, rgba(81, 113, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 55% at 15% 85%, rgba(0, 182, 106, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy-1) 45%, var(--navy-3) 100%);
  overflow: hidden;
}
.hero-crystal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0.4rem 0 1.2rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.4);
}
.hero-sub {
  color: var(--texto-suave);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-verticals {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.vertical-card {
  position: relative;
  display: block;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
}
.vertical-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0.4rem 0 0.3rem;
}
.vertical-card p { color: var(--texto-suave); font-size: 0.92rem; }
.vertical-card-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
}
.vertical-card--azul .vertical-card-label { color: var(--azul); }
.vertical-card--verde .vertical-card-label { color: var(--verde); }
.vertical-card--azul:hover {
  border-color: rgba(81, 113, 255, 0.6);
  background: rgba(81, 113, 255, 0.1);
  box-shadow: 0 18px 50px rgba(81, 113, 255, 0.22);
}
.vertical-card--verde:hover {
  border-color: rgba(0, 182, 106, 0.6);
  background: rgba(0, 182, 106, 0.1);
  box-shadow: 0 18px 50px rgba(0, 182, 106, 0.22);
}
.vertical-card-arrow {
  position: absolute;
  right: 1.5rem; top: 1.4rem;
  font-size: 1.3rem;
  opacity: 0.5;
  transition: transform 0.3s, opacity 0.3s;
}
.vertical-card:hover .vertical-card-arrow { transform: translateX(6px); opacity: 1; }

.hero-scroll-hint {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  z-index: 2;
}
.hero-scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--verde);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0.2; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-bottom: 6.5rem; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner--narrow { max-width: 760px; text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.06;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.section-lead {
  color: var(--texto-suave);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 42rem;
  margin-bottom: 2.8rem;
}
.section-inner--narrow .section-lead { margin-left: auto; margin-right: auto; }
.section-cta { margin-top: 3rem; text-align: center; }

/* ---------- Producimos ---------- */
.producimos {
  background:
    radial-gradient(ellipse 80% 50% at 85% 10%, rgba(81, 113, 255, 0.28), transparent 55%),
    linear-gradient(175deg, var(--navy-1) 0%, var(--navy-3) 45%, var(--navy-1) 100%);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
}
.project-card:hover {
  border-color: rgba(81, 113, 255, 0.5);
  box-shadow: 0 22px 60px rgba(5, 10, 30, 0.6), 0 0 40px rgba(81, 113, 255, 0.12);
}
.project-media {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  position: relative;
}
/* Overlay azul sobre foto (moodboard) — al poner foto real queda el velo azul */
.project-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(81,113,255,0.25), rgba(5,10,30,0.55));
}
.project-media--1 { background: linear-gradient(135deg, #16255e, #0a1440 60%, #14306e); }
.project-media--2 { background: linear-gradient(135deg, #0e1f52, #0a173e 55%, #0f2a5c); }
.project-media--3 { background: linear-gradient(135deg, #101f4e, #0c1a45 50%, #18306a); }
.project-media-placeholder {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  border: 1px dashed rgba(255,255,255,0.25);
  padding: 0.6em 1.2em;
  border-radius: 8px;
}
.project-body { padding: 1.4rem 1.5rem 1.7rem; }
.project-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0.8rem 0 0.4rem;
}
.project-body p { color: var(--texto-suave); font-size: 0.92rem; }
.project-body .pill { font-size: 0.62rem; padding: 0.4em 1.1em; }

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ---------- Divider ---------- */
.divider {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--navy-1), var(--navy-2) 50%, var(--navy-1));
  overflow: hidden;
}
.divider::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, var(--azul), var(--verde));
  opacity: 0.5;
}
.divider-crystal {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.divider-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  letter-spacing: 0.5em;
  color: var(--texto-tenue);
  background: var(--navy-1);
  padding: 0.5em 1.6em;
  border: 1px solid var(--borde);
  border-radius: 999px;
}

/* ---------- Conectamos ---------- */
.conectamos {
  background:
    radial-gradient(ellipse 75% 45% at 12% 6%, rgba(0, 182, 106, 0.16), transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 90%, rgba(81, 113, 255, 0.15), transparent 60%),
    linear-gradient(170deg, var(--navy-1) 0%, var(--navy-2) 40%, var(--navy-3) 100%);
}

/* Buscador */
.search-panel {
  background: rgba(6, 12, 34, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 0.9rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.search-row { display: flex; gap: 0.8rem; }
.search-input-wrap { position: relative; flex: 1; }
.search-icon {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 19px; height: 19px;
  color: var(--verde);
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 1.2em 0.75em 2.9em;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.search-input::placeholder { color: var(--texto-tenue); }
.search-input:focus {
  border-color: var(--verde);
  background: rgba(0, 182, 106, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 182, 106, 0.15);
}
.country-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.7em 2.4em 0.7em 1.2em;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300b66a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color 0.25s;
  max-width: 220px;
}
.country-select:focus { border-color: var(--verde); }
.country-select option { background: var(--navy-2); color: var(--blanco); }

.tema-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.tema-chip {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42em 1em;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--texto-suave);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(.2,.8,.3,1);
  white-space: nowrap;
}
.tema-chip:hover { transform: translateY(-2px); border-color: var(--chip-color, var(--verde)); color: var(--blanco); }
.tema-chip.active {
  background: var(--chip-color, var(--verde));
  border-color: var(--chip-color, var(--verde));
  color: var(--navy-1);
  box-shadow: 0 4px 18px color-mix(in srgb, var(--chip-color, var(--verde)) 40%, transparent);
}
.search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  min-height: 1.4rem;
}
.results-count { font-size: 0.85rem; color: var(--texto-tenue); }
.results-count strong { color: var(--verde); }
.clear-filters {
  background: none;
  border: none;
  color: var(--texto-suave);
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s;
}
.clear-filters:hover { color: var(--verde); }

@media (max-width: 700px) {
  /* En mobile el panel ocupa media pantalla: mejor no fijarlo */
  .search-panel { position: static; }
  .search-row { flex-direction: column; }
  .country-select { max-width: none; }
  .tema-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tema-filters::-webkit-scrollbar { display: none; }
}

/* Grid de speakers */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.3rem;
}
.speaker-card {
  border-radius: var(--radius);
  border: 1px solid var(--borde);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, opacity 0.4s, transform 0.4s;
  transform-style: preserve-3d;
  animation: cardIn 0.5s cubic-bezier(.2,.8,.3,1) backwards;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.speaker-card:hover, .speaker-card:focus-visible {
  border-color: rgba(0, 182, 106, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 34px rgba(0, 182, 106, 0.16);
  outline: none;
}
.speaker-photo {
  aspect-ratio: 4 / 3.4;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Placeholder de foto: degradé + iniciales. Reemplazar por <img> cuando haya fotos */
.speaker-initials {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}
.speaker-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 10, 30, 0.72));
}
.speaker-photo .photo-note {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  z-index: 1;
  text-align: center;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-display);
}
.speaker-body { padding: 1.05rem 1.15rem 1.25rem; }
.speaker-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.speaker-country {
  font-size: 0.82rem;
  color: var(--texto-tenue);
  margin: 0.25rem 0 0.7rem;
}
.speaker-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.32em 0.85em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--chip-color, var(--verde)) 16%, transparent);
  color: var(--chip-color, var(--verde));
  border: 1px solid color-mix(in srgb, var(--chip-color, var(--verde)) 35%, transparent);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover {
  background: var(--chip-color, var(--verde));
  color: var(--navy-1);
  transform: translateY(-1px);
}

.no-results {
  text-align: center;
  padding: 4rem 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.no-results span {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--texto-suave);
}
.no-results a { color: var(--verde); text-decoration: underline; }

/* ---------- Página de perfil de speaker ---------- */
.speaker-page {
  background:
    radial-gradient(ellipse 80% 45% at 90% 0%, rgba(0, 182, 106, 0.12), transparent 55%),
    linear-gradient(165deg, var(--navy-3), var(--navy-2) 55%, var(--navy-1));
}
.profile {
  position: relative;
  padding-top: calc(var(--header-h) + 3.5rem);
  min-height: 70vh;
  overflow: hidden;
}
.profile-crystal {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.6;
}
.profile .section-inner { position: relative; z-index: 1; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 2.2rem;
  transition: color 0.25s;
}
.back-link .arrow { transition: transform 0.3s; }
.back-link:hover { color: var(--verde); }
.back-link:hover .arrow { transform: translateX(-5px); }
.profile-loading { color: var(--texto-suave); padding: 3rem 0; }
.profile-loading a { color: var(--verde); text-decoration: underline; }

.profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.profile-photo {
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 182, 106, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(0, 182, 106, 0.14);
}
.profile-photo .speaker-initials { font-size: 4.5rem; }
.profile-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 10, 30, 0.7));
}
.profile-photo .photo-note {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  z-index: 1;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-display);
}
.profile-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0.3rem 0 0.5rem;
}
.profile-country {
  color: var(--texto-suave);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.chip--big { font-size: 0.82rem; padding: 0.45em 1.1em; }

.related {
  background: linear-gradient(180deg, transparent, rgba(5, 10, 30, 0.5));
}
@media (max-width: 800px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo-col { max-width: 320px; margin: 0 auto; width: 100%; }
}

.modal-section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--verde);
  margin: 1.7rem 0 0.6rem;
}
.modal-bio { color: var(--texto-suave); font-size: 0.98rem; max-width: 60ch; }
.bio-review-note { font-size: 0.7rem; color: rgba(255, 200, 100, 0.5); margin-top: 0.4rem; font-style: italic; }
.modal-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.modal-chips .chip { font-size: 0.78rem; }

.talk-list { display: grid; gap: 0.7rem; }
.talk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s;
}
.talk-item:hover { border-color: rgba(0, 182, 106, 0.4); }
.talk-title { font-weight: 600; font-size: 0.98rem; }
.talk-title small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--texto-tenue); margin-top: 2px; }
.talk-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  border: 1.5px solid var(--verde);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  transition: all 0.25s;
}
.talk-link:hover { background: var(--verde); color: var(--navy-1); }
.talk-link--soon {
  color: var(--texto-tenue);
  border-color: rgba(255,255,255,0.15);
  pointer-events: none;
}

.modal-cta-row {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 560px) {
  .modal-cta-row { justify-content: center; }
}

/* ---------- Cierre / contacto ---------- */
.closing {
  background:
    radial-gradient(ellipse 90% 55% at 50% 110%, rgba(0, 182, 106, 0.18), transparent 60%),
    linear-gradient(180deg, #040819, var(--navy-2) 55%, var(--navy-1));
  overflow: hidden;
}
.closing-crystal {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.55;
}
.closing .section-inner { position: relative; z-index: 1; }
.contact-form {
  margin-top: 2.4rem;
  display: grid;
  gap: 0.9rem;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.9em 1.2em;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--texto-tenue); }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(0, 182, 106, 0.12);
}
.contact-form .btn { justify-self: center; margin-top: 0.6rem; }
.form-note { text-align: center; font-size: 0.88rem; color: var(--texto-tenue); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: #030614;
  border-top: 1px solid var(--borde);
  padding: 3.5rem 1.5rem 2.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}
.footer-logo { height: 44px; width: auto; opacity: 0.95; }
.footer-tag {
  font-family: var(--font-display);
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--texto-tenue);
}
.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--texto-suave);
}
.footer-links a:hover { color: var(--verde); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ---------- Hilo de scroll (barra de progreso verde→azul) ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--verde), var(--azul));
  box-shadow: 0 0 12px rgba(0, 182, 106, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}

/* Header se esconde bajando y reaparece subiendo */
.site-header.hidden-up { transform: translateY(-100%); }
.site-header { transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s, transform 0.4s cubic-bezier(.2,.8,.3,1); }

/* ---------- Marquee de temáticas ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  background: linear-gradient(90deg, rgba(0, 182, 106, 0.06), rgba(81, 113, 255, 0.08));
  /* fundido en los bordes */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--texto-tenue);
  transition: color 0.25s, text-shadow 0.25s;
}
.marquee-item:hover {
  color: var(--chip-color, var(--verde));
  text-shadow: 0 0 20px color-mix(in srgb, var(--chip-color, var(--verde)) 60%, transparent);
}
.marquee-sep { color: var(--verde); margin-left: 1.2rem; font-size: 0.7rem; opacity: 0.6; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Stats con count-up ---------- */
.stats-row {
  display: flex;
  gap: clamp(1.6rem, 5vw, 4rem);
  margin: -1rem 0 2.6rem;
}
.stat { display: grid; gap: 0.1rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(100deg, var(--verde), #7ee6b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--texto-tenue);
}

/* ---------- Spotlight: glow que sigue al mouse en las cards ---------- */
.speaker-card { position: relative; }
.card-glow {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 182, 106, 0.16), transparent 65%);
}
.speaker-card:hover .card-glow { opacity: 1; }
.vertical-card::after, .project-card::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--glow-c, rgba(0,182,106,0.13)), transparent 65%);
}
.vertical-card { position: relative; }
.project-card { position: relative; }
.vertical-card--azul { --glow-c: rgba(81, 113, 255, 0.16); }
.project-card { --glow-c: rgba(81, 113, 255, 0.14); }
.vertical-card:hover::after, .project-card:hover::after { opacity: 1; }

/* Shine sweep sobre la foto al hacer hover */
.speaker-photo::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 55%;
  z-index: 1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14) 50%, transparent);
  transform: translateX(-220%) skewX(-18deg);
  transition: transform 0.7s cubic-bezier(.2,.8,.3,1);
}
.speaker-card:hover .speaker-photo::before { transform: translateX(320%) skewX(-18deg); }
.speaker-photo .speaker-initials { transition: transform 0.5s cubic-bezier(.2,.8,.3,1); }
.speaker-card:hover .speaker-initials { transform: scale(1.12); }

/* "Ver perfil" aparece al hacer hover */
.speaker-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.speaker-more .arrow { transition: transform 0.3s; }
.speaker-card:hover .speaker-more, .speaker-card:focus-visible .speaker-more { opacity: 1; transform: translateY(0); }
.speaker-card:hover .speaker-more .arrow { transform: translateX(4px); }
@media (hover: none) {
  .speaker-more { opacity: 1; transform: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.3,1), transform 0.7s cubic-bezier(.2,.8,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Accesibilidad / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .speaker-card { animation: none; }
  .hero-scroll-hint span { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }

/* ---------- Fotos reales de speakers ---------- */
.speaker-img, .profile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.6s cubic-bezier(.2,.8,.3,1);
}
.speaker-card:hover .speaker-img { transform: scale(1.05); }
.profile-img { object-position: center 18%; }
.speaker-photo, .profile-photo { isolation: isolate; }
.speaker-photo::after { z-index: 1; }
.speaker-photo .speaker-initials, .profile-photo .speaker-initials { z-index: 2; }

/* ==========================================================================
   Secciones institucionales — Nosotros · Marcas · Agenda · Servicios · Clientes
   ========================================================================== */

/* ---------- Nosotros ---------- */
.nosotros {
  background:
    radial-gradient(ellipse 70% 50% at 8% 10%, rgba(0, 182, 106, 0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-3), var(--navy-2));
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.nosotros .section-lead { margin-bottom: 1.2rem; }
.nosotros .stats-row { margin-top: 2rem; }
.nosotros-foto {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--borde);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  position: relative;
}
.nosotros-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(81, 113, 255, 0.18), rgba(5, 10, 30, 0.45));
}
.nosotros-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .nosotros-grid { grid-template-columns: 1fr; } }

/* ---------- Nuestras marcas (dentro de Producimos) ---------- */
.marcas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.marca-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 2rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(81, 113, 255, 0.28);
  background: linear-gradient(180deg, rgba(81, 113, 255, 0.1), rgba(255, 255, 255, 0.03));
  transition: border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  overflow: hidden;
  --glow-c: rgba(81, 113, 255, 0.16);
}
.marca-card:hover {
  border-color: rgba(81, 113, 255, 0.6);
  box-shadow: 0 22px 60px rgba(5, 10, 30, 0.6), 0 0 40px rgba(81, 113, 255, 0.14);
}
.marca-logo { display: grid; place-items: center; min-height: 86px; }
.marca-logo img { max-height: 76px; width: auto; max-width: 84%; object-fit: contain; }
.marca-card p { color: var(--texto-suave); font-size: 0.93rem; flex: 1; }
.marca-meta {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azul);
  padding-top: 0.8rem;
  border-top: 1px solid var(--borde);
}
/* Tercera card: foto real de evento con overlay azul */
.marca-card--foto { justify-content: flex-end; min-height: 280px; padding: 0; }
.marca-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.marca-card--foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(81, 113, 255, 0.22) 10%, rgba(5, 10, 30, 0.9) 75%);
}
.marca-card-body { position: relative; z-index: 2; padding: 1.6rem; }
.marca-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
@media (max-width: 900px) { .marcas-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- Próximas producciones ---------- */
.agenda {
  margin-top: 2.6rem;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.4rem 1.6rem;
}
.agenda-titulo {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 0.9rem;
}
.agenda-list { list-style: none; display: grid; gap: 0.6rem; }
.agenda-list li {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-top: 1px solid var(--borde);
}
.agenda-list li:first-child { border-top: 0; padding-top: 0; }
.agenda-fecha {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blanco);
  font-variant-numeric: tabular-nums;
}
.agenda-que { color: var(--texto-suave); font-size: 0.95rem; }
.agenda-que b { color: var(--blanco); font-weight: 600; }
.agenda-nota { font-size: 0.72rem; color: var(--texto-tenue); font-style: italic; }
@media (max-width: 640px) {
  .agenda-list li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* Logo de la línea de speakers en Conectamos */
.marca-inline { height: 46px; width: auto; margin: 0.2rem 0 1rem; opacity: 0.95; }

/* ---------- Servicios ---------- */
.servicios {
  background:
    radial-gradient(ellipse 70% 45% at 90% 15%, rgba(0, 182, 106, 0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-2), var(--navy-1));
}
.serv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.serv-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--borde);
  background: rgba(255, 255, 255, 0.035);
  border-top: 2px solid var(--verde);
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1), border-color 0.3s, background 0.3s;
}
.serv-card:hover {
  transform: translateY(-5px);
  background: rgba(0, 182, 106, 0.07);
  border-color: rgba(0, 182, 106, 0.4);
  border-top-color: var(--verde);
}
.serv-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.serv-card p { color: var(--texto-suave); font-size: 0.9rem; }

/* Proceso de trabajo: secuencia real, por eso va numerado */
.proceso {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--borde);
}
.paso-n {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 182, 106, 0.55);
  font-variant-numeric: tabular-nums;
}
.paso h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.5rem 0 0.35rem;
}
.paso p { color: var(--texto-suave); font-size: 0.9rem; }

/* ---------- Clientes ---------- */
.clientes {
  background: linear-gradient(180deg, var(--navy-1), #040819);
  text-align: center;
}
.clientes .section-title { margin-bottom: 2.4rem; }
.clientes-logos {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0.8;
  transition: opacity 0.4s;
}
.clientes-logos:hover { opacity: 1; }

/* ---------- WhatsApp flotante ---------- */
.wa {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--verde);
  color: var(--navy-1);
  box-shadow: 0 10px 34px rgba(0, 182, 106, 0.45);
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1), box-shadow 0.25s;
}
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: scale(1.09) translateY(-2px); box-shadow: 0 16px 44px rgba(0, 182, 106, 0.6); }

/* Reserva de espacio: evita que la página salte mientras cargan las imágenes */
.clientes-logos { aspect-ratio: 1700 / 694; height: auto; }
.marca-inline { aspect-ratio: 612 / 172; }
.nosotros-foto { aspect-ratio: 3 / 2; }
.marca-logo img { height: auto; }

/* ==========================================================================
   Portada con film de marca
   El film tiene subtítulos quemados abajo al centro: el copy va arriba
   y el velo se aclara en el tercio inferior para que se puedan leer.
   ========================================================================== */
.hero {
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 6vh);
  padding-bottom: 7rem;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video, .hero-media > img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.hero-velo {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,10,30,.94) 0%, rgba(5,10,30,.72) 22%, rgba(5,10,30,.34) 52%, rgba(5,10,30,.62) 100%),
    linear-gradient(100deg, rgba(5,10,30,.88) 0%, rgba(5,10,30,.42) 48%, rgba(8,19,52,.12) 100%);
}
.hero-inner { align-items: start; grid-template-columns: 1fr; }
.hero-copy { max-width: 46rem; }
.hero .hero-title { text-shadow: 0 6px 34px rgba(0,0,0,.65); }
.hero .hero-sub { text-shadow: 0 2px 18px rgba(0,0,0,.6); }

/* Control de sonido del film */
.hero-sonido {
  position: absolute;
  /* Corrido a la izquierda del WhatsApp flotante (56px + aire): cuando el pie
     del hero coincide con el pie de la ventana, los dos caen en la misma esquina. */
  right: calc(clamp(1rem, 3vw, 1.8rem) + 68px);
  bottom: 2.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .6em 1.2em;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(5,10,30,.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--blanco);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s;
}
.hero-sonido:hover { border-color: var(--verde); color: var(--verde); transform: translateY(-2px); }
.hero-sonido svg { width: 19px; height: 19px; }
.hero-sonido .ic-on { display: none; }
.hero-sonido[aria-pressed="true"] .ic-off { display: none; }
.hero-sonido[aria-pressed="true"] .ic-on { display: inline; }
.hero-sonido[aria-pressed="true"] { border-color: var(--verde); color: var(--verde); }

/* Las dos verticales, ahora en franja propia bajo la portada */
.verticales {
  background: linear-gradient(180deg, var(--navy-1), var(--navy-2));
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--borde);
}
.verticales-in {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 760px) { .verticales-in { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 4vh); padding-bottom: 6rem; }
  .hero-video { object-position: center 38%; }
  .hero-sonido { left: clamp(1.2rem, 5vw, 4rem); right: auto; bottom: 1.6rem; }
}

/* ---------- Menú en mobile ----------
   Con cinco secciones la barra ya no entra en pantallas chicas. */
.nav-toggle { display: none; }
.nav-cta-movil { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px; height: 42px;
    place-content: center;
    padding: 0 9px;
    background: none;
    border: 1.5px solid rgba(255,255,255,.28);
    border-radius: 12px;
    cursor: pointer;
    order: 3;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--blanco); border-radius: 2px;
    transition: transform .3s cubic-bezier(.2,.8,.3,1), opacity .2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.2rem clamp(1.2rem, 5vw, 3rem) 1.8rem;
    background: rgba(5, 10, 30, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--borde);
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.2,.8,.3,1), opacity .25s;
  }
  .header-nav.abierto { transform: none; opacity: 1; pointer-events: auto; }
  .header-nav .nav-link {
    width: 100%;
    padding: .85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--borde);
  }
  .header-nav .nav-link::after { display: none; }
  .nav-cta-movil { display: inline-block; margin-top: 1.2rem; }
  .header-cta { display: none; }
}

/* ==========================================================================
   Fotos de eventos (Nosotros + Producimos)
   ========================================================================== */

/* Subtítulo interno de sección (nuestros escenarios) */
.sub-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

/* Las tres marcas, ahora sobre foto real */
.marca-card--foto { min-height: 380px; padding: 0; justify-content: stretch; }
.marca-card--foto picture { position: absolute; inset: 0; display: block; }
.marca-card--foto .marca-bg {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.marca-card--foto:hover .marca-bg { transform: scale(1.05); }
.marca-card--foto::after {
  background:
    linear-gradient(180deg, rgba(5, 10, 30, 0.3) 0%, rgba(5, 10, 30, 0.5) 40%, rgba(5, 10, 30, 0.94) 100%),
    linear-gradient(180deg, rgba(81, 113, 255, 0.14), transparent 60%);
}
.marca-card--foto .marca-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.6rem;
}
.marca-card--foto .marca-logo { min-height: 96px; margin-bottom: auto; }
.marca-card--foto .marca-logo img { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7)); }
.marca-card--foto p { flex: 0; color: rgba(255, 255, 255, 0.86); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.marca-card--foto h3 { margin-top: auto; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.marca-card--foto .marca-meta { border-top-color: rgba(255, 255, 255, 0.16); }

/* Nuestros escenarios: fila de fotos con scroll lateral y snap */
.escenarios {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: 1.6rem;
}
.escenarios-head { display: grid; gap: 0.7rem; max-width: 62ch; }
.escenarios-head p { color: var(--texto-suave); font-size: 1rem; }
.escenarios-track {
  list-style: none;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* sale hasta el borde de la sección para insinuar que sigue */
  margin-inline: calc(-1 * clamp(1.2rem, 5vw, 4rem));
  padding-inline: clamp(1.2rem, 5vw, 4rem);
  padding-bottom: 0.5rem;
}
.escenarios-track::-webkit-scrollbar { display: none; }
.escenarios-item {
  position: relative;
  flex: 0 0 clamp(250px, 30%, 380px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--borde);
  aspect-ratio: 3 / 2;
}
.escenarios-item picture, .escenarios-item img { display: block; width: 100%; height: 100%; }
.escenarios-item img { object-fit: cover; transition: transform 0.7s; }
.escenarios-item:hover img { transform: scale(1.04); }
.escenarios-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 10, 30, 0.85));
  pointer-events: none;
}
.escenarios-chip {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.escenarios-chip b { color: var(--blanco); font-weight: 600; }

@media (max-width: 900px) {
  .marca-card--foto { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .marca-card--foto .marca-bg, .escenarios-item img { transition: none; }
  .marca-card--foto:hover .marca-bg, .escenarios-item:hover img { transform: none; }
}

/* ==========================================================================
   Portada: buscador de speakers (la primera acción de la web)
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero-buscar { margin-top: 1.8rem; max-width: 42rem; display: grid; gap: 0.85rem; }
.hero-buscar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem;
  border-radius: 999px;
  background: rgba(5, 10, 30, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hero-buscar-row:focus-within {
  border-color: var(--verde);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(0, 182, 106, 0.16);
}
.hero-buscar-row svg { width: 20px; height: 20px; color: var(--verde); flex: none; }
.hero-buscar-row input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.6em 0.2em;
}
.hero-buscar-row input::placeholder { color: rgba(255, 255, 255, 0.55); }
.hero-buscar-row input::-webkit-search-cancel-button { filter: invert(1); }
.hero-buscar-row .btn { flex: none; }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.hero-chips-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 0.3rem;
}
.hero-chip {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42em 1em;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 10, 30, 0.45);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.hero-chip:hover {
  transform: translateY(-2px);
  border-color: var(--chip-color, var(--verde));
  background: color-mix(in srgb, var(--chip-color, var(--verde)) 22%, rgba(5, 10, 30, 0.6));
  color: var(--blanco);
}
.hero-proof {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.hero-alt { margin-top: 0.5rem; font-size: 0.9rem; color: var(--texto-suave); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.hero-alt a { color: var(--azul); text-decoration: none; border-bottom: 1px solid rgba(81, 113, 255, 0.4); }
.hero-alt a:hover { border-bottom-color: var(--azul); }
@media (max-width: 560px) {
  .hero-buscar-row { padding-left: 0.9rem; }
  .hero-buscar-row input { font-size: 0.98rem; }
  .hero-chips-label { display: none; }
}

/* Formulario: el select de tipo de evento se ve como los inputs */
.contact-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.9em 2.6em 0.9em 1.2em;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1em center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form select:invalid { color: var(--texto-tenue); }
.contact-form select option { color: var(--negro); }
.contact-form select:focus { border-color: var(--verde); box-shadow: 0 0 0 4px rgba(0, 182, 106, 0.12); }

/* ==========================================================================
   Nuestras conferencias: las dos puertas (sponsor / quiero venir)
   ========================================================================== */
.btn--azul {
  background: var(--azul);
  color: var(--blanco);
  box-shadow: 0 8px 30px rgba(81, 113, 255, 0.35);
}
.btn--azul:hover { box-shadow: 0 14px 40px rgba(81, 113, 255, 0.5); }

.prod-ctas {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.prod-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(81, 113, 255, 0.28);
  background: linear-gradient(180deg, rgba(81, 113, 255, 0.1), rgba(255, 255, 255, 0.03));
  transition: border-color 0.3s, box-shadow 0.3s;
}
.prod-cta:hover { border-color: rgba(81, 113, 255, 0.6); box-shadow: 0 22px 60px rgba(5, 10, 30, 0.6); }
.prod-cta-quien {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--azul);
}
.prod-cta h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
}
.prod-cta p { color: var(--texto-suave); font-size: 0.93rem; flex: 1; }
.prod-cta .btn { margin-top: 0.7rem; }
@media (max-width: 760px) { .prod-ctas { grid-template-columns: 1fr; } }

/* ==========================================================================
   Buscador chico flotante (acompaña el scroll del directorio)
   El grande dejó de ser sticky: ocupaba media pantalla mientras scrolleabas.
   ========================================================================== */
.buscar-flot {
  position: fixed;
  left: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* El WhatsApp vive abajo a la derecha: no se pisan */
  max-width: calc(100vw - 56px - clamp(2rem, 9vw, 5.4rem));
}
.buscar-flot[hidden] { display: none !important; }

.buscar-flot-tog {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 182, 106, 0.55);
  background: rgba(6, 12, 34, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  color: var(--blanco);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.buscar-flot-tog:hover { border-color: var(--verde); transform: translateY(-2px); }
.buscar-flot-tog svg { width: 17px; height: 17px; color: var(--verde); flex: none; }
.buscar-flot-tog[aria-expanded="true"] { border-color: var(--verde); }

.buscar-flot-panel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.4rem 0.3rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--verde);
  background: rgba(6, 12, 34, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  min-width: 0;
}
.buscar-flot-panel[hidden] { display: none !important; }
.buscar-flot-panel input {
  flex: 1;
  min-width: 0;
  width: clamp(150px, 34vw, 240px);
  background: none;
  border: 0;
  outline: none;
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.55em 0;
}
.buscar-flot-panel input::placeholder { color: var(--texto-tenue); }
.buscar-flot-panel input::-webkit-search-cancel-button { display: none; }
.buscar-flot-n {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--verde);
  font-variant-numeric: tabular-nums;
}
.buscar-flot-x {
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--texto-suave);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.buscar-flot-x:hover { background: rgba(255, 255, 255, 0.16); color: var(--blanco); }

/* Con el panel abierto, la pastilla se achica al ícono para dejarle lugar */
@media (max-width: 620px) {
  .buscar-flot-tog[aria-expanded="true"] span { display: none; }
  .buscar-flot-tog[aria-expanded="true"] { padding: 0.7em 0.8em; }
}
@media (prefers-reduced-motion: reduce) {
  .buscar-flot-tog { transition: none; }
  .buscar-flot-tog:hover { transform: none; }
}

/* ==========================================================================
   Nosotros: lema de propósito · Servicios: por qué con nosotros
   ========================================================================== */
.nosotros-lema {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  padding-left: 1.1rem;
  border-left: 3px solid var(--verde);
}

.porque {
  margin-top: 3rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--borde);
  display: grid;
  gap: 1.8rem;
}
/* Son cuatro: 2×2 para que ninguno quede solo en su fila */
.porque-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2.8rem;
}
@media (max-width: 720px) { .porque-grid { grid-template-columns: 1fr; } }
.porque-item {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1.1rem 0 1.1rem 1.5rem;
  position: relative;
}
/* Marca de viñeta en vez de número: son razones, no pasos ordenados */
.porque-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--verde);
  transform: rotate(45deg);
}
.porque-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.porque-item p { color: var(--texto-suave); font-size: 0.92rem; }

/* ==========================================================================
   "Speakers" destacado en el menú · una sola cifra en Quiénes somos
   ========================================================================== */
/* El CTA del header ahora es Contactanos, así que el acceso al directorio
   se marca acá: es lo que la mayoría viene a buscar. */
.nav-link--destacado {
  color: var(--verde);
  font-weight: 600;
  padding: 0.42em 1.1em;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 182, 106, 0.45);
  background: rgba(0, 182, 106, 0.1);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.nav-link--destacado:hover {
  color: var(--verde);
  background: rgba(0, 182, 106, 0.2);
  border-color: var(--verde);
}
/* Ya se distingue por el fondo: el subrayado sobraría */
.nav-link--destacado::after { display: none; }


/* ==========================================================================
   Más caminos a "contratar": tarjetas de servicio clicables, CTA del
   directorio y el botón fijo de la ficha de cada speaker.
   ========================================================================== */
/* Las tarjetas de servicio ahora son enlaces */
a.serv-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}
a.serv-card p { flex: 1; }
.serv-cta {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
  opacity: 0.75;
  transition: opacity 0.25s;
}
.serv-cta span { display: inline-block; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1); }
a.serv-card:hover .serv-cta { opacity: 1; }
a.serv-card:hover .serv-cta span { transform: translateX(5px); }

/* Cierre del directorio */
.dir-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2.4rem;
  border-top: 1px solid var(--borde);
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  text-align: center;
}
.dir-cta p { color: var(--texto-suave); font-size: 1.02rem; text-wrap: balance; }

/* Ficha de speaker: el CTA acompaña a la foto */
.profile-cta {
  margin-top: 1.4rem;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}
.profile-cta .btn { width: 100%; text-align: center; }
.profile-cta-mail {
  font-size: 0.86rem;
  color: var(--texto-tenue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.profile-cta-mail:hover { color: var(--verde); border-bottom-color: rgba(0, 182, 106, 0.5); }

@media (min-width: 900px) {
  /* La foto y el botón quedan a la vista mientras se lee la bio */
  .profile-photo-col {
    position: sticky;
    top: calc(var(--header-h) + 1.6rem);
  }
}
@media (max-width: 899px) {
  /* En celular va arriba de la bio, así se ve sin scrollear */
  .profile-cta { max-width: 420px; margin-inline: auto; }
}

/* Pastilla de contratar en la ficha (solo en celular: en desktop el botón
   ya queda pegado junto a la foto). Va a la izquierda: el WhatsApp está a la derecha. */
.cta-flot {
  position: fixed;
  left: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  max-width: calc(100vw - 56px - clamp(2rem, 9vw, 5.4rem));
  padding: 0.8em 1.3em;
  border-radius: 999px;
  background: var(--verde);
  color: var(--navy-1);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 14px 40px rgba(0, 182, 106, 0.4);
}
.cta-flot[hidden] { display: none !important; }
.cta-flot svg { width: 17px; height: 17px; flex: none; }
@media (min-width: 900px) { .cta-flot { display: none !important; } }

/* ---------- Páginas por temática (/conferencistas/<tema>/) ----------
   Páginas de texto, pensadas para que Google y los modelos de lenguaje
   entiendan de qué hablamos. Fondo navy como el resto del sitio. */
.tema-page { background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 60%, var(--navy-1) 100%); }
.tema-main { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }

.breadcrumb {
  font-size: .82rem;
  color: var(--texto-tenue);
  margin-bottom: 2.2rem;
  letter-spacing: .02em;
}
.breadcrumb a { color: var(--texto-suave); text-decoration: none; }
.breadcrumb a:hover { color: var(--verde); }

.tema-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
  margin: .6rem 0 1.4rem;
}
.tema-lead {
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
  line-height: 1.5;
  max-width: 44ch;
  color: var(--blanco);
}
/* El cuerpo en dos columnas en pantallas anchas: bloques de texto largos a
   todo el ancho no se leen. */
.tema-texto {
  margin-top: clamp(2rem, 4vw, 3rem);
  columns: 2;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 1000px;
}
.tema-texto p {
  color: var(--texto-suave);
  line-height: 1.7;
  margin: 0 0 1.1rem;
  break-inside: avoid;
}
@media (max-width: 820px) { .tema-texto { columns: 1; } }

.tema-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: clamp(3rem, 6vw, 4.5rem) 0 1.6rem;
  text-wrap: balance;
}
.tema-grid { margin-bottom: 1rem; }
.tema-page a.speaker-card { text-decoration: none; color: inherit; display: block; }

.tema-faq { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--borde);
  padding: 1.15rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--verde);
  font-size: 1.5rem;
  line-height: 1;
  flex: none;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  color: var(--texto-suave);
  line-height: 1.65;
  margin: .9rem 0 .2rem;
  max-width: 62ch;
}

/* En la home el encabezado se vuelve opaco al hacer scroll, y eso lo maneja
   main.js. Estas páginas no cargan ese script, así que el encabezado va
   opaco desde el principio: si no, el contenido se le cruza por detrás. */
.tema-page .site-header {
  background: rgba(5, 10, 30, .88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--borde);
}
