:root {
  --blue-950: #07172f;
  --blue-900: #0d2445;
  --blue-800: #143965;
  --blue-100: #eaf2ff;
  --wood-950: #2b170d;
  --wood-900: #4a2a18;
  --wood-800: #6f4326;
  --wood-700: #8a552f;
  --wood-500: #c88745;
  --wood-300: #efc489;
  --wood-100: #fff3df;
  --orange: #c88745;
  --orange-dark: #8a552f;
  --brown-dark: #8a552f;
  --ink: #172033;
  --muted: #647084;
  --line: #dbe3ef;
  --light: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 26, 52, 0.14);
  --shadow-sm: 0 4px 12px rgba(10, 26, 52, 0.05);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: Aptos, "Segoe UI", Roboto, Arial, sans-serif;
  font-stretch: normal;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

main,
section,
header,
footer {
  width: 100%;
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
input,
select,
textarea,
button {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  width: 100%;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 227, 239, 0.88);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: var(--header-height);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--blue-950);
  font-size: 1.18rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  position: static;
}

.footer-logo {
  height: 46px;
  width: auto;
  display: block;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  box-shadow: 0 10px 24px rgba(13, 36, 69, 0.24);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 1;
  color: #24324a;
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
  
  .menu-toggle span {
    margin: 0 !important;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 20px 28px;
    gap: 18px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease;
    z-index: 100;
    overflow-y: auto;
    box-shadow: inset 0 1px 0 rgba(219, 227, 239, 0.88);
  }
  
  .nav-links.is-active,
  .nav-links.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-cta {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-950);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 14px 28px rgba(255, 159, 28, 0.26);
}

.btn-primary:hover {
  background: #ffb340;
}

.btn-pulse {
  transform-origin: center;
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0% {
    box-shadow: 0 14px 28px rgba(200, 135, 69, 0.26);
    filter: brightness(1);
    transform: scale(1) rotate(0deg);
  }

  7% {
    transform: scale(1.035) rotate(-3deg);
  }

  14% {
    box-shadow: 0 18px 38px rgba(239, 196, 137, 0.46);
    filter: brightness(1.08);
    transform: scale(1.035) rotate(3deg);
  }

  21% {
    transform: scale(1.02) rotate(-2deg);
  }

  28% {
    box-shadow: 0 14px 28px rgba(200, 135, 69, 0.26);
    filter: brightness(1);
    transform: scale(1) rotate(0deg);
  }

  80% {
    transform: scale(1) rotate(0deg);
  }

  100% {
    box-shadow: 0 14px 28px rgba(200, 135, 69, 0.26);
    filter: brightness(1);
    transform: scale(1) rotate(0deg);
  }
}

.btn-secondary {
  color: var(--brown-dark);
  background: #fff;
  border: 1px solid rgba(138, 85, 47, 0.28);
  box-shadow: 0 10px 22px rgba(20, 10, 5, 0.08);
}

.btn-secondary:hover {
  border-color: var(--orange-dark);
  color: var(--orange-dark);
  background: #fffaf4;
}

.btn-ghost {
  color: var(--blue-950);
  background: var(--blue-100);
}

.btn-warranty {
  color: var(--white);
  background: var(--wood-800);
  box-shadow: 0 14px 28px rgba(74, 42, 24, 0.24);
}

.btn-warranty:hover {
  background: var(--wood-700);
}

.section-dark .btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: none;
}

.section-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.section {
  padding: 92px 0;
}

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

.section-dark {
  color: var(--white);
  background: var(--blue-950);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.split-grid h2,
.quote-copy h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.section-dark .section-heading h2 {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 680px;
  padding-top: calc(var(--header-height) + 52px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(43, 23, 13, 0.98) 0%, rgba(74, 42, 24, 0.96) 42%, rgba(138, 85, 47, 0.88) 100%),
    repeating-linear-gradient(102deg, rgba(255, 243, 223, 0.08) 0 2px, transparent 2px 34px),
    radial-gradient(circle at 78% 28%, rgba(239, 196, 137, 0.34), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(200, 135, 69, 0.28), transparent 26%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(43, 23, 13, 0.92), rgba(43, 23, 13, 0.46) 50%, rgba(43, 23, 13, 0.12)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 92px);
  mix-blend-mode: overlay;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(42vw, 560px);
  height: 42%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(43, 23, 13, 0.32), transparent 68%);
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, var(--white), rgba(255, 255, 255, 0));
  opacity: 0.14;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  min-width: 0;
}

