.estimate-page {
  background: #f4f8fc;
  color: var(--sales-navy);
}

.estimate-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.estimate-intro h1 {
  margin: 12px 0 12px;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.estimate-intro p {
  max-width: 680px;
  margin: 0;
  color: var(--sales-muted);
  font-size: 17px;
  line-height: 1.55;
}

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
  margin-top: 32px;
}

.estimate-card,
.estimate-summary {
  background: #fff;
  border: 1px solid var(--sales-border);
  border-radius: 18px;
  box-shadow: var(--sales-shadow);
}

.estimate-card {
  padding: 24px;
}

.estimate-card + .estimate-card {
  margin-top: 18px;
}

.estimate-card h2,
.estimate-summary h2,
.faq-block h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.estimate-card > p,
.estimate-summary > p {
  margin: 0 0 16px;
  color: var(--sales-muted);
  line-height: 1.5;
}

.user-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-control button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--sales-border);
  border-radius: 12px;
  background: #fff;
  color: var(--sales-navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.user-control input {
  width: 96px;
  height: 52px;
  border: 1px solid var(--sales-border);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  color: var(--sales-navy);
}

.user-note {
  margin: 12px 0 0;
  color: var(--sales-muted);
  font-size: 14px;
}

.module-list {
  display: grid;
  gap: 10px;
}

.module-option {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 14px;
  border: 1px solid var(--sales-border);
  border-radius: 14px;
  cursor: pointer;
}

.module-option.has-logo {
  grid-template-columns: 22px 64px minmax(0, 1fr);
}

.module-logo {
  width: 64px;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.module-option .module-mark {
  width: 32px;
  height: 32px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sales-blue);
}

.module-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-option input {
  width: 22px;
  height: 22px;
  margin: 0;
}

.module-option strong {
  display: block;
  font-size: 16px;
}

.module-option span {
  display: block;
  margin-top: 4px;
  color: var(--sales-muted);
  font-size: 14px;
  line-height: 1.4;
}

.included-group + .included-group {
  margin-top: 16px;
}

.included-group h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.included-group ul {
  margin: 0;
  padding-left: 18px;
  color: var(--sales-muted);
}

.included-group li + li {
  margin-top: 4px;
}

.estimate-summary {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sales-border);
}

.price-row span {
  color: var(--sales-muted);
}

.price-row strong {
  font-size: 28px;
  letter-spacing: -0.4px;
}

.price-lines {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.price-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: var(--sales-muted);
  font-size: 14px;
}

.gst-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--sales-muted);
}

.summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.summary-actions a {
  width: 100%;
}

.compare-block {
  margin-top: 48px;
}

.compare-block h2 {
  margin: 12px 0 12px;
  font-size: 32px;
  line-height: 1.2;
}

.compare-block > p,
.compare-note,
.compare-disclaimer {
  max-width: 760px;
  color: var(--sales-muted);
  line-height: 1.55;
}

.compare-users {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.compare-users button {
  min-width: 52px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--sales-border);
  border-radius: 12px;
  background: #fff;
  color: var(--sales-navy);
  font-weight: 700;
  cursor: pointer;
}

.compare-users button.is-selected {
  background: #2C86D3;
  border-color: #2C86D3;
  color: #fff;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 8px;
  border: 1px solid var(--sales-border);
  border-radius: 16px;
  background: #fff;
}

.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--sales-border);
  font-size: 14px;
  line-height: 1.45;
}

.compare-table th {
  background: #f7fbfe;
  font-size: 13px;
}

.compare-table tr.is-creata td {
  background: #E7F3FB;
}

.compare-table a {
  color: #126FC2;
}

.compare-sources {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--sales-muted);
}

.compare-sources li + li {
  margin-top: 6px;
}

.compare-disclaimer {
  margin-top: 16px;
  font-size: 14px;
}

.compare-block .btn-primary {
  margin-top: 18px;
}

.faq-block {
  margin-top: 28px;
}

.faq-block details {
  background: #fff;
  border: 1px solid var(--sales-border);
  border-radius: 14px;
  padding: 14px 16px;
}

.faq-block details + details {
  margin-top: 10px;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-block p {
  margin: 10px 0 0;
  color: var(--sales-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .estimate-layout {
    grid-template-columns: 1fr;
  }

  .estimate-summary {
    position: static;
    order: -1;
  }

  .estimate-intro h1 {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .estimate-wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .user-control button,
  .user-control input {
    height: 56px;
  }
}
