:root{
  --bg:#0b0614;
  --bg2:#0e0820;

  --surface:rgba(255,255,255,.05);
  --surface2:rgba(255,255,255,.07);

  --text:#f4f1ff;
  --muted:rgba(255,255,255,.78);

  --brand:#7b4cff;
  --brand2:#5a2fe6;

  --gold: rgba(245, 205, 95, .95);

  --border:rgba(255,255,255,.10);
  --border2:rgba(255,255,255,.14);

  --shadow:0 10px 26px rgba(0,0,0,.35);
  --shadow2:0 16px 40px rgba(0,0,0,.45);

  --radius:16px;
}

*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,var(--bg),var(--bg2));
  color:var(--text);
  text-rendering:optimizeLegibility;
}

a{color:inherit;text-decoration:none}
p{margin:0 0 12px}
ul{margin:0;padding:0}

.container{max-width:1100px;margin:0 auto;padding:0 18px}
.container--wide{max-width:1320px}

/* Accessibility */
.skip-link{
  position:absolute;left:-999px;top:10px;
  padding:10px 12px;border-radius:12px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--border2);
  z-index:100;
}
.skip-link:focus{left:12px}

:focus-visible{
  outline:3px solid rgba(123,76,255,.55);
  outline-offset:3px;
}

/* TOPBAR */
.topbar{
  position:sticky;top:0;z-index:20;
  background:rgba(12,8,24,.90);
  border-bottom:1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.topbar__inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 0;
  gap:14px;
}

/* BRANDING UPGRADE (Topbar) */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  padding:6px 10px;
  border-radius:14px;
  border:1px solid transparent;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.brand:hover{
  background: rgba(255,255,255,.03);
  border-color: rgba(123,76,255,.22);
}
.brand:active{ transform: translateY(1px); }

.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand__name{
  font-weight:950;
  font-size:18px;
  letter-spacing:.2px;
  background: linear-gradient(90deg, rgba(210,190,255,1), var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 24px rgba(123,76,255,.18);
}

.brand__sub{
  margin-top:2px;
  font-size:12px;
  font-weight:850;
  letter-spacing:.22em;
  text-transform:uppercase;
  color: rgba(255,255,255,.78);
}

.brand__logo{
  width:52px;
  height:52px;
  display:block;
  object-fit:contain;
}

.topbar__actions{
  display:flex;align-items:center;gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end
}
.topbar__phone{
  font-weight:900;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  transition:background .15s ease,border-color .15s ease, transform .08s ease;
}
.topbar__phone:hover{border-color:rgba(123,76,255,.35);background:rgba(255,255,255,.06)}
.topbar__phone:active{transform:translateY(1px)}

/* BUTTONS */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;
  border:1px solid var(--border);
  font-weight:900;letter-spacing:.2px;
  transition:transform .08s ease, opacity .15s ease, border-color .15s ease, background .15s ease;
  user-select:none;
}
.btn:active{transform:translateY(1px)}
.btn--sm{padding:10px 14px;border-radius:12px}

.btn--primary{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  border-color:rgba(255,255,255,.16);
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}
.btn--primary:hover{opacity:.96}

.btn--outline{
  background:transparent;
  border-color:rgba(255,255,255,.20);
}
.btn--outline:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(123,76,255,.35);
}

.btn--ghost{background:rgba(255,255,255,.06)}
.btn--ghost:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(123,76,255,.25);
}
.btn--full{width:100%}

/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  padding:56px 0 40px;
}
.hero__bg{
  position:absolute;inset:0;
  background-image:
    radial-gradient(900px 520px at 40% 30%, rgba(0,0,0,.35), rgba(0,0,0,.72)),
    linear-gradient(180deg, rgba(11,6,20,.55), rgba(11,6,20,.92)),
    url("assets/background3.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:saturate(1.02) contrast(1.05);
  transform:scale(1.02);
}
.hero__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}
.hero__left{padding-top:6px}

.kicker{
  margin:0 0 10px;
  font-weight:900;
  color:rgba(255,255,255,.85);
  letter-spacing:.22px;
  text-transform:uppercase;
  font-size:12px;
}
.hero__title{
  margin:0 0 14px;
  font-size:clamp(30px,4.2vw,52px);
  line-height:1.05;
  max-width: 760px;
}
.hero__sub{
  margin:0 0 14px;
  color:rgba(255,255,255,.86);
  line-height:1.55;
  font-size:clamp(16px,1.65vw,19px);
  max-width: 820px;
}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap}

.hero__meta{
  margin:10px 0 0;
  color:rgba(255,255,255,.78);
  font-weight:800;
  font-size:13px;
}