.hero-worker {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 520px;
}

.hero-worker img {
  position: absolute;
  right: clamp(-10px, -1vw, 0px);
  bottom: -120px;
  width: min(38vw, 420px);
  max-width: none;
  filter: drop-shadow(0 26px 34px rgba(20, 10, 5, 0.26));
  transform-origin: center bottom;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  line-height: 1.04;
  color: var(--white);
}

.hero-sign {
  display: grid;
  gap: 10px;
  min-height: clamp(6.1rem, 12vw, 11.1rem);
  align-content: start;
}

.hero-sign span,
.hero-sign strong {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 4px 14px 8px;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-sign span,
  .hero-sign strong {
    white-space: normal;
    min-width: unset;
  }
}

.hero-sign span {
  min-height: 1.14em;
  min-width: 16ch;
  padding-left: 0;
  background: transparent;
  box-shadow: none;
}

.hero-sign strong {
  min-height: 1.14em;
  color: var(--wood-950);
  background: linear-gradient(135deg, var(--wood-300), var(--wood-500));
  transition: min-width 0.08s linear, padding-right 0.08s linear;
}

.hero-sign strong.is-empty {
  min-width: 0;
  padding-right: 0;
  background: transparent;
  box-shadow: none;
}

.typing-text::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 6px;
  background: var(--orange);
  animation: cursorBlink 0.8s steps(1) infinite;
  transform: translateY(0.08em);
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  max-width: 560px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-microcopy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 12px;
  max-width: 100%;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-panel,
.info-box,
.quote-form {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-panel {
  align-self: end;
  padding: 28px;
  color: var(--ink);
}

.hero-panel h2 {
  margin: 12px 0 10px;
  color: var(--blue-950);
  font-size: 1.4rem;
  line-height: 1.22;
}

.panel-icon,
.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: var(--blue-950);
  background: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
}

.feature-grid,
.services-grid,
.testimonial-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .feature-grid,
  .services-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-worker {
    display: none;
  }
  
  .hero-content {
    padding-bottom: 40px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .section-heading h2 {
    font-size: 1.8rem;
  }
  
  .split-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .form-grid,
  .room-grid,
  .furniture-grid,
  .operation-grid,
  .service-choice-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 26, 52, 0.08);
}

.feature-card,
.service-card,
.testimonial-card,
.faq-card {
  padding: 26px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card p {
  margin-bottom: 0;
}

.feature-card-action {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card-action:hover,
.feature-card-action:focus-visible {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
  outline: none;
}

.card-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--orange-dark);
  font-weight: 700;
}

.card h3,
.info-box h3,
.step h3,
.footer h3 {
  margin: 16px 0 8px;
  color: var(--blue-950);
  line-height: 1.25;
}

.card p,
.split-grid p,
.quote-copy p,
.info-box li,
.step p,
.footer p,
.footer a {
  color: var(--muted);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card a {
  margin-top: auto;
  color: var(--orange-dark);
  font-weight: 700;
}

.highlight-card {
  border-color: rgba(255, 159, 28, 0.6);
  background: #fff8ec;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--blue-950);
  background: var(--orange);
  font-weight: 700;
}

.step h3,
.section-dark .card h3 {
  color: var(--white);
}

.step p {
  color: rgba(255, 255, 255, 0.78);
}

.split-grid,
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.smart-section {
  background:
    linear-gradient(135deg, rgba(234, 242, 255, 0.96), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at top right, rgba(255, 159, 28, 0.18), transparent 32%);
}

.info-box {
  padding: 30px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange-dark);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--white);
  background: var(--blue-900);
}

tr:last-child td {
  border-bottom: 0;
}

.partner-grid .btn {
  margin-top: 18px;
}

.local-seo .btn {
  margin-top: 18px;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.service-area-card {
  padding: 26px;
}

.service-area-card h3 {
  margin: 10px 0 8px;
  color: var(--blue-950);
}

.service-area-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.service-area-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-area-card li,
.area-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--wood-900);
  background: var(--wood-100);
  font-size: 0.88rem;
  font-weight: 700;
}

