.website-cost-estimator-page {
  background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 34%);
}

.website-cost-estimator-main {
  padding: 0 0 5rem;
}

.website-cost-estimator-hero-bg {
  width: 100%;
  height: 220px;
  background:
    radial-gradient(
      700px 260px at 16% 0%,
      rgba(66, 202, 255, 0.28),
      transparent 62%
    ),
    radial-gradient(
      760px 300px at 84% 10%,
      rgba(34, 197, 94, 0.2),
      transparent 64%
    ),
    linear-gradient(120deg, #f6fbff 0%, #eef8ff 42%, #f6fff9 100%);
}

.website-cost-estimator-intro {
  margin-top: -132px;
  margin-bottom: 1.5rem;
  padding: clamp(1.1rem, 2.2vw, 1.7rem) clamp(1.1rem, 2.2vw, 2rem);
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.website-cost-estimator-intro .rc-h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  color: #111;
}

.website-cost-estimator-intro .rc-lead {
  margin: 0;
  max-width: 72ch;
  color: var(--rc-muted);
}

.website-cost-estimator-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.website-cost-estimator-form,
.website-cost-estimator-next-steps {
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.website-cost-estimator-form {
  gap: 0;
  padding: clamp(1rem, 2vw, 1.8rem);
  padding-bottom: 2rem;
}

.website-cost-estimator-form fieldset {
  margin: 0;
  padding: 0 0 1.5rem;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.website-cost-estimator-form fieldset + fieldset {
  padding-top: 1.5rem;
}

.website-cost-estimator-form fieldset:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.website-cost-estimator-form legend {
  margin-bottom: 1rem;
  padding: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #111;
}

.website-cost-estimator-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: rgba(17, 17, 17, 0.72);
}

.website-cost-estimator-form .rc-tool-input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 0.95rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    outline-color 0.2s ease;
}

.website-cost-estimator-form select.rc-tool-input {
  appearance: none;
  cursor: pointer;
  padding-right: 3.35rem;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #0f766e 50%),
    linear-gradient(135deg, #0f766e 50%, transparent 50%),
    linear-gradient(180deg, rgba(15, 118, 110, 0.1), rgba(15, 118, 110, 0.04));
  background-position:
    calc(100% - 1.3rem) calc(50% - 0.15rem),
    calc(100% - 0.95rem) calc(50% - 0.15rem),
    calc(100% - 2.75rem) 50%;
  background-size:
    0.45rem 0.45rem,
    0.45rem 0.45rem,
    1px 58%;
  background-repeat: no-repeat;
}

.website-cost-estimator-form select.rc-tool-input:hover {
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.website-cost-estimator-form select.rc-tool-input:invalid {
  color: rgba(17, 17, 17, 0.52);
}

.website-cost-estimator-form select.rc-tool-input option {
  color: #111;
}

.website-cost-estimator-form textarea.rc-tool-input {
  min-height: 144px;
  resize: vertical;
}

.website-cost-estimator-form .rc-tool-input:focus {
  outline: 2px solid rgba(34, 197, 94, 0.26);
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 1px rgba(16, 131, 68, 0.12);
}

.website-cost-estimator-form.is-invalid .rc-tool-input:invalid,
.website-cost-estimator-form .rc-tool-input.is-touched:invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.2);
}

.website-cost-estimator-options p {
  margin: 0 0 0.9rem;
  color: var(--rc-muted);
}

.website-cost-estimator-options br {
  display: none;
}

.website-cost-estimator-options label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
  font-size: 0.96rem;
  color: #111;
}

.website-cost-estimator-options input[type="checkbox"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: 0.3rem;
  background: #fff;
  display: inline-grid;
  place-content: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.website-cost-estimator-options input[type="checkbox"]::before {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  transform: scale(0);
  transition: transform 0.16s ease-in-out;
  clip-path: polygon(14% 44%, 0 59%, 42% 100%, 100% 18%, 84% 4%, 42% 72%);
  background: #fff;
}

.website-cost-estimator-options input[type="checkbox"]:checked {
  background: #0f766e;
  border-color: #0f766e;
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.18);
}

.website-cost-estimator-options input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.website-cost-estimator-options input[type="checkbox"]:hover {
  border-color: rgba(15, 118, 110, 0.45);
}

.website-cost-estimator-options input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(34, 197, 94, 0.26);
  outline-offset: 2px;
}

.website-cost-estimator-form .rc-tool-btn {
  margin-top: 1.5rem;
  min-height: 50px;
  border-radius: 10px;
}

.website-cost-estimator-next-steps {
  padding: clamp(1rem, 2vw, 1.8rem);
}

.website-cost-estimator-next-steps h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.website-cost-estimator-next-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--rc-muted);
}

.website-cost-estimator-next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.website-cost-estimator-next-steps .next-step-check {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #0f766e;
}

.website-cost-estimator-next-steps li + li {
  margin-top: 0.75rem;
}

@media (min-width: 980px) {
  .website-cost-estimator-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .website-cost-estimator-main {
    flex: 1 0 auto;
  }

  .website-cost-estimator-page .rc-footer {
    margin-top: auto;
  }

  .website-cost-estimator-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
    gap: 1.45rem;
  }

  .website-cost-estimator-next-steps {
    position: sticky;
    top: 110px;
  }
}

@media (max-width: 980px) {
  .website-cost-estimator-hero-bg {
    height: 170px;
  }

  .website-cost-estimator-intro {
    margin-top: -96px;
  }

  .website-cost-estimator-options label {
    gap: 0.9rem;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0;
    line-height: 1.5;
  }

  .website-cost-estimator-options input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
  }
}
