/* =============================================
   NUEK OPEN FINANCE — Landing Page
   ============================================= */

/* ===== FONTS ===== */
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansLightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansRegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansMediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansSemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansSemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansBoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansHeavy.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Saans';
  src: url('fonts/SaansHeavyItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
  --black:        #0a0a0a;
  --black-card:   #161616;
  --black-border: #2a2a2a;
  --white:        #ffffff;
  --purple:       #7C3AED;
  --purple-dim:   rgba(124, 58, 237, 0.15);
  --gray-light:   #f5f4f0;
  --gray-mid:     #888888;
  --gray-dim:     #555555;
  --text-dark:    #111111;
  --green:        #22c55e;

  --font: 'Saans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --max-w: 1440px;
  --section-pad: clamp(80px, 10vw, 160px);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 1440px;
  margin: 0 auto;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5.5vw, 80px);
}

/* ===== BUTTONS ===== */
.btn {
  display: flex;
  height: 48px;
  padding: 10px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 20px;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); opacity: 1; }

.btn-submit {
  width: 100%;
  background: var(--text-dark);
  color: var(--white);
  padding: 14px;
  font-size: 15px;
  margin-top: 8px;
}
.btn-submit:hover { opacity: 0.85; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== EYEBROW BADGE ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 21.508px;
  font-weight: 600;
  color: #F2F2F2;
  line-height: 32.262px;
  letter-spacing: 0.538px;
  margin-bottom: 20px;
}
.eyebrow-icon { flex-shrink: 0; opacity: 1; }

/* ===== STATUS BADGE ===== */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dark);
  background: rgba(0,0,0,0.06);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.1);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: var(--green); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.logo {
  color: var(--white);
  display: flex;
  align-items: center;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 709px;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--black);
  overflow: hidden;
  padding-top: 44px;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  align-self: stretch;
  text-align: center;
  padding: clamp(40px, 6vh, 80px) 0;
}
.hero h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 64px;
  letter-spacing: -0.7px;
  color: #F2F2F2;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 920px;
}
.hero .eyebrow {
  justify-content: center;
}
.hero-bar {
  position: relative;
  z-index: 1;
  padding: 16px 0;
}
.hero-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-bar .badge-status {
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.37);
  border: 1px solid rgba(255,255,255,0.15);
  color: #BFBFBF;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.3px;
}
.hero-bar .dot-green { background: var(--green); }
.hero-location {
  font-size: 18px;
  font-weight: 600;
  line-height: 32px;
  color: #BFBFBF;
}

/* ===== SECTION: LO QUE APRENDERÁS ===== */
.section-learn {
  background: var(--black);
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.section-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.1px;
  color: #F2F2F2;
  margin-bottom: 36px;
  text-align: left;
}

/* ===== CAROUSEL ===== */
.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide { flex: 0 0 91%; min-width: 0; }
.slide-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.slide-media--light {
  background-color: #e0ded9;
  background-image: url('images/slide-tablet.jpg');
}
.slide-media--dark {
  background-color: #111111;
  background-image: url('images/slide-terminal.jpg');
}
.slide-media--purple {
  background-color: #0d0d0d;
  background-image: url('images/slide-wave.jpg');
}

