/* Limited-launch estimate campaign. Scoped to .estimate-page; reuses home chrome. */

.estimate-page {
  --est-ink: #071129;
  --est-muted: #657189;
  --est-blue: #3c82d7;
  --est-blue-2: #2b6cb0;
  --est-soft: #f5f8ff;
  --est-line: #dfe7f5;
  --est-dark: #06132f;
}

.estimate-page .home-header-cta,
.estimate-page .nav-cta {
  background: linear-gradient(135deg, #4a90e2, #2b6cb0);
}

.estimate-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.estimate-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
  padding: 36px 0 72px;
  overflow: hidden;
}

.estimate-hero::before {
  content: "";
  position: absolute;
  inset: 12px -8% -40px 42%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(60, 130, 215, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 130, 215, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 36%, transparent 78%);
}

.estimate-hero > * {
  position: relative;
  z-index: 1;
}

.estimate-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--est-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 780;
}

.estimate-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.estimate-hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.estimate-hero h1 span,
.estimate-hero .estimate-subhead {
  color: var(--est-blue);
}

.estimate-subhead {
  margin: 10px 0 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.estimate-lede {
  max-width: 540px;
  margin: 18px 0 0;
  color: #56637a;
  font-size: 17px;
  line-height: 1.65;
}

.estimate-price {
  margin: 22px 0 18px;
}

.estimate-price__was {
  display: inline-block;
  color: #8a96aa;
  font-size: 18px;
  font-weight: 650;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.estimate-price__now {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--est-ink);
  line-height: 0.9;
}

.estimate-price__currency {
  font-size: 28px;
  font-weight: 780;
}

.estimate-price__now strong {
  font-size: clamp(64px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, #2b6cb0, #3c82d7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.estimate-price__unit {
  color: var(--est-muted);
  font-size: 16px;
  font-weight: 650;
}

.estimate-price p {
  margin: 10px 0 0;
  color: var(--est-blue);
  font-size: 14px;
  font-weight: 780;
}

.estimate-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.estimate-points li {
  padding: 8px 12px;
  border: 1px solid var(--est-line);
  border-radius: 999px;
  background: #fff;
  color: var(--est-ink);
  font-size: 13px;
  font-weight: 650;
}

.estimate-mail {
  margin: 16px 0 0;
  color: var(--est-muted);
  font-size: 14px;
}

.estimate-mail a {
  color: var(--est-blue);
  font-weight: 720;
}

.estimate-mail a:hover,
.estimate-mail a:focus-visible {
  text-decoration: underline;
}

.estimate-visual {
  position: relative;
  min-height: 420px;
}

.estimate-visual__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #d4deec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(21, 40, 72, 0.12);
}

.estimate-visual__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--est-line);
  background: #f4f7fb;
  font-size: 12px;
}

.estimate-visual__chrome strong {
  font-weight: 720;
}

.estimate-visual__chrome em {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--est-blue);
  font-style: normal;
  font-size: 11px;
  font-weight: 750;
}

.estimate-visual__body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 280px;
}