/* hero lines (fast quote + guarantee) */
.hero__lines{ margin-top:12px; }
.hero__line{
  margin:8px 0 0;
  color:rgba(255,255,255,.80);
  font-weight:750;
  line-height:1.45;
  font-size:14px;
}
.hero__line strong{ color:rgba(255,255,255,.92); }

/* Hero quote card */
.hero__card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  box-shadow:var(--shadow2);
  padding:16px;
}
.hero__cardTitle{margin:0 0 6px;font-size:18px}
.hero__cardSub{
  margin:0 0 14px;
  color:rgba(255,255,255,.82);
  line-height:1.45;
  font-weight:700;
}
.hero__cardActions{display:grid;gap:10px;margin-bottom:12px}
.hero__badges{display:flex;gap:8px;flex-wrap:wrap}
.hero__badges span{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  font-weight:900;
  font-size:12px;
  color:rgba(255,255,255,.80);
}

/* SECTIONS */
.section{padding:46px 0}
.section--muted{background:linear-gradient(180deg, rgba(255,255,255,.03), transparent)}
.section--plate{
  background: rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.section__title{margin:0;font-size:28px;letter-spacing:.2px}
.section__sub{
  margin:0;
  color:rgba(255,255,255,.78);
  max-width:520px;
  line-height:1.5;
  font-weight:700;
  font-size:14px;
}

/* NEW: stacked section head (used in How It Works) */
.section__head--stack{
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}
.section__head--stack .section__sub{max-width:720px}

/* SERVICES */
.grid{display:grid;gap:14px}
.grid--services{
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}


.card{
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
}
.card:hover{
  transform:translateY(-3px);
  border-color:rgba(123,76,255,.30);
  background:rgba(255,255,255,.075);
}
.card__photo{
  width:100%;
  height:160px;
  display:block;
  object-fit:cover;
  object-position:center;
  border-bottom:1px solid var(--border);
}
.card__body{padding:14px 12px 16px}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:rgba(255,255,255,.82);line-height:1.45;font-size:14px}

.card__bullets{
  margin:10px 0 0;
  padding-left:18px;
  color:rgba(255,255,255,.80);
  font-weight:700;
  font-size:13px;
  line-height:1.45;
}
.card__bullets li{margin:6px 0}

.services-note{
  text-align:center;
  max-width:960px;
  margin:16px auto 0;
  color:rgba(255,255,255,.78);
  font-weight:800;
  font-size:13px;
}

/* STEPS (base) */
.steps{display:grid;gap:14px;grid-template-columns:repeat(3,1fr);position:relative}
.steps--line:before{
  content:"";
  position:absolute;
  left:22px; right:22px;
  top:28px;
  height:1px;
  background:rgba(255,255,255,.10);
}

/* NEW: How It Works “flow” layout (single-row on desktop) */
.steps--flow{
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:12px;
  align-items:stretch;
}

/* Step card upgrade (still compatible with other step layouts) */
.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
  position:relative;
  overflow:hidden;
}
.step:hover{
  transform:translateY(-2px);
  border-color:rgba(123,76,255,.30);
  background:rgba(255,255,255,.075);
}

/* Subtle top sheen for a more “premium” look */
.step::after{
  content:"";
  position:absolute;
  inset:-1px -1px auto -1px;
  height:46px;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0));
  pointer-events:none;
  opacity:.55;
}

.step__num{
  width:40px;height:40px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(123,76,255,.35), rgba(90,47,230,.18));
  border:1px solid rgba(123,76,255,.45);
  font-weight:950;
  box-shadow: 0 12px 22px rgba(0,0,0,.28);
  flex:0 0 auto;
}

.step__content{position:relative; z-index:1;}
.step__content h3{margin:0 0 6px}
.step__content p{margin:0;color:rgba(255,255,255,.82);line-height:1.45}

/* Flow connectors (desktop only; avoids weirdness when wrapping) */
@media (min-width: 1060px){
  .steps--flow .step:not(:last-child)::before{
    content:"";
    position:absolute;
    right:-10px;
    top:50%;
    width:18px;height:18px;
    transform:translateY(-50%) rotate(45deg);
    background:rgba(255,255,255,.055);
    border-right:1px solid rgba(255,255,255,.14);
    border-top:1px solid rgba(255,255,255,.14);
    border-radius:4px;
    box-shadow: 0 10px 18px rgba(0,0,0,.22);
    z-index:2;
  }
}

/* RATES */
.rates{
  margin:18px auto 0;
  max-width:980px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
}
.rates strong{padding-right:6px}
.rates span{color:rgba(255,255,255,.82);font-weight:800}
.rates em{
  font-style:normal;
  opacity:.78;
  font-weight:700;
  margin-left:6px;
}
.rates-note{
  max-width:980px;
  margin:10px auto 0;
  text-align:center;
  color:rgba(255,255,255,.76);
  font-weight:800;
  font-size:13px;
  line-height:1.4;
}

