/* ===================== TOKENS ===================== */
:root{
  --bg-deep: #0B0F14;
  --bg-panel: #12181F;
  --bg-panel-2: #1A222B;
  --line: #263039;
  --line-soft: #1D252D;
  --text: #E8EEF3;
  --text-muted: #7C8B99;
  --amber: #FFB020;
  --amber-dim: #8A6A2E;
  --red: #FF4757;
  --green: #4ADE80;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
.wrap{ max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono{ font-family: var(--font-mono); letter-spacing: 0.02em; }
.dim{ color: var(--text-muted); }
h1,h2,h3{ font-family: var(--font-display); font-weight: 600; line-height: 1.1; }
:focus-visible{ outline: 2px solid var(--amber); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
}

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 26px; border-radius: 4px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent; cursor:pointer;
}
.btn-primary{ background: var(--amber); color: #171000; }
.btn-primary:hover{ transform: translateY(-1px); background:#FFC24D; }
.btn-ghost{ border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover{ border-color: var(--green); }
.btn-small{ padding: 10px 18px; font-size: 0.85rem; }
.btn-full{ width:100%; }

.wa-dot, .rec-dot{
  width:8px; height:8px; border-radius:50%; display:inline-block; flex-shrink:0;
}
.wa-dot{ background: var(--green); }
.rec-dot{ background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse{
  0%,100%{ opacity:1; box-shadow: 0 0 0 0 rgba(255,71,87,0.5); }
  50%{ opacity:0.55; box-shadow: 0 0 0 5px rgba(255,71,87,0); }
}

/* ===================== HEADER ===================== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(11,15,20,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; padding-bottom:16px; gap: 24px;
}
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; font-size:1.05rem; }
.logo-icon{ height: 34px; width:auto; }
.brand-thin{ font-weight:400; color: var(--text-muted); margin-left:5px; }
.nav-desktop{ display:flex; gap: 28px; margin-left:auto; margin-right: 28px; font-size: 0.92rem; }
.nav-desktop a:hover{ color: var(--amber); }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{ width:22px; height:2px; background: var(--text); }
.nav-mobile{
  display:none; flex-direction:column; padding: 8px 24px 20px;
  border-top: 1px solid var(--line-soft);
}
.nav-mobile a{ padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.nav-mobile.open{ display:flex; }

@media (max-width: 860px){
  .nav-desktop, .header-inner > .btn{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ===================== HERO ===================== */
.hero{ position:relative; padding: 64px 0 40px; overflow:hidden; }
.hero-grid-overlay{
  position:absolute; inset:0; pointer-events:none; opacity:0.5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 100%);
}
.scanline{
  position:absolute; left:0; right:0; height:2px; background: linear-gradient(90deg, transparent, rgba(255,176,32,0.5), transparent);
  animation: scan 6s linear infinite; pointer-events:none;
}
@keyframes scan{
  0%{ top:0%; opacity:0; } 5%{ opacity:1;} 95%{opacity:1;} 100%{ top:100%; opacity:0; }
}

.hero-inner{ position:relative; z-index:1; }

.viewfinder{
  position:relative; border: 1px solid var(--line); border-radius: 6px;
  padding: 20px 28px 40px; background: rgba(18,24,31,0.55);
}
.corner{ position:absolute; width:22px; height:22px; border: 2px solid var(--amber); opacity:0.8; }
.corner.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.corner.tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.corner.bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.corner.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.feed-meta{
  display:flex; align-items:center; gap:10px; font-size: 0.75rem; color: var(--text-muted);
  margin-bottom: 28px; flex-wrap: wrap;
}
.feed-meta .mono:not(.dim){ color: var(--red); font-weight:500; }
.feed-time{ margin-left:auto; }

.hero-copy{ max-width: 640px; }
.eyebrow{ color: var(--amber); font-size: 0.78rem; margin-bottom: 18px; }
.hero-copy h1{ font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 22px; }
.hero-copy .accent{ color: var(--amber); }
.hero-sub{ color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.stat-strip{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-soft); margin-top: 32px; border: 1px solid var(--line-soft); border-radius:6px; overflow:hidden;
}
.stat{ background: var(--bg-panel); padding: 20px 16px; text-align:center; }
.stat-num{ display:block; font-family: var(--font-display); font-size: 1.7rem; color: var(--amber); font-weight:700; }
.stat-label{ display:block; font-size: 0.65rem; color: var(--text-muted); margin-top:6px; letter-spacing:0.05em; }

@media (max-width: 700px){
  .stat-strip{ grid-template-columns: repeat(2,1fr); }
  .viewfinder{ padding: 16px 18px 28px; }
}

/* ===================== TRUST BAR ===================== */
.trust-bar{ border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft); background: var(--bg-panel); }
.trust-inner{ display:flex; justify-content:space-between; flex-wrap:wrap; gap: 16px; padding: 22px 24px; font-size: 0.72rem; color: var(--text-muted); }

/* ===================== SECTIONS COMMON ===================== */
section{ padding: 88px 0; }
.section-eyebrow{ color: var(--amber); font-size: 0.75rem; margin-bottom: 14px; }
section h2{ font-size: clamp(1.7rem, 3.5vw, 2.4rem); max-width: 640px; margin-bottom: 20px; }

/* ===================== SERVICES ===================== */
.service-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-soft); border:1px solid var(--line-soft); margin-top: 44px; border-radius:6px; overflow:hidden; }
.service-card{ background: var(--bg-panel); padding: 32px; }
.service-tag{ color: var(--text-muted); font-size: 0.72rem; }
.service-card h3{ font-size: 1.2rem; margin: 12px 0 10px; }
.service-card p{ color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 700px){ .service-grid{ grid-template-columns: 1fr; } }

/* ===================== PROCESS ===================== */
.process{ background: var(--bg-panel); }
.process-list{ margin-top: 44px; display:flex; flex-direction:column; }
.process-step{ display:flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-soft); }
.process-step:last-child{ border-bottom: 1px solid var(--line-soft); }
.step-num{ color: var(--amber); font-size: 1.3rem; min-width: 46px; flex-shrink:0; }
.process-step h3{ font-size: 1.1rem; margin-bottom: 6px; }
.process-step p{ color: var(--text-muted); max-width: 560px; }

