:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:rgba(15,23,42,.08);
  --primary:#2563eb;
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{
  font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}
.title,
.h2,
.cardTitle{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
text-transform: uppercase;
letter-spacing: .07em;
font-weight: 400;
}

a{color:inherit}
.container{max-width:1120px;margin:0 auto;padding:26px}

.page{
  min-height:100vh;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(37,99,235,.10), rgba(255,255,255,0) 55%),
    radial-gradient(900px 520px at 0% 20%, rgba(15,23,42,.06), rgba(255,255,255,0) 55%),
    radial-gradient(900px 520px at 100% 25%, rgba(15,23,42,.05), rgba(255,255,255,0) 55%);
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(2,6,23,.05);
}

.brand{
  font-weight:900;
  letter-spacing:.18em;
  text-decoration:none;
  font-size:18px;
  opacity:.9;
}

.nav{display:flex;align-items:center;gap:18px}
.navlink{opacity:.75;text-decoration:none;font-weight:650}
.navlink:hover{opacity:1}

.lang{display:flex;align-items:center;gap:10px;font-weight:750;margin-left:6px}
.langlink{text-decoration:none;opacity:.55}
.langlink.active{opacity:1}
.langsep{opacity:.25}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  padding:10px 14px;
  font-weight:500;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
.button.primary{
  background:#178ffb;
  color:#fff;
  box-shadow: 0 10px 25px rgba(37,99,235,.22);
  border:1px solid rgba(23,143,251,.25); /* equal border math vs ghost */
}
.button.primary:hover{filter:brightness(0.98)}
.button.ghost{
  background:rgba(255,255,255,.65);
  border:1px solid var(--border);
  color:var(--text);
}
.button.ghost:hover{background:#fff}

.leadStartBtn{
  padding:14px 22px;
  font-size:15px;
  font-weight:700;
}

.hidden{display:none}

.hero{
  display:grid;
  grid-template-columns: 1.25fr 0.55fr;
  gap:34px;
  margin-top:28px;
  align-items:center;
}

.title{
  letter-spacing:-0.03em;
  margin:0;
  font-size:56px;
  line-height:1.02;
  letter-spacing:-.02em;
}

.hero .title{
  font-family: 'Tenor Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 400;
}

.subtitle{
  margin:10px 0 0;
  font-size:20px;
  color:rgba(15,23,42,.75);
  font-weight:400;
}

.lead{
  margin:18px 0 0;
  color:var(--muted);
  font-size:16.5px;
  line-height:1.7;
  max-width:58ch;
}

.actions{display:flex;gap:12px;align-items:center;margin-top:18px;flex-wrap:wrap}

.miniProof{
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}
.miniItem{
  background:rgba(255,255,255,.65);
  border:1px solid var(--border);
  border-radius:14px;
  padding:20px 18px;
  min-width:170px;
}
.miniTop{font-weight:850;font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.65}
.miniBottom{margin-top:4px;color:rgba(15,23,42,.75);font-weight:400;font-size:13px}

.heroRight{
  display:flex;
  justify-content:flex-end;
}

.portraitWrap{
  position:relative;
  width:100%;
  max-width:460px;
  aspect-ratio:4/5;
  border-radius:26px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--border);
}

.portrait{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.portraitWrap::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to bottom,
      rgb(255 255 255 / 18%),
      rgb(255 229 169 / 2%)
    );
  pointer-events:none;
}

.section{margin-top:34px}
.h2{margin:0 0 14px;font-size:26px;letter-spacing:-.01em}

.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  background:rgba(255,255,255,.70);
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px;
  box-shadow: 0 8px 22px rgba(2,6,23,.04);
}
.cardIcon{
  color: rgb(81 81 81);
  height:52px;
  width:52px;
  border-radius:12px;
  margin-bottom:12px;
  position:relative;
}

/* stack the two SVGs */
.cardIcon svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.iconBase {
  z-index: 1;
}

.iconOverlay {
  z-index: 2;
  transition: opacity .2s ease, transform .2s ease;
}

.card:hover .iconOverlay {
  opacity: 0;
  transform: scale(0.96);
}

.cardTitle{margin:0 0 6px;font-size:16px;font-weight:500}
.cardDesc{margin:0;color:var(--muted);line-height:1.55;font-size:14.5px}

.servicesGrid{
  display:grid;
  grid-template-columns: 1fr .95fr;
  gap:18px;
  align-items:start;
}

.serviceList{
  background:rgba(255,255,255,.70);
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  height: 325px;
}

