/* ═══════════════════════════════════════════
   Enel México | Expansión — Bespoke Ad
   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;
  --font-heading: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
strong {
  font-weight: 700;
}
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;
}

p {
  font-family: var(--font-body);
}

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

.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 {
  background-image: url('../img/01.jpg');
  background-size: cover;
  background-position: center 35%;
  -webkit-filter: brightness(0.65) saturate(0.95);
  filter: brightness(0.65) saturate(0.95);
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

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

  to {
    transform: scale(1.0);
  }
}

.hero-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.32) 45%,
      rgba(0, 0, 0, 0.05) 100%);
}

.grey-section{
  background: #555;
}

.hero-accent-line {
  width: 4px;
  background: linear-gradient(to bottom, var(--exp-red), transparent);
}

.hero-content {
  padding: 4rem 2rem 5rem;
}

.hero-presented {
  background: rgba(227, 30, 36, 0.15);
  border: 1px solid rgba(227, 30, 36, 0.4);
  border-radius: 2px;
  padding: 0.35rem 0.9rem;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  max-width: 800px;
}

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

.hero-intro {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 680px;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero-intro:last-of-type {
  margin-bottom: 2.5rem;
}

.hero-scroll {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

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

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

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

.block-kicker-light {
  color: var(--exp-gold);
}

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

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

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

.highlight-card p {
  font-family: var(--font-body);
  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;
}

/* ─── FOTO ─── */
.photo-feature {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.photo-feature img {
  height: 480px;
  object-position: center;
  transition: transform 0.6s ease;
}

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

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

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

.dark-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

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

.net-image {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
}

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

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

/* ─── CIERRE ─── */
.closing-section {
  position: relative;
  min-height: 20vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--exp-black);
  padding: 7rem 0;
  scroll-margin-top: 67px;
}

.closing-bg {
  background-image: url('../img/08.jpg');
  background-size: cover;
  background-position: center;
}

.closing-overlay {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.75) 60%, rgba(10, 10, 10, 0.92) 100%);
}

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

.closing-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

/* ─── FOOTER ─── */
footer {
  background: #050505;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.credito p {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin: 0;
}

/* ─── BOTÓN ─── */
.boton a {
  background: #ffffff;
  color: #ed1c24;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  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;
  }

  .dark-section::before {
    font-size: 10rem;
  }
}

/* ─ Mobile (≤ 768px) ─ */
@media (max-width: 768px) {

  /* 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;
    object-fit: cover;
  }

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

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

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

  /* Footer */
  footer {
    padding: 2rem 1rem;
  }
}
