/* =========================================================
   MAXI COSENZA · Landing fotográfica
   Paleta cinematográfica · Bebas Neue + Inter · Mobile-first
   ========================================================= */

/* -----------------------------------------------------------
   1. RESET + TOKENS
----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  /* paleta */
  --black: #0a0a0a;
  --black-2: #0f0f10;
  --bone: #f5f5f0;
  --bone-soft: rgba(245, 245, 240, 0.7);
  --bone-mute: rgba(245, 245, 240, 0.45);
  --cyan: #00d4ff;
  --violet: #7c3aed;
  --rule: rgba(245, 245, 240, 0.12);

  /* tipos */
  --ff-display: 'Bebas Neue', Impact, sans-serif;
  --ff-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* layout */
  --container: 1280px;
  --nav-h: 72px;

  /* easing */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--black);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; }
ul { list-style: none; }

/* selección */
::selection { background: var(--cyan); color: var(--black); }

/* Foco visible para navegación por teclado (accesibilidad) */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* container */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

/* -----------------------------------------------------------
   2. TIPOGRAFÍA + ELEMENTOS BASE
----------------------------------------------------------- */
.eyebrow {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.eyebrow--cyan { color: var(--cyan); }

.h2 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--bone);
  margin-top: 18px;
  text-wrap: balance;
}
.h2--dark { color: var(--black); }

.lead {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--bone-soft);
  max-width: 60ch;
}
.lead + .lead { margin-top: 18px; }

.section-head { margin-bottom: 60px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--solid {
  background: var(--cyan);
  color: var(--black);
}
.btn--solid:hover {
  background: var(--violet);
  color: var(--bone);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--bone);
  border-color: var(--bone);
}
.btn--outline:hover {
  background: var(--bone);
  color: var(--black);
  transform: translateY(-2px);
}
.btn--block { width: 100%; }

/* Ícono de WhatsApp dentro de botones */
.btn__wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
/* Variante CTA grande en contacto */
.btn--wa-cta {
  padding: 20px 28px;
  font-size: 14px;
  gap: 12px;
}

/* -----------------------------------------------------------
   3. CURSOR CUSTOM (desktop only)
----------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  mix-blend-mode: difference;
}
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  width: 100%;
  height: 100%;
  background: var(--cyan);
  border-radius: 50%;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out);
}
.cursor.is-hover .cursor-dot {
  transform: scale(2.8);
  background: var(--violet);
}
@media (hover: none), (max-width: 1024px) {
  .cursor { display: none !important; }
}

/* -----------------------------------------------------------
   4. NAV + DRAWER
----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--rule);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
}
.nav__logo {
  font-family: var(--ff-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--bone);
}
.nav__links {
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--bone);
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--cyan); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  padding: 12px 22px;
  font-size: 12px;
}

.nav__burger {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bone);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100svh;
  background: var(--black);
  border-left: 1px solid var(--rule);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  z-index: 110;
  padding: 90px 36px 40px;
  visibility: hidden;
}
.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}
.drawer__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 36px;
  line-height: 1;
  color: var(--bone);
}
.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.drawer__links a {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--bone);
  letter-spacing: 0.02em;
}
.drawer__links a:hover { color: var(--cyan); }
.drawer__links .btn {
  font-family: var(--ff-sans);
  font-size: 12px;
  margin-top: 16px;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* -----------------------------------------------------------
   5. HERO — Ken Burns + overlay lateral
----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: kenBurns 24s var(--ease) infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.45) 45%, rgba(10,10,10,.15) 75%, transparent 100%),
    linear-gradient(180deg, rgba(10,10,10,.4) 0%, transparent 40%, rgba(10,10,10,.55) 100%);
}
.hero__content {
  position: relative;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding: 120px clamp(20px, 5vw, 56px) 100px;
  z-index: 1;
}
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(64px, 11vw, 140px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  color: var(--bone);
  margin: 18px 0 22px;
  text-wrap: balance;
  max-width: 14ch;
  opacity: 0;
  animation: heroIn 1.1s var(--ease-out) .2s forwards;
}
.hero__tagline {
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--bone);
  max-width: 32ch;
  opacity: 0;
  animation: heroIn 1.1s var(--ease-out) .55s forwards;
}
.hero .eyebrow {
  opacity: 0;
  animation: heroIn 1.1s var(--ease-out) 0s forwards;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  opacity: 0;
  animation: heroIn 1.1s var(--ease-out) .85s forwards;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--bone);
  opacity: 0;
  animation: heroIn 1.1s var(--ease-out) 1.2s forwards;
}
.hero__scroll svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  animation: bounce 2.4s var(--ease) infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .8; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* -----------------------------------------------------------
   6. SOBRE MÍ
----------------------------------------------------------- */
.about {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--black);
}
.about__grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--cyan);
  padding: 14px;
}
.about__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.02);
  transition: transform 1.2s var(--ease);
}
.about__photo:hover img { transform: scale(1.03); }