.area-tag {
  color: var(--white);
  background: var(--wood-800);
}

.service-area-note {
  margin-top: 22px;
}

.service-area-note p {
  margin-bottom: 0;
}

.testimonials {
  background: var(--white);
}

.testimonial-card p {
  color: var(--ink);
  font-size: 1.08rem;
}

.testimonial-card strong {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-card span {
  display: block;
  margin-top: 4px;
  color: var(--orange-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.stars {
  color: var(--orange);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.faq-card h3 {
  margin-top: 0;
}

.inline-action {
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: var(--orange-dark);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.inline-action:hover {
  text-decoration: underline;
}

.quote-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 23, 47, 0.96), rgba(20, 57, 101, 0.94)),
    url("https://images.unsplash.com/photo-1595428774223-ef52624120d2?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.quote-copy h2 {
  color: var(--white);
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.quote-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quote-stats span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.quote-stats strong {
  color: var(--orange);
}

.quote-form {
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: min(720px, calc(100vh - 120px));
  min-height: 620px;
}

.wizard-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.wizard-head h3 {
  margin: 4px 0 0;
  color: var(--blue-950);
  font-size: 1.45rem;
  line-height: 1.2;
}

.wizard-kicker,
.wizard-step-count {
  color: var(--orange-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.wizard-step-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: #fff4df;
}

.progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--blue-100);
  margin-bottom: 24px;
}

.progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), #ffd07a);
  transition: width 0.32s ease;
}

.form-step {
  display: none;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 8px 4px 0;
  border: 0;
  margin: 0;
  animation: stepIn 0.28s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--wood-500) var(--blue-100);
}

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

.form-step::-webkit-scrollbar {
  width: 8px;
}

.form-step::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--blue-100);
}

.form-step::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--wood-500);
}

.partner-form-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 8px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--wood-500) var(--blue-100);
}

.partner-form-scroll::-webkit-scrollbar {
  width: 8px;
}

.partner-form-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--blue-100);
}

.partner-form-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--wood-500);
}

.form-step legend {
  margin-bottom: 6px;
  color: var(--blue-950);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
}

.step-helper {
  margin: 0 0 20px;
  color: var(--muted);
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step.shake {
  animation: stepShake 0.22s ease;
}

@keyframes stepShake {
  0%,
  100% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-6px);
  }

  70% {
    transform: translateX(6px);
  }
}

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

.single-line {
  margin-top: 16px;
}

.guided-block {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.guided-block.is-muted {
  opacity: 0.7;
}

.mini-title {
  color: var(--blue-950);
  font-weight: 700;
}

.room-grid,
.furniture-grid,
.operation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.details-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--light);
}

.legal-consent-box {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(138, 85, 47, 0.24);
  border-radius: var(--radius);
  background: #fffaf4;
}

.legal-consent-box p {
  margin: 0;
  color: var(--blue-950);
  font-size: 0.9rem;
  line-height: 1.45;
}

.legal-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  color: var(--blue-950);
  font-size: 0.88rem;
  line-height: 1.45;
}

.legal-checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--orange-dark);
}

.legal-checkbox a,
.legal-content a {
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: underline;
}

.legal-page {
  padding-top: 150px;
}

