/* ================================================================
   Treeberg Questionnaire Section — 4-step wizard
   Layout: step indicator → card [ hero(mascot+bubble) → form → nav ]
   ================================================================ */

.tq {
  width: 100%;
  max-width: 86rem;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.tq *,
.tq *::before,
.tq *::after {
  box-sizing: border-box;
}

/* ── Step Indicator ──────────────────────────────────────────── */

.tq-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 4rem;
  padding: 0 2rem;
  position: relative;
}

.tq-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 12rem;
  width: 12rem;
  text-align: center;
}

.tq-step-dot {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(var(--color-foreground), 0.35);
  flex-shrink: 0;
  font-family: var(--font-body-family);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, calc(var(--button-glass-opacity, 0.2) * 2)),
    rgba(255, 255, 255, calc(var(--button-glass-opacity, 0.2) * 1.2))
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 0.8));
  -webkit-backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 0.8));
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tq-step-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg,
    rgba(var(--button-glass-shine-color, 255, 255, 255), calc(var(--button-glass-shine-opacity, 0.4) * 1.2)) 0%,
    transparent 60%
  );
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.5;
}

.tq-step-dot.active {
  background: linear-gradient(135deg,
    rgba(var(--color-button), 0.75),
    rgba(var(--color-button), 0.9)
  );
  border-color: rgba(255, 255, 255, 0.2);
  color: rgb(var(--color-background));
  box-shadow:
    0 4px 16px rgba(var(--color-button), 0.25),
    0 2px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 1.2));
  -webkit-backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 1.2));
}

.tq-step-dot.active::after {
  opacity: 0.7;
}

.tq-step-dot.completed {
  background: linear-gradient(135deg,
    rgba(var(--color-button), 0.4),
    rgba(var(--color-button), 0.55)
  );
  border-color: rgba(255, 255, 255, 0.2);
  color: rgb(var(--color-background));
  box-shadow:
    0 2px 8px rgba(var(--color-button), 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tq-step-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tq-step-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(var(--color-foreground), 0.75);
  white-space: normal;
  line-height: 1.3;
}

.tq-step.active .tq-step-name {
  color: rgb(var(--color-foreground));
}

.tq-step-sub {
  font-size: 1.2rem;
  color: rgba(var(--color-foreground), 0.4);
  white-space: normal;
  line-height: 1.3;
}

.tq-step-line {
  height: 2px;
  background: rgba(var(--color-foreground), 0.08);
  border-radius: 1px;
  flex: 0 0 8rem;
  margin: 2rem 1rem 0;
  transition: background 0.35s ease;
}

.tq-step-line.completed {
  background: rgba(var(--color-button), 0.3);
}

/* ── Main Card Container ─────────────────────────────────────── */

.tq-card {
  position: relative;
  overflow: visible;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, calc(var(--button-glass-opacity, 0.2) * 2.2)),
    rgba(255, 255, 255, calc(var(--button-glass-opacity, 0.2) * 1.4))
  );
  border: 1px solid rgba(var(--color-foreground), 0.06);
  border-radius: 2.4rem;
  padding: 0 3.2rem 3.2rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 1.2));
  -webkit-backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 1.2));
}

/* ── Hero Row: Mascot (left) + Bubble (right) ────────────────── */

.tq-hero {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  min-height: 36rem;
}

.tq-mascot {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: -6rem;
  position: relative;
  z-index: 2;
}

.tq-mascot img {
  width: 100%;
  max-height: 44rem;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  animation: tqFloat 5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 22%);
  mask-image: linear-gradient(to top, transparent 0%, black 22%);
}

@keyframes tqFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.8rem); }
}

.tq-bubble {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, calc(var(--button-glass-opacity, 0.2) * 2)),
    rgba(255, 255, 255, calc(var(--button-glass-opacity, 0.2) * 1.3))
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2rem;
  padding: 3rem 3.2rem;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 1.5));
  -webkit-backdrop-filter: blur(calc(var(--button-glass-blur, 10px) * 1.5));
  overflow: hidden;
  align-self: center;
}

.tq-bubble::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 1.2rem solid transparent;
  border-bottom: 1.2rem solid transparent;
  border-right: 1.4rem solid rgba(255, 255, 255, 0.45);
  filter: drop-shadow(-2px 1px 3px rgba(0, 0, 0, 0.04));
  z-index: 2;
}

