/* Bastom Audit - styles.css (tight spacing, clean layout) */

:root{
  --blue:#0867FF;
  --dark:#121828;
  --white:#FFFFFF;
  --muted:#5a6475;
  --bg:#f6f8fc;
  --border:rgba(18,24,40,.12);
  --shadow: 0 10px 30px rgba(18,24,40,.08);
  --radius:16px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--dark);
  background:var(--white);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 20px;}
.grid{display:grid; gap:18px;}
.muted{color:var(--muted)}
.kicker{letter-spacing:.08em; text-transform:uppercase; font-size:12px; font-weight:800; color:var(--muted)}
h1,h2,h3{margin:0 0 10px 0; line-height:1.15}
h1{font-size:42px}
h2{font-size:30px}
h3{font-size:18px}
p{margin:0 0 12px 0}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:12px; font-weight:800;
  border:1px solid transparent; cursor:pointer; transition:.2s ease; gap:10px;
}
.btn-primary{background:var(--blue); color:var(--white);}
.btn-primary:hover{filter:brightness(.92)}
.btn-ghost{background:transparent; border-color:var(--border); color:var(--dark);}
.btn-ghost:hover{border-color:rgba(8,103,255,.35); color:var(--blue)}

/* Pills / chips */
.pill{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800; font-size:13px;
  background:rgba(8,103,255,.10);
  color:var(--blue);
  border:1px solid rgba(8,103,255,.18);
}

/* Cards */
.card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}

/* Header / navigation */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.90);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:72px; gap:14px;
}
.brand{display:flex; align-items:center; gap:12px;}
.brand img{height:34px; width:auto}

.nav-links{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
}
.nav-links a{padding:10px 10px; border-radius:10px}
.nav-links a:hover{background:rgba(18,24,40,.05)}
.nav-links a.active{
  background:rgba(8,103,255,.10);
  color:var(--blue);
  border:1px solid rgba(8,103,255,.18)
}

.nav-cta{display:flex; gap:10px; align-items:center}
.burger{
  display:none;
  border:1px solid var(--border);
  background:transparent;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}

/* Mobile menu */
.mobile{
  display:none;
  border-top:1px solid var(--border);
  padding:12px 0 18px;
}
.mobile a{
  display:block; padding:12px 8px;
  border-radius:12px; font-weight:900;
}
.mobile a:hover{background:rgba(18,24,40,.05)}

/* Language switcher */
.lang{
  display:flex; gap:6px; align-items:center;
  border:1px solid var(--border);
  border-radius:12px;
  padding:6px;
}
.lang button{
  border:0; background:transparent; cursor:pointer;
  font-weight:900;
  padding:8px 10px; border-radius:10px;
  color:var(--muted);
}
.lang button.active{
  background:rgba(8,103,255,.10);
  color:var(--blue);
}

/* HERO (tight spacing, no forced heights) */
.hero{
  padding:44px 0 28px;
  background:
    radial-gradient(900px 400px at 20% 10%, rgba(8,103,255,.14), transparent 60%),
    radial-gradient(900px 400px at 80% 20%, rgba(8,103,255,.10), transparent 60%),
    linear-gradient(to bottom, #fff, #fff);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  align-items:start;
}
.hero .kicker{margin-bottom:8px}
.hero h1{margin-bottom:10px}
.hero p{margin-bottom:12px}
.hero .pill{margin:10px 0 0} /* tighter */
.hero-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}

/* Sections (reduce whitespace) */
.section{padding:44px 0;}
/* Useful if you want slightly more spacing for a section: add class "section section-loose" in HTML */
.section.section-loose{padding:64px 0;}

.services-grid{grid-template-columns:repeat(3, 1fr);}

/* Simple icon badge used in service cards */
.icon{
  width:34px; height:34px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(8,103,255,.12);
  border:1px solid rgba(8,103,255,.18);
  color:var(--blue); font-weight:900;
  margin-right:8px;
}

/* Process steps */
.process-grid{grid-template-columns:repeat(4, 1fr);}
.step .num{
  width:34px; height:34px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  background:rgba(8,103,255,.10);
  color:var(--blue); font-weight:900;
  border:1px solid rgba(8,103,255,.18);
  margin-bottom:10px;
}

/* Two-column split blocks */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}

/* Forms */
form{display:grid; gap:12px}
.row{display:grid; grid-template-columns:1fr 1fr; gap:12px}
input, select, textarea{
  width:100%; padding:12px 12px; border-radius:12px;
  border:1px solid var(--border);
  font:inherit;
  background:#fff;
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color:rgba(8,103,255,.45);
  box-shadow:0 0 0 4px rgba(8,103,255,.10)
}
textarea{min-height:110px; resize:vertical}
.fineprint{font-size:12px; color:var(--muted)}

/* Banner (for inner pages) */
.banner{
  background:var(--bg);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:18px 0;
}
.breadcrumb{font-size:13px; color:var(--muted); font-weight:800}

/* Footer */
footer{
  background:var(--dark);
  color:rgba(255,255,255,.88);
  padding:38px 0;
  margin-top:34px;
}
footer a{color:rgba(255,255,255,.88)}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:18px;
}
.footer-title{font-weight:900; margin-bottom:10px}
.footer-links a{display:block; padding:6px 0; opacity:.92}
.footer-links a:hover{opacity:1; color:var(--white)}

/* Responsive */
@media (max-width: 980px){
  h1{font-size:34px}
  h2{font-size:26px}
  .services-grid{grid-template-columns:1fr}
  .process-grid{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .nav-links{display:none}
  .burger{display:inline-flex}
  .footer-grid{grid-template-columns:1fr}
}
