/* ── RESET & VARIABLES ──────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --black:  #050505;
  --deep:   #0a0a0c;
  --border: rgba(255,255,255,0.07);
  --white:  #f0f0f0;
  --gray:   rgba(255,255,255,0.6);
  --muted:  rgba(255,255,255,0.48);
  --font-h: 'Plus Jakarta Sans', sans-serif;
  --font-b: 'Inter', sans-serif;
  --font-m: 'JetBrains Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-micro:  180ms;
  --dur-reveal: 550ms;
}

html { scroll-behavior: auto; }
body {
  font-family: var(--font-b);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a, button { cursor: none; }

/* ── CURSOR ─────────────────────────────── */
#cursor-dot {
  position: fixed; z-index: 99999;
  width: 5px; height: 5px;
  background: #fff; border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  will-change: transform;
}
#cursor-ring {
  position: fixed; z-index: 99998;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  will-change: transform;
  transition: width .25s, height .25s, opacity .25s, border-color .25s;
}
.cursor-hover #cursor-ring {
  width: 52px; height: 52px;
  opacity: 0.45; border-color: rgba(255,255,255,0.55);
}
@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
  body, a, button { cursor: auto; }
}

/* ── OVERLAYS ───────────────────────────── */
#grid-overlay  { display: none; }
#noise-overlay { display: none; }

/* ── CANVAS ─────────────────────────────── */
#canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── SCROLL TRAIL ───────────────────────── */
.scroll-trail { position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; overflow: visible; display: none; }
.scroll-trail path {
  fill: none;
  stroke: rgba(232,232,247,0.55);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(205,205,235,0.4)) drop-shadow(0 0 14px rgba(180,180,225,0.25));
}

/* ── LAYOUT ─────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.sec  { padding: 120px 0; position: relative; z-index: 1; }
.divider { border: none; border-top: 1px solid rgba(255,255,255,0.055); position: relative; z-index: 1; }

.sec-label {
  font-family: var(--font-m);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 56px;
}
.sec-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.16); }

/* ── NAV ────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 28px 56px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(5,5,5,0.4);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: padding .35s, background .35s, border-color .35s;
  opacity: 0;
}
nav.stuck {
  padding: 16px 56px;
  background: rgba(5,5,5,0.88);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-h); font-size: 0.95rem; font-weight: 800;
  color: var(--white); text-decoration: none; letter-spacing: -0.04em;
}
.nav-right { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500;
  color: var(--gray); text-decoration: none; letter-spacing: 0.01em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-btn {
  font-size: 0.78rem; font-weight: 500;
  color: var(--white); text-decoration: none;
  padding: 9px 22px; border: 1px solid rgba(255,255,255,0.14);
  transition: background .25s, border-color .25s;
}
.nav-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); }

/* ── HAMBURGER ──────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px; z-index: 201;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s; transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(5,5,5,0.97); backdrop-filter: blur(24px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mob-link {
  font-family: var(--font-h); font-size: 2.2rem; font-weight: 800;
  color: var(--white); text-decoration: none; letter-spacing: -0.04em;
  transition: opacity .2s;
  min-height: 48px; display: flex; align-items: center;
}
.mob-link:hover { opacity: 0.45; }
.mob-cta {
  margin-top: 8px; font-size: 0.85rem; font-weight: 500;
  color: var(--white); text-decoration: none;
  padding: 12px 36px; border: 1px solid rgba(255,255,255,0.18);
  transition: background .25s;
}
.mob-cta:hover { background: rgba(255,255,255,0.07); }

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black); z-index: 1;
}
.marquee-layer {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.m-row { overflow: hidden; white-space: nowrap; }
.m-track { display: inline-block; animation: mq 80s linear infinite; filter: blur(0.4px); }
.mw {
  display: inline-block;
  font-family: var(--font-h);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800; letter-spacing: -0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.1); padding: 0 0.35em; user-select: none;
}
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 50%; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, var(--black) 5%, transparent 100%);
}
.hero-photo-wrap {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  height: 100%; z-index: 2; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo-wrap picture { display: contents; }
.hero-photo {
  height: 70%; width: auto; max-width: none;
  object-fit: contain; object-position: center center;
  mix-blend-mode: lighten; opacity: 0;
}
.hero-body {
  position: relative; z-index: 3;
  padding: 0 56px 88px; width: 100%;
}
.hero-tag {
  font-family: var(--font-m); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  opacity: 0;
}
.hero-tag::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--muted);
}
.hero-h1 {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.045em;
  color: var(--white); max-width: 700px; margin-bottom: 22px;
  opacity: 0;
}
.hero-sub {
  font-size: 0.92rem; font-weight: 300;
  color: var(--gray); line-height: 1.7;
  max-width: 420px; margin-bottom: 38px;
  opacity: 0;
}
.hero-ctas { display: flex; gap: 12px; align-items: center; opacity: 0; }
.btn-w {
  font-size: 0.82rem; font-weight: 600;
  color: var(--black); background: var(--white);
  text-decoration: none; padding: 13px 28px; display: inline-block;
  transition: opacity .25s, transform .3s;
}
.btn-w:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-g {
  font-size: 0.82rem; font-weight: 500;
  color: var(--white); text-decoration: none;
  padding: 13px 28px; border: 1px solid rgba(255,255,255,0.14); display: inline-block;
  transition: background .25s, border-color .25s, transform .3s;
}
.btn-g:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.scroll-hint {
  position: absolute; bottom: 36px; right: 56px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span {
  font-family: var(--font-m); font-size: 0.52rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.22));
  animation: sline 2.2s ease-in-out infinite;
}
@keyframes sline {
  0%,100% { opacity: 0.25; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 0.7;  transform: scaleY(1.08); }
}

/* ── CTA ────────────────────────────────── */
.cta-bg { background: #1a1a1e; position: relative; z-index: 1; overflow: hidden; }
.cta-bg::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.022) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-label { justify-content: center; }
.cta-h {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4.5vw, 3.8rem); font-weight: 800;
  line-height: 1.06; letter-spacing: -0.05em; color: var(--white); margin-bottom: 20px;
}
.cta-p {
  font-size: 0.9rem; font-weight: 300; color: var(--gray); line-height: 1.7;
  max-width: 460px; margin: 0 auto 40px;
}
.cta-links {
  display: flex; justify-content: center; align-items: center;
  gap: 32px; margin-top: 48px; flex-wrap: wrap;
}
.cta-link {
  font-size: 0.76rem; font-weight: 400; color: var(--muted);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
  transition: color .25s; min-height: 44px;
}
.cta-link:hover { color: var(--white); }
.cta-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.18); }

