/* estimator.css — Sketches AI Estimator (/landing/) */

.sk-estimator-page {
  --sk-est-bg: #eef0f2;
  --sk-est-card: #ffffff;
  --sk-est-ink: #0d141a;
  --sk-est-muted: #6b7280;
  --sk-est-line: #e4e4e6;
  --sk-est-red: #cc0000;
  font-family: Ubuntu, sans-serif;
  color: var(--sk-est-ink);
}

.sk-estimator-hero {
  background: linear-gradient(180deg, #f7f8fa 0%, #eef0f2 55%, #fff 100%);
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
}

.sk-estimator-hero__inner {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.sk-estimator-hero__brand {
  margin: 0 0 12px;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sk-est-red);
}

.sk-estimator-hero__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--sk-est-red);
}

.sk-estimator-hero__lead {
  margin: 0 auto 36px;
  max-width: 38em;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
  color: var(--sk-est-muted);
}

.sk-estimator-shell {
  background: var(--sk-est-bg);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px) clamp(18px, 3vw, 28px);
  text-align: left;
}

.sk-estimator-shell__prompt {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 500;
}

.sk-estimator-thread {
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
  min-height: 0;
}

.sk-estimator-thread:empty {
  display: none;
}

.sk-estimator-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.sk-estimator-choices[hidden] {
  display: none !important;
}

.sk-estimator-fields {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--sk-est-line, #e4e4e6);
  border-radius: 14px;
  display: grid;
  gap: 10px;
}

.sk-estimator-form {
  display: grid;
  gap: 12px;
}

.sk-estimator-form .sk-estimator-field__label span {
  display: block;
  margin-bottom: 4px;
}

select.sk-estimator-field__input {
  appearance: auto;
  background: #fafbfc;
}

.sk-estimator-fields[hidden] {
  display: none !important;
}

.sk-estimator-field__label {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-est-ink, #0d141a);
}

.sk-estimator-field__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sk-est-line, #d8dce3);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--sk-est-ink, #0d141a);
  background: #fafbfc;
  resize: vertical;
  min-height: 44px;
}

