:root {
  --bg: #111111;
  --bg2: #1b1b1b;
  --card: rgba(255,255,255,.06);
  --text: #efefef;
  --muted: #b9b9b9;
  --primary: #ff9f1a;
  --accent: #ff6b00;
  --border: rgba(255,255,255,.14);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(1200px 600px at 15% -5%, rgba(255,159,26,.045), transparent),
    radial-gradient(900px 500px at 90% 0%, rgba(255,107,0,.03), transparent),
    linear-gradient(180deg, #0b0b0b, #141414 55%, #0f0f0f);
  color: var(--text);
  min-height: 100vh;
}
.bg-glow {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 320px at 82% 8%, rgba(255,159,26,.08), transparent 60%),
    radial-gradient(500px 250px at 12% 72%, rgba(255,107,0,.045), transparent 62%);
  animation: glowShift 16s ease-in-out infinite alternate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: radial-gradient(rgba(255,255,255,.6) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .6;
}
#cursorGlow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,159,26,.16) 0%, rgba(255,107,0,.07) 45%, rgba(255,107,0,0) 75%);
  filter: blur(24px);
  opacity: .68;
}
@keyframes glowShift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(0,-8px,0) scale(1.03); }
}
.container { width: min(1120px, 92vw); margin: 0 auto; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  background: linear-gradient(to bottom, rgba(18,18,18,.34), rgba(18,18,18,.16) 58%, rgba(18,18,18,0));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  z-index: 20;
}
.brand { font-weight: 800; letter-spacing: .1px; }
.brand span { color: var(--primary); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.hero { padding: 64px 0 34px; }
.badge {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid rgba(255,159,26,.45);
  border-radius: 999px;
  color: #ffd8b0;
  font-size: 13px;
  background: rgba(255,159,26,.08);
}
h1 { font-size: clamp(2rem, 5.1vw, 4rem); line-height: 1.05; margin: 18px 0 14px; max-width: 16ch; transition: transform .2s ease; }
h1 span {
  background: linear-gradient(120deg, #ffd2a6, #ff9f1a, #ff6b00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); max-width: 64ch; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.7; transition: transform .24s ease; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { text-decoration: none; padding: 12px 18px; border-radius: 12px; font-weight: 600; border: 1px solid transparent; transition: transform .18s ease, filter .2s ease, background .2s ease; display: inline-block; will-change: transform; }
.magnetic { transition: transform .16s ease; will-change: transform; }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #1a0f06;
  box-shadow: 0 8px 26px rgba(255,107,0,.28);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%);
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
  transition: transform .7s ease;
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.07); transform: translateY(-1px); }
.kpis { margin-top: 30px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); transition: transform .26s ease; }
.kpis > div { border: 1px solid var(--border); background: rgba(255,255,255,.03); border-radius: 14px; padding: 14px; }
.kpis strong { display: block; font-size: 15px; }
.kpis span { color: var(--muted); font-size: 14px; }
.section { padding: 48px 0; }
.section-head h2, .cta h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.section-head p, .cta p { color: var(--muted); margin: 0 0 20px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(0,0,0,.35), 0 0 0 1px rgba(255,159,26,.25);
  border-color: rgba(255,159,26,.35);
}
.card img { width: 100%; height: 210px; object-fit: cover; display: block; background: #191919; filter: saturate(1.08) contrast(1.04); }
.card-body { padding: 16px 16px 20px; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; color: #d6d6d6; line-height: 1.55; }
.cta { border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.03); text-align: center; }
.contact-form { max-width: 760px; margin: 20px auto 0; display: grid; gap: 12px; }
.contact-form .row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9ea8c3; }
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.legal {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.legal p { color: var(--muted); line-height: 1.75; margin: 0 0 12px; }
.legal ul { color: var(--muted); line-height: 1.75; margin: 0 0 14px 18px; }
.legal h3, .legal h4 { margin: 16px 0 8px; }
.legal a { color: #ffba64; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.footer { padding: 28px 0 42px; color: var(--muted); }
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .nav { position: static; backdrop-filter: none; }
  .nav-actions { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .contact-form .row { grid-template-columns: 1fr; }
}
