:root {
  --blue: #1267e8;
  --blue-dark: #06296d;
  --blue-soft: #eaf3ff;
  --blue-line: #cfe2ff;
  --green: #42c457;
  --green-dark: #27a53e;
  --green-soft: #eaf9ed;
  --ink: #0d255f;
  --text: #263a66;
  --muted: #6e7da1;
  --line: #dfe7f4;
  --panel: rgba(255, 255, 255, 0.92);
  --surface: #f8fbff;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(28, 67, 124, 0.1);
  --shadow-card: 0 8px 24px rgba(20, 72, 148, 0.08);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 36%, #ffffff 100%);
  font-size: 16px;
  line-height: 1.5;
  min-width: 320px;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

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

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

svg {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.7;
}

.brand strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a {
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  white-space: nowrap;
}

.phone-link > svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  fill: rgba(18, 103, 232, 0.08);
}

.phone-link strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.phone-link small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.btn {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, #1774ff 0%, var(--blue) 100%);
  box-shadow: 0 12px 26px rgba(18, 103, 232, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(18, 103, 232, 0.3);
}

.btn-outline {
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--blue);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--blue-soft);
}

.btn-green {
  width: 100%;
  color: var(--white);
  background: linear-gradient(180deg, #54cf65 0%, var(--green) 100%);
  box-shadow: 0 12px 26px rgba(66, 196, 87, 0.24);
}

.btn-green:hover {
  background: linear-gradient(180deg, #48c95a 0%, var(--green-dark) 100%);
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.icon-button:hover {
  background: #dceeff;
  transform: translateY(-1px);
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.mobile-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 14px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 36%, rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%);
}

.hero-grid {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 28px 0 22px;
  transform: translateY(clamp(-54px, -6vh, -28px));
}

.hero-copy h1 {
  margin: 0;
  max-width: 540px;
  color: var(--ink);
  font-size: clamp(38px, 4.75vw, 59px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 780;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy p {
  max-width: 500px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.62;
  color: var(--text);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  min-width: 0;
}

.hero-actions .btn {
  min-height: 58px;
  min-width: 220px;
}

.quick-chip {
  min-height: 58px;
  min-width: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 10px 20px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.quick-chip span {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.quick-chip svg {
  width: 17px;
  height: 17px;
}

.quick-chip strong {
  font-size: 13px;
  font-weight: 850;
}

.quick-chip small {
  margin-top: -1px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 360px;
  margin-right: calc((100vw - min(100vw - 40px, var(--container))) / -2);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 30%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.38) 48%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 37, 95, 0.1), rgba(13, 37, 95, 0.03));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) brightness(0.98) contrast(1.03);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 14px 0 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 10px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.trust-item span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: var(--green-soft);
  border: 0;
}

.trust-item svg {
  width: 27px;
  height: 27px;
}

.trust-item p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.order-panel-section {
  padding: 14px 0 10px;
}

.order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 18px;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}

.calculator-card,
.slots-card {
  min-width: 0;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.calculator-card {
  border-right: 1px solid var(--line);
}

.slots-card {
  position: sticky;
  top: 96px;
}

.section-kicker {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  gap: 18px;
  margin-bottom: 30px;
}

.section-kicker h2,
.section-heading h2,
.include-panel h2,
.quick-order h2,
.modal-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 850;
}

.section-kicker p,
.quick-order p,
.modal-dialog p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.section-kicker > svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--blue);
}

.calc-control {
  margin-bottom: 28px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.label-row label,
.service-select-wrap label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.label-row output {
  min-width: 118px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #172655;
  font-size: 18px;
  font-weight: 850;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) var(--progress, 35%), #dce4f2 var(--progress, 35%), #dce4f2 100%);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  border: 5px solid #ffffff;
  box-shadow: 0 5px 16px rgba(18, 103, 232, 0.38);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  border: 5px solid #ffffff;
  box-shadow: 0 5px 16px rgba(18, 103, 232, 0.38);
}

.range-notes {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.service-select-wrap {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.service-select-wrap select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 42px 0 16px;
  color: var(--ink);
  background: #ffffff;
  font-size: 15px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231267e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.service-select-wrap select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 103, 232, 0.1);
}

.calc-extras-wrap {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.calc-extras-wrap .extras-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.btn-toggle-extras {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  font-size: 15px;
  font-weight: 800;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-toggle-extras:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 103, 232, 0.1);
}

.btn-toggle-extras[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--blue-line);
}

