:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1c1f26;
  --ink-2: #3e4452;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #e63939;
  --accent-deep: #c12930;
  --accent-soft: #fde8e8;
  --blue: #0a8be6;
  --success: #22c55e;
  --dark: #151515;
  --shadow: 0 16px 46px rgba(15, 18, 28, .22);
  --radius: 14px;
  --header-h: 76px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

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

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

button,
input,
select { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(230, 57, 57, .34);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(28, 31, 38, .1);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 18, 28, .1);
}

.brand-mark img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.05;
  font-weight: 800;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
}

.header-location {
  display: grid;
  gap: 2px;
  justify-items: end;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.header-location strong {
  color: var(--ink);
  font-size: 15px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(230, 57, 57, .22), transparent 34%),
    linear-gradient(135deg, #161616 0%, #252525 58%, #333 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, .86), rgba(13, 13, 13, .72) 44%, rgba(13, 13, 13, .55)),
    linear-gradient(0deg, rgba(13, 13, 13, .28), rgba(13, 13, 13, .28));
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .26;
  background:
    linear-gradient(110deg, rgba(0,0,0,.15), rgba(255,255,255,.05)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 42px);
  background-size: cover;
  background-position: center;
  transition: opacity .35s ease;
}

.hero-photo.is-loaded { opacity: 1; }

.hero-grid {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(400px, 480px);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
  padding: clamp(34px, 4.4vh, 48px) 0 34px;
}

.hero-copy {
  max-width: 690px;
  padding-top: clamp(4px, 1.3vh, 14px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffb6b6;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 680px;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 630px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 19px;
  line-height: 1.48;
  font-weight: 600;
}

.hero-benefits {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  max-width: 620px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1c1f26;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  font-size: 22px;
  font-weight: 800;
}

.benefit h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
}

.benefit p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-weight: 600;
}

.hero-proof {
  width: fit-content;
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 700;
}

.proof-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .16);
}

.calc-card {
  padding: 20px;
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.calc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.calc-head h2 {
  margin: 0;
  max-width: 310px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.calc-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.calc-form {
  display: grid;
  gap: 12px;
}

.field {
  min-width: 0;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field > span,
.field legend,
.field label > span:first-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field-hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.segmented,
.choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.segmented.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segmented label,
.choice-list label,
.channel-row label {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.choice-list label {
  justify-content: flex-start;
  text-align: left;
}

.segmented input,
.choice-list input,
.channel-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.segmented label:has(input:checked),
.choice-list label:has(input:checked),
.channel-row label:has(input:checked) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.range-row strong {
  min-width: 104px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 0;
  accent-color: var(--accent);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
}

.calc-summary {
  border: 1px solid rgba(230, 57, 57, .18);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff8f8;
}

.calc-summary strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.calc-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  text-align: center;
}

.btn-primary {
  width: 100%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(230, 57, 57, .28);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(230, 57, 57, .34);
}

.footer {
  color: #fff;
  background: #161616;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: 118px;
  padding: 28px 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
}

.footer p { margin: 0; }
.footer strong { color: #fff; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 28, .66);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
  font-size: 24px;
  line-height: 1;
}

.modal-panel h2 {
  margin: 0 46px 8px 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
}

.modal-panel > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.lead-form {
  display: grid;
  gap: 12px;
}

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

.channel-row label {
  min-height: 48px;
  padding: 10px 8px;
}

.wa-icon,
.tg-icon,
.phone-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.wa-icon { background: #25d366; }
.tg-icon { background: #229ed9; }
.phone-icon { background: var(--accent); }

.policy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.form-status {
  display: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
  color: #166534;
  background: #dcfce7;
}

.form-status.is-error {
  display: block;
  color: #991b1b;
  background: #fee2e2;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    min-height: auto;
  }

  .hero-copy,
  .calc-card { max-width: 720px; }

  .hero-copy { padding-top: 0; }
}

@media (min-width: 1081px) {
  .calc-card {
    align-self: start;
  }

  .calc-form > .field:first-child .segmented {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .calc-form > .field:first-child .segmented label {
    position: relative;
    padding-inline: 6px;
  }

  .calc-form > .field:first-child .segmented input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }

  .calc-form {
    gap: 10px;
  }

  .field {
    gap: 6px;
  }

  .field-hint {
    display: none;
  }

  .segmented label,
  .choice-list label,
  .channel-row label {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .segmented input,
  .choice-list input,
  .channel-row input {
    width: 14px;
    height: 14px;
  }

  .input {
    min-height: 42px;
    font-size: 14px;
  }

  .calc-summary {
    padding: 10px 12px;
  }

  .btn {
    min-height: 50px;
    padding: 12px 18px;
  }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }

  .container { width: min(100% - 32px, 1240px); }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  .brand-copy span {
    font-size: 10px;
  }

  .header-location {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 26px 0 36px;
  }

  h1 {
    font-size: clamp(31px, 8.9vw, 38px);
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 17px;
  }

  .benefit {
    grid-template-columns: 40px 1fr;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .benefit h2 {
    font-size: 18px;
  }

  .hero-proof {
    width: 100%;
    align-items: flex-start;
    border-radius: 14px;
  }

  .calc-card {
    padding: 18px;
    border-radius: 16px;
  }

  .calc-head h2 {
    font-size: 22px;
  }

  .segmented,
  .choice-list,
  .segmented.compact,
  .field-grid,
  .channel-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .segmented label,
  .choice-list label {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-inner {
    gap: 14px;
  }

  .modal {
    padding: 12px;
    align-items: flex-end;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
    overflow: auto;
    padding: 22px;
  }

  .modal-panel h2 {
    font-size: 24px;
  }
}
