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

html {
  scroll-behavior: auto; /* desactivado para que el reveal funcione exacto */
}

body {
  background: #ffffff;
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ── FONTS — cargadas desde Google Fonts ── */

/* ── NAVBAR flotante tipo Dynamic Island ── */
#navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-110%);
  z-index: 200;

  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;

  background: #000000;
  border-radius: 999px;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Oculto por defecto */
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

/* Visible */
#navbar.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Oculto (scrolling hacia abajo) */
#navbar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-110%);
}

#navbar a {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 0.825rem;
  letter-spacing: 0.06em;
  color: #e8e8e8;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

#navbar a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ── REVEAL CONTAINER ── */
.reveal-container {
  position: relative;
}

/* ── HERO SCROLL ZONE ── */
.hero-scroll-zone {
  position: relative;
  height: 200vh;
}

/* ── HERO SECTION ── */
.hero-section {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100vh;
  background: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 0 0 36px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background: #0055FF;
  cursor: none;
}

/* ── HERO MAGNÉTICO ── */
.mag-hero {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.mag-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: clamp(28px, 4vh, 52px);
}

/* Bloque que agrupa CRISTAL + GONZALEZ — referencia de ancho */
.mag-name-block {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  line-height: .88;
}

.hero-mag-row {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

/* ── Letra base ── */
.hero-mag-letter {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  white-space: nowrap;
  will-change: transform;
  transition:
    transform .45s cubic-bezier(.34, 1.56, .64, 1),
    color     .2s ease;
}

.hero-mag-letter.typed   { opacity: 1; }
.hero-mag-letter.space   { display: inline-block; }

/* Letras negras al repeler — sin brillo */
.hero-mag-letter.repelling { color: #060B11; }

/* ── Fila 1: CRISTAL — grande ── */
.hero-mag-row-cristal .hero-mag-letter {
  font-size: clamp(3.8rem, 11.5vw, 13.5rem);
  letter-spacing: -0.04em;
}

/* ── Fila 2: GONZALEZ — más pequeña, espacio entre letras
      para igualar el ancho de CRISTAL ── */
.hero-mag-row-gonzalez {
  justify-content: space-between;
  width: 100%;               /* hereda el ancho del bloque = CRISTAL */
  margin-top: clamp(4px, .8vh, 12px);
}

.hero-mag-row-gonzalez .hero-mag-letter {
  font-size: clamp(2rem, 6vw, 7rem);
  letter-spacing: 0;         /* el space-between distribuye el espacio */
}

/* ── Fila 3: WEB DESIGN ── */
.hero-mag-row-webdesign {
  margin-top: clamp(10px, 1.5vh, 22px);
}

.hero-mag-row-webdesign .hero-mag-letter {
  font-size: clamp(1.2rem, 3.2vw, 3.8rem);
  letter-spacing: .1em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

/* Cursor personalizado en hero */
.hero-cursor {
  position: fixed;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%, -50%);
  display: none;
  transition: width .2s, height .2s, border-color .2s;
}

.hero-cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
  z-index: 301;
  transform: translate(-50%, -50%);
  display: none;
}

@media (max-width: 768px) {
  .hero-section { cursor: default; }
  .hero-mag-letter {
    font-size: clamp(2.4rem, 11vw, 5rem);
    letter-spacing: -0.03em;
  }
  .hero-mag-row2 .hero-mag-letter {
    font-size: clamp(1.2rem, 5.5vw, 2.4rem);
  }
  .mag-eyebrow { letter-spacing: .14em; }
}

/* ── HERO INTRO: imagen de fondo y video encima ── */
.hero-bg-intro {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero-bg-video {
  z-index: 1;
}

/* ── PHONE SCROLL ZONE: solapa con hero-scroll-zone para revelar el teléfono ── */
.phone-scroll-zone {
  position: relative;
  height: 200vh;
  margin-top: -100vh;
}

/* ── PHONE SECTION: sticky top, se revela cuando el hero sale ── */
.phone-section {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout: teléfono izquierda | texto derecha */
.phone-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  padding: 0 80px;
}

/* ── TEXTO HERO (derecha) ── */
.hero-text-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.4rem;
}

.hero-line {
  display: flex;
  align-items: baseline;
  gap: 0.25em;
  line-height: 1.05;
}

.word-small {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(4rem, 6.75vw, 5.4rem);
  font-weight: 700;
  color: #060B11;
}

.word-big {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(5.2rem, 9.6vw, 7.6rem);
  font-weight: 900;
  color: #0055FF;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.word-italic {
  font-style: italic;
}

.word-ti {
  font-size: clamp(3.9rem, 7.2vw, 5.7rem);
}

.hero-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.64rem, 2.4vw, 1.96rem);
  font-weight: 400;
  color: #ffffff;
  -webkit-text-stroke: 1px #060B11;
  line-height: 1.5;
  max-width: 640px;
}

