/* ─────────────────────────────────────────────────
   ZAMER.COM — One Page
   Stack: HTML + CSS puro. Sin dependencias de build.
   Fuentes: Playfair Display + Inter (Google Fonts)
───────────────────────────────────────────────── */

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── IMÁGENES — REGLAS GLOBALES ───────────────────
   Todos los contenedores de imagen están listos.
   Tú solo metes el archivo en la carpeta correcta.
   El CSS hace el resto automáticamente.
─────────────────────────────────────────────────── */

/* LOGOS DE VENTURES (Nett, Hey Branders)
   Se muestran a color, altura máxima 40px.
   Mientras el archivo no exista, aparece el texto fallback. */
.venture-logo-img {
  max-height: 40px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Oculta el texto fallback cuando el logo carga correctamente */
.venture-logo-img + .venture-logo-fallback {
  display: none;
}

/* Si el logo no carga (archivo ausente), el img queda en 0×0
   y el texto fallback vuelve a ser visible */
.venture-logo-img[src=""],
.venture-logo-img:not([src]) {
  display: none;
}

/* FOTOS PERSONALES (sección filosófico)
   Se recortan automáticamente para llenar su contenedor.
   Las dimensiones de cada celda las controla el CSS de .foto.
   Tú no necesitas tocar nada: mete el JPG y aparece. */
.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.foto:hover img {
  transform: scale(1.03);
}

/* FOTO DE SPEAKER
   Se recorta para llenar el contenedor de 260px de alto.
   Shot amplio recomendado (paisaje). */
.speaker-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── TOKENS ─── */
:root {
  --black:      #1A1A1A;
  --light:      #E6E4ED;
  --light-off:  #EDEBF4;   /* variante ligeramente más clara para secciones alternadas */
  --gray:       #6C6A79;
  --muted:      #9896A6;
  --border:     #D0CDD9;
  --red:        #FF0443;
  --red-dark:   #CC0030;
  --blue:       #1A1799;
  --blue-dark:  #100E7A;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w:        1100px;
  --max-w-narrow: 720px;
  --px:           clamp(24px, 5vw, 80px);
  --section-py:   clamp(80px, 10vw, 140px);
}

/* ─── BASE ─── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--black);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

/* ─── SECTION PALETTES ─── */
.section-light {
  background: var(--light-off);
  padding: var(--section-py) 0;
}

.section-cream {
  background: var(--light);
  padding: var(--section-py) 0;
}

.section-dark {
  background: var(--black);
  color: var(--light);
  padding: var(--section-py) 0;
}

.section-accent {
  background: var(--blue);
  color: var(--light);
  padding: var(--section-py) 0;
}

/* ─── SHARED TYPE ─── */
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}

.section-label--light {
  color: #5A58C8;
}

.section-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* HERO                                              */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

#hero {
  min-height: 100svh;
  background: var(--black);
  color: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 12vw, 160px) var(--px) clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

/* FOTO DE FONDO — HERO
   Se estira para cubrir toda la sección (object-fit: cover).
   El overlay negro encima garantiza que el texto siempre sea legible.
   Si el archivo no existe, el hero queda en negro sólido sin romperse. */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.35;       /* ajusta entre 0.2 y 0.5 según qué tan prominente quieres la foto */
  z-index: 0;
}

/* Todo el contenido del hero va encima de la foto */
.hero-inner,
.hero-scroll-hint {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 8.5vw, 120px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--light);
  margin-bottom: clamp(32px, 4vw, 52px);
}

