/* ---------------------------
   Razorline Labs — Audi Theme
   Minimal BW + signal red
---------------------------- */

/* Base + variables */
:root{
  --paper:#ffffff;
  --ink:#0f1113;
  --muted:#6b7280;
  --brand:#e2001a;         /* Audi-like signal red */
  --brand-ink:#ffffff;
  --band:#f6f7f8;
  --line:#e6e7eb;

  /* spacing scale (8px base) */
  --s0:.25rem; --s1:.5rem; --s2:.75rem; --s3:1rem; --s4:1.5rem;
  --s5:2rem; --s6:3rem; --s7:4rem;
  --radius:14px;
  --shadow:0 6px 24px rgba(13,17,23,.06), 0 2px 6px rgba(13,17,23,.04);
}

/* Reset-ish */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; color:var(--ink); background:var(--paper);
  font:400 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans";
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
a:hover{ text-decoration-color:var(--brand); }
.container{ max-width:1080px; margin:0 auto; padding-inline:var(--s4); }

/* Utilities */
.muted{ color:var(--muted); }
.section{ padding:var(--s7) 0; }
.section--band{ background:var(--band); }
.grid{ display:grid; gap:var(--s4); }
.btn{
  display:inline-block; border-radius:var(--radius);
  padding:.8rem 1.1rem; border:1px solid var(--ink);
  color:var(--ink); background:transparent; text-decoration:none; font-weight:600;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s;
}
.btn-lg{ padding:1rem 1.25rem; }
.btn-primary{
  background:var(--brand); color:var(--brand-ink); border-color:var(--brand);
  box-shadow:0 6px 18px rgba(226,0,26,.18);
}
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 10px 24px rgba(226,0,26,.24); text-decoration:none; }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.lang-pill{
  display:inline-block; border:1px solid var(--line); padding:.35rem .6rem; border-radius:999px; color:var(--muted);
}
.lang-pill.is-active{ border-color:var(--brand); color:var(--brand); }
:focus-visible{ outline:3px solid rgba(226,0,26,.6); outline-offset:3px; }