@keyframes float-y {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); }
  70%  { transform: translateY(8px); }
  100% { transform: translateY(0); }
}

@keyframes float-x {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(10px); }
  70%  { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}

@keyframes float-diag {
  0%   { transform: translate(0, 0); }
  30%  { transform: translate(8px, -8px); }
  70%  { transform: translate(-8px, 8px); }
  100% { transform: translate(0, 0); }
}

.word-big {
  cursor: pointer;
  display: inline-block;
}

.word-pagina:hover, .word-pagina:active {
  animation: float-y 0.7s ease-in-out;
}

.word-habla:hover, .word-habla:active {
  animation: float-x 0.7s ease-in-out;
}

.word-ti:hover, .word-ti:active {
  animation: float-diag 0.7s ease-in-out;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: #0055FF;
  vertical-align: middle;
  margin-left: 2px;
  animation: blink-cursor 0.65s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── IPHONE 16 WRAP ── */
.iphone-wrap {
  position: relative;
  /* total width = screen + left button clearance */
  width: 310px;
}

/* ── IPHONE BODY (frame externo) ── */
.iphone-body {
  width: 310px;
  height: 672px;
  background: #1c1c1e;           /* titanio oscuro */
  border-radius: 54px;
  border: 14px solid #1c1c1e;   /* marco grueso — simula el chasis de aluminio */
  position: relative;
  overflow: hidden;
  box-shadow:
    /* borde exterior metálico */
    0 0 0 1.5px #4a4a4c,
    /* borde interior pantalla */
    inset 0 0 0 1px #2c2c2e,
    /* sombra de profundidad */
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 10px 30px rgba(0, 85, 255, 0.12);
}

/* Reflejo en el cuerpo (simula metal pulido) */
.iphone-body::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;           /* dentro del border */
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.02) 40%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 10;
}

/* ── DYNAMIC ISLAND ── */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 34px;
  background: #000;
  border-radius: 18px;
  z-index: 20;
  /* integrado en la pantalla: sin borde separado */
  box-shadow: none;
}

/* ── SCREEN: ocupa el interior del marco ── */
.iphone-screen {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
}

/* ── VIDEO reels (9:16 vertical, fill completo) ── */
.iphone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── SIDE BUTTONS ── */
.iphone-btn {
  position: absolute;
  background: #2e2e2e;
  border-radius: 3px;
}

.btn-silent   { left: -4px; top: 110px; width: 4px; height: 34px; }
.btn-vol-up   { left: -4px; top: 168px; width: 4px; height: 64px; }
.btn-vol-down { left: -4px; top: 248px; width: 4px; height: 64px; }
.btn-power    { right: -4px; top: 190px; width: 4px; height: 90px; }

/* ── SECCIONES DE CONTENIDO ── */
.content-section {
  min-height: 100vh;
  background: #ffffff;
}

/* ─────────────────────────────────────────
   DISEÑOS SECTION
───────────────────────────────────────── */
.disenos-section {
  background: #f5f5f7;
  padding: 110px 60px 120px;
}

.disenos-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.disenos-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.disenos-intro {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  color: #060B11;
  line-height: 1.4;
  min-height: 2.8em;
  flex: 1;
}

.disenos-heading {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: #060B11;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.disenos-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(2.625rem, 6vw, 5.25rem);
  color: #060B11;
  line-height: 1;
  margin-bottom: 64px;
}

/* Lista vertical: 3 tarjetas horizontales apiladas */
.disenos-lista {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── TARJETA BASE ── */
.design-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.07);
  transition:
    width        0.5s cubic-bezier(0.16, 1, 0.3, 1),
    margin-left  0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow   0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity      0.4s ease;
}