.tq-bubble::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 55%;
  background: linear-gradient(135deg,
    rgba(var(--button-glass-shine-color, 255, 255, 255), calc(var(--button-glass-shine-opacity, 0.4) * 1.3)) 0%,
    rgba(var(--button-glass-shine-color, 255, 255, 255), calc(var(--button-glass-shine-opacity, 0.4) * 0.5)) 30%,
    transparent 60%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.tq-bubble-heading {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading-family);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgb(var(--color-foreground));
  margin: 0 0 1rem;
}

.tq-bubble-text {
  position: relative;
  z-index: 2;
  font-size: 1.6rem;
  line-height: 1.5;
  color: rgba(var(--color-foreground), 0.6);
  margin: 0;
}

/* ── Price Widget ────────────────────────────────────────────── */

.tq-price-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.4rem;
  padding: 1.2rem 2rem;
  margin: 1.6rem 0 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tq-price-widget__label {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.55);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tq-price-widget__value {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(var(--color-foreground), 0.95);
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
  white-space: nowrap;
}

@keyframes tqPricePulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); color: var(--gradient-base-accent-1, #5de0a0); }
  100% { transform: scale(1); }
}

.tq-price-pulse {
  animation: tqPricePulse 0.4s ease;
}

/* ── Form Area ───────────────────────────────────────────────── */

.tq-form-area {
  padding: 2.4rem 0 0;
}

.tq-field {
  margin-bottom: 2.4rem;
}

.tq-field:last-child {
  margin-bottom: 0;
}

.tq-field-label {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  margin-bottom: 1rem;
}

/* ── Styled select (dropdown) ── */

.tq .tq-select {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: var(--inputs-radius, 0.8rem);
  border: 1px solid rgba(var(--color-foreground), 0.12);
  background-color: rgb(var(--color-background));
  font-size: 1.5rem;
  color: rgb(var(--color-foreground));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%233f3f3f" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-inline-end: 4rem;
  cursor: pointer;
}

.tq .tq-select:focus {
  outline: 2px solid rgba(var(--color-foreground), 0.4);
  outline-offset: 2px;
  border-color: rgba(var(--color-foreground), 0.35);
}

/* ── Styled text input ── */

.tq .tq-input {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-radius: var(--inputs-radius, 0.8rem);
  border: 1px solid rgba(var(--color-foreground), 0.12);
  background-color: rgb(var(--color-background));
  font-size: 1.5rem;
  color: rgb(var(--color-foreground));
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  line-height: 1.2;
}

.tq .tq-input:focus {
  outline: 2px solid rgba(var(--color-foreground), 0.4);
  outline-offset: 2px;
  border-color: rgba(var(--color-foreground), 0.35);
}

/* ── Checkboxes & Radios ─────────────────────────────────────── */

.tq-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.4rem;
}

.tq-checkboxes.column {
  flex-direction: column;
  gap: 0.8rem;
}

.tq-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  cursor: pointer;
  padding: 0.4rem 0;
}

.tq-checkbox input[type="checkbox"],
.tq-checkbox input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border: 2px solid rgba(var(--color-foreground), 0.3);
  border-radius: 0.4rem;
  margin: 0.2rem 0 0;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: rgb(var(--color-background));
}

.tq-checkbox input[type="radio"] {
  border-radius: 50%;
}

.tq-checkbox input:checked {
  background-color: rgb(var(--color-button));
  border-color: rgb(var(--color-button));
}

.tq-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.5rem;
  height: 0.9rem;
  border: solid rgb(var(--color-background));
  border-width: 0 2px 2px 0;
}

.tq-checkbox input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.6rem;
  height: 0.6rem;
  background: rgb(var(--color-background));
  border-radius: 50%;
}

.tq-checkbox:hover input[type="checkbox"],
.tq-checkbox:hover input[type="radio"] {
  border-color: rgba(var(--color-foreground), 0.55);
}

.tq-checkbox input[type="checkbox"]:focus-visible,
.tq-checkbox input[type="radio"]:focus-visible {
  outline: 2px solid rgba(var(--color-foreground), 0.4);
  outline-offset: 2px;
}

.tq-checkbox span {
  font-size: 1.5rem;
  color: rgb(var(--color-foreground));
  user-select: none;
  line-height: 1.4;
}

.tq-checkbox span em {
  font-style: normal;
  font-size: 1.3rem;
  color: rgba(var(--color-foreground), 0.45);
  display: block;
  margin-top: 0.2rem;
}

/* ── Navigation ──────────────────────────────────────────────── */

.tq-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding-top: 2.4rem;
  position: relative;
}

/* CTA Glow Button */
.tq-btn-cta {
  --cta-bg: rgb(var(--color-background));
  --cta-text: rgb(var(--color-foreground));
  --cta-glow: #EBE8E8;
  --cta-shimmer: #D7D7D7;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 5rem;
  background-color: var(--cta-bg);
  color: var(--cta-text);
  font-family: var(--font-button-family);
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  min-width: 20rem;
}