.estimate-visual__plan {
  position: relative;
  padding: 18px;
  background:
    linear-gradient(#e8f0fb 1px, transparent 1px),
    linear-gradient(90deg, #e8f0fb 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: #f7faff;
}

.estimate-visual__plan svg {
  width: 100%;
  height: auto;
}

.estimate-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: estimate-draw 1600ms cubic-bezier(0.2, 0.78, 0.22, 1) forwards;
}

.estimate-line--delay {
  animation-delay: 280ms;
}

.estimate-visual__dim {
  position: absolute;
  color: var(--est-blue-2);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.estimate-visual__dim--h {
  left: 28px;
  bottom: 14px;
}

.estimate-visual__dim--v {
  right: 16px;
  top: 42px;
  writing-mode: vertical-rl;
}

.estimate-visual__sheet {
  padding: 18px 16px;
  border-left: 1px solid var(--est-line);
}

.estimate-visual__sheet small {
  display: block;
  color: var(--est-blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 780;
}

.estimate-visual__sheet b {
  display: block;
  margin: 6px 0 4px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.estimate-visual__sheet p {
  margin: 0 0 12px;
  color: var(--est-muted);
  font-size: 12px;
}

.estimate-visual__sheet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.estimate-visual__sheet li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--est-line);
  font-size: 13px;
}

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

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

.estimate-section--dark {
  background: radial-gradient(circle at 12% 8%, rgba(22, 111, 255, 0.27), transparent 30%),
    linear-gradient(145deg, #030817 0%, #07142d 55%, #091d45 100%);
  color: #fff;
}

.estimate-title {
  max-width: 720px;
  margin: 0 0 36px;
}

.estimate-title .eyebrow {
  margin: 0 0 12px;
  color: var(--est-blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 780;
}

.estimate-section--dark .estimate-title .eyebrow {
  color: #80b7ff;
}

.estimate-title h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.6vw, 48px);
  letter-spacing: -0.045em;
}

.estimate-title p {
  margin: 0;
  max-width: 560px;
  color: var(--est-muted);
  font-size: 16px;
  line-height: 1.65;
}

.estimate-section--dark .estimate-title p {
  color: #aab8d1;
}

.estimate-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--est-line);
}

.estimate-steps article {
  padding: 28px 24px 8px 0;
  border-right: 1px solid var(--est-line);
}

.estimate-steps article:last-child {
  border-right: 0;
  padding-right: 0;
}

.estimate-steps i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #edf4ff;
  color: var(--est-blue);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.estimate-steps svg {
  width: 22px;
  height: 22px;
}

.estimate-steps h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.estimate-steps p {
  margin: 0;
  color: var(--est-muted);
  font-size: 15px;
  line-height: 1.6;
}

.estimate-receive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.estimate-receive li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 18px 18px 16px;
  border: 1px solid var(--est-line);
  border-radius: 14px;
  background: #fff;
}

.estimate-receive span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--est-blue);
  box-shadow: 0 0 0 4px rgba(60, 130, 215, 0.12);
}

.estimate-receive strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.estimate-receive small {
  color: var(--est-muted);
  font-size: 13px;
  line-height: 1.5;
}

.estimate-offer-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(121, 164, 255, 0.18);
  border-radius: 26px;
  background: radial-gradient(circle at 8% 5%, rgba(31, 119, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #050b1d 0%, #081a3d 56%, #0b2360 100%);
  color: #fff;
}

.estimate-offer-panel .estimate-price__was {
  color: #9eb3d4;
}

.estimate-offer-panel .estimate-price__now strong {
  background: linear-gradient(90deg, #93c5fd, #fff);
  -webkit-background-clip: text;
  background-clip: text;
}

.estimate-offer-panel .estimate-price p,
.estimate-offer-panel .estimate-price__unit {
  color: #9ebfff;
}

.estimate-offer-panel .estimate-kicker {
  background: rgba(80, 132, 255, 0.12);
  color: #9ebfff;
}

.estimate-limit {
  margin: 0 0 16px;
  color: var(--est-ink);
  font-size: 16px;
  font-weight: 650;
}

.estimate-offer-panel .button-row {
  margin-top: 22px;
}

.estimate-offer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.estimate-offer-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #dce7fb;
  font-size: 15px;
}

.estimate-offer-list li:first-child {
  border-top: 0;
}

.estimate-offer-list b {
  color: #fff;
}

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

.estimate-audience article {
  padding: 22px 20px;
  border: 1px solid var(--est-line);
  border-radius: 16px;
  background: #fff;
}

.estimate-audience h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.estimate-audience p {
  margin: 0;
  color: var(--est-muted);
  font-size: 14px;
  line-height: 1.55;
}

.estimate-why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.estimate-why article {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.estimate-why h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.estimate-why p {
  margin: 0;
  color: #aab8d1;
  font-size: 14px;
  line-height: 1.6;
}

.estimate-faq .faq-list details {
  border-color: var(--est-line);
  border-radius: 14px;
  background: #fff;
}

.estimate-faq summary {
  font-family: var(--font-body);
  font-weight: 720;
  font-size: 16px;
}

.estimate-form-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: start;
}

.estimate-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--est-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(21, 40, 72, 0.08);
}

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