/* FAQ */
.faq{display:grid;gap:10px}
.faq__item{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px 12px;
}
.faq__item summary{
  cursor:pointer;
  font-weight:900;
  color:rgba(255,255,255,.92);
}
.faq__item p{
  margin:10px 0 0;
  color:rgba(255,255,255,.82);
  line-height:1.5;
  font-weight:700;
}

/* FORM */
#quote{scroll-margin-top:90px}
.form-wrap{
  max-width:760px;
  margin:0 auto;
  background:rgba(255,255,255,.06);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:18px;
}
label{display:block;margin:12px 0 0;font-weight:900}

input,textarea,select{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(10,6,20,.55);
  color:var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(255,255,255,.55)}

select{
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.70) 50%),
    linear-gradient(135deg, rgba(255,255,255,.70) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 2px),
    calc(100% - 12px) calc(50% + 2px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:34px;
}

input:focus,textarea:focus,select:focus{border-color:rgba(123,76,255,.55)}
.hidden{display:none}

.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}

.trust{
  display:flex;gap:12px;flex-wrap:wrap;
  justify-content:center;margin-top:12px;
  color:rgba(255,255,255,.82);
  font-weight:900;
}

.form-note{
  margin:12px 0 0;
  text-align:center;
  color:rgba(255,255,255,.78);
  font-weight:750;
  font-size:13px;
}
.form-note a{text-decoration:underline}

/* TRUST + REVIEWS (BOTTOM) */
.trustbar__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.trustbar__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tbadge{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.84);
  font-weight:900;
  font-size:12px;
  letter-spacing:.01em;
}
.trustbar__meta{
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,.78);
  font-weight:900;
  font-size:13px;
}
.trustbar__link{
  text-decoration:underline;
  text-underline-offset:3px;
}

.trustbar__reviews{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.review{
  margin:0;
  padding:14px 14px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.review__stars{
  display:inline-flex;
  gap:2px;
  font-size:14px;
  letter-spacing:1px;
  margin-bottom:10px;
  color:var(--gold);
  text-shadow: 0 8px 18px rgba(245,205,95,.10);
}

.review blockquote{
  margin:0;
  color:rgba(255,255,255,.86);
  line-height:1.55;
  font-weight:750;
  font-size:14px;
}

.review__who{
  margin-top:10px;
  color:rgba(255,255,255,.72);
  font-weight:900;
  font-size:12px;
  letter-spacing:.02em;
}

/* FOOTER */
.footer-note{text-align:center;color:rgba(255,255,255,.78);margin-top:16px}
.footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  background:rgba(255,255,255,.02);
}
.footer__inner{
  display:flex;justify-content:space-between;gap:12px;
  flex-wrap:wrap;color:rgba(255,255,255,.78);
  align-items:center;
}

.nap{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  color:rgba(255,255,255,.78);
  font-weight:800;
}
.nap a{text-decoration:underline}

/* STICKY CTA (mobile) */
.sticky-cta{display:none}

@media (max-width: 760px){
  .sticky-cta{
    position:fixed;
    left:12px; right:12px; bottom:12px;
    display:grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap:10px;
    z-index:60;
  }

  .sticky-cta__btn{
    padding:14px 12px;
    border-radius:14px;
    text-align:center;
    font-weight:950;
    border:1px solid rgba(255,255,255,.16);
    background: rgba(10, 6, 20, .74);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
  }

  .sticky-cta__btn--primary{
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    border-color: rgba(255,255,255,.18);
  }

  body{ padding-bottom: 96px; }
}


/* RESPONSIVE */
@media (max-width: 1100px){
  .hero__grid{grid-template-columns:1fr}
  .hero__card{max-width:520px}
  .grid--services{grid-template-columns:repeat(3,1fr)}

  /* keep How It Works from collapsing too hard */
  .steps--flow{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .steps--line:before{display:none}

  .section__head{flex-direction:column;align-items:flex-start}
  .section__sub{max-width:680px}

  /* reviews: 2 columns on tablet */
  .trustbar__reviews{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width: 760px){
  .grid--services{grid-template-columns:repeat(2,1fr)}
  .form-grid{grid-template-columns:1fr}
  .card__photo{height:150px}

  /* How It Works: single column on mobile */
  .steps--flow{grid-template-columns:1fr}

  /* reviews: stack on mobile */
  .trustbar__reviews{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .grid--services{grid-template-columns:1fr}
  .topbar__actions{gap:8px}
}

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

input[type="file"]{
  padding:10px;
  cursor:pointer;
}
input[type="file"]::file-selector-button{
  margin-right:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:900;
}
input[type="file"]::file-selector-button:hover{
  border-color: rgba(123,76,255,.35);
  background: rgba(255,255,255,.08);
}