.extras-badge {
  background: var(--blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  margin-right: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.extras-badge.active {
  opacity: 1;
}

.btn-toggle-extras .chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.btn-toggle-extras[aria-expanded="true"] .chevron-icon {
  transform: rotate(-90deg);
}

.calc-extras-content {
  display: none;
  border: 1px solid var(--line);
  border-top: 0;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
  margin-top: -8px; /* merge with gap and button border */
}

.calc-extras-content.active {
  display: block;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.extra-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.extra-option:hover {
  color: var(--blue);
}

.extra-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  border: 1.5px solid var(--line);
  accent-color: var(--blue);
  cursor: pointer;
}

.extra-price {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  transition: color 0.15s ease;
}

.extra-option input[type="checkbox"]:checked ~ .extra-price {
  color: var(--blue);
}

.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.price-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.price-row strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.fine-print {
  margin: 14px 0 0;
  color: #9aa8c0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.date-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.date-tab {
  min-height: 56px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.date-tab:last-child {
  border-right: 0;
}

.date-tab strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1;
}

.date-tab span {
  font-size: 11px;
  line-height: 1;
}

.date-tab.active {
  position: relative;
  color: var(--blue);
  background: linear-gradient(180deg, #f9fcff 0%, #eef6ff 100%);
}

.date-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--blue);
}

.date-tab.active strong,
.date-tab.active span {
  color: var(--blue);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.time-slot {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.time-slot:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.time-slot.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #fbfdff;
  box-shadow: 0 8px 16px rgba(18, 103, 232, 0.08);
}

.slot-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.slot-note svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.section {
  padding: 30px 0 28px;
}

.section-tight {
  padding-top: 18px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.section-heading.split a,
.center-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.section-heading.split svg,
.center-link svg {
  width: 18px;
  height: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(14px, 1.7vw, 22px);
}

.service-card {
  min-height: 204px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px 18px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(24, 62, 122, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover,
.service-card.active {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.service-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
}

.service-icon svg {
  width: 36px;
  height: 36px;
}

.service-card strong {
  display: block;
  min-height: 42px;
  font-size: 15px;
  line-height: 1.22;
  font-weight: 850;
}

.service-card em {
  display: block;
  margin-top: 7px;
  color: var(--blue);
  font-style: normal;
  font-size: 15px;
  font-weight: 850;
}

.service-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.center-link {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.include-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(20px, 2.2vw, 34px);
  align-items: start;
}

.include-image {
  margin: 0;
  height: clamp(300px, 32vw, 420px);
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.include-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.include-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 30px 34px 20px;
  box-shadow: 0 6px 20px rgba(24, 62, 122, 0.04);
}

.process-lead {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
  font-weight: 650;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 34px;
  row-gap: 13px;
}

.check-list li,
.subscription-panel li {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.check-list svg,
.subscription-panel li svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--green);
  margin-top: 2px;
}

.info-note,
.secure-note {
  min-height: 30px;
  margin: 22px 0 0;
  border-radius: 6px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.info-note svg,
.secure-note svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.reviews-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
}

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

.review-nav:first-child svg {
  transform: rotate(180deg);
}

.review-card {
  min-height: 186px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px 24px;
  box-shadow: 0 5px 16px rgba(24, 62, 122, 0.04);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
}

.avatar-a {
  background: linear-gradient(135deg, #c7856c, #f0c7b7);
}

.avatar-d {
  background: linear-gradient(135deg, #2d6389, #79b5d8);
}

.avatar-e {
  background: linear-gradient(135deg, #9f8f78, #dbcbb4);
}

.review-head strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.review-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.stars {
  display: flex;
  gap: 2px;
  margin: 12px 0 12px 61px;
  color: #ffbd2f;
}

.stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
}

.review-card p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.48;
  font-weight: 650;
}

.quick-order {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  box-shadow: var(--shadow-card);
}

.quick-form-panel,
.subscription-panel {
  min-height: 278px;
  padding: 34px 38px;
}

.quick-form-panel {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.88)),
    url("images/detail.png") left bottom / 220px auto no-repeat;
}

.lead-form {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-form label {
  display: block;
}

.lead-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 700;
  outline: none;
}

.lead-form input::placeholder {
  color: #a5b1c9;
}

.lead-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 103, 232, 0.1);
}

.lead-form .btn {
  grid-column: 1 / -1;
  min-height: 52px;
}

.lead-form .consent-checkbox-label {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 4px;
}

.lead-form input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--blue);
}

.quick-form-panel .secure-note {
  justify-content: flex-start;
  background: transparent;
  margin-top: 16px;
  color: var(--muted);
}

.subscription-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  border-left: 1px solid var(--line);
}