.legal-content {
  max-width: 860px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-content h1,
.legal-content h2 {
  color: var(--blue-950);
}

.legal-content h1 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.legal-content h2 {
  margin: 26px 0 8px;
  font-size: 1.25rem;
}

.legal-content p {
  color: var(--muted);
}

.add-furniture-button {
  justify-self: start;
  margin-top: 14px;
}

.add-furniture-main {
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(360px, 100%);
  min-height: 158px;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px;
  border: 2px dashed rgba(138, 85, 47, 0.45);
  border-radius: var(--radius);
  color: var(--wood-900);
  background: #fffaf2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.add-furniture-main:hover,
.add-furniture-main:focus-visible {
  transform: translateY(-2px);
  border-color: var(--wood-700);
  background: var(--wood-100);
  box-shadow: 0 14px 28px rgba(74, 42, 24, 0.12);
  outline: none;
}

.add-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: var(--wood-800);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.add-furniture-main strong,
.add-furniture-main small {
  display: block;
}

.add-furniture-main strong {
  color: var(--blue-950);
  font-size: 1.08rem;
}

.add-furniture-main small {
  color: var(--muted);
  font-size: 0.9rem;
}

.add-furniture-modal-panel {
  width: min(980px, 100%);
}

.furniture-builder-modal-body {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.furniture-summary {
  padding: 16px;
  border: 1px dashed rgba(138, 85, 47, 0.4);
  border-radius: var(--radius);
  background: #fffaf2;
}

.added-furniture-list {
  display: grid;
  gap: 10px;
}

.added-furniture-list.is-invalid {
  border-radius: var(--radius);
  box-shadow: 0 0 0 3px rgba(217, 60, 60, 0.12);
}

.added-furniture-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.added-furniture-card strong,
.added-furniture-card span,
.added-furniture-card small {
  display: block;
}

.added-furniture-card strong {
  color: var(--blue-950);
}

.added-furniture-card span {
  color: var(--orange-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.added-furniture-card small {
  color: var(--muted);
}

.added-furniture-card button {
  align-self: start;
  border: 0;
  color: #a3392f;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.item-assets-list {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.item-assets-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf2;
}

.item-assets-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.item-assets-head > span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: var(--wood-800);
  font-weight: 700;
}

.item-assets-head h3,
.item-assets-head p {
  margin: 0;
}

.item-assets-head h3 {
  color: var(--blue-950);
}

.item-assets-head p {
  color: var(--muted);
  font-size: 0.92rem;
}

.upload-box {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 150px;
  padding: 20px;
  border: 2px dashed rgba(138, 85, 47, 0.45);
  border-radius: var(--radius);
  color: var(--wood-900);
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.upload-box:hover,
.upload-box:focus-within {
  transform: translateY(-2px);
  border-color: var(--wood-700);
  background: var(--wood-100);
  box-shadow: 0 14px 28px rgba(74, 42, 24, 0.12);
}

.upload-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--wood-800);
  font-size: 1.2rem;
  font-weight: 700;
}

.upload-box strong,
.upload-box small,
.upload-box em {
  display: block;
}

.upload-box strong {
  color: var(--blue-950);
}

.upload-box small {
  color: var(--muted);
}

.upload-box em {
  max-width: 100%;
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.empty-helper {
  margin: 0;
  color: var(--muted);
}

.size-options {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 14px;
  border: 1px dashed rgba(138, 85, 47, 0.38);
  border-radius: var(--radius);
  background: var(--white);
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.16);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #d93c3c;
  box-shadow: 0 0 0 3px rgba(217, 60, 60, 0.12);
}

.full-field {
  grid-column: 1 / -1;
}

.conditional-field {
  display: none;
}

.conditional-field.is-visible {
  display: grid;
  animation: stepIn 0.24s ease;
}

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

.choice-grid.compact {
  grid-template-columns: repeat(2, minmax(120px, 180px));
}

.choice-card {
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-950);
  background: var(--white);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.choice-card:hover,
.choice-card.is-selected {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: #fff8ec;
  box-shadow: 0 10px 20px rgba(255, 159, 28, 0.16);
}

.choice-card.is-invalid {
  border-color: #d93c3c;
}

#socialButtons {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#socialButtons .choice-card {
  min-height: 56px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#socialButtons .choice-card span[aria-hidden="true"] {
  font-size: 1.25rem;
  line-height: 1;
}

.service-choice {
  display: grid;
  gap: 5px;
  min-height: 96px;
}

.service-choice strong {
  color: var(--blue-950);
  line-height: 1.2;
}

.service-choice span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.smart-check {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.smart-check input {
  width: auto;
  min-height: auto;
  margin: 0 10px 0 0;
  accent-color: var(--orange);
}

.mini-question {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.mini-question > span {
  color: var(--blue-950);
  font-weight: 700;
}

.section-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 18px;
}

.difficulty-cta {
  gap: 10px;
  width: fit-content;
}

.difficulty-cta span[aria-hidden="true"] {
  font-size: 1.05rem;
  line-height: 1;
}

.score-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.score-method-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 26, 52, 0.08);
  padding: 24px;
}

.score-method-card h3 {
  margin: 14px 0 8px;
  color: var(--blue-950);
  font-size: 1.12rem;
}

.score-method-card p {
  margin: 0;
  color: var(--muted);
}

.score-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.score-tags span {
  display: inline-flex;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue-950);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.score-formula {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 159, 28, 0.14);
  color: var(--blue-950);
  font-weight: 800;
  text-align: center;
}