/* ===================== COVERAGE ===================== */
.coverage-inner{ display:grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items:center; }
.coverage-copy{ color: var(--text-muted); margin: 18px 0 26px; max-width: 480px; }
.coverage-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 0.85rem; color: var(--text-muted); }
.coverage-list li{ list-style:none; padding-left: 14px; position:relative; }
.coverage-list li::before{ content:'›'; position:absolute; left:0; color: var(--amber); }

.coverage-panel{
  position:relative; border:1px solid var(--line); border-radius:6px; padding: 40px 30px; text-align:center; background: var(--bg-panel);
}
.coverage-panel-corner{ position:absolute; width:18px; height:18px; border:2px solid var(--green); opacity:0.7; }
.coverage-panel-corner.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.coverage-panel-corner.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }
.coverage-big{ font-family: var(--font-display); font-size: 3.6rem; color: var(--green); margin: 6px 0; }
.coverage-big span{ font-size: 1.3rem; color: var(--text-muted); }

@media (max-width: 800px){ .coverage-inner{ grid-template-columns: 1fr; } .coverage-list{ grid-template-columns: 1fr 1fr; } }

/* ===================== QUOTE FORM ===================== */
.quote{ position:relative; overflow:hidden; }
.quote-viewfinder{ max-width: 720px; margin: 0 auto; padding: 44px 40px 48px; }
.quote-sub{ color: var(--text-muted); margin-bottom: 32px; }

.quote-form .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field{ display:flex; flex-direction:column; gap:8px; margin-bottom: 20px; }
.form-row .field{ margin-bottom:0; }
.field label{ font-size: 0.82rem; color: var(--text-muted); }
.field input, .field select, .field textarea{
  background: var(--bg-panel-2); border: 1px solid var(--line); border-radius:4px; color: var(--text);
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--amber); }
.field-checkboxes{ border: 1px solid var(--line); border-radius:4px; padding: 16px 18px; margin-bottom: 24px; }
.field-checkboxes legend{ font-size:0.82rem; color: var(--text-muted); padding:0 6px; }
.field-checkboxes label{ display:flex; align-items:center; gap:10px; font-size:0.9rem; padding: 8px 0; }
@media (min-width: 560px){
  .field-checkboxes{ display:grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .field-checkboxes legend{ grid-column: 1 / -1; }
}
.form-note{ margin-top: 14px; font-size: 0.72rem; text-align:center; }

.form-success{ display:flex; align-items:center; gap:12px; padding: 20px; border:1px solid var(--green); border-radius:6px; background: rgba(74,222,128,0.06); }

@media (max-width: 640px){ .quote-form .form-row{ grid-template-columns:1fr; } .quote-viewfinder{ padding: 30px 20px 36px; } }

/* ===================== FOOTER ===================== */
.site-footer{ border-top: 1px solid var(--line-soft); background: var(--bg-panel); padding-top: 56px; }
.footer-inner{ display:grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 40px; padding-bottom: 40px; }
.logo-footer{ height: 72px; width:auto; }
.footer-tag{ margin-top: 14px; font-size: 0.75rem; }
.footer-contact p{ margin-bottom: 10px; font-size: 0.85rem; color: var(--text-muted); }
.footer-address{ line-height: 1.5; }
.footer-contact a:hover{ color: var(--amber); }
.footer-links{ display:flex; flex-direction:column; gap:10px; font-size: 0.9rem; }
.footer-links a:hover{ color: var(--amber); }
.footer-copyright{ font-size: 0.72rem; padding: 20px 0; border-top: 1px solid var(--line-soft); }

@media (max-width: 700px){ .footer-inner{ grid-template-columns: 1fr; } }

/* ===================== WHATSAPP FLOAT ===================== */
.wa-float{
  position:fixed; bottom: 24px; right: 24px; width: 54px; height:54px; border-radius:50%;
  background: var(--bg-panel); border: 1px solid var(--green); display:flex; align-items:center; justify-content:center;
  z-index: 200; box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.wa-float .wa-dot{ width:14px; height:14px; }

.back-to-top{
  position:fixed; bottom: 90px; right: 24px; width: 46px; height:46px; border-radius:50%;
  background: var(--bg-panel); border: 1px solid var(--amber); color: var(--amber);
  font-size: 1.2rem; line-height:1; display:flex; align-items:center; justify-content:center;
  z-index: 200; box-shadow: 0 4px 20px rgba(0,0,0,0.4); cursor:pointer;
  opacity:0; pointer-events:none; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.visible{ opacity:1; pointer-events:auto; transform: translateY(0); }
.back-to-top:hover{ background: var(--amber); color: #171000; }

@media (max-width: 500px){
  .back-to-top{ bottom: 84px; right: 18px; width:42px; height:42px; }
  .wa-float{ right:18px; }
}