.checkItem{
  padding:10px 10px 10px 36px;
  position:relative;
  border-bottom:1px solid rgba(15,23,42,.06);
  color:rgba(15,23,42,.78);
  font-weight:400;
}
.checkItem:last-child{border-bottom:none}
.checkItem::before{
  content:"✓";
  position:absolute;
  left:12px;
  top:10px;
  font-weight:900;
  color:rgba(37,99,235,.95);
}

.contactCard{
  background:rgba(255,255,255,.80);
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  box-shadow: 0 10px 28px rgba(2,6,23,.05);
  height:325px;
  display:flex;
  flex-direction:column;
}

.contactTitle{font-weight:950;font-size:18px}
.contactText{margin-top:8px;color:var(--muted);line-height:1.6}
.contactForm{display:flex;gap:10px;align-items:center;margin-top:14px;flex-wrap:wrap}

.input{
  flex:1;
  min-width:220px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  outline:none;
  background:#fff;
}
.input:focus{border-color:rgba(37,99,235,.35)}
.contactHint{margin-top:12px;color:rgba(15,23,42,.65);font-size:14px}
.muted{color:var(--muted)}

#leadStatus{
  position:absolute;
  left:22px;
  right:22px;
  bottom:-10px;
  line-height:18px;
  font-size:11px;
  color:rgba(15,23,42,.75);
  font-weight:650;
  min-height:18px;
  opacity:0;
  transition:opacity .15s ease;
}
#leadStatus.active{opacity:1;}


.footer{
  width:100%;
  margin-top:34px;
  padding:1px 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:rgba(15,23,42,.55);
  font-weight:500;
}
.footerLinks a{text-decoration:none;opacity:.75}
.footerLinks a:hover{opacity:1}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr}
  .heroRight{justify-content:flex-start}
  .title{font-size:44px}
  .cards3{grid-template-columns:1fr}
  .servicesGrid{grid-template-columns:1fr}
  .nav{gap:12px;flex-wrap:wrap;justify-content:flex-end}
}

/* ---------------- Wizard (clean, stable) ---------------- */

.contactWizard{
  margin-top:14px;
  flex:1;
  display:flex;
  flex-direction:column;
}

/* steps */
.step{display:none}
.step.active{display:block}

.stepTitle{
  margin:6px 0 10px;
  font-weight:900;
  letter-spacing:-.01em;
}
.micro{
  margin-top:10px;
  font-size:13px;
  color:rgba(15,23,42,.62);
}

/* dots */
.dots{
  display:flex;
  gap:8px;
  align-items:center;
  margin-bottom:10px;
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.18);
  background:rgba(255,255,255,.7);
  transition:transform .15s ease, opacity .15s ease;
  opacity:.55;
}
.dot.active{
  background:rgba(23,143,251,.95);
  border-color:rgba(23,143,251,.35);
  opacity:1;
  transform:scale(1.05);
}
.dot.done{
  background:rgba(23,143,251,.25);
  border-color:rgba(23,143,251,.25);
  opacity:.95;
}

/* pills */
.pillGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 520px){
  .pillGrid{grid-template-columns:1fr}
}

.pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.85);
  cursor:pointer;
  user-select:none;
  font-weight:400;
  color:rgba(15,23,42,.86);
}
.pill input{accent-color: var(--primary)}
.pill.check input{transform:scale(1.02)}
.pill:has(input:checked){
  border-color: rgba(23,143,251,.35);
  background: rgba(23,143,251,.10);
}

/* step-specific pills */
.step[data-step="1"] .pillGrid{grid-template-columns:1fr}
.step[data-step="1"] .pill{
  width:100%;
  justify-content:flex-start;
  padding:16px 18px;
  font-size:15px;
}
.step[data-step="2"] .pill{padding:5px 14px}

/* intro screen */
.wizardIntro{display:none}
.wizardIntro.active{display:block}
.introBadge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(23,143,251,.10);
  color: rgba(15,23,42,.85);
  font-weight:750;
  margin-bottom:10px;
  border:1px solid rgba(23,143,251,.18);
}
.introTitle{
  font-size:18px;
  font-weight:900;
  letter-spacing:-.01em;
  margin-bottom:8px;
}
.introText{
  color: rgba(15,23,42,.68);
  line-height:1.45;
  margin-bottom:14px;
}
.introFine{
  margin-top:28px;
  margin-bottom:5px;
  font-size:13px;
  color: rgba(15,23,42,.55);
}

