:root {
  --estimate-primary: #f97316;
  --estimate-primary-dark: #ea580c;
  --estimate-dark: #111827;
  --estimate-text: #475569;
  --estimate-light: #f8fafc;
  --estimate-white: #ffffff;
  --estimate-border: #e5e7eb;
  --estimate-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
  --estimate-shadow-md: 0 18px 40px rgba(0, 0, 0, 0.14);
  --estimate-radius: 16px;
  --estimate-radius-lg: 22px;
}

/* page base */
.light-eyebrow {
  color: #fff;
}

.estimate-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.estimate-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.estimate-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.84) 0%, rgba(17, 24, 39, 0.68) 42%, rgba(17, 24, 39, 0.45) 100%);
}

.estimate-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 34px;
  align-items: center;
}

.estimate-hero-copy {
  color: #fff;
  max-width: 700px;
}

.estimate-hero-copy h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 0.98;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.estimate-hero-copy p {
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
}

.estimate-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.estimate-points span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

/* form card */
.estimate-form-wrap {
  width: 100%;
}

.estimate-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--estimate-radius-lg);
  box-shadow: var(--estimate-shadow-md);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.estimate-form-progress {
  height: 6px;
  background: #e5e7eb;
}

.estimate-form-progress-fill {
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--estimate-primary), var(--estimate-primary-dark));
  transition: width 0.25s ease;
}

.estimate-card-body {
  padding: 24px;
}

.estimate-question {
  margin-bottom: 16px;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--estimate-dark);
}

.req {
  color: #dc2626;
}

.step {
  display: none;
}

.step.is-active {
  display: block;
}

.estimate-radio {
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
}

.estimate-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.estimate-radio span {
  display: block;
  padding: 15px 16px;
  border: 1px solid var(--estimate-border);
  border-radius: 12px;
  background: #fff;
  color: var(--estimate-dark);
  font-weight: 600;
  line-height: 1.4;
  transition: 0.2s ease;
}

.estimate-radio input:checked + span {
  border-color: var(--estimate-primary);
  background: #fff7ed;
  color: var(--estimate-dark);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.estimate-radio span:hover {
  border-color: #fdba74;
  background: #fffaf5;
}

.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.estimate-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--estimate-dark);
}

.estimate-field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--estimate-border);
  border-radius: 12px;
  background: #fff;
  color: var(--estimate-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.estimate-field input:focus {
  border-color: var(--estimate-primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.estimate-hint {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--estimate-text);
}

.estimate-card-footer {
  display: grid;
  grid-template-columns: 56px 1fr 120px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #fb923c, #f97316);
}

.estimate-progress-text {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.estimate-nav-btn {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.estimate-nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.estimate-nav-prev {
  font-size: 1.15rem;
}

.estimate-nav-next {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* icon strip */
.estimate-icon-strip {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid var(--estimate-border);
}

.estimate-icon-strip-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.estimate-icon-item {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.estimate-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  box-shadow: var(--estimate-shadow-sm);
}

.estimate-icon-circle img {
  max-width: 42px;
  max-height: 42px;
}

.estimate-icon-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--estimate-dark);
}

/* lower sections */
.estimate-section {
  padding: 58px 0;
}

.estimate-section-light {
  background: var(--estimate-light);
}

.orange-frame {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, #fb923c, #f97316);
  padding: 22px 52px;
  box-shadow: var(--estimate-shadow-sm);
}

.slider {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.white-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-height: 220px;
}

.stars-row {
  margin-bottom: 12px;
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.review-text {
  color: var(--estimate-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-more {
  margin-bottom: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--estimate-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-name {
  font-weight: 800;
  color: var(--estimate-dark);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--estimate-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--estimate-shadow-sm);
  z-index: 3;
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}

.project-arrow {
  background: #fff;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dots button,
.dots .dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.dots .active {
  background: #fff;
}

.projects .slide {
  min-width: 100%;
}

.project-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.estimate-center-cta {
  margin-top: 26px;
  text-align: center;
}

/* header/footer harmony */
.site-header + .estimate-hero {
  margin-top: 0;
}

.site-footer .footer-top,
.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}

/* mobile */
@media (max-width: 1100px) {
  .estimate-hero-inner {
    grid-template-columns: 1fr 430px;
    gap: 24px;
  }

  .estimate-icon-strip-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .estimate-hero {
    min-height: auto;
    padding: 52px 0 42px;
  }

  .estimate-hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .estimate-hero-copy {
    max-width: 100%;
  }

  .estimate-form-wrap {
    max-width: 620px;
  }

  .orange-frame {
    padding: 18px 44px;
  }

  .project-img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .estimate-hero {
    padding: 40px 0 34px;
  }

  .estimate-hero-copy h1 {
    font-size: 2.2rem;
    line-height: 1.02;
  }

  .estimate-hero-copy p {
    font-size: 0.97rem;
  }

  .estimate-points span {
    width: 100%;
    justify-content: center;
  }

  .estimate-card-body {
    padding: 18px;
  }

  .estimate-question {
    font-size: 1.02rem;
    margin-bottom: 14px;
  }

  .estimate-radio span {
    padding: 13px 14px;
    font-size: 0.94rem;
  }

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

  .estimate-card-footer {
    grid-template-columns: 50px 1fr 96px;
    padding: 14px;
  }

  .estimate-nav-btn {
    min-height: 42px;
    border-radius: 10px;
  }

  .estimate-icon-strip {
    padding: 18px 0;
  }

  .estimate-icon-strip-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .estimate-icon-circle {
    width: 60px;
    height: 60px;
  }

  .estimate-icon-circle img {
    max-width: 34px;
    max-height: 34px;
  }

  .estimate-icon-text {
    font-size: 0.85rem;
  }

  .estimate-section {
    padding: 42px 0;
  }

  .orange-frame {
    padding: 14px 14px 18px;
    border-radius: 16px;
  }

  .slider-arrow {
    display: none;
  }

  .white-card {
    padding: 18px;
    min-height: 0;
  }

  .review-text {
    font-size: 0.93rem;
  }

  .project-img {
    height: 240px;
    border-radius: 12px;
  }
}
.estimate-thankyou {
  text-align: center;
  padding: 24px 8px 10px;
}

.estimate-thankyou-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #166534;
  font-size: 2rem;
  font-weight: 900;
}

.estimate-thankyou h2 {
  margin: 0 0 12px;
  color: var(--estimate-dark);
  font-size: 2rem;
}

.estimate-thankyou p {
  max-width: 420px;
  margin: 0 auto 22px;
  color: var(--estimate-text);
  line-height: 1.65;
}

.estimate-thankyou-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .estimate-thankyou h2 {
    font-size: 1.7rem;
  }

  .estimate-thankyou-actions {
    flex-direction: column;
  }

  .estimate-thankyou-actions .btn {
    width: 100%;
  }
}