.score-example-box {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
}

.score-example-box h3 {
  margin: 8px 0 10px;
  color: var(--blue-950);
  font-size: 1.35rem;
}

.score-example-box p {
  margin: 0;
  color: var(--muted);
}

.score-example-list {
  display: grid;
  gap: 10px;
}

.score-example-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.score-example-list strong,
.score-example-list span {
  min-width: 0;
}

.score-example-list span {
  color: var(--orange-dark);
  font-weight: 800;
  white-space: nowrap;
}

.pricing-table-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 20px;
  align-items: start;
  margin-top: 24px;
}

.commission-example {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(10, 26, 52, 0.08);
}

.commission-example h3 {
  margin: 8px 0 8px;
  color: var(--blue-950);
}

.commission-example p {
  margin: 0;
  color: var(--muted);
}

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

.commission-grid span {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
  color: var(--blue-950);
  font-weight: 700;
}

.commission-grid strong {
  color: var(--orange-dark);
}

.wizard-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  flex: 0 0 auto;
  gap: 12px;
  margin-top: 22px;
}

.wizard-actions .btn-primary {
  justify-self: end;
  min-width: 190px;
}

.form-submit {
  display: none;
  justify-self: end;
  min-width: 240px;
}

.partner-submit {
  display: inline-flex;
}

.form-message {
  display: none;
  flex: 0 0 auto;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: var(--radius);
  color: #15512c;
  background: #e9f9ef;
  font-weight: 700;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  color: #842029;
  background: #f8d7da;
}

.rating-choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.rating-choice-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.rating-choice-grid input {
  width: auto;
  min-height: auto;
  accent-color: var(--orange-dark);
}

.rating-choice-grid span {
  color: var(--orange-dark);
  font-size: 1.1rem;
  font-weight: 800;
}

.review-questionnaire {
  display: grid;
  gap: 16px;
}

