:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #10b981;
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --warning: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 18px;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.nav {
  display: none;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--primary-dark);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.9) 48%, rgba(248, 250, 252, 0.38) 100%),
    url("/assets/hero-cleaning.svg") center right / cover no-repeat;
}

.hero__inner {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 64px 18px 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(38px, 12vw, 76px);
  line-height: 1.02;
  font-weight: 700;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1.08;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.hero__subtitle,
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero__actions,
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.button--primary:hover {
  background: var(--primary-dark);
}

.button--secondary {
  background: var(--surface);
  color: var(--primary-dark);
  border-color: var(--border);
}

.button--full {
  width: 100%;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__facts span,
.areas span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.section {
  padding: 72px 0;
}

.section--surface {
  background: var(--surface);
}

.container {
  width: min(100% - 36px, 1160px);
  margin: 0 auto;
}

.section__head {
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.section--surface .service-card {
  background: var(--background);
}

.service-card__number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 700;
}

.service-card p,
.steps p,
.included-list,
.notice,
.privacy-note,
.footer p {
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--primary-dark);
  font-weight: 700;
}

.split,
.price-layout,
.request-layout {
  display: grid;
  gap: 28px;
}

.included-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--background);
  color: var(--text);
  font-weight: 500;
}

.price-section {
  background: var(--primary-dark);
  color: #ffffff;
}

.price-section .eyebrow,
.price-section .lead,
.price-section .notice {
  color: rgba(255, 255, 255, 0.82);
}

.notice {
  max-width: 720px;
  margin-bottom: 0;
}

.price-box {
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.price-box span {
  display: block;
  font-size: 72px;
  line-height: 0.95;
  font-weight: 700;
}

.price-box strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.price-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  min-height: 56px;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.form-section {
  background: #eef6ff;
}

.request-copy {
  align-self: start;
}

.privacy-note {
  max-width: 560px;
  margin-bottom: 0;
}

.form-shell {
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.request-form,
.result-panel {
  padding: 20px;
}

.request-form {
  display: grid;
  gap: 16px;
}

.form-spam {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 7px;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(96px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
}

.field--code,
.field--phone {
  min-width: 0;
}

.combo {
  position: relative;
}

label,
.consent {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.16);
  border-color: var(--primary);
}

[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 18px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.combo-list {
  position: static;
  max-height: 280px;
  overflow-y: auto;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.combo-option {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.combo-option:hover,
.combo-option:focus,
.combo-option[data-active="true"] {
  outline: none;
  background: #eff6ff;
}

.combo-option__main {
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}

.combo-option__meta,
.combo-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.combo-empty {
  padding: 10px 12px;
}

.contact-options {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-options legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.contact-options label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}

.contact-options input {
  width: 22px;
  min-height: 22px;
  padding: 0;
  accent-color: var(--primary);
}

.estimate,
.estimate-note,
.renovation-warning {
  margin: 0;
  padding: 14px;
  border-radius: 8px;
}

.estimate {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
}

.estimate-note {
  background: #f8fafc;
  color: var(--muted);
  font-size: 14px;
}

.renovation-warning {
  background: #fffbeb;
  color: #92400e;
  font-size: 14px;
  font-weight: 600;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text);
}

.consent input {
  width: 22px;
  min-height: 22px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.result-panel {
  border-bottom: 1px solid var(--border);
  background: #ecfdf5;
  color: #065f46;
}

.result-panel h3,
.result-panel p {
  margin-bottom: 6px;
}

.result-panel p {
  color: inherit;
}

.result-panel--error {
  padding: 14px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
}

.footer {
  padding: 36px 0 94px;
  background: var(--text);
  color: #ffffff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer__links a {
  color: #bfdbfe;
  font-weight: 600;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.34);
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

  .site-header {
    padding-inline: 32px;
  }

  .hero__inner {
    padding-inline: 32px;
  }

  .container {
    width: min(100% - 64px, 1160px);
  }

  .card-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-form,
  .result-panel {
    padding: 28px;
  }

  .sticky-cta {
    display: none;
  }

  .footer {
    padding-bottom: 36px;
  }
}

@media (min-width: 980px) {
  .hero {
    min-height: 78svh;
  }

  .card-grid,
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split,
  .price-layout,
  .request-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    align-items: start;
  }

  .price-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