.subscription-panel ul {
  margin: 22px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.subscription-panel figure {
  position: relative;
  align-self: end;
  margin: 0;
  min-width: 0;
}

.subscription-panel img {
  width: 100%;
  max-height: 205px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.subscription-panel figure span {
  position: absolute;
  right: 2px;
  top: 18px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--green);
  font-size: 16px;
  line-height: 1.05;
  font-weight: 850;
  text-align: center;
}

.subscription-panel figure strong {
  display: block;
  font-size: 31px;
}

.site-footer {
  margin-top: 10px;
  padding: 34px 0 36px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.8fr 1.25fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.footer-grid a:hover {
  color: var(--blue);
}

.footer-brand p {
  max-width: 220px;
  margin: 20px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.socials {
  display: flex;
  gap: 9px;
}

.socials a {
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.footer-badge {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.footer-badge span {
  width: 42px;
  height: 42px;
  margin: 0 0 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: var(--green-soft);
}

.footer-badge span svg {
  width: 24px;
  height: 24px;
}

.footer-badge p {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.footer-badge small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

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

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 54, 0.48);
  backdrop-filter: blur(5px);
}

.modal-dialog {
  position: relative;
  width: min(100%, 460px);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 26px 80px rgba(7, 23, 54, 0.28);
  padding: 34px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--muted);
  background: #f0f5fb;
}

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

.modal-form .btn {
  grid-column: auto;
}

.modal-dialog .secure-note {
  background: transparent;
  justify-content: flex-start;
  margin-bottom: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  max-width: calc(100% - 32px);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background: #0f2f75;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(7, 23, 54, 0.28);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 17px;
  }

  .phone-link strong {
    font-size: 14px;
  }

  .hero-grid {
    grid-template-columns: 0.94fr 1fr;
  }
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid #eef3fa;
    color: var(--ink);
    font-weight: 800;
  }

  .mobile-menu .btn {
    margin-top: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .hero-copy {
    padding-top: 28px;
    padding-bottom: 18px;
    transform: none;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: 680px;
  }

  .hero-media {
    min-height: 280px;
    margin: 0 calc((100vw - min(100vw - 40px, var(--container))) / -2);
  }

  .hero-media::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0) 34%);
  }

  .trust-row {
    grid-template-columns: 1fr;
    padding-top: 12px;
  }

  .order-panel {
    grid-template-columns: 1fr;
  }

  .calculator-card {
    border-right: 1px solid var(--line);
  }

  .slots-card {
    position: static;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .include-grid,
  .quick-order {
    grid-template-columns: 1fr;
  }

  .include-image {
    height: 320px;
    min-height: 0;
  }

  .subscription-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .footer-badge {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

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

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 9px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-mark svg {
    width: 31px;
    height: 31px;
  }

  .phone-link {
    display: none;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .mobile-menu {
    top: 72px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(29px, 7vw, 36px);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 100% !important;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions .btn,
  .quick-chip {
    width: 100% !important;
    min-width: 0;
  }

  .quick-chip {
    padding-inline: 18px;
  }

  .hero-media {
    min-height: 220px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calculator-card,
  .slots-card,
  .include-panel,
  .quick-form-panel,
  .subscription-panel {
    padding: 24px 20px;
  }

  .section-kicker h2,
  .section-heading h2,
  .include-panel h2,
  .quick-order h2,
  .modal-dialog h2 {
    font-size: 24px;
  }

  .label-row {
    align-items: flex-start;
  }

  .label-row output {
    min-width: 94px;
    min-height: 46px;
    font-size: 16px;
  }

  .date-tabs {
    grid-template-columns: repeat(5, minmax(84px, 1fr));
    overflow-x: auto;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    align-items: flex-start;
    text-align: left;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
  }

  .service-icon {
    grid-row: 1 / 4;
    margin-bottom: 0;
  }

  .service-card strong {
    min-height: 0;
  }

  .service-card small {
    margin-top: 8px;
  }

  .include-image {
    height: 230px;
    min-height: 0;
  }

  .check-list {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews-wrap {
    display: block;
  }

  .review-nav {
    display: none;
  }

  .reviews-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .review-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  .lead-form,
  .subscription-panel {
    grid-template-columns: 1fr;
  }

  .quick-form-panel {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.97), rgba(255,255,255,0.9)),
      url("images/detail.png") right bottom / 160px auto no-repeat;
  }

  .subscription-panel figure {
    max-width: 260px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-copy {
    padding-top: 22px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero-copy p {
    font-size: 15px;
    line-height: 1.6;
    width: auto;
    max-width: 100% !important;
  }

  .hero-actions {
    width: auto;
    max-width: none;
    padding-right: 0;
  }

  .hero-actions .btn,
  .quick-chip {
    width: 100% !important;
    justify-self: start;
  }

  .hero-media {
    min-height: 190px;
  }

  .order-panel {
    border-radius: 10px;
  }

  .time-grid {
    grid-template-columns: 1fr;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-row strong {
    font-size: 23px;
  }

  .modal {
    padding: 14px;
  }

  .modal-dialog {
    padding: 28px 20px 24px;
  }
}
