:root {
  --ntv-red: #e84242;
  --ntv-red-dark: #d93a3a;
  --ntv-dark: #374149;
  --ntv-dark-2: #1f2933;
  --ntv-bg: #f4f6f8;
  --ntv-border: #e4e7eb;
  --ntv-muted: #66717c;
  --ntv-soft-red: rgba(232, 66, 66, 0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 18px 50px rgba(55, 65, 73, 0.11);
  --shadow-card: 0 12px 30px rgba(55, 65, 73, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Titillium Web", Arial, Helvetica, sans-serif;
  background: var(--ntv-bg);
  color: var(--ntv-dark);
  line-height: 1.55;
  min-height: 100vh;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.container {
  width: min(100% - 34px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 231, 235, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: min(210px, 54vw);
  height: auto;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--ntv-muted);
  font-size: 15px;
  font-weight: 700;
}

.header-nav a:not(.header-cta):hover {
  color: var(--ntv-dark-2);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ntv-red);
  box-shadow: 0 10px 22px rgba(232, 66, 66, 0.18);
}

.header-cta:hover {
  background: var(--ntv-red-dark);
}

.hero {
  padding: 68px 0 46px;
  background: #ffffff;
  border-bottom: 1px solid var(--ntv-border);
}

.hero-content {
  max-width: 830px;
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ntv-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--ntv-dark-2);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 14px;
  color: var(--ntv-dark-2);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 14px;
  color: var(--ntv-dark-2);
  font-size: 18px;
}

.hero-text,
.section-heading p,
.step-help {
  color: var(--ntv-muted);
  line-height: 1.6;
}

.hero-text {
  max-width: 780px;
  margin: 0;
  font-size: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

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

.button-primary {
  background: var(--ntv-red);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(232, 66, 66, 0.24);
}

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

.button-secondary {
  border: 1px solid var(--ntv-border);
  background: #ffffff;
  color: var(--ntv-dark);
}

.button-secondary:hover {
  box-shadow: var(--shadow-card);
}

.button-large {
  min-height: 54px;
  padding-inline: 24px;
}

.full-width {
  width: 100%;
}

.hint,
.summary-note,
.excluded-note {
  color: var(--ntv-muted);
  font-size: 14px;
}

.section {
  padding: 58px 0;
}

.simulator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: start;
}

.step-card,
.summary-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(228, 231, 235, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.step-card {
  margin: 0 0 22px;
  padding: 30px;
}

fieldset {
  border: 0;
}

legend,
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 14px;
  color: var(--ntv-dark-2);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--ntv-dark);
  font-size: 15px;
}

.step-help {
  max-width: 780px;
  margin: 0 0 24px;
}

.option-grid,
.checkbox-grid,
.form-grid {
  display: grid;
  gap: 12px;
}

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

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

.choice-card,
.check-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 58px;
  padding: 15px 48px 15px 16px;
  border: 1px solid var(--ntv-border);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--ntv-dark);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.choice-card:hover,
.check-card:hover {
  border-color: rgba(55, 65, 73, 0.35);
  box-shadow: 0 10px 24px rgba(55, 65, 73, 0.07);
  transform: translateY(-1px);
}

.choice-card-large {
  min-height: 190px;
}

.choice-card input,
.check-card input {
  position: absolute;
  right: 16px;
  top: 18px;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ntv-red);
}

.choice-card span,
.check-card span {
  font-weight: 700;
  line-height: 1.25;
}

.choice-card small,
.check-card small,
.check-card strong {
  color: var(--ntv-muted);
}

.check-card small {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.check-card strong,
.choice-card strong {
  align-self: end;
  margin-top: 8px;
  color: var(--ntv-dark-2);
}

.choice-card:has(input:checked),
.check-card:has(input:checked) {
  border-color: rgba(232, 66, 66, 0.55);
  background: rgba(232, 66, 66, 0.045);
  box-shadow: 0 10px 24px rgba(232, 66, 66, 0.10);
}

.option-section {
  margin-top: 28px;
}

.option-section:first-of-type {
  margin-top: 0;
}

.option-section h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.option-section h3::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ntv-red);
}

.form-grid {
  grid-template-columns: repeat(2, 1fr);
}

.form-grid label,
.message-field {
  display: grid;
  gap: 8px;
}

.form-grid span,
.message-field span {
  font-weight: 700;
}

.message-field,
.consent {
  margin-top: 16px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ntv-muted);
}

.consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--ntv-red);
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--ntv-border);
  border-radius: var(--radius-sm);
  color: var(--ntv-dark);
  background: #ffffff;
}

select:focus,
input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(232, 66, 66, 0.20);
  outline-offset: 2px;
}

.form-status {
  margin: 14px 0 0;
  font-weight: 700;
}

.form-status.is-success {
  color: #166534;
}

.form-status.is-error {
  color: #9f1f1f;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.summary-card {
  position: sticky;
  top: 100px;
  padding: 30px;
}

.price-total {
  margin: 16px 0;
}

.price-total span {
  display: block;
  color: var(--ntv-dark-2);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.summary-block {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--ntv-border);
}

.summary-block h3 {
  margin-bottom: 12px;
}

.excluded-note {
  margin: 14px 0 24px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--ntv-bg);
}

.check-list,
.small-list,
#summary-list,
#contact-summary-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.small-list li,
#summary-list li,
#contact-summary-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before,
.small-list li::before,
#summary-list li::before,
#contact-summary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.06em;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--ntv-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.mobile-price-bar {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.contact-card {
  margin: 0;
}

.contact-card .button-large {
  margin-top: 28px;
}

.contact-actions {
  margin-top: 18px;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--ntv-border);
  color: var(--ntv-muted);
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 1000px) {
  .simulator-layout,
  .contact-layout,
  .three-cols {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 78px;
  }

  .container {
    width: min(100% - 26px, var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-logo {
    width: min(178px, 48vw);
  }

  .header-nav a:not(.header-cta) {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .hero {
    padding: 42px 0 36px;
  }

  .section {
    padding: 42px 0;
  }

  .step-card,
  .summary-card {
    padding: 22px;
    border-radius: 20px;
  }

  .checkbox-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .mobile-price-bar {
    position: fixed;
    left: 13px;
    right: 13px;
    bottom: 13px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid rgba(228, 231, 235, 0.92);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(55, 65, 73, 0.18);
  }

  .mobile-price-bar span {
    color: var(--ntv-muted);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-price-bar strong {
    color: var(--ntv-red);
    font-size: 18px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