.review-form {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.review-question {
  padding: 16px;
  border: 1px solid rgba(138, 85, 47, 0.18);
  border-radius: 12px;
  background: #fffaf4;
}

.review-question strong {
  display: block;
  color: var(--blue-950);
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.review-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.review-options-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.review-options label {
  color: var(--blue-950);
  cursor: pointer;
}

.review-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-options span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(138, 85, 47, 0.22);
  border-radius: 10px;
  background: #fff;
  color: var(--blue-950);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 10px;
  transition: 0.2s ease;
}

.quote-form .review-question,
.quote-form .review-question strong,
.quote-form .review-options label,
.quote-form .review-options span {
  color: var(--blue-950);
}

.review-options input:checked + span {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
  color: #fff;
  box-shadow: 0 10px 22px rgba(138, 85, 47, 0.22);
}

.review-submit {
  display: inline-flex;
  width: 100%;
  margin-top: 16px;
}

.wardrobe-hero .hero-sign {
  min-height: auto;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.94);
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero .btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero .btn-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero .btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.wardrobe-trust {
  padding-top: 22px;
  padding-bottom: 10px;
}

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

.trust-strip article {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.trust-strip strong,
.faq-card h3 {
  display: block;
  color: var(--blue-950);
  font-size: 1rem;
  margin-bottom: 6px;
}

.trust-strip span,
.faq-card p,
.quote-benefits {
  color: var(--muted);
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-ghost {
  border: 1px solid rgba(138, 85, 47, 0.22);
  background: #fff;
  color: var(--brown-dark);
}

.btn-ghost:hover {
  border-color: var(--orange-dark);
  color: var(--orange-dark);
}

.quote-benefits {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.quote-benefits li {
  line-height: 1.45;
}

.wardrobe-estimate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.wardrobe-estimate-actions .btn {
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.wardrobe-estimate-actions .btn:last-child:only-child {
  grid-column: 1 / -1;
}

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

.faq-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.wardrobe-form {
  height: auto;
  min-height: 0;
}

.wardrobe-form h3 {
  margin: 0 0 6px;
  color: var(--blue-950);
}

.wardrobe-simulator {
  align-items: start;
}

.sim-disclaimer {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.sim-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.sim-step.is-hidden {
  display: none;
}

.sim-step.is-active {
  border-color: rgba(211, 138, 67, 0.55);
  box-shadow: 0 10px 26px rgba(13, 36, 69, 0.12);
  animation: simStepIn 200ms ease-out;
}

.sim-step.is-collapsed {
  opacity: 0.6;
}

@keyframes simStepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sim-step.is-active {
    animation: none;
  }
}

.sim-step-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .sim-step-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.sim-step-head h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: 1.1rem;
  line-height: 1.2;
}

.sim-step-help {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.sim-step-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(211, 138, 67, 0.16);
  border: 1px solid rgba(211, 138, 67, 0.35);
  color: var(--wood-950);
  font-weight: 900;
}

.sim-step .form-grid {
  margin-top: 0;
  align-items: start;
}

.sim-step .form-grid > label {
  display: grid;
  gap: 8px;
  align-content: start;
}

.sim-step .form-grid > label > select,
.sim-step .form-grid > label > input,
.sim-step .form-grid > label > textarea {
  width: 100%;
}

.sim-qty-control {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: stretch;
  border: 1px solid rgba(22, 33, 56, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(22, 33, 56, 0.02);
}

.sim-qty-control input {
  border: 0;
  border-radius: 0;
  text-align: center;
  font-weight: 800;
  color: var(--blue-950);
  background: transparent;
  min-height: 48px;
}

.sim-qty-control input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(211, 138, 67, 0.22);
}

.sim-qty-btn {
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(211, 138, 67, 0.16), rgba(211, 138, 67, 0.08));
  color: var(--brown-dark);
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}

.sim-qty-btn:hover {
  background: linear-gradient(180deg, rgba(211, 138, 67, 0.26), rgba(211, 138, 67, 0.12));
  color: var(--wood-950);
}

.sim-qty-btn:active {
  transform: translateY(1px);
}

.sim-qty-btn:focus-visible {
  outline: 3px solid rgba(211, 138, 67, 0.35);
  outline-offset: -2px;
}

.sim-qty-control input::-webkit-outer-spin-button,
.sim-qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sim-qty-control input[type="number"] {
  -moz-appearance: textfield;
}

#simStep1 .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sim-step-footnote {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.sim-step-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.sim-step-actions-final {
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.sim-step-actions-final .btn {
  flex: 1 1 180px;
}

.sim-step-actions-final .btn.btn-secondary {
  flex-grow: 0;
}

.wardrobe-simulator-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.sim-operation-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 25px;
}

.sim-op-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sim-op-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(22, 33, 56, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-950);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  text-align: center;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}

.sim-op-tag:hover {
  border-color: rgba(22, 33, 56, 0.32);
}

.sim-op-input:focus-visible + .sim-op-tag {
  outline: 3px solid rgba(211, 138, 67, 0.45);
  outline-offset: 2px;
}

.sim-op-input:checked + .sim-op-tag {
  background: rgba(211, 138, 67, 0.14);
  border-color: rgba(211, 138, 67, 0.8);
  font-weight: 800;
}

@media (max-width: 640px) {
  .sim-operation-tags {
    grid-template-columns: 1fr;
  }
  .sim-qty-control {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }
  .sim-step-actions-final {
    flex-direction: column;
    align-items: stretch;
  }
  .sim-step-actions-final .btn {
    width: 100%;
    flex: 1 1 auto;
  }
  .wardrobe-estimate-actions {
    grid-template-columns: 1fr;
  }
  .hero-sign {
    min-height: unset;
  }
  .hero-sign span,
  .hero-sign strong {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    padding: 8px 12px;
  }
  
  .section-heading h2 {
    font-size: 1.6rem;
  }
}

.wardrobe-simulator-manual {
  display: grid;
  gap: 12px;
}

.wardrobe-simulator-manual.is-hidden {
  display: none;
}

.wardrobe-simulator-manual [data-sim-field].is-hidden {
  display: none;
}

.wardrobe-no-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--blue-950);
  font-weight: 700;
}