.tq-btn-cta__text {
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.tq-btn-cta__glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--cta-glow), transparent, var(--cta-glow));
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  filter: blur(8px);
}

.tq-btn-cta__shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cta-shimmer), transparent);
  opacity: 0.3;
  z-index: 2;
  animation: tqAutoShimmer 3s ease-in-out infinite;
}

@keyframes tqAutoShimmer {
  0%        { left: -100%; }
  50%, 100% { left: 100%; }
}

.tq-btn-cta:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.25),
    0 0 80px rgba(255, 255, 255, 0.8),
    0 0 120px rgba(255, 255, 255, 0.6),
    0 0 160px rgba(255, 255, 255, 0.4);
}

.tq-btn-cta:hover .tq-btn-cta__glow {
  opacity: 1;
  animation: tqGlowPulse 2s ease-in-out infinite;
}

.tq-btn-cta:hover .tq-btn-cta__shimmer {
  left: 100%;
  transition: left 0.8s ease;
}

.tq-btn-cta:hover .tq-btn-cta__text {
  transform: scale(1.08);
}

.tq-btn-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes tqGlowPulse {
  0%, 100% { opacity: 0.8; filter: blur(8px); }
  50%      { opacity: 1;   filter: blur(12px); }
}

/* Secondary button (Back) */
.tq-btn--secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1.4rem 3rem;
  cursor: pointer;
  font-family: var(--font-button-family);
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  background: rgba(var(--color-foreground), 0.04);
  border: 1px solid rgba(var(--color-foreground), 0.12);
  color: rgba(var(--color-foreground), 0.7);
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.tq-btn--secondary:hover {
  background: rgba(var(--color-foreground), 0.07);
  color: rgb(var(--color-foreground));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

/* ── Step Panels ─────────────────────────────────────────────── */

.tq-panel {
  display: none;
}

.tq-panel.active {
  display: block;
  animation: tqFadeIn 0.4s ease;
}

@keyframes tqFadeIn {
  from { opacity: 0; transform: translateY(1.2rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Error State ─────────────────────────────────────────────── */

.tq .error {
  animation: tqShake 0.5s;
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.04) !important;
}

@keyframes tqShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-0.5rem); }
  40%, 80% { transform: translateX(0.5rem); }
}

.tq-required {
  color: #ef4444;
  margin-left: 0.2rem;
}

/* ── Step 4: Two-column layout (Estimate + Contact) ──────────── */

.tq-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  padding-top: 2.4rem;
}

.tq-estimate-block {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(var(--color-foreground), 0.08);
  border-radius: 1.6rem;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
}

.tq-estimate-block__label {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(var(--color-foreground), 0.45);
  margin-bottom: 1rem;
}

.tq-estimate-total {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgb(var(--color-foreground));
  line-height: 1;
  margin-bottom: 0.4rem;
}

.tq-estimate-sub {
  font-size: 1.2rem;
  color: rgba(var(--color-foreground), 0.4);
  margin-bottom: 2rem;
}

.tq-estimate-rows {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tq-estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.35rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.05);
  color: rgba(var(--color-foreground), 0.7);
}

.tq-estimate-row:last-child {
  border-bottom: none;
}

.tq-estimate-row__val {
  font-weight: 600;
  color: rgb(var(--color-foreground));
  white-space: nowrap;
  margin-left: 1rem;
}

.tq-on-request {
  font-size: 1.2rem;
  color: rgba(var(--color-foreground), 0.45);
  font-style: italic;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(var(--color-foreground), 0.12);
  line-height: 1.6;
}

.tq-on-request strong {
  font-style: normal;
  color: rgba(var(--color-foreground), 0.6);
}

/* ── Contact Block ───────────────────────────────────────────── */

.tq-contact-block {
  display: flex;
  flex-direction: column;
}

.tq-contact-block .tq-field {
  margin-bottom: 1.6rem;
}

.tq-contact-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.tq-contact-nav .tq-btn-cta {
  flex: 1;
  min-width: auto;
}

/* ── Privacy Notice ──────────────────────────────────────────── */

.tq-privacy-notice {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
}

.tq-privacy-notice p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(var(--color-foreground), 0.6);
}

.tq-privacy-notice p strong {
  color: rgba(var(--color-foreground), 0.85);
  font-weight: 600;
}