/* Header / nav */
.site-header{ position:sticky; top:0; z-index:10; background:#fff; border-bottom:1px solid var(--line); }
.site-header .nav{ display:flex; align-items:center; justify-content:space-between; min-height:64px; }
.brand{ font-weight:800; letter-spacing:.06em; color:var(--ink); text-decoration:none; }
.brand span{ color:#9aa3ad; letter-spacing:.28em; font-weight:700; }
.nav-actions{ display:flex; align-items:center; gap:var(--s2); }

/* Global hero (home) */
.hero{ position:relative; padding:clamp(56px,8vw,112px) 0 clamp(36px,5vw,72px); background:linear-gradient(180deg,#ffffff 0%,#fafafa 60%); }
.hero::before{ content:""; position:absolute; inset:0 0 auto 0; height:4px; background:var(--brand); }
.hero-title{ margin:0 0 var(--s3); font-weight:800; letter-spacing:-.02em; font-size:clamp(28px,4.8vw,46px); line-height:1.15; }
.hero-sub{ margin:0 0 var(--s4); color:var(--muted); font-size:clamp(16px,2.4vw,18.5px); }
.hero-cta{ display:flex; gap:var(--s2); flex-wrap:wrap; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:var(--s2); margin:var(--s4) 0 0; padding:0; list-style:none; color:var(--muted); }
.hero-badges li{ border:1px solid var(--line); border-radius:999px; padding:.5rem .75rem; background:#fff; }

/* Page hero (service/inner pages) */
.page-hero{
  padding:clamp(56px,7vw,96px) 0 clamp(28px,4vw,48px);
  background:linear-gradient(180deg,#ffffff 0%, #f7f7f8 100%);
  border-bottom:1px solid var(--line);
}
.page-hero .eyebrow{ display:inline-block; font-size:.8rem; letter-spacing:.18em; text-transform:uppercase; color:var(--brand); font-weight:700; margin-bottom:var(--s1); }
.page-hero h1{ margin:0 0 var(--s2); font-weight:800; letter-spacing:-.015em; font-size:clamp(26px,4.2vw,40px); }
.page-hero p{ margin:0; color:var(--muted); max-width:70ch; }

/* Sections */
.section-header{ margin-bottom:var(--s6); text-align:left; }
.section-kicker{ display:inline-block; font-size:.8rem; letter-spacing:.18em; text-transform:uppercase; color:var(--brand); font-weight:700; margin-bottom:var(--s1); }
.section-title{ margin:0; font-size:clamp(22px,3.8vw,32px); letter-spacing:-.01em; line-height:1.2; }

/* Cards & grids */
.grid-services{ grid-template-columns:1fr; }                 /* mobile */
@media (min-width:720px){ .grid-services{ grid-template-columns:repeat(2,minmax(360px,1fr)); } } /* 2×2 on desktop */

.card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }

.card-service{
  padding:var(--s4); display:grid; grid-template-columns:1fr; gap:var(--s2); align-items:start;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; min-height:180px; position:relative;
}
.card-service:hover{ transform:translateY(-2px); box-shadow:0 10px 32px rgba(13,17,23,.08); border-color:#dbe3ea; text-decoration:none; }
.card-service h3{ margin:0 0 .25rem; font-size:1.1rem; letter-spacing:-.01em; }
.card-service p{ margin:0; color:var(--muted); max-width:56ch; }
.card-service .card-icon{ width:48px; height:48px; border-radius:12px; background:#f3f4f6; display:grid; place-items:center; border:1px solid #e9e9ee; }
.card-service .card-icon svg{ width:24px; height:24px; fill:#0f1113; stroke:#0f1113; }
/* subtle red top stripe on hover */
.card-service:hover::after{ content:""; position:absolute; left:-1px; right:-1px; top:-1px; height:3px; background:var(--brand); border-radius:12px 12px 0 0; }

/* Steps */
.grid-steps{ grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.card-step{ padding:var(--s4); border:1px dashed #e2e8f0; background:#fff; border-radius:var(--radius); }
.step-dot{ width:28px; height:28px; border-radius:999px; display:grid; place-items:center; background:var(--brand); color:#fff; font-weight:700; margin-bottom:var(--s2); }

/* Quotes */
.grid-quotes{ grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.quote{ margin:0; padding:var(--s4); border-left:4px solid var(--brand); background:#fff; border-radius:10px; }
.quote footer{ margin-top:var(--s2); color:var(--muted); }

/* Logos band */
.logos-band{ background:linear-gradient(180deg,#f9fafb 0%, #ffffff 100%); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.logo-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:var(--s3); align-items:center; }
.logo{ display:grid; justify-items:center; gap:.5rem; padding:var(--s3); background:#fff; border:1px solid var(--line); border-radius:12px; }
.logo-placeholder{ background:repeating-linear-gradient(45deg,#f4f7fa,#f4f7fa 12px,#eef2f7 12px,#eef2f7 24px); }

/* Sticky CTA */
.sticky-cta{ position:sticky; bottom:0; padding:var(--s2); background:rgba(255,255,255,.85); backdrop-filter:blur(6px); border-top:1px solid var(--line); display:flex; justify-content:center; }

/* Footer */
.site-footer{ border-top:1px solid var(--line); background:#fff; padding:var(--s6) 0 var(--s5); }
.footer-grid{ display:grid; gap:var(--s4); grid-template-columns:1fr auto; align-items:start; }
.footer-links{ list-style:none; padding:0; margin:0; display:grid; gap:.4rem; }
.footer-copy{ margin-top:var(--s4); color:var(--muted); }

/* Contact page legacy header (hide if present) */
nav.top.nav{ display:none; }
.hero .lead{ color:var(--muted); }

/* Calendly container */
.calendly-inline-widget{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); }

/* Media tweaks */
@media (max-width:720px){
  .site-header .nav{ min-height:56px; }
  .footer-grid{ grid-template-columns:1fr; }
  .section{ padding:var(--s6) 0; }
}
