:root {
  --navy: #06111f;
  --navy-2: #081a2d;
  --navy-3: #0b2947;
  --blue: #168cff;
  --blue-dark: #0874e6;
  --ink: #f2f7fc;
  --muted: #9db0c4;
  --line: rgba(144, 174, 203, .16);
  --paper: #06111f;
  --soft: #091827;
  --sky: rgba(22, 140, 255, .12);
  --card: #0a1a2b;
  --card-2: #0c2035;
  --input: #071522;
  --shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }

.container { width: min(1600px, calc(100% - 64px)); margin: 0 auto; }

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.header-inner {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.header-brand {
  flex: 0 0 auto;
  width: min(610px, 46vw);
}

.header-brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .97;
}

/* Preserve the approved white/cyan Two Brothers Solutions artwork on the public site. */
.header-brand img.brand-logo-services,
.header-brand img.brand-logo-solutions {
  filter: none;
  opacity: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: .95rem;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 59px 0 53px;
  color: rgba(255,255,255,.91);
  transition: color .18s ease;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 37px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width .18s ease;
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a.active { color: #fff; }
.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a.active::after { width: 100%; }

.nav-cta {
  min-height: 54px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 13px 30px rgba(17,136,255,.28);
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(17,136,255,.35); }
.nav-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: white; margin: 5px 0; border-radius: 99px; }

/* ===== Hero modeled after the reference ===== */
.hero {
  position: relative;
  min-height: 475px;
  overflow: hidden;
  background: #0b3f72;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  background-image: url("assets/reference-house-hero.png");
  background-size: cover;
  background-position: center;
  filter: brightness(.72) saturate(.92);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(4, 42, 79, .92) 0%,
      rgba(5, 60, 109, .90) 29%,
      rgba(6, 72, 130, .78) 44%,
      rgba(8, 90, 159, .28) 59%,
      rgba(7, 74, 129, .03) 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 525px;
  display: flex;
  align-items: center;
  padding-top: 112px;
}

.hero-copy {
  width: min(650px, 54%);
  color: white;
  padding: 132px 0 56px;
}

.hero-kicker {
  margin-bottom: 16px;
  color: rgba(255,255,255,.94);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .105em;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(3.1rem, 4.6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-shadow: 0 3px 18px rgba(0,0,0,.12);
}

.hero-copy > p {
  max-width: 565px;
  margin: 22px 0 30px;
  color: rgba(255,255,255,.92);
  font-size: 1.13rem;
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: 0 13px 30px rgba(0, 78, 169, .28); }
.btn-primary:hover { background: linear-gradient(135deg, #2397ff, #0c7cf0); }
.btn-outline { color: #fff; border: 1.5px solid rgba(255,255,255,.75); background: rgba(4,31,58,.20); }
.btn-outline:hover { background: rgba(255,255,255,.10); }

/* ===== Trust strip ===== */
.trust-strip {
  background: #081522;
  border-top: 1px solid rgba(144,174,203,.10);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  min-height: 104px;
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.trust-icon { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; color: var(--blue); }
.trust-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { font-size: .96rem; line-height: 1.3; }
.trust-item div > span { margin-top: 4px; color: #76879a; font-size: .8rem; line-height: 1.35; }

/* ===== Content sections ===== */
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; margin-bottom: 16px; }
.section h2, .estimate-section h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.055em; line-height: .98; }
.section-heading p { color: var(--muted); font-size: 1.05rem; margin-top: 20px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.service-card { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: var(--card); min-height: 330px; display: flex; flex-direction: column; box-shadow: 0 16px 38px rgba(0,0,0,.12); }
.service-card.featured { background: var(--card-2); border-color: rgba(79,166,255,.34); box-shadow: 0 18px 42px rgba(0,0,0,.20), 0 0 0 1px rgba(22,140,255,.04) inset; }
.service-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-size: 1.35rem; margin-bottom: 28px; }
.service-tag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.service-card h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.03em; }
.service-card p { color: var(--muted); font-size: .92rem; }
.service-card ul { margin: auto 0 0; padding-left: 18px; color: #b1c1d1; font-size: .88rem; }
.service-card li { margin: 6px 0; }
.muted-card { background: #081624; }
.muted-card .service-tag { color: #7f94a8; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 16px 38px rgba(0,0,0,.12); }
.step-number { color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.step-card h3 { font-size: 1.15rem; margin: 50px 0 10px; }
.step-card p { color: var(--muted); margin: 0; font-size: .92rem; }

.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.feature-list { border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.feature-row > span { color: var(--blue); font-size: .76rem; font-weight: 800; }
.feature-row strong { font-size: 1.03rem; }
.feature-row p { margin: 5px 0 0; color: var(--muted); font-size: .92rem; }

/* ===== Estimate ===== */
.estimate-section { padding: 20px 0 100px; background: var(--paper); }
.estimate-card {
  background:
    radial-gradient(circle at 90% 20%, rgba(17,136,255,.17), transparent 28%),
    linear-gradient(135deg, #071c33 0%, #0a3156 100%);
  color: white;
  border-radius: 28px;
  padding: 54px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  box-shadow: 0 30px 80px rgba(8,26,47,.22);
}
.eyebrow.light { color: #80c4ff; }
.estimate-copy p { color: #bdd0e2; max-width: 460px; }
.estimate-form { background: #081827; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 18px 50px rgba(0,0,0,.20); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.estimate-form label { display: block; margin-bottom: 14px; }
.estimate-form label[hidden] { display: none !important; }
.estimate-form label span { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 7px; color: #c0cfdd; }
.estimate-form input, .estimate-form select, .estimate-form textarea {
  width: 100%;
  border: 1px solid rgba(144,174,203,.20);
  background: var(--input);
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--ink);
  outline: none;
}
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17,136,255,.11); }
.btn-form { width: 100%; color: white; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.form-note { margin: 10px 0 0; color: #7f95aa; font-size: .76rem; text-align: center; }

/* ===== Footer ===== */
.site-footer {
  color: white;
  background:
    radial-gradient(circle at 10% 20%, rgba(17,136,255,.15), transparent 27%),
    radial-gradient(circle at 88% 84%, rgba(17,136,255,.09), transparent 25%),
    linear-gradient(135deg, #04101d 0%, #071b30 55%, #030b14 100%);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr .7fr 1fr .8fr;
  gap: 58px;
  padding-top: 58px;
  padding-bottom: 48px;
}
.footer-brand-block { min-width: 0; }
.footer-brand { display: inline-block; width: min(540px, 100%); margin-bottom: 18px; }
.footer-brand img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.footer-brand img.brand-logo-services,
.footer-brand img.brand-logo-solutions { filter: none; }
.footer-brand-block > p { max-width: 520px; margin: 0; color: #abc2d7; font-size: .9rem; line-height: 1.65; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-column h3 { margin: 8px 0 10px; font-size: .92rem; }
.footer-column a, .footer-column > span { color: #abc2d7; font-size: .87rem; transition: color .18s ease; }
.footer-column a:hover { color: white; }
.footer-column small { margin-left: 5px; color: #61b5ff; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-connect p { margin: 0 0 9px; color: #abc2d7; font-size: .86rem; }
.footer-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border-radius: 10px;
  color: white !important;
  background: rgba(17,136,255,.18);
  border: 1px solid rgba(93,180,255,.28);
  font-weight: 700;
}
.footer-cta:hover { background: rgba(17,136,255,.27); }
.footer-bottom {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(166,199,229,.20);
  color: #7897b2;
  font-size: .76rem;
}
.footer-tagline { font-style: italic; color: #7395b5; }

/* ===== Wide-screen fitment ===== */
@media (min-width: 1500px) {
  .header-inner { min-height: 154px; }
  .header-brand { width: min(600px, 38vw); }
  .main-nav { gap: 30px; }

  .hero-inner {
    min-height: 540px;
    padding-top: 106px;
  }

  .hero-copy {
    width: min(690px, 46%);
    padding-top: 128px;
  }

  .hero-photo {
    width: 61%;
  }
}

@media (min-width: 1800px) {
  .container { width: min(1680px, calc(100% - 88px)); }
  .header-brand { width: 620px; }
  .hero-copy { width: 700px; }
}

/* ===== Responsive ===== */
@media (max-width: 1220px) {
  .container { width: min(1180px, calc(100% - 48px)); }
  .header-inner { min-height: 132px; gap: 26px; }
  .header-brand { width: min(480px, 41vw); }
  .main-nav { gap: 22px; font-size: .88rem; }
  .main-nav > a:not(.nav-cta) { padding-top: 49px; padding-bottom: 45px; }
  .main-nav > a:not(.nav-cta)::after { bottom: 29px; }
  .nav-cta { padding: 0 16px; }
  .trust-item { padding-left: 14px; padding-right: 14px; }
  .footer-main { gap: 34px; grid-template-columns: 1.25fr .75fr 1fr .85fr; }
}

@media (max-width: 980px) {
  .header-inner { min-height: 96px; }
  .header-brand { width: 360px; max-width: calc(100% - 70px); }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 102px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 15px;
    background: linear-gradient(145deg, #071e36, #0a2c4e);
    border: 1px solid rgba(116,177,231,.18);
    box-shadow: 0 22px 50px rgba(2,15,29,.36);
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 12px 11px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 4px; justify-content: center; }

  .hero { min-height: 520px; }
  .hero-inner { min-height: 540px; padding-top: 82px; }
  .hero-photo { width: 70%; opacity: .88; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(4,42,79,1) 0%, rgba(5,60,109,.98) 44%, rgba(5,61,110,.76) 63%, rgba(7,74,129,.20) 100%);
  }
  .hero-copy { width: min(650px, 72%); padding-top: 112px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section, .estimate-card { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-connect { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 82px; }
  .header-brand { width: 285px; }
  .main-nav { top: 88px; left: 14px; right: 14px; }

  .hero { min-height: 590px; }
  .hero-inner { min-height: 610px; padding-top: 74px; }
  .hero-photo { inset: auto 0 0 0; width: 100%; height: 49%; background-position: center 34%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4,42,79,1) 0%, rgba(5,60,109,1) 48%, rgba(5,60,109,.83) 67%, rgba(5,60,109,.30) 100%);
  }
  .hero-inner { align-items: flex-start; }
  .hero-copy { width: 100%; padding: 64px 0 0; }
  .hero-kicker { font-size: .78rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .hero-copy > p { max-width: 520px; font-size: 1rem; }
  .hero-actions .btn { min-height: 51px; }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 90px; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .step-card h3 { margin-top: 34px; }
  .estimate-card { padding: 30px 20px; border-radius: 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 46px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-connect { grid-column: auto; }
  .footer-bottom { min-height: auto; padding: 24px 0 28px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .header-brand { width: 240px; }
  .hero { min-height: 625px; }
  .hero-inner { min-height: 660px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-block { grid-column: auto; }
}

/* Transparent header refinement */
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 18, 35, .24) 0%, rgba(2, 18, 35, .08) 58%, rgba(2, 18, 35, 0) 100%);
}
.header-inner, .main-nav, .menu-toggle { position: relative; z-index: 1; }


/* ===== Dark theme polish ===== */
body {
  background:
    radial-gradient(circle at 82% 18%, rgba(22,140,255,.035), transparent 24%),
    var(--paper);
}

.section:not(.section-soft) {
  background: var(--paper);
}

.section-soft {
  background:
    radial-gradient(circle at 15% 10%, rgba(22,140,255,.035), transparent 30%),
    var(--soft);
}

.service-card,
.step-card,
.estimate-form {
  color: var(--ink);
}

.service-card h3,
.step-card h3,
.feature-row strong,
.trust-item strong,
.section h2 {
  color: #f6f9fd;
}

.trust-item div > span,
.section-heading p,
.step-card p,
.feature-row p,
.service-card p {
  color: var(--muted);
}

.feature-list {
  border-top-color: var(--line);
}

.estimate-form input::placeholder,
.estimate-form textarea::placeholder {
  color: #61788e;
}

.estimate-form select {
  color-scheme: dark;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.estimate-form input:hover,
.estimate-form select:hover,
.estimate-form textarea:hover {
  background: #091a2a;
  border-color: rgba(144,174,203,.30);
}

/* ===== Multi-step estimate wizard ===== */
.estimate-wizard-shell {
  align-items: start;
}

.estimate-progress {
  display: flex;
  align-items: flex-start;
  width: min(430px, 100%);
  margin-top: 34px;
}

.progress-step {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #7892aa;
  transition: color .22s ease;
}

.progress-step > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(154,190,223,.28);
  background: rgba(2,16,29,.34);
  font-size: .78rem;
  font-weight: 800;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.progress-step small {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.progress-step.active,
.progress-step.complete { color: #dff0ff; }

.progress-step.active > span {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(22,140,255,.12);
}

.progress-step.complete > span {
  color: #9bd2ff;
  border-color: rgba(70,164,247,.58);
  background: rgba(22,140,255,.13);
}

.progress-line {
  height: 1px;
  flex: 1 1 auto;
  margin: 17px 10px 0;
  background: rgba(154,190,223,.20);
}

.wizard-form {
  min-height: 525px;
  overflow: hidden;
}

.wizard-step {
  animation: wizardIn .28s ease both;
}

.wizard-step[hidden] { display: none !important; }

@keyframes wizardIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.wizard-step-header {
  margin-bottom: 24px;
}

.wizard-step-label {
  display: block;
  margin-bottom: 8px;
  color: #72bbff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.wizard-step-header h3 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -.035em;
}

.wizard-step-header p {
  margin: 7px 0 0;
  color: #869eb4;
  font-size: .9rem;
}

.service-choice-grid {
  display: grid;
  gap: 12px;
}

.service-choice {
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border: 1px solid rgba(144,174,203,.18);
  border-radius: 16px;
  color: #edf7ff;
  text-align: left;
  background: linear-gradient(145deg, rgba(13,34,55,.88), rgba(8,25,41,.94));
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.service-choice:hover,
.service-choice:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(77,170,255,.65);
  background: linear-gradient(145deg, rgba(16,45,73,.94), rgba(9,29,48,.98));
  box-shadow: 0 14px 30px rgba(0,0,0,.20), 0 0 0 3px rgba(22,140,255,.07);
  outline: none;
}

.choice-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #76c1ff;
  background: rgba(22,140,255,.12);
  font-size: 1.15rem;
  font-weight: 800;
}

.choice-content strong,
.choice-content small { display: block; }
.choice-content strong { color: #f7fbff; font-size: .98rem; }
.choice-content small { margin-top: 3px; color: #8299ae; font-size: .78rem; }
.choice-arrow { color: #56b1ff; font-size: 1.25rem; transition: transform .18s ease; }
.service-choice:hover .choice-arrow { transform: translateX(4px); }

.future-services-note {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  color: #718aa1;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(144,174,203,.10);
  font-size: .76rem;
}
.future-services-note strong { color: #a7bbce; }

.selected-service-summary {
  color: #8098ae !important;
}
.selected-service-summary strong { color: #79c2ff; }

.optional-label {
  display: inline !important;
  margin-left: 5px;
  color: #68829a !important;
  font-weight: 500 !important;
}

.wizard-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin-top: 4px;
}

.btn-wizard-back {
  min-width: 112px;
  color: #b6c9d9;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(144,174,203,.16);
}
.btn-wizard-back:hover { background: rgba(255,255,255,.075); }

.wizard-error {
  min-height: 20px;
  margin: 8px 0 0;
  color: #ff9797;
  font-size: .76rem;
  text-align: center;
}

.service-launcher {
  cursor: pointer;
  position: relative;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.service-launcher:hover,
.service-launcher:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(74,168,255,.65);
  box-shadow: 0 20px 46px rgba(0,0,0,.24), 0 0 0 3px rgba(22,140,255,.06);
  outline: none;
}
.service-launch-link {
  display: inline-flex;
  margin-top: 18px;
  color: #64b8ff;
  font-size: .82rem;
  font-weight: 800;
}

@media (max-width: 680px) {
  .estimate-progress { margin-top: 24px; }
  .wizard-form { min-height: auto; }
  .wizard-actions { grid-template-columns: 1fr; }
  .btn-wizard-back { order: 2; width: 100%; }
  .btn-wizard-next,
  .wizard-actions .btn-form { width: 100%; }
}

@media (max-width: 430px) {
  .service-choice {
    grid-template-columns: 42px 1fr auto;
    padding: 14px;
  }
  .choice-icon { width: 40px; height: 40px; }
  .choice-content small { font-size: .72rem; }
  .progress-step small { display: none; }
}


/* ===== Public quote submission confirmation ===== */
body.modal-open { overflow: hidden; }

.quote-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 10, 19, .78);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .18s ease;
}
.quote-success-overlay[hidden] { display: none !important; }
.quote-success-overlay.open { opacity: 1; }

.quote-success-modal {
  position: relative;
  width: min(520px, 100%);
  padding: 38px 36px 34px;
  border: 1px solid rgba(111, 174, 230, .22);
  border-radius: 24px;
  color: #eef8ff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 140, 255, .16), transparent 34%),
    linear-gradient(145deg, #0b2033 0%, #071724 100%);
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
  transform: translateY(12px) scale(.985);
  transition: transform .18s ease;
}
.quote-success-overlay.open .quote-success-modal { transform: translateY(0) scale(1); }

.quote-success-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 11px;
  color: #8fa8bd;
  background: rgba(255,255,255,.045);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.quote-success-close:hover { color: white; background: rgba(255,255,255,.08); }

.quote-success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #1793ff, #0872dc);
  box-shadow: 0 0 0 8px rgba(23,147,255,.10), 0 15px 36px rgba(0,111,220,.25);
  font-size: 1.9rem;
  font-weight: 800;
}
.quote-success-kicker {
  display: block;
  margin-bottom: 8px;
  color: #67b8ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.quote-success-modal h2 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.quote-success-copy {
  margin: 16px auto 20px;
  max-width: 430px;
  color: #9db1c3;
  font-size: .94rem;
  line-height: 1.6;
}
.quote-success-copy strong { color: #dff1ff; }
.quote-success-reference {
  margin: 0 auto 22px;
  padding: 13px 16px;
  max-width: 300px;
  border: 1px solid rgba(111,174,230,.15);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}
.quote-success-reference span,
.quote-success-reference strong { display: block; }
.quote-success-reference span { color: #718ba0; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.quote-success-reference strong { margin-top: 3px; color: #74c1ff; font-size: .93rem; letter-spacing: .04em; }
.quote-success-done { width: 100%; }

@media (max-width: 520px) {
  .quote-success-overlay { padding: 14px; }
  .quote-success-modal { padding: 34px 20px 24px; border-radius: 20px; }
}

/* --------------------------------------------------------------------------
   Customer Schedule Now portal
   -------------------------------------------------------------------------- */
.schedule-booking-section { padding: 86px 0 96px; background: linear-gradient(180deg,#06111d 0%,#081724 100%); }
.schedule-booking-section[hidden] { display: none; }
.schedule-booking-shell { max-width: 1120px; }
.schedule-booking-heading { max-width: 720px; margin-bottom: 28px; }
.schedule-booking-heading h2 { margin: 9px 0 10px; color: #f0f7fd; font-size: clamp(2rem,5vw,3.6rem); letter-spacing: -.045em; }
.schedule-booking-heading p { max-width: 660px; margin: 0; color: #8ca7ba; line-height: 1.7; }
.schedule-booking-card { overflow: hidden; border: 1px solid rgba(142,176,202,.16); border-radius: 20px; background: rgba(7,20,32,.96); box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.schedule-booking-loading { padding: 42px; color: #8aa4b8; text-align: center; }
.booking-quote-summary { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-bottom: 1px solid rgba(142,176,202,.12); background: rgba(255,255,255,.015); }
.booking-quote-summary span, .booking-quote-summary strong, .booking-quote-summary small { display: block; }
.booking-quote-summary span { color: #66859c; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.booking-quote-summary strong { margin-top: 5px; color: #eef7ff; font-size: 1.05rem; }
.booking-quote-summary small { margin-top: 5px; color: #7894aa; font-size: .72rem; }
.booking-price { min-width: 200px; text-align: right; }
.booking-price strong { color: #68b8ff; font-size: 1.7rem; letter-spacing: -.035em; }
.booking-step { display: flex; gap: 13px; align-items: flex-start; padding: 24px 28px 10px; }
.booking-step-number { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(22,140,255,.14); color: #69b8ff; font-size: .72rem; font-weight: 900; }
.booking-step h3 { margin: 1px 0 4px; color: #eaf4fc; font-size: .95rem; }
.booking-step p { margin: 0; color: #718da4; font-size: .72rem; }
.booking-date-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 9px; padding: 8px 28px 25px; }
.booking-date { min-height: 94px; display: grid; place-items: center; align-content: center; gap: 3px; border: 1px solid rgba(142,176,202,.14); border-radius: 12px; background: #071522; color: #91aabe; cursor: pointer; transition: .15s ease; }
.booking-date:hover { transform: translateY(-1px); border-color: rgba(22,140,255,.38); color: white; }
.booking-date span { font-size: .63rem; font-weight: 800; text-transform: uppercase; }
.booking-date strong { color: #e7f2fb; font-size: 1.35rem; }
.booking-date small { color: #66849b; font-size: .65rem; }
.booking-date.active { border-color: rgba(22,140,255,.66); background: rgba(22,140,255,.13); box-shadow: inset 0 0 0 1px rgba(22,140,255,.16); }
.booking-time-heading { padding-top: 4px; }
.booking-time-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; padding: 8px 28px 28px; }
.booking-time { min-height: 48px; border: 1px solid rgba(142,176,202,.14); border-radius: 10px; background: #071522; color: #bdd0df; font: inherit; font-size: .76rem; font-weight: 750; cursor: pointer; }
.booking-time:hover { border-color: rgba(22,140,255,.42); color: white; }
.booking-time.active { border-color: #168cff; background: #168cff; color: white; }
.booking-submit-row { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 28px; border-top: 1px solid rgba(142,176,202,.12); background: #06121e; }
.booking-submit-row span, .booking-submit-row strong { display: block; }
.booking-submit-row span { color: #66849b; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.booking-submit-row strong { margin-top: 5px; color: #dcebf6; font-size: .82rem; }
.booking-submit-row .btn:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.booking-empty, .booking-confirmation { max-width: 720px; margin: 0 auto; padding: 54px 30px; text-align: center; }
.booking-empty > span, .booking-confirm-icon { width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: rgba(22,140,255,.12); color: #64b6ff; font-size: 1.25rem; font-weight: 900; }
.booking-empty h3, .booking-confirmation h3 { margin: 10px 0 8px; color: #edf7ff; font-size: 1.6rem; }
.booking-empty p, .booking-confirmation p { color: #819cb1; line-height: 1.65; }
.booking-empty .btn { margin-top: 12px; }
.booking-confirm-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 24px; }
.booking-confirm-summary > div { padding: 14px; border: 1px solid rgba(142,176,202,.12); border-radius: 11px; background: #071522; }
.booking-confirm-summary span, .booking-confirm-summary strong { display: block; }
.booking-confirm-summary span { color: #66849b; font-size: .63rem; text-transform: uppercase; letter-spacing: .05em; }
.booking-confirm-summary strong { margin-top: 5px; color: #dcebf6; font-size: .78rem; }
.booking-confirm-note { margin-top: 18px; font-size: .72rem; }

@media (max-width: 900px) {
  .booking-date-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .booking-time-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .schedule-booking-section { padding: 64px 0 72px; }
  .booking-quote-summary { align-items: flex-start; flex-direction: column; padding: 20px; }
  .booking-price { min-width: 0; text-align: left; }
  .booking-step { padding: 20px 18px 9px; }
  .booking-date-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 8px 18px 22px; }
  .booking-date { min-height: 82px; }
  .booking-time-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 8px 18px 22px; }
  .booking-submit-row { align-items: stretch; flex-direction: column; padding: 18px; }
  .booking-submit-row .btn { width: 100%; }
  .booking-confirm-summary { grid-template-columns: 1fr; }
}
.booking-notice { margin: 18px 28px 0; padding: 12px 14px; border: 1px solid rgba(255,176,94,.24); border-radius: 10px; background: rgba(255,176,94,.07); color: #d4b58f; font-size: .72rem; line-height: 1.55; }
@media (max-width: 620px) { .booking-notice { margin: 16px 18px 0; } }


/* --------------------------------------------------------------------------
   Service availability + automatic quote quantities
   -------------------------------------------------------------------------- */
[data-public-service][hidden],
[data-public-choice][hidden],
[data-public-footer-service][hidden] { display: none !important; }
.service-quantity-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.auto-quote-preview {
  margin: 4px 0 18px;
  padding: 15px 17px;
  border: 1px solid rgba(17,136,255,.24);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(17,136,255,.10), rgba(5,22,37,.88));
}
.auto-quote-preview[hidden] { display: none !important; }
.auto-quote-preview span, .auto-quote-preview strong, .auto-quote-preview small { display: block; }
.auto-quote-preview span { color: #79a0bd; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.auto-quote-preview strong { margin-top: 4px; color: #78c4ff; font-size: 1.35rem; }
.auto-quote-preview small { margin-top: 5px; color: #7f9db4; font-size: .7rem; line-height: 1.45; }
.quote-success-reference + .quote-success-reference { margin-top: 9px; }

[data-public-inline-service][hidden] { display: none !important; }


/* ===== Available-service motion ===== */
.service-card[data-public-service][hidden] { display: none !important; }
.service-card.service-launcher:not([hidden]) {
  animation: serviceCardReady .38s cubic-bezier(.2,.75,.25,1) both;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.service-card.service-launcher .service-icon {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.service-card.service-launcher .service-launch-link {
  transition: transform .2s ease, color .2s ease;
}
.service-card.service-launcher .service-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}
.service-card.service-launcher .service-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4eaeff;
  box-shadow: 0 0 0 0 rgba(78,174,255,.34);
  animation: serviceStatusPulse 2.1s ease-out infinite;
}
.service-card.service-launcher:hover,
.service-card.service-launcher:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(74,168,255,.68);
  box-shadow: 0 24px 52px rgba(0,0,0,.27), 0 0 0 3px rgba(22,140,255,.065);
}
.service-card.service-launcher:hover .service-icon,
.service-card.service-launcher:focus-visible .service-icon {
  transform: translateY(-2px) scale(1.055);
  box-shadow: 0 10px 24px rgba(22,140,255,.12);
}
.service-card.service-launcher:hover .service-launch-link,
.service-card.service-launcher:focus-visible .service-launch-link {
  transform: translateX(3px);
  color: #8bcbff;
}
@keyframes serviceCardReady {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes serviceStatusPulse {
  0% { box-shadow: 0 0 0 0 rgba(78,174,255,.34); }
  70% { box-shadow: 0 0 0 7px rgba(78,174,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,174,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .service-card.service-launcher:not([hidden]),
  .service-card.service-launcher .service-tag::before {
    animation: none;
  }
  .service-card.service-launcher,
  .service-card.service-launcher .service-icon,
  .service-card.service-launcher .service-launch-link {
    transition: none;
  }
}


/* ===== Service availability: visible even when unavailable ===== */
.service-card.service-unavailable {
  opacity: .62;
  cursor: default;
  border-color: rgba(144,174,203,.13);
  background: linear-gradient(145deg, rgba(8,24,39,.92), rgba(7,19,32,.92));
  box-shadow: none;
}
.service-card.service-unavailable .service-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: #8097aa;
}
.service-card.service-unavailable .service-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #667b8d;
  box-shadow: none;
}
.service-card.service-unavailable .service-icon {
  filter: saturate(.35);
  opacity: .72;
}
.service-card.service-unavailable .service-launch-link {
  color: #73899b;
  transform: none;
}
.service-card.service-unavailable:hover,
.service-card.service-unavailable:focus-visible {
  transform: none;
  border-color: rgba(144,174,203,.13);
  box-shadow: none;
}
.service-choice.service-choice-unavailable,
.service-choice:disabled {
  opacity: .52;
  cursor: not-allowed;
  border-color: rgba(144,174,203,.13);
  background: rgba(5,18,30,.72);
}
.service-choice.service-choice-unavailable:hover,
.service-choice:disabled:hover {
  transform: none;
  border-color: rgba(144,174,203,.13);
  background: rgba(5,18,30,.72);
}
.service-choice.service-choice-unavailable .choice-arrow,
.service-choice:disabled .choice-arrow { color: #647d92; }
.service-link-unavailable {
  opacity: .5;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(157,176,196,.45);
}
.service-link-unavailable:hover { color: #abc2d7 !important; }

/* v6 customer quote approval */
.quote-review-body { padding: 28px 0 4px; text-align:left; }
.quote-review-body h3 { margin:8px 0 8px; font-size:clamp(1.6rem,3vw,2.2rem); }
.quote-review-body p { color:var(--muted); max-width:680px; }
.quote-review-notes { margin-top:18px; padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); }
.quote-review-notes span,.quote-review-notes strong { display:block; }
.quote-review-notes span { color:var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:5px; }
.quote-review-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.quote-decline-form{display:grid;gap:16px;margin-top:22px}.quote-decline-form label{display:grid;gap:7px}.quote-decline-form label>span{font-size:.82rem;color:var(--muted);font-weight:700}.quote-decline-form select,.quote-decline-form input,.quote-decline-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);background:rgba(255,255,255,.035);color:var(--text);border-radius:12px;padding:13px 14px;font:inherit}.quote-decline-form textarea{resize:vertical}.decline-price-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.035);overflow:hidden}.decline-price-input>span{padding-left:14px;color:var(--muted);font-weight:700}.decline-price-input input{border:0;background:transparent}.status.declined{color:#f0a8a8;background:rgba(220,90,90,.12)}


/* v27: address autocomplete + settings/data tools */
.tb-address-suggestions {
  position: absolute;
  z-index: 100000;
  overflow: hidden;
  border: 1px solid rgba(120, 153, 190, .28);
  border-radius: 12px;
  background: #0b1723;
  box-shadow: 0 18px 45px rgba(0,0,0,.36);
  padding: 6px;
}
.tb-address-suggestion {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #eef7ff;
  padding: 10px 11px;
  text-align: left;
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
}
.tb-address-suggestion:hover, .tb-address-suggestion:focus { background: rgba(35, 133, 255, .15); outline: none; }
.tb-address-pin { color: #52a6ff; flex: 0 0 auto; font-size: 16px; }
.settings-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.settings-tool-panel { padding: 22px; }
.settings-tool-copy { color: var(--muted, #8ca0b3); line-height: 1.6; margin: 0 0 14px; }
.settings-status-row { display:flex; gap:9px; align-items:flex-start; color: var(--muted, #8ca0b3); font-size: 13px; line-height:1.5; }
.settings-status-dot { width:9px; height:9px; margin-top:5px; border-radius:50%; background:#2d9cff; box-shadow:0 0 12px rgba(45,156,255,.55); flex:0 0 auto; }
.danger-tool-panel { border-color: rgba(239, 68, 68, .26) !important; }
.danger-eyebrow { color: #ff7474 !important; }
.danger-action { border:1px solid rgba(239,68,68,.55); border-radius:10px; background:rgba(239,68,68,.12); color:#ffd8d8; padding:11px 14px; font-weight:800; cursor:pointer; }
.danger-action:hover { background:rgba(239,68,68,.20); }
.danger-action:disabled { opacity:.55; cursor:wait; }
@media (max-width: 800px) { .settings-tools-grid { grid-template-columns:1fr; } }

/* Structured address fields */
.address-fields{display:grid;gap:14px;margin:0 0 14px}.address-city-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(90px,.7fr) minmax(110px,1fr);gap:14px}.address-fields label{margin:0}.address-fields small{opacity:.6;font-size:.68em;letter-spacing:.05em}@media(max-width:620px){.address-city-row{grid-template-columns:1fr 90px 110px;gap:10px}}@media(max-width:430px){.address-city-row{grid-template-columns:1fr}}