/* ── FOOTER ─────────────────────────────── */
footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: var(--font-h); font-size: 0.9rem; font-weight: 800; color: var(--white); text-decoration: none; letter-spacing: -0.04em; }
.footer-copy { font-size: 0.7rem; font-weight: 300; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.7rem; font-weight: 400; color: var(--muted); text-decoration: none;
  transition: color .2s; min-height: 44px; display: inline-flex; align-items: center;
}
.footer-links a:hover { color: var(--white); }

/* ── REVEAL ANIMATIONS ──────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease-out-expo),
              transform var(--dur-reveal) var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVE — base.css classes only
   (section-specific rules live in sections.css)
══════════════════════════════════════════ */

/* ── 1100px ─────────────────────────────── */
@media (max-width: 1100px) {
  .wrap      { padding: 0 40px; }
  .sec       { padding: 100px 0; }
  nav        { padding: 24px 40px; }
  nav.stuck  { padding: 14px 40px; }
  .hero-body { padding: 0 40px 80px; }
}

/* ── 768px ──────────────────────────────── */
@media (max-width: 768px) {
  .wrap      { padding: 0 24px; }
  .sec       { padding: 80px 0; }

  nav        { padding: 18px 24px; }
  nav.stuck  { padding: 14px 24px; }
  .nav-right { display: none; }
  .hamburger { display: flex; }

  .hero-body  { padding: 0 24px 64px; }
  .hero-h1    { font-size: clamp(2rem, 8.5vw, 3.2rem); max-width: 100%; }
  .hero-sub   { font-size: 0.86rem; max-width: 100%; }
  .hero-ctas  { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-w, .btn-g { width: 100%; text-align: center; padding: 14px 20px; }
  .hero-photo { height: 52%; opacity: 0.55; }
  .mw         { font-size: clamp(2.8rem, 12vw, 5.5rem); }
  .scroll-hint { display: none; }

  .cta-h      { font-size: clamp(1.9rem, 7vw, 3rem); }
  .cta-links  { gap: 18px; flex-direction: column; align-items: center; }
  .cta-dot    { display: none; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .sec-label  { font-size: 0.56rem; }
  .reveal     { transform: translateY(16px); }
}

/* ── 480px ──────────────────────────────── */
@media (max-width: 480px) {
  .wrap      { padding: 0 16px; }
  .sec       { padding: 64px 0; }

  nav        { padding: 16px; }
  nav.stuck  { padding: 12px 16px; }

  .hero-body  { padding: 0 16px 52px; }
  .hero-h1    { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .hero-sub   { font-size: 0.82rem; }
  .hero-tag   { font-size: 0.52rem; letter-spacing: 0.16em; }
  .hero-ctas  { gap: 8px; }
  .btn-w, .btn-g { font-size: 0.78rem; padding: 13px 16px; }

  .cta-h      { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .cta-p      { font-size: 0.84rem; }
  .mob-link   { font-size: 1.8rem; }
}

/* ── WHATSAPP FLOAT ─────────────────────── */
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  animation: wa-pulse 6s ease-in-out infinite;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float.wa-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes wa-pulse {
  0%, 15%, 100% { transform: scale(1); }
  7.5%          { transform: scale(1.06); }
}

/* ── REDUCED MOTION ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { transform: none; }
  .m-track { animation: none !important; }
  .wa-float { animation: none !important; }
}
