/* ═══════════════════════════════════════════
   ESG Forum México 2026 | Expansión
   Hoja de estilos principal
   ═══════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --exp-red: #E31E24;
  --exp-black: #0a0a0a;
  --exp-dark: #111111;
  --exp-cream: #faf9f6;
  --exp-gold: #c9a84c;
  --exp-text: #222222;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--exp-cream);
  color: var(--exp-text);
  overflow-x: hidden;
}

/* ─── HEADER EXPANSIÓN ─── */
header {
  background: #ed1c24;
  position: fixed;
  width: 100%;
  z-index: 100;
  border-bottom: 3px solid #3d3d3d;
}

.exp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
}

.exp-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.logoExpansion {
  height: 30px;
  margin: 0.5rem 0rem;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--exp-black);
  padding-top: 67px;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('../img/IMG_9989.JPG');
  background-size: cover;
  background-position: center 30%;
  -webkit-filter: brightness(0.45) saturate(0.8);
  filter: brightness(0.45) saturate(0.8);
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.0);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: -webkit-linear-gradient(bottom,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.5) 45%,
      rgba(0, 0, 0, 0.1) 100%);
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.5) 45%,
      rgba(0, 0, 0, 0.1) 100%);
}

.hero-accent-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--exp-red), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem 5rem;
  width: 100%;
}

.hero-presented {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(227, 30, 36, 0.15);
  border: 1px solid rgba(227, 30, 36, 0.4);
  border-radius: 2px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-presented span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-title em {
  font-style: normal;
  color: var(--exp-red);
}

.hero-intro {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 680px;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ─── SHARED ─── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--exp-text);
  line-height: 1.15;
}

.section-title-light {
  color: #ffffff;
}

.divider-red {
  width: 48px;
  height: 3px;
  background: var(--exp-red);
  margin: 1.25rem 0;
}

/* ─── BLOQUE 1 ─── */
.block-context {
  background: var(--exp-cream);
  padding: 6rem 0;
  scroll-margin-top: 67px;
}

.context-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: var(--exp-text);
  font-weight: 400;
}

.highlight-card {
  background: var(--exp-black);
  border-left: 4px solid var(--exp-red);
  border-radius: 4px;
  padding: 2rem 2.25rem;
  color: #fff;
}

.highlight-card p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  margin: 0;
}

.highlight-card .highlight-icon {
  color: var(--exp-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* ─── FOTO ─── */
.photo-feature {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.photo-feature img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.photo-feature:hover img {
  transform: scale(1.03);
}

.photo-caption {
  background: var(--exp-black);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.photo-caption i {
  color: var(--exp-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.photo-caption span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ─── SESIONES ─── */
.sessions-section {
  background: var(--exp-dark);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 67px;
}

.sessions-section::before {
  content: 'ESG';
  position: absolute;
  right: -2rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 20rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.sessions-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 3rem;
}

.session-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.75rem;
  height: 100%;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}

.session-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--exp-red);
  transition: height 0.35s ease;
}

.session-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(227, 30, 36, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.session-card:hover::before {
  height: 100%;
}

.session-number {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--exp-red);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.session-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.session-body {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.session-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.7rem;
  color: var(--exp-gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── NETWORKING ─── */
.networking-section {
  background: var(--exp-cream);
  padding: 6rem 0;
  scroll-margin-top: 67px;
}

.net-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
}

.net-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.net-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--exp-text);
}

/* ─── CIERRE ─── */
.closing-section {
  background: var(--exp-black);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 67px;
}

.closing-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(227, 30, 36, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.closing-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #ffffff;
  line-height: 1.6;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.closing-quote::before {
  content: '\201C';
  font-size: 6rem;
  color: var(--exp-red);
  line-height: 0;
  vertical-align: -2.5rem;
  margin-right: 0.2rem;
  font-family: var(--font-serif);
  opacity: 0.6;
}

.b2b-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1.25rem 1.75rem;
  position: relative;
  z-index: 1;
}

.b2b-badge i {
  font-size: 1.5rem;
  color: var(--exp-red);
}

.b2b-badge p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

.b2b-badge strong {
  color: #fff;
}

/* ─── FOOTER ─── */
footer {
  background: #050505;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── CRÉDITO ─── */
.credito {
  background: #000000;
  padding: 0.75rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.credito p {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

/* ─── BOTÓN ─── */
.boton {
  text-align: center;
}

.boton a {
  display: inline-block;
  background: #ffffff;
  color: #ed1c24;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.75rem;
  border: 2px solid #ffffff;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.boton a:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* ─── RESPONSIVE ─── */

/* ─ Tablet (769px – 1024px) ─ */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }

  .photo-feature img {
    height: 360px;
  }

  .net-image img {
    height: 380px;
  }

  .sessions-section::before {
    font-size: 12rem;
  }
}

/* ─ Mobile (≤ 768px) ─ */
@media (max-width: 768px) {
  /* Header */
  .exp-topbar-inner {
    padding: 0 1rem;
  }

  /* Hero */
  .hero {
    padding-top: 67px;
    min-height: 100svh;
  }

  .hero-content {
    padding: 2rem 1.25rem 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* Fotos */
  .photo-feature img {
    height: 240px !important;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .net-image img {
    height: 280px;
  }

  /* Secciones */
  .block-context,
  .sessions-section,
  .networking-section,
  .closing-section {
    padding: 3.5rem 0;
  }

  /* Texto decorativo – oculto en mobile */
  .sessions-section::before {
    display: none;
  }

  /* Tarjetas – sin hover-lift en touch */
  .session-card:hover {
    transform: none;
  }

  /* Closing quote */
  .closing-quote::before {
    font-size: 4rem;
    vertical-align: -1.8rem;
  }

  /* Badge B2B */
  .b2b-badge {
    -webkit-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  footer {
    -webkit-flex-direction: column;
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }
}