.design-card.expanded {
  width: 100vw;
  margin-left: var(--expand-offset, 0px);
  border-radius: 0;
  box-shadow:
    0 0 0 0 transparent,
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 120px rgba(0, 85, 255, 0.18);
}

.disenos-lista.has-expanded .design-card:not(.expanded) {
  opacity: 0.45;
}

/* ── PREVIEW VIDEO ── */
.card-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1c1c1e;
}

.card-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── DESCRIPCIÓN ── */
.card-info {
  padding: 20px 24px 22px;
}

.card-info h3 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.865rem;
  color: #060B11;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.card-info p {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 0.69rem;
  color: #666;
  line-height: 1.55;
}

/* ─────────────────────────────────────────
   REVEAL ON SCROLL
───────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity   0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0ms);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.landing-intro-wrap {
  background: #ffffff;
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-intro {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 400;
  color: #060B11;
  line-height: 1.4;
  min-height: 1.4em;
}

/* ─────────────────────────────────────────
   PAQUETES — dos cartas, card 2 sube al scroll
───────────────────────────────────────── */

.paquetes-section {
  position: relative;
  height: 450vh;
}

.paquetes-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

/* ── Carta base ── */
.pk-card {
  position: absolute;
  display: flex;
  align-items: center;
  border-radius: 20px;
}

/* Card 1: ocupa todo el ancho con margen, contenido en la mitad izquierda */
.pk-1 {
  inset: 20px;
  width: auto;
  background: #060B11;
}

.pk-1 .pk-content {
  width: 50%;
  padding: clamp(40px, 6vw, 80px) clamp(40px, 7vw, 100px);
}

/* Card 2: mitad derecha con margen, empieza fuera de pantalla abajo */
.pk-2 {
  top: 20px;
  right: 20px;
  bottom: 20px;
  width: calc(50% - 20px);
  height: auto;
  background: #0055FF;
  transform: translateY(100%);
  will-change: transform;
}

.pk-2 .pk-content {
  width: 100%;
  padding: clamp(40px, 6vw, 80px) clamp(40px, 7vw, 100px);
}

/* ── Número ── */
.pk-num {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.35vw, 1.05rem);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 0.6em;
  color: #0055FF;
}

.pk-2 .pk-num {
  color: rgba(255, 255, 255, 0.45);
}

/* ── Título ── */
.pk-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(2.625rem, 5.25vw, 5.25rem);
  line-height: 0.9;
  color: #F1F2F2;
  margin: 0 0 clamp(24px, 3vw, 48px);
  text-transform: uppercase;
}

/* ── Lista ── */
.pk-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 20px);
}

.pk-list li {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(0.7125rem, 1.05vw, 0.8625rem);
  letter-spacing: 0.04em;
  color: rgba(241, 242, 242, 0.7);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pk-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0055FF;
}

.pk-2 .pk-list li::before {
  background: rgba(255, 255, 255, 0.5);
}

/* ── Carta 3: cubre las dos anteriores ── */
.pk-3 {
  inset: 0;
  background: #ffffff;
  z-index: 5;
  transform: translateY(100%);
  will-change: transform;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
}

.pk-3-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  padding: 60px 80px;
  width: 100%;
  max-width: 1100px;
}

.pk-3-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: #0055FF;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.01em;
}

.pk-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 80px;
  width: 100%;
}

.pk-3-col {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pk-3-col li {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  color: #000000;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.01em;
}

.pk-3-col li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0055FF;
}

/* ─────────────────────────────────────────
   NORMAS SECTION
───────────────────────────────────────── */
.normas-section {
  background: #f5f5f7;
  padding: 100px 60px;
}

.normas-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.normas-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(0.5625rem, 0.9vw, 0.675rem);
  letter-spacing: 0.2em;
  color: #0055FF;
}

.normas-texto {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 2.25vw, 1.65rem);
  color: #060B11;
  line-height: 1.4;
  border-left: 3px solid #0055FF;
  padding-left: 28px;
}

/* ─────────────────────────────────────────
   SUSCRIPCIÓN SECTION
───────────────────────────────────────── */
.suscripcion-section {
  height: 350vh;
  background: #ffffff;
}

.suscripcion-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  /* Corta solo arriba y abajo; permite que palabras anchas se vean completas */
  clip-path: inset(0 -200vw);
}