.estimate-form label {
  display: grid;
  gap: 6px;
  color: var(--est-ink);
  font-size: 13px;
  font-weight: 680;
}

.estimate-form .req {
  color: var(--est-blue);
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--est-line);
  border-radius: 12px;
  background: #f7faff;
  color: var(--est-ink);
  font: inherit;
}

.estimate-form textarea {
  min-height: 110px;
  resize: vertical;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: 2px solid rgba(60, 130, 215, 0.35);
  outline-offset: 1px;
  border-color: #9cbcf2;
  background: #fff;
}

.estimate-form input[type="file"] {
  padding: 10px;
  background: #fff;
}

.estimate-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.estimate-form__hint,
.estimate-form__privacy {
  margin: 0;
  color: var(--est-muted);
  font-size: 13px;
}

.estimate-form__error,
.estimate-size-note[hidden] {
  display: none;
}

.estimate-form__error.is-visible,
.estimate-size-note {
  display: block;
  margin: 0;
  color: #9b3d2a;
  font-size: 13px;
}

.estimate-form__success {
  display: none;
  padding: 28px;
  border: 1px solid var(--est-line);
  border-radius: 20px;
  background: #fff;
}

.estimate-form__success.is-visible {
  display: grid;
  gap: 10px;
}

.estimate-form__success h3 {
  margin: 0;
  font-size: 24px;
}

.estimate-form.is-hidden {
  display: none;
}

.estimate-final {
  text-align: left;
}

.estimate-final h2 {
  max-width: 16ch;
  margin: 0 0 12px;
  font-size: clamp(36px, 4.4vw, 56px);
}

.estimate-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--est-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -10px 30px rgba(21, 40, 72, 0.12);
  backdrop-filter: blur(16px);
}

.estimate-sticky .button {
  width: 100%;
}

.estimate-page .drew-widget {
  bottom: 92px;
}

@keyframes estimate-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (hover: hover) {
  .estimate-steps article:hover i {
    transform: translateY(-4px);
    background: var(--est-blue);
    color: #fff;
  }
}

@media (max-width: 980px) {
  .estimate-hero,
  .estimate-form-grid,
  .estimate-offer-panel,
  .estimate-why,
  .estimate-receive,
  .estimate-audience,
  .estimate-steps {
    grid-template-columns: 1fr;
  }

  .estimate-hero {
    gap: 28px;
    padding: 28px 0 56px;
  }

  .estimate-hero h1 {
    max-width: none;
  }

  .estimate-steps article,
  .estimate-steps article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--est-line);
    padding: 26px 0;
  }

  .estimate-visual {
    min-height: 0;
    width: min(560px, 100%);
    margin-inline: auto;
  }

  .estimate-visual__body {
    grid-template-columns: 1fr;
  }

  .estimate-visual__sheet {
    border-left: 0;
    border-top: 1px solid var(--est-line);
  }

  .estimate-offer-panel,
  .estimate-form {
    padding: 22px 18px;
  }

  .estimate-sticky {
    display: block;
  }

  .estimate-page {
    padding-bottom: 88px;
  }

  .estimate-page .drew-widget {
    bottom: 86px;
  }
}

@media (max-width: 680px) {
  .estimate-shell {
    width: min(100% - 28px, 1180px);
  }

  .estimate-form__row {
    grid-template-columns: 1fr;
  }

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

  .estimate-page .button-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .estimate-page .button-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .estimate-line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .estimate-page .button,
  .estimate-steps i {
    transition: none;
  }
}
