/* Alex Fix It — core stylesheet */
:root {
  --navy: #0b1220;
  --navy-2: #111c31;
  --ink: #16202f;
  --muted: #5b6b81;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --brand: #1f5eff;
  --brand-dark: #1445c4;
  --accent: #ffb020;
  --ok: #10a37f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 12px 32px -12px rgba(11, 18, 32, .18);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .76rem;
  font-weight: 700; color: var(--brand); margin: 0 0 .6rem;
}
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-size: 1.06rem; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: linear-gradient(145deg, var(--brand), #6f9bff);
  color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(31,94,255,.7);
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 9px;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); background: #eef3ff; }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .96rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(31,94,255,.9); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.2); }
.btn--lg { padding: 15px 26px; font-size: 1.02rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(31,94,255,.35), transparent 65%),
    radial-gradient(700px 380px at 8% 110%, rgba(255,176,32,.16), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 84px 0 88px;
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero .lede { color: #b9c6da; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; color: #cbd6e6; font-size: .93rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.tick { color: var(--accent); font-weight: 800; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card h2 { font-size: 1.05rem; color: #fff; margin-bottom: 14px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; justify-content: space-between; gap: 14px; font-size: .95rem; color: #d7e0ee; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.hero-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card b { color: #fff; white-space: nowrap; }
.hero-note { margin: 16px 0 0; font-size: .82rem; color: #93a4bd; }

/* ---------- trust strip ---------- */
.strip { background: var(--navy-2); color: #c3cfe0; border-top: 1px solid rgba(255,255,255,.08); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; padding: 18px 22px; font-size: .9rem; }
.strip-inner span { display: flex; align-items: center; gap: 8px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: #eef3ff; color: var(--brand); font-size: 1.25rem; margin-bottom: 16px;
}
.card--link { transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.card--link:hover { border-color: #c9d6f5; transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(11,18,32,.28); }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- price table ---------- */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list .name { font-weight: 600; }
.price-list .name small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.price-list .amount { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- quotes ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.quote p { font-size: .98rem; color: var(--ink); }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .88rem; color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #eef3ff; color: var(--brand); display: grid; place-items: center; font-weight: 800; flex: none; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: .96rem; padding-bottom: 8px; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand), #0d3bb0);
  color: #fff; border-radius: 18px; padding: 44px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe5ff; max-width: 56ch; margin: 0 auto 24px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; padding: 12px 14px;
  border: 1px solid #cfd8e5; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(31,94,255,.35); outline-offset: 1px; border-color: var(--brand);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }

/* ---------- contact details ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 40px; height: 40px; border-radius: 10px; background: #eef3ff; color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list strong { display: block; font-size: .95rem; }
.contact-list span, .contact-list a { font-size: .95rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #9fb0c8; padding: 56px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer a { color: #9fb0c8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand small { color: #7e91ab; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }

/* ---------- misc ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: #eaf7f1; color: #0b7a5e; font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.page-head { background: var(--navy); color: #fff; padding: 60px 0; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head .lede { color: #b9c6da; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .hero { padding: 56px 0 62px; }
  .grid--3, .grid--4, .grid--2, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  .header-cta .btn--ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
