:root {
  --light-x: 50vw;
  --light-y: 50vh;
  --light-size: 300px;
  --bg-image: url("img/banner.jpg");
  --brand: linear-gradient(135deg, #9400D3, #F000A0);
  --brand-glow: 0 0 48px rgba(148, 0, 211, 0.35), 0 0 90px rgba(240, 0, 160, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  background: #000;
}

body {
  position: relative;
  font-family: "Inter", sans-serif;
}

/* ── Scene (fixed background) ─────────────── */

.scene,
.scene__base,
.scene__light,
.scene__glow,
.grain {
  position: fixed;
  inset: 0;
}

.scene {
  overflow: hidden;
  background: #000;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.scene__base,
.scene__light {
  background-image: var(--bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.scene__base {
  filter: brightness(0.24) saturate(0.96) contrast(1.06);
  transform: none;
}

.scene__light {
  opacity: 1;
  mask-image: radial-gradient(
    circle var(--light-size) at var(--light-x) var(--light-y),
    rgba(0, 0, 0, 1) 0,
    rgba(0, 0, 0, 0.92) 26%,
    rgba(0, 0, 0, 0.55) 48%,
    rgba(0, 0, 0, 0.16) 66%,
    rgba(0, 0, 0, 0.02) 80%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    circle var(--light-size) at var(--light-x) var(--light-y),
    rgba(0, 0, 0, 1) 0,
    rgba(0, 0, 0, 0.92) 26%,
    rgba(0, 0, 0, 0.55) 48%,
    rgba(0, 0, 0, 0.16) 66%,
    rgba(0, 0, 0, 0.02) 80%,
    transparent 100%
  );
  will-change: mask-image;
}

.scene__glow {
  display: none;
}

.grain {
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
}

/* ── Hero ─────────────────────────────────── */

.hero {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.hero--hidden {
  opacity: 0 !important;
  visibility: hidden;
}

.hero__banner-text {
  display: block;
  width: min(90vw, 1040px);
  height: auto;
  flex-shrink: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}


/* ── Nav ──────────────────────────────────── */

/*
 * Starts translated to the bottom of the viewport.
 * On scroll, transitions to top-0 (navbar position).
 */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.4rem;
  transform: translateY(calc(100vh - 100%));
  border-bottom: 1px solid transparent;
  transition:
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.5s ease,
    border-color 0.5s ease;
}

.site-nav--scrolled {
  transform: translateY(0);
  background: rgba(8, 10, 13, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.07);
}

/* Instagram pill — gradient border */
.site-nav__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.05rem 0.6rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(rgba(12, 13, 16, 0.52), rgba(12, 13, 16, 0.52)) padding-box,
    var(--brand) border-box;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-size: 0.87rem;
  letter-spacing: 0.04em;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav__instagram:hover {
  transform: translateY(-2px);
  opacity: 0.82;
}

.site-nav__instagram svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #F000A0;
}

/* Logo */
.site-nav__logo {
  height: 36px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  user-select: none;
}

/* ── Scroll flow ──────────────────────────── */

.page-scroll {
  position: relative;
  z-index: 4;
  pointer-events: none;
}

.hero-spacer {
  height: 100vh;
}

/* ── Main section ─────────────────────────── */

.section-main {
  position: relative;
  pointer-events: auto;
  background: #000;
  min-height: 100vh;
  padding: 7rem 2rem 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-main__inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-main__eyebrow {
  margin: 0 0 1.2rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-main__heading {
  margin: 0 0 1.4rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.section-main__lead {
  margin: 0 0 4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.48);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.service-card {
  position: relative;
  padding: 2.4rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(148, 0, 211, 0.22);
  background: #0a0a0a;
  overflow: hidden;
  will-change: transform;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  cursor: default;
}

/* shimmer de luz que sigue el mouse */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.06) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* línea de gradiente en el borde superior */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 1.8rem;
  right: 1.8rem;
  height: 1px;
  background: var(--brand);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  border-color: rgba(240, 0, 160, 0.45);
  box-shadow:
    0 0 0 1px rgba(148, 0, 211, 0.15),
    0 20px 60px rgba(148, 0, 211, 0.12),
    0 8px 24px rgba(240, 0, 160, 0.1);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 0.75; }

.service-card__num {
  display: block;
  margin-bottom: 1.4rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  background: var(--brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card__title {
  margin: 0 0 0.7rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.service-card__body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.44);
}

/* ── Modal ────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  width: min(100%, 420px);
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 11, 14, 0.88);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.modal__close {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal__copy {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.5;
}

.subscribe-form {
  display: grid;
  gap: 0.8rem;
}

.subscribe-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  outline: none;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.subscribe-form button {
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 14px;
  color: #0b1117;
  background: rgba(255, 244, 215, 0.9);
  font: inherit;
  cursor: pointer;
}

.subscribe-note {
  margin: 0;
  min-height: 1.2rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

/* ── Split sections ───────────────────────── */

.split-section {
  pointer-events: auto;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.split-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 4rem;
}

.split-section__image {
  border-radius: 24px;
  overflow: hidden;
}

.split-section__image img {
  width: 100%;
  height: auto;
  display: block;
}

.split-section__eyebrow {
  margin: 0 0 1.2rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.split-section__heading {
  margin: 0 0 1.5rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.split-section__body {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.46);
}

.split-section__footer {
  margin: 0 0 1.2rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.34);
}

.split-section__line {
  width: 48px;
  height: 2px;
  background: var(--brand);
  border-radius: 999px;
  opacity: 0.7;
}

/* ── Statement (full-bleed editorial) ────── */

.statement-section {
  pointer-events: auto;
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.statement-section__bg {
  position: absolute;
  inset: 0;
  background: #000;
}

.statement-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.statement-section__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #000 0%, rgba(0,0,0,0.72) 35%, rgba(0,0,0,0.1) 70%, transparent 100%),
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 55%);
}

.statement-section__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 5rem 6rem;
}

.statement-section__eyebrow {
  margin: 0 0 1.4rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.statement-section__heading {
  margin: 0 0 1.4rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.statement-section__body {
  margin: 0;
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.52);
}

/* ── Trio grid (texto | imagen | texto) ───── */

.split-section__grid--trio {
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── CTA section ──────────────────────────── */

.cta-section {
  pointer-events: auto;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 9rem 4rem 10rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(148, 0, 211, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-section__image {
  width: 220px;
  flex-shrink: 0;
  border-radius: 24px;
  border: 2px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--brand) border-box;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(148, 0, 211, 0.25), 0 0 80px rgba(240, 0, 160, 0.1);
  animation: cta-float 4s ease-in-out infinite;
}

.cta-section__image img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes cta-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.cta-section__eyebrow {
  margin: 0 0 1.4rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section__heading {
  margin: 0 0 1.4rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.94);
}

.cta-section__body {
  margin: 0 0 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.46);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 2.4rem;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--brand-glow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 0 60px rgba(148, 0, 211, 0.5),
    0 0 120px rgba(240, 0, 160, 0.28);
}

.cta-btn__arrow {
  font-size: 1.1em;
  transition: transform 0.22s ease;
}

.cta-btn:hover .cta-btn__arrow {
  transform: translateX(4px);
}

/* ── Responsive ───────────────────────────── */

@media (max-width: 768px) {
  :root {
    --light-size: 220px;
  }

  .site-nav {
    padding: 1.1rem 1.4rem;
  }

  .site-nav__logo {
    height: 28px;
  }

  .hero__banner-text {
    width: 100vw;
    max-width: none;
  }

  .section-main {
    padding: 5rem 1.4rem 4rem;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .split-section__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 5rem 1.4rem;
  }

  .split-section__grid--trio {
    grid-template-columns: 1fr;
  }

  .split-section--reverse .split-section__image {
    order: -1;
  }

  .split-section--trio .split-section__image {
    order: -1;
  }

  .statement-section {
    min-height: 80vh;
    align-items: flex-end;
  }

  .statement-section__content {
    padding: 3rem 1.4rem;
  }

  .cta-section {
    padding: 6rem 1.4rem 7rem;
  }

  .cta-section__image {
    width: 180px;
  }
}