.suscripcion-titulo {
  position: absolute;
  left: clamp(32px, 5vw, 80px);
  top: clamp(32px, 5vh, 60px);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.75vw, 3.75rem);
  color: #0055FF;
  line-height: 1;
  letter-spacing: 0.2em;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.suscripcion-subtitulo {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(clamp(32px, 5vh, 60px) + clamp(1.875rem, 3.75vw, 3.75rem) + 0.6rem);
  padding: 0 clamp(32px, 5vw, 80px);
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.64rem);
  font-weight: 400;
  color: #060B11;
  line-height: 1.4;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.suscripcion-lista {
  position: absolute;
  top: 0;
  left: 50%;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  will-change: transform;
}

.suscripcion-word {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 22vw, 18rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;

  color: transparent;
  -webkit-text-stroke: 2px #0055FF;

  transition:
    color               0.18s ease,
    -webkit-text-stroke 0.18s ease;
}

.suscripcion-word.active {
  color: #0055FF;
  -webkit-text-stroke: 2px #0055FF;
}

/* ─────────────────────────────────────────
   ACERCA DE MÍ — horizontal reveal on scroll
───────────────────────────────────────── */
.acerca-section {
  height: 350vh;
  background: #ffffff;
}

.acerca-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

/* Track horizontal — el ancho real lo define el contenido */
.acerca-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  will-change: transform;
  padding: 0 80px;
  gap: 0;
}

/* ── Zonas genéricas ── */
.az {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

/* ── ZONA 1: Intro ── */
.az-intro {
  width: 68vw;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 4px;
  padding: 0 56px 70px 0;
  position: relative;
}

.acerca-nombre {
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: clamp(5.25rem, 11.25vw, 11.25rem);
  color: #0055FF;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 0.06em;
  text-align: right;
  position: relative;
  z-index: 3;
}

.acerca-titulo {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.95vw, 1.95rem);
  color: #060B11;
  letter-spacing: 0.06em;
  margin-bottom: 0;
  text-align: right;
  position: relative;
  z-index: 3;
}

.acerca-persona {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.acerca-persona img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  background: transparent;
  border-radius: 20px 20px 0 0;
  min-width: 220px;
}

/* ── ZONA 2: Intel ── */
.az-intel {
  width: 80vw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  gap: 0;
}

.intel-fotos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: static;
  width: auto;
  height: auto;
}

.intel-img {
  border-radius: 22px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 52px rgba(0,0,0,0.22);
  display: block;
}

.intel-img.itop {
  width: clamp(520px, 64vw, 820px);
  height: clamp(220px, 28vh, 340px);
  object-fit: cover;
}

.intel-img.ibot {
  width: clamp(460px, 58vw, 740px);
  height: auto;
  max-height: 55vh;
}

.intel-caption {
  margin-top: 18px;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ── ZONA 3: FIFA ── */
.az-fifa {
  width: 50vw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.fifa-img {
  width: clamp(300px, 40vw, 520px);
  height: clamp(400px, 72vh, 760px);
  object-fit: cover;
  border-radius: 26px;
  background: #dce4f0;
  box-shadow: 0 20px 56px rgba(0,0,0,0.22);
}

/* ── ZONA 4: Proyectos ── */
.az-proyectos {
  width: 96vw;
  align-items: center;
  justify-content: flex-start;
  gap: 64px;
  padding-left: 60px;
  padding-right: 0;
  position: relative;
  background: #0055FF;
  border-radius: 32px;
}

.proyectos-titulo {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.75vw, 4.5rem);
  color: #ffffff;
  line-height: 1;
  flex-shrink: 0;
}

.proyectos-fotos {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-end;
  gap: 0;
}

.proyectos-fotos img {
  width: clamp(260px, 30vw, 400px);
  height: clamp(400px, 64vh, 760px);
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
  display: block;
}

.proyectos-fotos video {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -80px;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px 0 0 0;
  display: block;
}

/* ── Captions ── */
.acerca-caption {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.35vw, 1.2rem);
  color: #060B11;
  letter-spacing: 0.04em;
}

.cap-blue {
  color: #0055FF;
  font-size: clamp(0.825rem, 1.5vw, 1.35rem);
}