.hero-subhead {
  font-family: var(--sans);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  color: #9896A6;
  max-width: 600px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.hero-credentials {
  font-family: var(--sans);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #46444F;
  text-transform: uppercase;
  line-height: 1.8;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: #38363F;
  animation: nudge 2.4s ease-in-out infinite;
  cursor: default;
  user-select: none;
}

@keyframes nudge {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* EL PUENTE                                         */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.puente-text p {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.75;
  color: #2E2C3A;
  margin-bottom: 1.5em;
}

.puente-text p:last-child {
  margin-bottom: 0;
}

.puente-close {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  color: var(--black) !important;
  font-weight: 400 !important;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* LOGOS                                             */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.logos-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  color: var(--black);
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--sans);
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  transition: color 0.2s;
}

.logo-item:hover {
  color: var(--black);
}

.logo-item--bold {
  font-weight: 600;
  color: #7A7888;
}

.logo-item--bold:hover {
  color: var(--black);
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* FILOSÓFICO                                        */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.filosofico-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.filosofico-body p {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: #2E2C3A;
  margin-bottom: 1.25em;
}

.filosofico-body p:last-child {
  margin-bottom: 0;
}

/* Layout de fotos — 2 columnas, unidad base de 180px por fila
   Bloque 1: foto-1 tall (col 1, filas 1-2) | foto-2 short (col 2, fila 1)
                                             | foto-3 short (col 2, fila 2)
   Bloque 2: foto-4 tall (col 1, filas 3-4) | foto-5 tall  (col 2, filas 3-4)
   Bloque 3: foto-6 wide (filas 5, span 2 cols) */
.foto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 10px;
}

.foto {
  background: #D8D6E2;
  position: relative;
  overflow: hidden;
}

.foto--tall {
  grid-row: span 2;   /* 2 × 180px = 360px + gap */
}

.foto--short {
  /* ocupa 1 fila = 180px — altura controlada por grid-auto-rows */
}

.foto--wide {
  grid-column: span 2;  /* ocupa las 2 columnas, 1 fila de alto */
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* VENTURES                                          */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.ventures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-top: clamp(40px, 5vw, 64px);
}

.venture-card {
  border-top: 1px solid #2A2832;
  padding-top: 36px;
}

.venture-logo-zone {
  height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.venture-logo-text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
}

.venture-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.2;
  color: var(--light);
  margin-bottom: 20px;
}

.venture-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #6C6A79;
  margin-bottom: 16px;
}

.venture-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: #9896A6;
  margin-bottom: 28px;
}

.venture-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.venture-link:hover {
  color: #FF4470;
  border-color: #FF4470;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* SIDE PROJECTS                                     */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.side-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}

.side-card {
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.side-collab {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  min-height: 16px;
}

.side-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.side-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #4A4858;
  margin-bottom: 20px;
}

.side-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.side-link:hover {
  color: var(--black);
  border-color: var(--black);
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* SPEAKER                                           */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.speaker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.speaker-headline {
  font-size: clamp(26px, 3vw, 42px);
}

.speaker-subhead {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: #4A4858;
  margin-bottom: 32px;
}

.speaker-foto {
  background: var(--border);
  height: 260px;
  margin-bottom: 32px;
  position: relative;
}

.speaker-foto::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.speaker-apariciones {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.speaker-temas-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 32px;
}

.temas-list {
  list-style: none;
}

.temas-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.temas-list li:first-child {
  border-top: 1px solid var(--border);
}

.tema-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  min-width: 24px;
  padding-top: 3px;
}

.temas-list strong {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 6px;
}

.temas-list p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: #5A5870;
  margin: 0;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* BOTÓN PRIMARIO                                    */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
  background: var(--red);
  padding: 14px 28px;
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: var(--red-dark);
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* NEWSLETTER                                        */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.newsletter-inner {
  text-align: center;
}

.newsletter-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.2;
  color: var(--light);
  margin-bottom: 28px;
}

.newsletter-body {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: #A8B4E8;
  margin-bottom: 1.25em;
}

.newsletter-cta {
  margin-top: 40px;
}

.newsletter-free {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8090D0;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  background: #1210A0;
  border: 1px solid #2A28B8;
  color: var(--light);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]::placeholder {
  color: #6070B8;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--light);
}

.newsletter-form button {
  padding: 14px 24px;
  background: var(--red);
  color: var(--light);
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--red-dark);
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* CONTACTO                                          */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.contacto-inner {
  margin: 0 auto;
}

.contacto-headline {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 20px;
}

.contacto-body {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: #4A4858;
  margin-bottom: 8px;
}

.contacto-email {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--blue);
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color 0.2s;
}

.contacto-email:hover {
  color: var(--black);
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--light);
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
  color: var(--muted);
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  border-color: var(--blue);
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* FOOTER                                            */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

.footer-inner {
  text-align: center;
}

.footer-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #38363F;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.social-links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4A4858;
  padding: 10px 18px;
  border: 1px solid #252330;
  margin: -1px 0 0 -1px;
  transition: color 0.2s, background 0.2s;
}

.social-links a:hover {
  color: var(--light);
  background: #252330;
}

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #38363F;
  text-transform: uppercase;
}

/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */
/* RESPONSIVE                                        */
/* ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── ─── */

@media (max-width: 960px) {
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .filosofico-grid {
    grid-template-columns: 1fr;
  }
  .ventures-grid {
    grid-template-columns: 1fr;
  }
  .speaker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .side-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form button {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-headline {
    font-size: clamp(40px, 12vw, 80px);
  }
}