.about__copy .h2 { margin-bottom: 24px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.stat__num {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1;
  color: var(--cyan);
  letter-spacing: 0.01em;
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-soft);
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; }
  .stats { gap: 14px; }
  .stat__num { font-size: 36px; }
  .stat__label { font-size: 10px; letter-spacing: .12em; }
}

/* -----------------------------------------------------------
   7. SERVICIOS
----------------------------------------------------------- */
.services {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--black);
  color: var(--bone);
  border-top: 1px solid var(--rule);
}
.services .eyebrow--cyan { color: var(--cyan); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.service-card:hover { border-color: var(--violet); }

/* Misma proporción que la otra tarjeta — tamaños iguales, sin huecos */
.service-card--featured { aspect-ratio: 4 / 5; }

.service-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease);
  z-index: 0;
}
.service-card:hover .service-card__img {
  transform: scale(1.06);
}
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 25%, rgba(10,10,10,.55) 65%, rgba(10,10,10,.95) 100%);
  z-index: 1;
}
.service-card__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  color: var(--bone);
}
.service-card__tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  padding: 6px 12px;
  background: var(--cyan);
  color: var(--black);
  margin-bottom: 24px;
}
.service-card__title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.service-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone-soft);
  max-width: 42ch;
  margin-bottom: 22px;
}
.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: gap .35s var(--ease);
}
.service-card__arrow svg { width: 18px; height: 18px; }
.service-card:hover .service-card__arrow { gap: 18px; }

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card,
  .service-card--featured { aspect-ratio: 4 / 5; }
}

/* -----------------------------------------------------------
   8. PORTFOLIO + LIGHTBOX
----------------------------------------------------------- */
.portfolio {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--black);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}
.filter {
  padding: 14px 24px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--bone);
  background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.filter.is-active {
  background: var(--cyan);
  color: var(--black);
  border-color: var(--cyan);
}

.masonry {
  column-count: 3;
  column-gap: 18px;
}
.masonry__item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 18px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: gridIn .7s var(--ease-out) forwards;
}
.masonry__item img {
  width: 100%;
  height: auto;
  transition: transform 1s var(--ease);
}
.masonry__overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0);
  transition: background .4s var(--ease);
  pointer-events: none;
}
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover .masonry__overlay {
  background: rgba(124, 58, 237, 0.35);
}
.masonry__item.is-hidden { display: none; }

@keyframes gridIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) { .masonry { column-count: 2; } }
@media (max-width: 600px)  { .masonry { column-count: 1; } }

.masonry__empty {
  text-align: center;
  padding: 60px 0;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--bone-soft);
}
.masonry__empty[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.96);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease);
  padding: 24px;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  color: var(--bone);
  transition: color .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}
.lightbox__close {
  top: 24px;
  right: 28px;
  font-size: 36px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
}
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav:hover,
.lightbox__close:hover { color: var(--cyan); }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--bone-soft);
}

@media (max-width: 600px) {
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__nav { width: 44px; height: 44px; }
}

/* -----------------------------------------------------------
   9. PROCESO — fondo parallax + motion JS-driven (initSteps)
----------------------------------------------------------- */
.process {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--black);
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
/* Wrapper que recorta el fondo parallax */
.process__bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
/* Fondo extendido para dar recorrido al parallax */
.process__bg {
  position: absolute;
  inset: -30% 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}