/* step 3 layout */
.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 640px){
  .twoCol{grid-template-columns:1fr}
}

/* flow wrapper */
.wizardFlow{display:none}
.wizardFlow.active{
  display:block;
  position:relative; /* anchor footer */
  flex:1;
  min-height:0;
}

/* fixed footer buttons, never move */
.wizardControls{
  position:absolute;
  left:22px;
  right:22px;
  bottom:18px;
  display:flex;
  gap:10px;
  align-items:center;
}

/* NOT flexible buttons */
.wizardControls .button{
  flex:0 0 auto;
  width:calc(50% - 5px);
  height:44px;
  padding:0 16px;
  border-width:1px;
  box-sizing:border-box;
}

/* Mobile tightening */
@media (max-width: 520px){
  .contactCard{ padding:16px; }

  .wizardControls{
    left:16px;
    right:16px;
    bottom:16px;
    gap:8px;
  }

  .wizardControls .button{
    height:42px;
    padding:0 12px;
    font-size:14px;
  }

  .pill{
    padding:10px 12px;
    font-size:14px;
  }

  .step[data-step="2"] .pill{
    padding:8px 12px;
  }

  .input{
    min-width:0;
    width:100%;
  }
}
.textarea{
  border-radius:14px;
  resize:none;
  line-height:1.1;
  padding:12px 14px;
}
.textarea.full{
  width:100%;
}
.altContact{
  margin-top:-1px;
  font-size:14px;
}
.topLine{
  margin-top:10px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.55);
  color:rgba(15,23,42,.68);
  font-weight:650;
  font-size:13.5px;
}
.howWorks{
  margin:16px 0 8px;
  display:flex;
  gap:10px;
}

.howItem{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  color:rgba(15,23,42,.7);
  font-weight:400;
}

.howNum{
  width:22px;
  height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:400;
  border:1px solid rgb(23 143 251);
  color:rgba(15,23,42,.8);
  flex:0 0 auto;
}
.footerMicro{
  margin-top:6px;
  font-size:12.5px;
  color:rgba(15,23,42,.45);
  font-weight:650;
}
.formPrivacyNote{
  grid-column: 2;
  margin-top:8px;
  margin-left:25px;
  font-size:12.5px;
  color:rgba(15,23,42,.5);
}

.formPrivacyNote a{
  text-decoration:underline;
}

@media (max-width: 980px){
  .formPrivacyNote{
    grid-column: 1;
  }
}
.cardIcon img{
  width:28px;
  height:28px;
  opacity:.8;
}
/* ---------- About page adjustments ---------- */

.page-about .serviceList{
  height:auto;
  padding:26px;
}

.page-about .contactCard{
  height:auto;
  padding:26px;
}
/* ---------- Legal pages (Privacy / Terms) ---------- */

.page-legal .legalCard{
  background:rgba(255,255,255,.80);
  border:1px solid var(--border);
  border-radius:18px;
  padding:26px;
  box-shadow: 0 10px 28px rgba(2,6,23,.05);
}

.page-legal .legalCard h1{
  margin:0;
}

.page-legal .legalCard h2{
  margin:18px 0 10px;
  font-size:18px;
}

.page-legal .legalCard p,
.page-legal .legalCard li{
  color:var(--muted);
  line-height:1.75;
  font-size:15px;
}

.page-legal .legalCard ul{
  margin:10px 0 0 18px;
}
/* --- Mobile fixes for Services + Contact block --- */
@media (max-width: 520px){
  /* remove fixed heights so content can flow */
  .serviceList,
  .contactCard{
    height: auto;
  }

  /* make CTA button full width */
  .leadStartBtn{
    width: 100%;
  }

  /* stack the "1-2-3" how it works row */
  .howWorks{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .howItem{
    width: 100%;
  }

  /* privacy note alignment */
  .formPrivacyNote{
    margin-left: 0;
  }
}
/* Fix wizard overlap: don't pin controls on mobile */
@media (max-width: 520px){
  .wizardFlow{
    position: static;   /* undo anchor */
  }

  .wizardControls{
    position: static;   /* stop overlaying content */
    margin-top: 12px;
    left: auto;
    right: auto;
    bottom: auto;
    flex-direction: column;
    gap: 10px;
  }

  .wizardControls .button{
    width: 100%;
  }

  /* optional: give a little breathing room */
  .step{
    padding-bottom: 0;
  }
}
/* Hide lead status on mobile */
@media (max-width: 520px){
  #leadStatus{
    display: none !important;
  }
}