.wardrobe-no-link input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--orange-dark);
}

.wardrobe-estimate-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(138, 85, 47, 0.24);
  border-radius: var(--radius);
  background: #fffaf4;
}

.wardrobe-estimate-box strong {
  color: var(--blue-950);
  font-size: 1.25rem;
  line-height: 1.2;
}

.wardrobe-estimate-box span {
  color: var(--muted);
  font-size: 0.9rem;
}

.is-hidden {
  display: none !important;
}

.wardrobe-sim-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.wardrobe-sim-actions .btn {
  justify-content: center;
}

.wardrobe-estimate-table {
  display: grid;
  gap: 0;
  margin-top: 10px;
  border: 1px solid rgba(138, 85, 47, 0.16);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.wardrobe-estimate-table-head,
.wardrobe-estimate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.wardrobe-estimate-table-head {
  padding: 12px 14px;
  background: rgba(138, 85, 47, 0.08);
  color: var(--brown-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.wardrobe-estimate-row {
  padding: 12px 14px;
  border-top: 1px solid rgba(138, 85, 47, 0.08);
  color: var(--blue-950);
  font-size: 0.93rem;
  line-height: 1.35;
  background: #fff;
}

.wardrobe-estimate-row:nth-child(even) {
  background: #fffaf5;
}

.wardrobe-estimate-row.is-emphasis {
  background: #fff5eb;
  font-weight: 600;
}

.wardrobe-estimate-row.is-highlight {
  background: rgba(138, 85, 47, 0.12);
}

.wardrobe-estimate-label {
  font-weight: 600;
}

.wardrobe-estimate-detail {
  text-align: right;
  color: var(--muted);
}

.wardrobe-estimate-row.is-emphasis .wardrobe-estimate-detail,
.wardrobe-estimate-row.is-highlight .wardrobe-estimate-detail {
  color: var(--brown-dark);
  font-weight: 700;
}

@media (max-width: 900px) {
  .trust-strip,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.wardrobe-manual-details {
  display: grid;
  gap: 12px;
}

.wardrobe-manual-details.is-hidden {
  display: none;
}

.wardrobe-submit {
  display: none;
}

.wardrobe-actions {
  grid-template-columns: auto 1fr auto;
}

.wardrobe-actions .wardrobe-submit {
  justify-self: end;
}

.review-completed-message {
  padding: 18px;
  border: 1px solid rgba(21, 81, 44, 0.18);
  border-radius: 12px;
  background: #e9f9ef;
  color: #15512c;
}

.review-completed-message strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.review-completed-message p {
  margin: 0;
}

@media (max-width: 640px) {
  .review-options,
  .review-options-four {
    grid-template-columns: 1fr;
  }
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.footer {
  padding: 54px 0 0;
  color: rgba(255, 255, 255, 0.82);
  background: #051126;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 30px;
}

.footer-brand {
  color: var(--white);
}

.footer h3 {
  margin-top: 0;
  color: var(--white);
}

.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-small {
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 42px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 120;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid rgba(219, 227, 239, 0.95);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-consent.is-visible {
  display: grid;
}

.cookie-consent strong {
  color: var(--blue-950);
}

.cookie-consent p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-consent a {
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: underline;
}

.cookie-consent .btn {
  white-space: nowrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 47, 0.7);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(900px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.modal-panel h2 {
  margin: 0 0 12px;
  color: var(--blue-950);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.12;
}

.modal-panel p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue-950);
  background: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 0;
}

.modal-grid h3 {
  margin: 0 0 10px;
  color: var(--blue-950);
}

.modal-list {
  grid-template-columns: 1fr;
}

.modal-note {
  padding: 16px;
  border-radius: var(--radius);
  color: var(--wood-950);
  background: var(--wood-100);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.modal-filters {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(130px, 0.5fr) minmax(240px, 1fr);
  gap: 14px;
  margin: 20px 0 14px;
}

.modal-filters label {
  display: grid;
  gap: 7px;
  color: var(--blue-950);
  font-weight: 700;
}

.furniture-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.furniture-modal-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--light);
}

.furniture-modal-card h3 {
  margin: 0 0 12px;
  color: var(--blue-950);
}

.furniture-modal-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.furniture-modal-card li {
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--wood-900);
  background: var(--wood-100);
  font-size: 0.88rem;
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-worker {
    display: none;
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .score-method-grid {
    grid-template-columns: 1fr;
  }

  .score-example-box {
    grid-template-columns: 1fr;
  }

  .pricing-table-grid,
  .commission-example {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .navbar {
    justify-content: space-between;
  }

  .nav-links a {
    padding: 10px 4px;
  }

  .hero {
    min-height: auto;
    padding: 184px 0 82px;
  }

  .services-grid,
  .testimonial-grid,
  .faq-grid,
  .service-area-grid,
  .modal-filters,
  .modal-grid,
  .furniture-modal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .score-example-list div {
    grid-template-columns: 1fr;
  }

  .score-example-list span {
    white-space: normal;
  }

  .commission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 64px;
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    position: relative;
  }

  .brand-logo {
    height: 42px;
    max-width: 92px;
    object-fit: contain;
  }

  .container,
  .navbar {
    width: calc(100% - 32px);
    max-width: 100%;
    padding-inline: 0;
  }

  .navbar {
    min-height: var(--header-height);
    gap: 12px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .menu-toggle {
    display: grid;
    place-content: center;
    margin-left: auto;
  }

  .menu-toggle span {
    margin: 3px auto;
  }

  .section {
    padding: 68px 0;
  }

  .hero.section {
    min-height: auto;
    padding: calc(var(--header-height) + 48px) 0 58px;
    overflow: hidden;
  }

  .hero-grid {
    display: block;
    width: calc(100% - 32px);
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .hero .eyebrow {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 1.82rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero-sign {
    min-height: auto;
    gap: 8px;
  }

  .hero-sign span,
  .hero-sign strong {
    display: block;
    width: 100%;
    white-space: normal;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-sign span {
    padding-right: 0;
  }

  .hero-sign strong {
    width: 100%;
    max-width: 100%;
    font-size: 1.76rem;
    padding: 6px 12px 9px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 24px;
    overflow: hidden;
  }

  .btn {
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .hero-microcopy {
    max-width: 100%;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .trust-badges span,
  .hero-actions .btn {
    justify-content: center;
    max-width: 100%;
  }

  .section-heading,
  .card,
  .info-box,
  .quote-form,
  .modal-panel,
  .feature-card,
  .service-card,
  .testimonial-card,
  .step {
    min-width: 0;
    max-width: 100%;
  }

  .feature-grid,
  .steps,
  .form-grid {
    grid-template-columns: 1fr;
  }

  #simStep1 .form-grid {
    grid-template-columns: 1fr;
  }

  .wizard-head,
  .wizard-actions {
    grid-template-columns: 1fr;
  }

  .wizard-head {
    display: grid;
  }

  .wizard-step-count {
    justify-self: start;
  }

  .choice-grid,
  .room-grid,
  .furniture-grid,
  .operation-grid,
  .service-choice-grid,
  .choice-grid.compact {
    grid-template-columns: 1fr;
  }

  .section-actions {
    display: flex;
    justify-content: flex-start;
  }

  .difficulty-cta {
    width: 100%;
  }

  #socialButtons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wizard-actions .btn,
  .wizard-actions .btn-primary,
  .form-submit {
    width: 100%;
    justify-self: stretch;
  }

  .hero-panel,
  .info-box,
  .modal-panel,
  .quote-form,
  .feature-card,
  .service-card,
  .testimonial-card,
  .step {
    padding: 22px;
  }

  .quote-form {
    height: min(680px, calc(100vh - 90px));
    min-height: 560px;
  }

  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-consent .btn {
    width: 100%;
  }
}

@media (max-width: 980px) {
  body.menu-open .site-header {
    z-index: 1000;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: #ffffff;
    z-index: 40;
  }

  body.menu-open .nav-links {
    position: fixed !important;
    inset: var(--header-height) 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100vw !important;
    min-height: calc(100dvh - var(--header-height)) !important;
    max-height: calc(100dvh - var(--header-height)) !important;
    padding: 24px 24px 32px !important;
    background: #ffffff !important;
    color: var(--blue-950) !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
    overflow-y: auto !important;
    z-index: 1001 !important;
  }

  body.menu-open .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    color: var(--blue-950);
  }
}