/* Overlay en degradado: protege el título arriba, deja respirar el centro */
.process__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.90) 0%,
    rgba(10, 10, 10, 0.74) 45%,
    rgba(10, 10, 10, 0.86) 100%
  );
}
/* El contenido queda por encima del fondo */
.process > .container {
  position: relative;
  z-index: 2;
}
/* Sombra sutil para garantizar legibilidad sobre la foto */
.process .section-head,
.process .step__title,
.process .step__desc {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

/* Estado inicial — oculto; JS los muestra con stagger */
.step {
  position: relative;
  padding: 36px 24px 28px;
  isolation: isolate;
  opacity: 0;
  border: 1px solid transparent;
  transition:
    opacity    0.9s var(--ease-out),
    transform  0.9s var(--ease-out),
    border-color 0.4s var(--ease),
    background   0.4s var(--ease);
}
/* Línea cyan que se "dibuja" de izq a der al activarse */
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out) 0.3s;
}
/* Hover sutil */
.step:hover {
  border-color: rgba(0, 212, 255, 0.18);
  background: rgba(0, 212, 255, 0.025);
}
/* Clase que JS agrega con stagger */
.step.is-animated {
  opacity: 1;
}
.step.is-animated::before {
  transform: scaleX(1);
}
/* Número grande — aparece con pop desde arriba */
.step__num {
  position: absolute;
  top: -28px;
  left: -8px;
  font-family: var(--ff-display);
  font-size: clamp(80px, 9vw, 120px);
  line-height: 1;
  color: var(--cyan);
  opacity: 0;          /* oculto hasta que is-animated lo anime */
  letter-spacing: 0.02em;
  z-index: -1;
  pointer-events: none;
}
@keyframes numReveal {
  from { opacity: 0; transform: translateY(-18px) scale(0.85); }
  to   { opacity: 0.15; transform: translateY(0) scale(1); }
}
.step.is-animated .step__num {
  animation: numReveal 0.8s var(--ease-out) 0.45s both;
}
.step__title {
  font-family: var(--ff-display);
  font-size: 36px;
  letter-spacing: 0.02em;
  color: var(--bone);
  margin-bottom: 14px;
}
.step__desc {
  color: var(--bone-soft);
  line-height: 1.65;
  font-size: 15px;
  max-width: 36ch;
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .step { transform: translateX(0) !important; }   /* cancelar traslación lateral en mobile */
}

/* -----------------------------------------------------------
   10. CONTACTO — CTA WhatsApp (sin formulario)
----------------------------------------------------------- */
.contact {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--black);
  border-top: 1px solid var(--rule);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.contact__intro .h2 {
  font-size: clamp(40px, 5.5vw, 64px);
  margin-bottom: 20px;
}
.contact__list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--bone);
  transition: color .3s var(--ease);
}
.contact__link svg {
  width: 20px;
  height: 20px;
  color: var(--bone-soft);
  transition: color .3s var(--ease);
  flex-shrink: 0;
}
.contact__link:hover { color: var(--cyan); }
.contact__link:hover svg { color: var(--cyan); }

/* Caja CTA de WhatsApp (columna derecha) */
.contact__wa { align-self: center; }
.contact__wa-inner {
  border-top: 3px solid var(--cyan);
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: rgba(0, 212, 255, 0.02);
}
.contact__wa-heading {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--bone);
}
.contact__wa-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bone-soft);
  max-width: 30ch;
}
.contact__wa-note {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-mute);
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   12. FOOTER
----------------------------------------------------------- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--cyan);
  padding-top: 70px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__logo {
  font-family: var(--ff-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  color: var(--bone);
  margin-bottom: 14px;
}
.footer__tag {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone-soft);
  max-width: 36ch;
}
.footer__heading {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 14px;
  color: var(--bone);
  transition: color .3s var(--ease);
}
.footer__links a:hover { color: var(--cyan); }

.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  color: var(--bone);
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.footer__social a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  padding: 22px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--rule);
}
.footer__bottom p {
  font-size: 12px;
  color: var(--bone-mute);
  text-align: center;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* -----------------------------------------------------------
   13. BOTÓN FLOTANTE WHATSAPP
----------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 150;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: waPulse 2.6s ease-out infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55);
}
@keyframes waPulse {
  0%   { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.45); }
  70%  { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}

/* -----------------------------------------------------------
   14. REVEAL (IntersectionObserver targets)
----------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Defensive: si un .reveal lleva data-split (no usado acá) que no se vuelva invisible */
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* -----------------------------------------------------------
   15. PRINT + REDUCED MOTION (sólo lo intrusivo)
----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
  .hero__scroll svg { animation: none; }
}
