/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #04080F;
  color: #E8EDF5;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TOKENS ───────────────────────────────────────── */
:root {
  --navy:    #04080F;
  --navy2:   #080E1A;
  --navy3:   #0C1526;
  --card:    #0F1C30;
  --blue:    #1A6FFF;
  --blue-lg: #2D8BFF;
  --cyan:    #00D4FF;
  --red:     #D63030;
  --white:   #E8EDF5;
  --muted:   #8899AA;
  --border:  rgba(26,111,255,0.18);
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ── NOISE OVERLAY ────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ── LAYOUT ───────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
section { position: relative; z-index: 1; }

/* ── NAV ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4,8,15,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: grid; place-items: center;
  font-size: 13px; color: white; font-weight: 700;
}
.nav-logo-text { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 1px; color: var(--white); }
.nav-logo-sub { font-size: 0.62rem; color: var(--muted); font-family: var(--font-mono); letter-spacing: 2px; line-height: 1; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 8px 12px; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--blue); color: white;
  padding: 9px 20px; border-radius: 4px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px;
  border: none; cursor: pointer;
  text-decoration: none; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-lg); transform: translateY(-1px); }

/* mobile nav toggle */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(4,8,15,0.97); backdrop-filter: blur(16px);
  z-index: 99; padding: 32px 24px;
  flex-direction: column; gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: 1px;
  color: var(--muted); text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--white); }
.nav-mobile .nav-mobile-cta {
  margin-top: 24px;
  background: var(--blue); color: white;
  padding: 16px; border-radius: 6px;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 1px;
  text-align: center; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none;
}

/* ── PAGE HERO (inner pages) ──────────────────────── */
.page-hero {
  padding: 120px 0 72px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(26,111,255,0.12) 0%, transparent 65%);
  text-align: center;
}
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--cyan); letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero-eyebrow::before, .page-hero-eyebrow::after {
  content: ''; display: inline-block; width: 20px; height: 1px; background: var(--cyan);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92; letter-spacing: 2px;
  margin-bottom: 24px;
}
.page-hero-title em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--blue); }
.page-hero-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 540px; margin: 0 auto;
  line-height: 1.8; font-weight: 300;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn-primary {
  background: var(--blue); color: white;
  padding: 15px 32px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.5px;
  text-decoration: none; text-transform: uppercase;
  transition: all 0.2s; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: var(--blue-lg); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(26,111,255,0.35); }

.btn-ghost {
  background: transparent; color: var(--white);
  padding: 15px 32px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--cyan); }

/* ── SECTION TYPOGRAPHY ───────────────────────────── */
.section-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--blue-lg); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 20px; display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05; margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted); max-width: 560px;
  line-height: 1.8; font-weight: 300; margin-bottom: 56px;
}

/* ── CTA SECTION ──────────────────────────────────── */
.cta-section {
  padding: 120px 0; background: var(--navy); text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(26,111,255,0.1) 0%, transparent 70%);
}
.cta-eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--cyan); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 24px; display: block;
}
.cta-headline {
  font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1; margin-bottom: 24px;
}
.cta-sub {
  font-size: 1.05rem; color: var(--muted); max-width: 480px;
  margin: 0 auto 48px; line-height: 1.75; font-weight: 300;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.cta-contact { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 1px; }
.cta-contact a { color: var(--cyan); text-decoration: none; }
.cta-contact a:hover { text-decoration: underline; }

/* ── FOOTER ───────────────────────────────────────── */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: var(--navy);
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--muted); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-col a {
  display: block; font-size: 0.85rem; color: var(--muted);
  text-decoration: none; margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px; margin: 24px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-note { font-family: var(--font-mono); font-size: 0.65rem; color: rgba(136,153,170,0.4); letter-spacing: 1px; }

/* ── ANIMATIONS ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-children > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.reveal-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.reveal-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.reveal-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.reveal-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }
.reveal-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.6s; }
.reveal-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.7s; }

/* ── MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,8,15,0.88); backdrop-filter: blur(10px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 20px 40px; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 48px 44px; width: 100%; max-width: 520px;
  flex-shrink: 0; margin: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: fixed; top: 16px; right: 16px;
  background: rgba(15,28,48,0.95); border: 1px solid var(--border); border-radius: 50%;
  width: 40px; height: 40px; cursor: pointer; color: var(--white); font-size: 18px;
  display: flex; align-items: center; justify-content: center; z-index: 201;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--card); }
.modal-eyebrow {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--cyan); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 10px; display: block;
}
.modal-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 6px; line-height: 1.1; }
.modal-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(4,8,15,0.6); border: 1px solid rgba(26,111,255,0.2); border-radius: 6px;
  padding: 12px 14px; color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group select option { background: var(--navy2); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
  width: 100%; padding: 15px; background: var(--blue); color: white;
  border: none; border-radius: 6px; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; margin-top: 8px; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: var(--blue-lg); transform: translateY(-1px); }
.modal-ty { text-align: center; padding: 20px 0; display: none; }
.modal-ty.show { display: block; }
.modal-form.hidden { display: none; }
.ty-icon { font-size: 3rem; margin-bottom: 16px; display: block; animation: pop 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.ty-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 10px; color: var(--white); }
.ty-sub { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── WHATSAPP FAB ─────────────────────────────────── */
.wa-fab { position: fixed; bottom: 28px; right: 28px; z-index: 150; }
.wa-btn {
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s; position: relative; z-index: 2;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-bubble {
  position: absolute; bottom: 70px; right: 0; width: 260px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px 12px 2px 12px; padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.95);
  transform-origin: bottom right; transition: all 0.25s cubic-bezier(0.34,1.3,0.64,1);
}
.wa-bubble.open { opacity: 1; pointer-events: all; transform: translateY(0) scale(1); }
.wa-bubble-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #25D366; display: grid; place-items: center; flex-shrink: 0; }
.wa-avatar svg { width: 20px; height: 20px; }
.wa-name { font-weight: 600; font-size: 0.88rem; color: var(--white); }
.wa-status { font-size: 0.72rem; color: #25D366; }
.wa-messages { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.wa-msg {
  background: rgba(26,111,255,0.1); border: 1px solid var(--border);
  border-radius: 8px 8px 8px 2px; padding: 10px 12px;
  font-size: 0.82rem; color: var(--white); line-height: 1.5; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.wa-msg:hover { background: rgba(26,111,255,0.2); border-color: var(--blue); }
.wa-bubble-note { font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); text-align: center; letter-spacing: 0.5px; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .modal { padding: 36px 24px; }
  .modal-overlay { padding: 56px 12px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .wa-fab { bottom: 20px; right: 16px; }
  .wa-bubble { width: 230px; }
  .page-hero { padding: 96px 0 56px; }
  .cta-section { padding: 80px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