.sk-estimator-field__input:focus {
  outline: none;
  border-color: var(--sk-est-red, #cc0000);
  background: #fff;
}

textarea.sk-estimator-field__input {
  min-height: 88px;
  line-height: 1.45;
}

.sk-estimator-field__actions {
  display: flex;
  justify-content: flex-end;
}

.sk-estimator-field__submit {
  appearance: none;
  border: none;
  background: var(--sk-est-red, #cc0000);
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sk-estimator-field__submit:hover,
.sk-estimator-field__submit:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

.sk-estimator-choice {
  appearance: none;
  border: 1px solid var(--sk-est-line, #d8dce3);
  background: #fff;
  color: var(--sk-est-ink, #0d141a);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sk-estimator-choice:hover,
.sk-estimator-choice:focus-visible {
  border-color: #e30613;
  color: #e30613;
  outline: none;
}

.sk-estimator-composer-wrap {
  display: grid;
  gap: 10px;
}

.sk-estimator-composer-wrap[hidden] {
  display: none !important;
}

.sk-estimator-composer {
  position: relative;
  background: var(--sk-est-card);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(13, 20, 26, 0.08);
  padding: 16px 16px 56px;
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}

/* Once chatting: compact input, no big empty box / animated hint */
.sk-estimator-shell.is-chatting {
  padding-top: clamp(16px, 2.5vw, 24px);
  padding-bottom: clamp(16px, 2.5vw, 24px);
}

.sk-estimator-shell.is-chatting .sk-estimator-composer {
  padding: 10px 12px 10px 14px;
  box-shadow: 0 2px 10px rgba(13, 20, 26, 0.06);
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.sk-estimator-shell.is-chatting .sk-estimator-composer__hint {
  display: none;
}

.sk-estimator-shell.is-chatting .sk-estimator-composer__input {
  min-height: 44px;
  max-height: 120px;
  padding: 8px 0;
  flex: 1;
}

.sk-estimator-shell.is-chatting .sk-estimator-composer__send {
  position: static;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.sk-estimator-restart {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--sk-est-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sk-estimator-restart:hover {
  color: var(--sk-est-ink);
}

.sk-estimator-composer__hint {
  position: absolute;
  left: 16px;
  right: 60px;
  top: 16px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: #9aa0a6;
  pointer-events: none;
  white-space: pre-wrap;
  transition: opacity 0.15s ease;
}

.sk-estimator-composer__hint::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.12em;
  background: #9aa0a6;
  animation: sk-est-caret 0.9s steps(1) infinite;
}

.sk-estimator-composer.is-typing .sk-estimator-composer__hint,
.sk-estimator-composer.is-focused .sk-estimator-composer__hint {
  opacity: 0;
}

.sk-estimator-composer__input {
  display: block;
  width: 100%;
  min-height: 110px;
  border: 0;
  resize: vertical;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sk-est-ink);
  background: transparent;
  outline: none;
  position: relative;
  z-index: 1;
}

.sk-estimator-composer__input::placeholder {
  color: #9aa0a6;
}

@keyframes sk-est-caret {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sk-estimator-composer__hint::after {
    animation: none;
  }
}

/* Why Choose Sketches — more air above heading / below body text */
.sk-estimator-page #zKn6hD .block-layout--layout,
.sk-thanks-page #zKn6hD .block-layout--layout {
  --grid-template-rows: 100px auto 0 auto 100px !important;
  --small-desktop-grid-template-rows: 100px auto 0 auto 100px !important;
  --t-grid-template-rows: 100px auto 0 auto 100px !important;
  --m-grid-template-rows: 100px auto 0 auto 100px !important;
}

@media (max-width: 920px) {
  .sk-estimator-page #zKn6hD .block-layout--layout,
  .sk-thanks-page #zKn6hD .block-layout--layout {
    --grid-template-rows: 100px auto 0 auto 100px !important;
    --small-desktop-grid-template-rows: 100px auto 0 auto 100px !important;
    --t-grid-template-rows: 100px auto 0 auto 100px !important;
    --m-grid-template-rows: 100px auto 0 auto 100px !important;
  }
}

.sk-estimator-composer__send {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #e8eaed;
  color: var(--sk-est-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.sk-estimator-composer__send:hover,
.sk-estimator-composer__send:focus-visible {
  background: var(--sk-est-red);
  color: #fff;
  outline: none;
}

.sk-estimator-composer__send:disabled {
  opacity: 0.5;
  cursor: wait;
}

.sk-estimator-bubble {
  border-radius: 14px;
  padding: 12px 16px 14px;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.sk-estimator-bubble__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: #e30613;
}

.sk-estimator-bubble__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}

.sk-estimator-bubble--user .sk-estimator-bubble__name {
  color: var(--sk-est-muted, #6b7280);
  justify-content: flex-end;
}

.sk-estimator-bubble__body {
  white-space: pre-wrap;
}

.sk-estimator-bubble--user {
  background: #fff;
  border: 1px solid var(--sk-est-line);
  justify-self: end;
  max-width: 92%;
}

.sk-estimator-bubble--bot {
  background: #fff;
  border-left: 3px solid #e30613;
  box-shadow: 0 2px 10px rgba(13, 20, 26, 0.04);
  max-width: 96%;
}

.sk-estimator-bubble--typing .sk-estimator-bubble__body {
  min-height: 1.2em;
  display: flex;
  align-items: center;
}

.sk-estimator-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}

.sk-estimator-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5c9d1;
  animation: sk-est-typing-dot 1.2s ease-in-out infinite;
}

.sk-estimator-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.sk-estimator-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes sk-est-typing-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-estimator-typing span {
    animation: none;
    opacity: 0.7;
  }
}

.sk-estimator-bubble--error {
  border-left-color: #b45309;
  color: #7c2d12;
}

.sk-estimator-capture {
  margin-top: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 4px 16px rgba(13, 20, 26, 0.05);
  display: none;
}

.sk-estimator-capture.is-open {
  display: block;
}

.sk-estimator-answers {
  margin-top: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 4px 16px rgba(13, 20, 26, 0.05);
  display: none;
}

.sk-estimator-answers.is-open {
  display: block;
}

.sk-estimator-answers__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.sk-estimator-answers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sk-estimator-answers__field {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--sk-est-muted);
}

.sk-estimator-answers__field input,
.sk-estimator-answers__field select {
  border: 1px solid var(--sk-est-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--sk-est-ink);
}

.sk-estimator-capture__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.sk-estimator-capture__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sk-estimator-capture label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--sk-est-muted);
}

.sk-estimator-capture label.sk-estimator-capture--full {
  grid-column: 1 / -1;
}

.sk-estimator-capture input,
.sk-estimator-capture select {
  border: 1px solid var(--sk-est-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--sk-est-ink);
}

.sk-estimator-capture__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sk-estimator-capture__submit {
  border: 0;
  border-radius: 8px;
  background: var(--sk-est-red);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
}

.sk-estimator-capture__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.sk-estimator-capture__hint {
  margin: 0;
  font-size: 13px;
  color: var(--sk-est-muted);
}

.sk-estimator-status {
  margin: 10px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--sk-est-muted);
  text-align: center;
}

