/* ============ TOKENS ============ */
:root {
  --bg: #05070d;
  --bg-elevated: #0a0e18;
  --surface: rgba(255,255,255,0.035);
  --surface-strong: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);

  --text: #F2F5FA;
  --text-muted: rgba(242,245,250,0.64);
  --text-faint: rgba(242,245,250,0.4);

  --cyan: #E8392C;
  --purple: #C5CBD6;
  --flame: #FF5B3D;
  --flame-light: #FFD23D;

  --grad-primary: linear-gradient(135deg, var(--flame-light), var(--cyan));
  --grad-flame: linear-gradient(135deg, var(--flame-light), var(--flame));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-flame);
  box-shadow: 0 0 12px var(--flame);
}

/* ============ BACKGROUND FX ============ */
.bg-grid {
  position: fixed; inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.bg-glow--1 {
  width: 600px; height: 600px;
  top: -200px; left: -150px;
  background: var(--cyan);
}
.bg-glow--2 {
  width: 500px; height: 500px;
  top: 20%; right: -180px;
  background: var(--flame);
  opacity: 0.16;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--grad-primary);
  color: #05070d;
  box-shadow: 0 8px 30px rgba(61,224,245,0.25);
}
.btn--primary:hover { box-shadow: 0 12px 40px rgba(61,224,245,0.4); }

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-strong); border-color: var(--cyan); }

.btn--whatsapp {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  color: #6BE9A0;
  padding: 10px 18px;
  font-size: 14px;
}
.btn--whatsapp:hover { background: rgba(37,211,102,0.2); }
.btn--whatsapp svg { width: 17px; height: 17px; }

.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(5,7,13,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding: 12px 0;
}
.header__inner { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; }
.brand__mark--logo {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  flex-shrink: 0;
}
.brand__mark--logo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.brand__text { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.01em; }
.brand__text strong { font-weight: 700; color: var(--cyan); }

.nav { display: flex; align-items: center; gap: 32px; margin: 0 auto; }
.nav a {
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover { color: var(--text); }

.header__cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; z-index: 1; padding: 168px 0 100px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 4.4vw, 54px);
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.trust-bar { display: flex; flex-direction: column; gap: 14px; }
.trust-bar__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.trust-bar__item svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }

.hero__visual { display: flex; justify-content: center; }
.door-card { position: relative; width: min(360px, 82vw); animation: floatY 6s ease-in-out infinite; }
.door-card__logo {
  position: relative; z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  filter: drop-shadow(0 20px 60px rgba(232,57,44,0.25));
}
.door-card__glow {
  position: absolute; inset: 6%;
  background: var(--grad-primary);
  filter: blur(70px);
  opacity: 0.28;
  z-index: 0;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============ SECTION HEAD ============ */
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }

/* ============ SERVICES ============ */
.services { position: relative; z-index: 1; padding: 100px 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61,224,245,0.4);
  background: var(--surface-strong);
}
.service-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(61,224,245,0.08);
  color: var(--cyan);
  margin-bottom: 20px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--text-muted); }

/* ============ DIFFERENTIALS ============ */
.differentials { position: relative; z-index: 1; padding: 100px 0; background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.differentials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.diff-item__num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--flame-light);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.diff-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.diff-item p { font-size: 13.5px; color: var(--text-muted); }

/* ============ PROCESS ============ */
.process { position: relative; z-index: 1; padding: 100px 0; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}
.process-step__index {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #05070d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; color: var(--text-muted); }

/* ============ CTA BANNER ============ */
.cta-banner { position: relative; z-index: 1; padding: 110px 0; }
.cta-banner__inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.cta-banner__inner::before {
  content: '';
  position: absolute; inset: -40%;
  background: var(--grad-primary);
  opacity: 0.08;
  filter: blur(60px);
}
.cta-banner__inner h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; position: relative; }
.cta-banner__inner p { color: var(--text-muted); margin-bottom: 30px; position: relative; }
.cta-banner__inner .btn { position: relative; }
.cta-banner__phone { margin-top: 20px; font-size: 14px; color: var(--text-faint); }
.cta-banner__phone a { color: var(--cyan); font-weight: 600; }

/* ============ FOOTER ============ */
.footer { position: relative; z-index: 1; padding: 40px 0; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.brand--footer .brand__mark { width: 28px; height: 28px; }
.footer__contact { display: flex; gap: 24px; font-size: 14px; color: var(--text-muted); }
.footer__contact a:hover { color: var(--cyan); }
.footer__copy { font-size: 12.5px; color: var(--text-faint); width: 100%; text-align: center; margin-top: 10px; }

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #25D366, #1DA851);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  color: #05070d;
  transition: transform 0.25s var(--ease);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: 20px; }
  .door-card { width: min(240px, 60vw); }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .differentials__grid { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(5,7,13,0.97);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 140px 0 70px; }
  .trust-bar { gap: 10px; }
}

@media (max-width: 560px) {
  .services__grid, .differentials__grid, .process__grid { grid-template-columns: 1fr; }
  .cta-banner__inner { padding: 40px 24px; }
  .footer__inner { justify-content: center; text-align: center; }
}