/* ── Blobs decorativos ── */
.acerca-blob {
  position: absolute;
  border-radius: 50%;
  background: #0055FF;
  flex-shrink: 0;
  pointer-events: none;
}

.blob-mid {
  width: clamp(420px, 56vw, 800px);
  height: clamp(420px, 56vw, 800px);
  position: relative;
  flex-shrink: 0;
  margin: 0 -120px 0 -320px;
  z-index: 0;
  opacity: 0.82;
  align-self: flex-end;
  transform: translateY(50%);
}

.blob-right {
  width: clamp(120px, 15vw, 220px);
  height: clamp(120px, 15vw, 220px);
  flex-shrink: 0;
  margin-left: -40px;
  margin-right: -80px;
  align-self: center;
  clip-path: inset(0 30% 0 0);
}


/* ═════════════════════════════════════════
   RESPONSIVE — MÓVIL (≤ 768 px)
═════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Navbar ── */
  #navbar {
    padding: 8px 12px;
    gap: 2px;
    top: 10px;
    max-width: 95vw;
    flex-wrap: wrap;
    justify-content: center;
  }
  #navbar a {
    font-size: 0.68rem;
    padding: 7px 10px;
    letter-spacing: 0.03em;
  }

  /* ── Phone layout: de fila a columna ── */
  .phone-layout {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
    justify-content: center;
  }

  /* ── iPhone escalado ── */
  .iphone-wrap { width: 200px; }
  .iphone-body {
    width: 200px;
    height: 434px;
    border-radius: 35px;
    border-width: 9px;
  }
  .iphone-screen { border-radius: 26px; }
  .dynamic-island { width: 71px; height: 22px; top: 8px; border-radius: 12px; }
  .btn-silent   { left: -3px; top: 71px;  width: 3px; height: 22px; }
  .btn-vol-up   { left: -3px; top: 108px; width: 3px; height: 41px; }
  .btn-vol-down { left: -3px; top: 160px; width: 3px; height: 41px; }
  .btn-power    { right: -3px; top: 123px; width: 3px; height: 58px; }

  /* ── Texto hero ── */
  .hero-text-right { width: 100%; }
  .hero-line { flex-wrap: wrap; gap: 0.15em; }
  .word-small { font-size: clamp(1.7rem, 7vw, 2.6rem); }
  .word-big   { font-size: clamp(2.4rem, 9.5vw, 4rem); white-space: normal; }
  .word-ti    { font-size: clamp(1.9rem, 7.5vw, 3rem); }
  .hero-subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    max-width: 100%;
  }

  /* ── Diseños ── */
  .disenos-section { padding: 56px 16px 72px; }
  .disenos-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 36px;
  }
  .disenos-heading { white-space: normal; font-size: clamp(2.8rem, 10vw, 5rem); }

  /* ── Landing intro ── */
  .landing-intro-wrap { padding: 48px 16px; }

  /* ── Paquetes ── */
  .pk-1 .pk-content { width: 100%; padding: 32px 20px; }
  .pk-2 { top: 20px; right: 20px; left: 20px; bottom: 20px; width: auto; }
  .pk-2 .pk-content { padding: 32px 20px; }
  .pk-3-content { padding: 36px 16px; gap: 24px; }
  .pk-3-grid { grid-template-columns: 1fr; gap: 12px; }

  /* ── Suscripción ── */
  .suscripcion-word {
    font-size: clamp(3.5rem, 20vw, 9rem);
    -webkit-text-stroke-width: 1.5px;
  }

  /* ── Acerca de mí: horizontal → vertical ── */
  .acerca-section { height: auto; }
  .acerca-sticky  { position: static; height: auto; overflow: visible; }
  .acerca-track {
    flex-direction: column;
    position: static;
    width: 100%;
    height: auto;
    padding: 40px 16px;
    gap: 56px;
    transform: none !important;
  }
  .az {
    width: 100% !important;
    height: auto !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    gap: 16px;
  }
  .az-intro {
    min-height: 0;
    position: relative;
  }
  .acerca-nombre { text-align: center; font-size: clamp(3.2rem, 15vw, 6rem); }
  .acerca-titulo { text-align: center; }
  .acerca-persona {
    position: relative;
    height: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    justify-content: center;
  }
  .acerca-persona img { height: 250px; min-width: 0; border-radius: 16px 16px 0 0; }

  .intel-fotos { width: 100%; }
  .intel-img.itop { width: 100%; height: 180px; min-width: 0; }
  .intel-img.ibot { width: 100%; max-height: 200px; min-width: 0; }

  .az-fifa { width: 100% !important; }
  .fifa-img { width: 100%; height: 380px; min-width: 0; max-width: 100%; }

  .az-proyectos {
    flex-direction: column;
    padding: 32px 16px !important;
    gap: 20px;
    align-items: center;
    justify-content: center;
    min-height: 0;
    border-radius: 24px;
  }
  .proyectos-fotos { align-self: auto; }
  .proyectos-fotos img { width: 220px; height: 300px; }
  .proyectos-fotos video {
    position: static;
    width: 220px;
    height: 220px;
    right: auto;
    aspect-ratio: auto;
    border-radius: 0 0 20px 20px;
  }

  /* ── Footer ── */
  .site-footer { padding: 28px 20px 36px; }
  .footer-contacto { font-size: clamp(1.1rem, 4.5vw, 1.8rem); }
}