.sk-estimator-why {
  padding: clamp(48px, 7vw, 88px) 0;
  background: #fff;
}

.sk-estimator-why__inner {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.sk-estimator-why h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.5vw, 36px);
}

.sk-estimator-why p {
  margin: 0 0 20px;
  color: #56585e;
  line-height: 1.6;
  font-size: 17px;
}

.sk-estimator-why ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.sk-estimator-why li {
  padding-left: 1.2em;
  position: relative;
  color: #56585e;
  line-height: 1.5;
}

.sk-estimator-why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sk-est-red);
}

.sk-estimator-faq {
  padding: clamp(48px, 7vw, 88px) 0;
  background: #f7f8fa;
}

.sk-estimator-faq__inner {
  width: min(800px, calc(100% - 32px));
  margin: 0 auto;
}

.sk-estimator-faq h2 {
  margin: 0 0 24px;
  font-size: clamp(24px, 3.5vw, 36px);
}

.sk-estimator-faq details {
  border-top: 1px solid var(--sk-est-line);
  padding: 14px 0;
}

.sk-estimator-faq details:last-child {
  border-bottom: 1px solid var(--sk-est-line);
}

.sk-estimator-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.sk-estimator-faq summary::-webkit-details-marker {
  display: none;
}

.sk-estimator-faq details p {
  margin: 10px 0 0;
  color: #56585e;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .sk-estimator-capture__grid,
  .sk-estimator-answers__grid {
    grid-template-columns: 1fr;
  }
}

/* Classic form (estimator.sketches.ae parity) */
.sk-estimator-hero__inner--wide {
  width: min(720px, calc(100% - 32px));
  text-align: left;
}

.sk-estimator-hero__inner--wide .sk-estimator-hero__title,
.sk-estimator-hero__inner--wide .sk-estimator-hero__lead,
.sk-estimator-ready {
  text-align: center;
}

.sk-estimator-ready {
  margin: 0 0 28px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--sk-est-red);
}

.sk-est-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(13, 20, 26, 0.08);
  padding: clamp(22px, 4vw, 36px);
  margin: 0 0 28px;
}

.sk-est-form__title {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--sk-est-ink);
  text-align: center;
}

.sk-est-form__lead {
  margin: -8px 0 20px;
  text-align: center;
  color: var(--sk-est-muted);
  line-height: 1.5;
}