.tq-privacy-notice p a {
  color: rgba(var(--color-foreground), 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tq-privacy-notice p a:hover {
  color: rgba(var(--color-foreground), 1);
}

/* ── Thank You ───────────────────────────────────────────────── */

.tq-thankyou-card {
  text-align: center;
  padding: 5rem 3rem !important;
}

.tq-thankyou-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: rgb(var(--color-button));
  color: rgb(var(--color-background));
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.4rem;
  box-shadow: 0 4px 16px rgba(var(--color-button), 0.25);
}

.tq-thankyou-heading {
  font-family: var(--font-heading-family);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgb(var(--color-foreground));
  margin: 0 0 1.2rem;
}

.tq-thankyou-text {
  font-size: 1.7rem;
  color: rgba(var(--color-foreground), 0.65);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 44rem;
}

/* ── Desktop (750px+) ────────────────────────────────────────── */

@media screen and (min-width: 750px) {
  .tq-bubble-heading {
    font-size: 3.4rem;
  }

  .tq-bubble-text {
    font-size: 1.7rem;
  }

  .tq-field-label {
    font-size: 1.6rem;
  }

  .tq .tq-select,
  .tq .tq-input {
    font-size: 1.6rem;
    padding: 1.3rem 1.6rem;
  }

  .tq .tq-select {
    padding-inline-end: 4.4rem;
    background-position: right 1.4rem center;
  }

  .tq-checkbox span {
    font-size: 1.6rem;
  }
}

/* ── Large Desktop (990px+) ──────────────────────────────────── */

@media screen and (min-width: 990px) {
  .tq-card {
    padding: 0 4rem 3.6rem;
  }

  .tq-hero {
    gap: 3.2rem;
    min-height: 38rem;
  }

  .tq-bubble {
    padding: 3.2rem 3.6rem;
  }

  .tq-bubble-heading {
    font-size: 3.6rem;
  }
}

/* ── Tablet (750–989px) ──────────────────────────────────────── */

@media screen and (min-width: 750px) and (max-width: 989px) {
  .tq-mascot {
    flex: 0 0 35%;
    max-width: 35%;
    margin-top: -4rem;
  }

  .tq-mascot img {
    max-height: 34rem;
  }

  .tq-bubble-heading {
    font-size: 2.6rem;
  }

  .tq-step-label {
    display: none;
  }

  .tq-final {
    grid-template-columns: 1fr;
  }

  .tq-estimate-total {
    font-size: 2.8rem;
  }
}

/* ── Mobile (< 750px) ───────────────────────────────────────── */

@media screen and (max-width: 749px) {
  .tq {
    padding: 1.5rem 0 2rem;
  }

  .tq-steps {
    margin-bottom: 2.4rem;
    justify-content: center;
    padding: 0 1rem;
  }

  .tq-step-label {
    display: none;
  }

  .tq-step-dot {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.2rem;
  }

  .tq-step-line {
    flex: 0 0 3rem;
    margin: 1.7rem 0.6rem 0;
  }

  .tq-card {
    border-radius: 1.8rem;
    padding: 0 1.8rem 2.4rem;
  }

  .tq-hero {
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-height: auto;
  }

  .tq-mascot {
    flex: none;
    max-width: 60%;
    width: 60%;
    margin-top: -3rem;
    order: 0;
  }

  .tq-mascot img {
    max-height: 24rem;
  }

  .tq-bubble {
    padding: 2rem;
    border-radius: 1.6rem;
    order: 1;
    width: 100%;
  }

  .tq-bubble::before {
    left: 50%;
    top: -1.2rem;
    transform: translateX(-50%) rotate(90deg);
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-right: 1.2rem solid rgba(255, 255, 255, 0.45);
  }

  .tq-bubble-heading {
    font-size: 2.2rem;
  }

  .tq-bubble-text {
    font-size: 1.4rem;
  }

  .tq-form-area {
    padding-top: 2rem;
  }

  .tq-field {
    margin-bottom: 2rem;
  }

  .tq-checkboxes {
    flex-direction: column;
    gap: 0.6rem;
  }

  .tq-nav {
    padding-top: 2rem;
  }

  .tq-btn-cta {
    width: 100%;
    min-width: auto;
    padding: 1.6rem 3rem;
  }

  .tq-final {
    grid-template-columns: 1fr;
  }

  .tq-estimate-total {
    font-size: 2.8rem;
  }

  .tq-contact-nav .tq-btn-cta {
    flex: none;
    width: 100%;
  }

  .tq-price-widget {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1rem 1.6rem;
  }

  .tq-price-widget__value {
    font-size: 1.8rem;
  }
}

/* ── Reduced Motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .tq *,
  .tq *::before,
  .tq *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