/* ═════════════════════════════════════════
   RESPONSIVE — PANTALLAS MUY PEQUEÑAS (≤ 390 px)
═════════════════════════════════════════ */
@media (max-width: 390px) {
  .iphone-wrap { width: 170px; }
  .iphone-body { width: 170px; height: 369px; border-radius: 30px; border-width: 8px; }
  .dynamic-island { width: 60px; height: 19px; }
  .btn-silent   { top: 60px;  height: 19px; }
  .btn-vol-up   { top: 92px;  height: 35px; }
  .btn-vol-down { top: 136px; height: 35px; }
  .btn-power    { top: 104px; height: 50px; }
  .phone-layout { gap: 14px; padding: 14px 12px; }
}

/* ─────────────────────────────────────────
   PIE DE PÁGINA
───────────────────────────────────────── */
.site-footer {
  background: #060B11;
  position: relative;
  overflow: hidden;
  transform: translateY(80px);
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: #0055FF;
}

.site-footer.footer-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Marca de agua CG */
.footer-watermark {
  position: absolute;
  bottom: -0.15em;
  right: -0.04em;
  font-family: 'Barlow', sans-serif;
  font-size: clamp(160px, 28vw, 340px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
}

/* Dot grid decorativo */
.dot-grid {
  position: absolute;
  top: 0; left: 0;
  width: 220px; height: 220px;
  background-image: radial-gradient(circle, rgba(0,85,255,.18) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 0%, black 30%, transparent 80%);
}

/* Grid principal */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1px 300px;
  gap: 0 60px;
  padding: 56px 80px 48px;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Columna izquierda */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #0055FF;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0055FF;
  animation: badgepulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes badgepulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.footer-name {
  display: flex;
  flex-direction: column;
  line-height: .88;
  gap: 2px;
}

.footer-name-line1 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2rem, 5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-transform: uppercase;
}

.footer-name-line2 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1rem, 2.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: .06em;
  color: #0055FF;
  text-transform: uppercase;
}

.footer-location {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(10px, .9vw, 12px);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
}

/* Divisor vertical */
.footer-divider {
  background: rgba(0, 85, 255, .2);
  align-self: stretch;
}

/* Columna derecha */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-nav a {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: color .2s;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; right: 0;
  width: 0; height: 1px;
  background: #0055FF;
  transition: width .3s cubic-bezier(.77, 0, .175, 1);
}

.footer-nav a:hover { color: #ffffff; }
.footer-nav a:hover::after { width: 100%; }

.footer-contact { text-align: right; }

.footer-contact-label {
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .25);
  margin-bottom: 6px;
}

.footer-phone {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: #ffffff;
  text-decoration: none;
  display: block;
  transition: color .2s;
}

.footer-phone:hover { color: #0055FF; }

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 18px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.footer-copy {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .2);
}

.footer-tech {
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(0, 85, 255, .4);
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px 0;
    padding: 40px 24px 32px;
  }
  .footer-divider { display: none; }
  .footer-right {
    align-items: flex-start;
  }
  .footer-nav { align-items: flex-start; }
  .footer-nav a::after { left: 0; right: auto; }
  .footer-contact { text-align: left; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 24px 28px;
  }
  .footer-watermark { font-size: 35vw; }
}