.sk-est-form__step {
  margin: 8px 0 18px;
  font-size: 16px;
  color: var(--sk-est-red);
  line-height: 1.45;
}

.sk-est-form__step span {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

.sk-est-form [hidden] {
  display: none !important;
}

.sk-est-form__or {
  margin: 8px 0 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--sk-est-ink);
}

.sk-est-form__group {
  margin: 0 0 16px;
}

.sk-est-form__label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-est-ink);
}

.sk-est-form__input,
.sk-est-form__select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--sk-est-line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background: #fafbfc;
  color: var(--sk-est-ink);
}

.sk-est-form__input:focus,
.sk-est-form__select:focus {
  outline: 2px solid rgba(204, 0, 0, 0.25);
  border-color: #cc0000;
  background: #fff;
}

.sk-est-form__textarea {
  resize: vertical;
  min-height: 110px;
}

.sk-est-price {
  margin: 8px 0 22px;
  padding: 18px 16px;
  border-radius: 12px;
  background: #f7f8fa;
  border: 1px solid var(--sk-est-line);
  text-align: center;
}

.sk-est-price__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sk-est-muted);
}

.sk-est-price__amount {
  margin-top: 6px;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  color: var(--sk-est-red);
}

.sk-est-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--sk-est-red);
  cursor: pointer;
}

.sk-est-form__submit:hover,
.sk-est-form__submit:focus-visible {
  background: #b00000;
}

.sk-est-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.sk-est-form__status {
  min-height: 1.25em;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--sk-est-muted);
}

.sk-est-form__status.is-error {
  color: var(--sk-est-red);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.45;
}

#sk-est-route-status.sk-est-form__callout {
  display: block;
  margin-top: 14px;
}

.sk-est-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.sk-est-form__go {
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--sk-est-red);
  cursor: pointer;
  white-space: nowrap;
}

.sk-est-form__go:hover {
  background: #b00000;
}

.sk-est-form__note {
  margin: 8px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f8fa;
  color: #444;
  line-height: 1.45;
  font-size: 15px;
}

/* Plain instructional copy — not a field-like grey box */
.sk-est-form__hint {
  margin: 4px 0 18px;
  padding: 0;
  background: none;
  border: 0;
  color: #555;
  line-height: 1.5;
  font-size: 15px;
}

.sk-est-form__callout {
  margin: 12px 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0e0c0;
  color: #4a3f2f;
  line-height: 1.5;
  font-size: 15px;
}

.sk-est-form__picks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 8px;
}

.sk-est-form__pick {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  border: 1px solid var(--sk-est-line);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--sk-est-ink);
  background: #fafbfc;
  cursor: pointer;
}

.sk-est-form__pick:hover,
.sk-est-form__pick:focus-visible {
  border-color: #cc0000;
  background: #fff;
  outline: 2px solid rgba(204, 0, 0, 0.2);
}

.sk-est-form__pick--other {
  font-weight: 500;
  color: #555;
}

.sk-est-form__pick.is-selected {
  border-color: #cc0000;
  background: #fff5f5;
  box-shadow: inset 0 0 0 1px #cc0000;
}

#sk-est-panel-soft {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--sk-est-line);
}

.sk-est-form__notice {
  margin: 12px 0 20px;
  padding: 16px 18px;
  border: 0;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0e0c0;
  color: #4a3f2f;
  line-height: 1.55;
  font-size: 16px;
}

.sk-est-form__notice a {
  color: var(--sk-est-red);
  font-weight: 600;
}

.sk-est-form__submit--ghost {
  background: #fff;
  color: var(--sk-est-red);
  border: 2px solid var(--sk-est-red);
}

.sk-est-form__submit--ghost:hover {
  background: #fff5f5;
}

@media (max-width: 640px) {
  .sk-est-search-row {
    grid-template-columns: 1fr;
  }
}