/* Mockup placeholder inside slide 1 */
.slide-placeholder--light {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 6%;
}
.mockup-screen {
  background: #111;
  border-radius: 12px;
  padding: 24px 28px;
  width: 42%;
  max-width: 280px;
}
.mockup-title { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.mockup-stat { font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.mockup-sub { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 6px; }

.slide-caption {
  position: absolute;
  top: 50.5px;
  right: 52px;
  max-width: 507px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.1px;
  text-align: right;
  color: #121212;
  z-index: 1;
}
.slide-caption--center {
  right: 0;
  left: 0;
  text-align: center;
  max-width: 100%;
  padding: 0 48px;
}
.slide-caption--dark { color: var(--text-dark); }
.slide-caption--light { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
@media (max-width: 600px) {
  .slide-caption { top: 16px; right: 16px; max-width: 180px; }
  .slide-caption--center { right: 0; left: 0; padding: 0 20px; }
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1c1c1c;
  padding: 8px 14px;
  border-radius: 100px;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  transition: width 0.3s, background 0.3s;
  cursor: pointer;
}
.carousel-dots .dot.active {
  width: 22px;
  background: var(--white);
}
.carousel-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1c1c1c;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.carousel-next:hover { background: #2a2a2a; }

/* ===== SECTION: INFRAESTRUCTURA ===== */
.section-infra {
  position: relative;
  background-color: var(--black);
  background-image: url('images/infra-spiral.jpg');
  background-size: cover;
  background-position: right center;
  overflow: hidden;
  min-height: 645px;
}
.infra-text-wrap {
  position: relative;
  z-index: 1;
  max-width: 55%;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 5.5vw, 80px);
}
.infra-text-wrap .eyebrow {
  margin-bottom: 16px;
  font-size: 23.121px;
  font-weight: 600;
  line-height: 32.262px;
  letter-spacing: 0.538px;
  color: #F2F2F2;
}
.infra-text-wrap h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.1px;
  color: #F2F2F2;
}
@media (max-width: 768px) {
  .infra-text-wrap { max-width: 100%; }
}

/* ===== SECTION: AUDIENCIA ===== */
.section-audience {
  background: #121212;
  display: flex;
  padding: 80px 0;
  justify-content: center;
  align-items: center;
  min-height: 448px;
  width: 100%;
}
.section-audience .container {
  display: flex;
  width: 989px;
  max-width: 989px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 0;
}
.section-audience h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.1px;
  color: #F2F2F2;
  text-align: center;
  margin-bottom: 16px;
}
.audience-subtitle {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #BFBFBF;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.audience-grid {
  display: grid;
  grid-template-columns: 394px 394px;
  gap: 12px;
  justify-content: center;
  width: 100%;
}
.audience-card {
  background: #0a0a0a;
  border: none;
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex: 1 0 0;
  align-self: stretch;
}
.audience-icon {
  flex-shrink: 0;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.audience-card p {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #F2F2F2;
}

/* ===== SECTION: TECNOLOGÍA ===== */
.section-tech {
  background: var(--black);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--black-border);
  display: flex;
  justify-content: center;
}
.section-tech .container {
  display: flex;
  width: 989px;
  max-width: 989px;
  flex-direction: column;
  align-items: flex-start;
  gap: 80px;
  padding: 0;
}
.tech-lead {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.1px;
  color: #F2F2F2;
  max-width: 900px;
  margin-bottom: 48px;
}
.text-purple {
  color: #AB5BFF;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.1px;
}

.link-accent {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.35);
  transition: text-decoration-color 0.2s;
}
.link-accent:hover { text-decoration-color: var(--white); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 272px);
  gap: 86px;
  width: 100%;
}
.tech-media {
  width: 272px;
  height: 313px;
  background: #1a1a1a;
  border-radius: 18px;
  margin-bottom: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.tech-item:nth-child(1) .tech-media {
  background-image: url('images/tech-1.jpg');
}
.tech-item:nth-child(2) .tech-media {
  background-image: url('images/tech-2.jpg');
}
.tech-item:nth-child(3) .tech-media {
  background-image: url('images/tech-3.jpg');
}
.tech-item p {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: -0.1px;
}
.tech-text-primary { color: #F2F2F2; }
.tech-text-secondary { color: #BFBFBF; }
@media (max-width: 768px) {
  .tech-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== SECTION: EVENTO ===== */
.section-event {
  background: var(--gray-light);
  padding: var(--section-pad) 0 clamp(40px, 6vw, 80px);
  color: var(--text-dark);
  display: flex;
  justify-content: center;
}
.section-event .container {
  display: flex;
  width: 792px;
  max-width: 792px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 0;
}
.event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-self: stretch;
}
.event-date-big {
  font-size: 90px;
  font-weight: 600;
  line-height: 72px;
  letter-spacing: -0.1px;
  color: #121212;
}
.event-venue {
  font-size: 56px;
  font-weight: 600;
  line-height: 72px;
  letter-spacing: -0.1px;
  color: #121212;
}
.event-time {
  font-size: 40px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -0.1px;
  color: #585858;
}
.event-photo {
  height: 325px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: lightgray url('images/santiago-aerial.jpg') 50% / cover no-repeat;
}
.pill-date {
  display: flex;
  width: 316px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(220, 220, 220, 0.75);
  color: #585858;
  font-size: 18px;
  font-weight: 600;
  line-height: 32px;
  margin: 16px auto 0;
}
.event-address {
  font-size: 18px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -0.1px;
  color: #585858;
  text-align: center;
  align-self: stretch;
  margin-top: -24px;
}

/* ===== SECTION: REGISTRO ===== */
.section-register {
  background: var(--gray-light);
  padding: clamp(40px, 6vw, 80px) 0 80px;
  border-top: 1px solid rgba(0,0,0,0.08);
  color: var(--text-dark);
  display: flex;
  justify-content: center;
}
.section-register .container {
  width: 877px;
  max-width: 877px;
  padding: 0;
}
.register-inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.register-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
.register-date {
  font-size: 14px;
  color: var(--gray-mid);
}
.register-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #cccac5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-image: url('images/hands.jpg');
}

/* Form */
.register-form-wrap {
  display: flex;
  width: 350px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex-shrink: 0;
}
.register-form-wrap h3 {
  width: 296px;
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
  color: #121212;
}
#registroForm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  align-self: stretch;
}
.form-field { width: 100%; }
.select-field { position: relative; }
.select-caret {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.form-field input,
.form-field select {
  width: 100%;
  height: 48px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input { padding: 18px 16px; }
.form-field select { padding: 0 44px 0 16px; cursor: pointer; }
.form-field input:focus,
.form-field select:focus { border-color: var(--text-dark); }
.form-field input::placeholder { color: #aaa; }
.form-field select { color: var(--text-dark); cursor: pointer; }
.form-field select option[value=""] { color: #aaa; }
.form-field select:invalid { color: #aaa; }

/* Checkboxes */
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(0,0,0,0.6);
  line-height: 1.5;
  cursor: pointer;
  margin-bottom: 12px;
  position: relative;
}
.check-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.check-custom {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(0,0,0,0.25);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  margin-top: 1px;
}
.check-label input:checked + .check-custom {
  background: var(--text-dark);
  border-color: var(--text-dark);
}
.check-label input:checked + .check-custom::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(-45deg) translateY(-1px);
}
.form-error {
  font-size: 13px;
  color: #e53e3e;
  margin-top: 6px;
}
.add-calendar {
  display: flex;
  width: 349px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--gray-mid);
  margin-top: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.add-calendar:hover { color: var(--text-dark); }
.add-calendar:hover svg path { fill: var(--text-dark); }

/* Success state */
.success-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  gap: 16px;
}
.success-icon { flex-shrink: 0; }
.success-message h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.success-message p {
  font-size: 15px;
  color: var(--gray-mid);
}

@media (max-width: 768px) {
  .register-inner { flex-direction: column; gap: 32px; }
  .register-photo { aspect-ratio: 4 / 3; }
  .infra-text-wrap { max-width: 100%; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--black-border);
  display: flex;
  width: 1440px;
  max-width: 100%;
  height: 238px;
  padding: 64px 32px 10px 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.footer-tagline {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #BFBFBF;
}
.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.footer-links a {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: #F2F2F2;
  transition: color 0.2s;
}
.footer-links a:hover { opacity: 0.75; }

/* ===== DESKTOP OVERRIDES (≥ 769px) ===== */
@media (min-width: 769px) {
  .section-title { text-align: center; }
}

/* ===== MOBILE (≤ 768px) ===== */
@media (max-width: 768px) {

  /* --- Containers: quitar anchos fijos --- */
  .section-audience .container,
  .section-tech .container {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    gap: 40px;
  }
  .section-event { display: block; }
  .section-event .container {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    gap: 24px;
  }
  .section-register { display: block; }
  .section-register .container {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
  }

  /* --- Hero --- */
  .hero {
    height: 740px;
    min-height: unset;
  }
  .hero-glow {
    background-size: 100%;
    background-position: 60% center;
  }
  .hero-content {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
  }
  .hero .eyebrow { justify-content: center; }
  .hero h1 {
    font-size: 33px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
    margin: 0;
    max-width: 100%;
  }
  .hero-bar-inner { flex-direction: column; align-items: center; gap: 8px; }

  /* --- Lo que aprenderás --- */
  .section-learn {
    background: #121212;
    padding: 40px 0;
  }
  .section-title {
    font-size: 22px;
    line-height: 28px;
    color: #F2F2F2;
    text-align: center;
  }
  /* --- Carousel --- */
  .carousel-slide { flex: 0 0 88%; }
  .slide-caption {
    font-size: 12px;
    line-height: 17px;
    top: 12px;
    right: 8px;
    max-width: 90%;
    text-align: right;
  }
  .slide-caption--center { padding: 0 16px; }

  /* --- Infraestructura --- */
  .section-infra {
    min-height: 740px;
    background-position: center center;
    display: flex;
    align-items: flex-start;
  }
  .infra-text-wrap {
    max-width: 100%;
    padding: 48px 24px 40px;
  }
  .infra-text-wrap .eyebrow {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .infra-text-wrap h2 {
    font-size: 40px;
    line-height: 48px;
  }
  .infra-text-wrap h2 br { display: none; }

  /* --- Audiencia --- */
  .section-audience {
    padding: 60px 0;
    min-height: unset;
  }
  .section-audience h2 { font-size: 24px; line-height: 28px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-subtitle br { display: none; }

  /* --- Tecnología --- */
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-media {
    width: 100%;
    height: 240px;
  }
  .tech-lead { font-size: 20px; margin-bottom: 32px; }

  /* --- Evento --- */
  .event-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .event-date-big { font-size: 56px; line-height: 60px; }
  .event-venue   { font-size: 36px; line-height: 48px; }
  .event-time    { font-size: 28px; line-height: 40px; }
  .event-photo   { height: 240px; }

  /* --- Registro --- */
  .register-inner {
    flex-direction: column;
    gap: 24px;
  }
  .register-info { width: 100%; }
  .register-form-wrap {
    width: 100%;
    flex-shrink: 1;
  }
  #registroForm { align-self: stretch; }
  .add-calendar { width: 100%; }

  /* --- Footer --- */
  .footer {
    height: auto;
    padding: 40px 24px 32px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
    width: auto;
    align-items: flex-start;
  }
}
