:root {
  --blue: #084a80;
  --blue-dark: #062f52;
  --blue-soft: #e8f2fb;
  --green: #14745d;
  --yellow: #f4b63f;
  --red: #b64a40;
  --ink: #172231;
  --muted: #687386;
  --line: #dce3ec;
  --line-strong: #c5d0dc;
  --paper: #ffffff;
  --surface: #f5f8fb;
  --surface-warm: #fff8ea;
  --shadow: 0 14px 36px rgba(8, 74, 128, 0.12);
  --container: min(1180px, calc(100vw - 40px));
  --radius: 8px;
  --text: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--text);
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open,
body.livechat-open,
body.service-prompt-open {
  overflow: hidden;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

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

button,
select {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--paper);
  background: var(--blue-dark);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shop-shell {
  min-height: 100vh;
}

.homepage-main {
  display: flex;
  flex-direction: column;
}

.homepage-main > section {
  order: var(--homepage-section-order, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(23, 34, 49, 0.06);
  backdrop-filter: blur(16px);
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding: 0 max(20px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.88);
  background: var(--blue-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.top-strip a {
  color: var(--paper);
}

.header-main {
  display: grid;
  grid-template-columns: auto auto;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  min-height: 86px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--paper);
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.header-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-dark);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 900;
}

.header-actions .header-call {
  border-color: var(--blue);
  color: var(--paper);
  background: var(--blue);
}

.header-actions .header-cta {
  background: var(--blue-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--blue-dark);
  font-size: 0;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.main-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.main-nav a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--blue-dark);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 47, 82, 0.94) 0%, rgba(6, 47, 82, 0.78) 46%, rgba(6, 47, 82, 0.22) 100%),
    linear-gradient(180deg, rgba(6, 47, 82, 0.12) 0%, rgba(6, 47, 82, 0.84) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-top: 12px;
  font-size: 4.1rem;
  line-height: 1.02;
  overflow-wrap: break-word;
}

h2 {
  max-width: 820px;
  margin-top: 10px;
  font-size: 2.5rem;
  line-height: 1.1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.18;
}

.hero-content > p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .button {
  min-width: 190px;
}

.hero-call {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.hero-call:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.16);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(8, 74, 128, 0.22);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-light {
  color: var(--blue-dark);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.94);
}

.button-secondary {
  color: var(--blue-dark);
  border-color: var(--line-strong);
  background: var(--paper);
}

.button-secondary:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin-top: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  overflow: hidden;
  list-style: none;
  background: rgba(255, 255, 255, 0.22);
}

.hero-facts li {
  min-height: 104px;
  padding: 18px;
  background: rgba(6, 47, 82, 0.68);
}

.hero-facts strong {
  display: block;
  color: var(--paper);
  font-size: 1.2rem;
}

.hero-facts span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 86px 0;
}

.section > .section-head,
.choice-section > .service-grid,
.service-area-section > .service-area-layout,
.product-section > .package-showcase,
.product-section > .price-mode-panel,
.overview-section > .overview-grid,
.finish-section > .finish-layout,
.bath-section > .bath-layout,
.montage-section > .price-table,
.montage-section > .notice-box,
.config-section > .config-layout,
.reference-section > .reference-grid,
.reference-section > .reference-content,
.contact-section > .contact-layout {
  width: var(--container);
  margin-inline: auto;
}

.section-head {
  display: grid;
  gap: 12px;
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--blue);
  background: var(--paper);
  font-weight: 900;
  white-space: nowrap;
}

.choice-section,
.overview-section,
.product-section,
.reference-section {
  background: var(--paper);
}

.service-area-section,
.finish-section,
.bath-section {
  background: var(--surface);
}

.service-area-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 28px;
  align-items: center;
}

.service-area-layout p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.plz-checker {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 34, 49, 0.06);
}

.plz-checker label {
  display: grid;
  gap: 7px;
}

.plz-checker label span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.plz-checker input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}

.plz-checker input:focus {
  outline: 2px solid rgba(8, 74, 128, 0.2);
  border-color: var(--blue);
}

.plz-result,
.plz-inline-status {
  display: block;
  min-height: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.plz-result.is-inside,
.plz-inline-status.is-inside {
  color: var(--green);
}

.plz-result.is-outside,
.plz-inline-status.is-outside {
  color: var(--red);
}

.plz-result.is-unknown,
.plz-inline-status.is-unknown {
  color: var(--blue-dark);
}

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

.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 28px;
  border-radius: 4px;
  color: var(--paper);
  background: var(--blue);
  font-weight: 900;
}

.service-grid h3 {
  color: var(--blue-dark);
}

.service-grid p {
  margin-top: 10px;
  color: var(--muted);
}

.service-grid .button {
  width: 100%;
  margin-top: auto;
}

.package-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.price-mode-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-mode-panel p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.price-mode-toggle {
  max-width: 620px;
}

.shop-card,
.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 34, 49, 0.06);
}

.shop-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  min-height: 460px;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--blue-dark);
  background: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
}

.badge-dark {
  color: var(--paper);
  background: var(--green);
}

.product-media,
.mini-media {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(8, 74, 128, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 74, 128, 0.05) 1px, transparent 1px),
    var(--blue-soft);
  background-size: 34px 34px;
}

.product-media {
  min-height: 100%;
  padding: 28px;
}

.product-media-blue {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--blue-dark);
  background-size: 34px 34px;
}

.product-card-finish {
  border-color: rgba(8, 74, 128, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fd 100%);
}

.product-media img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(23, 34, 49, 0.16));
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.product-rubric {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body h3 {
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 1.72rem;
}

.product-description {
  margin-top: 12px;
  color: var(--muted);
}

.option-field {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.option-field span,
.contact-form label span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.option-field select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
}

.contact-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.option-field select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(8, 74, 128, 0.2);
  border-color: var(--blue);
}

.product-price {
  margin-top: 18px;
  color: var(--ink);
}

.product-price strong {
  color: var(--blue-dark);
  font-size: 1.55rem;
}

.product-price small {
  color: var(--muted);
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

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

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.card-actions .button-primary {
  flex: 1;
}

.catalog-grid,
.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

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

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

.overview-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 34, 49, 0.06);
}

.overview-card-finish {
  border-color: rgba(20, 116, 93, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #eef8f5 100%);
}

.overview-card-bath {
  border-color: rgba(180, 130, 56, 0.26);
  background: linear-gradient(180deg, #ffffff 0%, #f8f4ec 100%);
}

.overview-card h3 {
  margin-top: 10px;
  color: var(--blue-dark);
}

.overview-card p:not(.product-rubric):not(.product-price) {
  margin-top: 10px;
  color: var(--muted);
}

.overview-card .button {
  width: 100%;
  margin-top: auto;
}

.mini-media {
  aspect-ratio: 1.25 / 1;
  padding: 18px;
}

.mini-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-media-text {
  align-content: center;
  gap: 8px;
  color: var(--paper);
  background: var(--blue);
}

.mini-media-text strong {
  font-size: 4rem;
  line-height: 1;
}

.mini-media-text span {
  font-weight: 800;
}

.mini-media-accessory {
  position: relative;
  background: var(--surface-warm);
}

.mini-media-accessory span {
  display: block;
  width: 74%;
  height: 14px;
  border: 2px solid var(--blue);
  border-radius: 3px;
  font-size: 0;
  line-height: 0;
}

.mini-media-accessory span + span {
  width: 56%;
  margin-top: 28px;
  border-color: var(--yellow);
}

.mini-media-finish {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, var(--blue-dark), #0b4f7f);
  background-size: 28px 28px, auto;
}

.mini-media-finish span {
  display: block;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0;
  line-height: 0;
}

.mini-media-finish span:nth-child(1) {
  width: 78%;
}

.mini-media-finish span:nth-child(2) {
  width: 56%;
  margin-top: 24px;
  margin-left: 16%;
}

.mini-media-finish span:nth-child(3) {
  width: 70%;
  margin-top: 24px;
}

.mini-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.mini-body h3 {
  margin-top: 8px;
  color: var(--blue-dark);
}

.mini-body p:not(.product-rubric):not(.product-price) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-body .product-price {
  margin-top: 16px;
}

.mini-body .product-price strong {
  font-size: 1.22rem;
}

.mini-body .button {
  width: 100%;
  margin-top: auto;
}

.finish-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: stretch;
}

.finish-visual,
.finish-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(23, 34, 49, 0.06);
}

.finish-visual {
  position: relative;
  min-height: 360px;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  background: var(--blue-soft);
}

.finish-visual img {
  width: 156%;
  height: 100%;
  min-height: inherit;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.finish-copy {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
}

.finish-copy h2 {
  color: var(--blue-dark);
}

.finish-note {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 900;
}

.bath-page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--blue-dark);
}

.bath-page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.bath-page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 47, 82, 0.86), rgba(6, 47, 82, 0.48) 52%, rgba(6, 47, 82, 0.18)),
    linear-gradient(180deg, rgba(6, 47, 82, 0.08), rgba(6, 47, 82, 0.62));
}

.bath-page-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: var(--container);
  margin-inline: auto;
  padding: 84px 0;
}

.bath-page-hero-content h1 {
  max-width: 800px;
}

.bath-page-hero-content > p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.bath-layout {
  display: grid;
  gap: 28px;
}

.bath-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 18px;
  align-items: stretch;
}

.bath-copy-panel,
.bath-feature-photo,
.bath-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 34, 49, 0.06);
}

.bath-copy-panel {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.bath-copy-panel h3 {
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 1.52rem;
}

.bath-feature-photo {
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  overflow: hidden;
  margin: 0;
}

.bath-feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.bath-feature-photo figcaption {
  padding: 12px 16px;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 800;
}

.bath-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.bath-stage {
  padding: 18px;
}

.bath-stage-head {
  display: grid;
  gap: 8px;
}

.bath-stage-head h3 {
  color: var(--blue-dark);
}

.bath-stage-head p:not(.product-rubric) {
  color: var(--muted);
}

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

.bath-photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  object-fit: cover;
}

.bath-photo-grid img:first-child:last-child,
.bath-photo-grid img:nth-child(3):last-child,
.bath-photo-grid img:nth-child(5):last-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.montage-section {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, var(--blue-dark), #0a3c66);
  background-size: 42px 42px, auto;
}

.montage-section .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.price-table {
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.price-row {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
}

.price-row > span,
.price-row > strong {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.price-row > span:last-child,
.price-row > strong:last-child {
  border-right: 0;
}

.price-row:last-child > span,
.price-row:last-child > strong {
  border-bottom: 0;
}

.price-row-head {
  color: var(--blue-dark);
  background: var(--yellow);
  font-weight: 900;
}

.price-row:not(.price-row-head) > span:first-child {
  color: rgba(255, 255, 255, 0.72);
}

.notice-box {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.notice-box strong {
  color: var(--yellow);
}

.notice-box p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.config-section {
  background: var(--paper);
}

.config-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 20px;
  align-items: stretch;
}

.config-intro,
.config-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(23, 34, 49, 0.06);
}

.config-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, var(--blue-dark), #0b4f7f);
  background-size: 36px 36px, auto;
}

.config-intro h2 {
  color: var(--paper);
}

.config-intro p:not(.eyebrow),
.config-status {
  color: rgba(255, 255, 255, 0.76);
}

.config-progress {
  margin-top: auto;
}

.config-progress > span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.config-progress-track {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

#config-progress-fill-v11 {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transition: width 0.22s ease;
}

.config-status {
  min-height: 48px;
  font-size: 0.92rem;
  font-weight: 700;
}

.config-form {
  min-height: 438px;
  padding: 28px;
  background: var(--surface);
}

.config-stage {
  display: grid;
  gap: 18px;
}

.step-label {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.config-step-panel h3,
.config-success h3 {
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 2rem;
}

.choice-grid,
.config-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.choice-option {
  position: relative;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-option span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 900;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.choice-option input:checked + span {
  color: var(--paper);
  border-color: var(--blue);
  background: var(--blue);
}

.choice-option input:focus-visible + span {
  outline: 2px solid rgba(8, 74, 128, 0.22);
  outline-offset: 2px;
}

.config-field {
  display: grid;
  gap: 7px;
}

.config-field-wide {
  grid-column: 1 / -1;
}

.config-field span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.config-field input,
.config-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}

.config-field textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.config-field input:focus,
.config-field textarea:focus {
  outline: 2px solid rgba(8, 74, 128, 0.2);
  border-color: var(--blue);
}

.config-error {
  min-height: 22px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
}

.config-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.config-nav-actions,
.config-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.config-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.config-success {
  display: grid;
  gap: 16px;
}

.config-success p:not(.step-label) {
  color: var(--muted);
}

.reference-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
}

.reference-grid--works {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.reference-content {
  display: grid;
  gap: 28px;
}

.works-section-head {
  max-width: 780px;
}

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

.work-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(34, 45, 53, 0.08);
}

.work-card__media {
  position: relative;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  background: #d9e1e5;
}

.work-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.work-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 18px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, #d7e5e7, #f3efe7);
  text-align: center;
}

.work-card__placeholder strong,
.work-card__placeholder span {
  display: block;
}

.work-card__body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}

.work-card__meta,
.work-card__footer {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card h3 {
  margin-top: 4px;
  font-size: 1.18rem;
  line-height: 1.08;
}

.work-card p:not(.work-card__meta),
.work-card__description p {
  color: var(--muted);
  font-size: 0.94rem;
}

.work-card__summary {
  display: grid;
  gap: 5px;
}

.work-card__summary strong {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card__description {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.work-card__description summary {
  cursor: pointer;
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.work-card__description p {
  margin-top: 8px;
}

.work-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: space-between;
}

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

.work-card__thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #eef3f5;
  object-fit: cover;
}

.work-faq {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.work-faq h3 {
  font-size: 1.18rem;
  line-height: 1.15;
}

.work-faq__head > p {
  margin-top: 8px;
  color: var(--muted);
}

.reference-fallback-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.reference-fallback-figure img {
  width: 100%;
  aspect-ratio: 1.44 / 1;
  object-fit: cover;
}

.reference-fallback-figure figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.reference-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.reference-grid img {
  width: 100%;
  aspect-ratio: 1.44 / 1;
  object-fit: cover;
}

.reference-grid .work-card__media img {
  height: 100%;
  aspect-ratio: auto;
}

.reference-grid .work-card__thumbs img {
  aspect-ratio: 1 / 1;
}

.reference-grid figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  color: var(--blue);
  content: "+";
  font-size: 1.35rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 16px 16px;
  color: var(--muted);
}

.contact-section {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #0b4f7f, var(--blue-dark));
  background-size: 40px 40px, auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

address {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-style: normal;
}

address a,
address span {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 7px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

.form-status {
  min-height: 22px;
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: var(--container);
  min-height: 120px;
  margin-inline: auto;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--blue);
  font-size: 1.35rem;
}

.site-footer span {
  display: block;
  margin-top: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, var(--blue-dark), #0b4f7f);
  background-size: 42px 42px, auto;
}

.legal-hero-inner,
.legal-content {
  width: var(--container);
  margin-inline: auto;
}

.legal-hero-inner {
  padding: 76px 0;
}

.legal-hero h1 {
  max-width: 850px;
  margin-top: 12px;
  font-size: 3.1rem;
  line-height: 1.06;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.legal-section {
  background: var(--paper);
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 920px;
}

.legal-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-card h2,
.legal-card h3 {
  margin: 0;
  color: var(--blue-dark);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card a {
  color: var(--blue);
  font-weight: 900;
}

.legal-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.legal-data {
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.legal-data strong {
  color: var(--ink);
}

.legal-note {
  border-color: rgba(244, 182, 63, 0.5);
  background: var(--surface-warm);
}

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

.certificate-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.certificate-item strong {
  display: block;
  color: var(--blue-dark);
}

.certificate-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.certificate-document {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.certificate-document__preview,
.certificate-document__file {
  overflow: hidden;
  min-height: 132px;
  border-radius: 6px;
  background: #eef3f5;
}

.certificate-document__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.certificate-document__file {
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.certificate-document__body {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
}

.certificate-document__body strong,
.certificate-document__body span {
  overflow-wrap: anywhere;
}

.certificate-document__body span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.livechat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: min(390px, calc(100% - 26px));
}

.livechat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  background: rgba(6, 47, 82, 0.42);
  backdrop-filter: blur(5px);
}

.livechat-launcher {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--paper);
  background: var(--blue-dark);
  box-shadow: 0 18px 42px rgba(6, 47, 82, 0.24);
}

.livechat-mark,
.livechat-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(244, 182, 63, 0.18);
  font-size: 0;
  line-height: 0;
}

.livechat-launcher span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.livechat-launcher strong {
  font-size: 0.94rem;
  font-weight: 900;
}

.livechat-launcher small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.livechat-unread {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 999px;
  color: var(--paper);
  background: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
}

.livechat-panel {
  position: relative;
  z-index: 2;
  display: none;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 54px rgba(6, 47, 82, 0.24);
}

.livechat.is-open .livechat-backdrop {
  display: block;
}

.livechat.is-open .livechat-panel {
  display: grid;
}

.livechat.is-open .livechat-launcher {
  display: none;
}

.livechat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.livechat-head strong {
  display: block;
  color: var(--blue-dark);
  font-weight: 900;
}

.livechat-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.83rem;
}

.livechat-close {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-dark);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 900;
}

.livechat-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.livechat-status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(20, 116, 93, 0.14);
}

.livechat-messages {
  display: grid;
  gap: 8px;
  max-height: 245px;
  overflow-y: auto;
  padding-right: 4px;
}

.livechat-message {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.42;
}

.livechat-message.incoming {
  justify-self: start;
  color: var(--ink);
  background: var(--surface);
}

.livechat-message.outgoing {
  justify-self: end;
  color: var(--paper);
  background: var(--blue);
}

.livechat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.livechat-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
}

.livechat-form input:focus {
  outline: 2px solid rgba(8, 74, 128, 0.2);
  border-color: var(--blue);
}

.livechat-send {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--paper);
  background: var(--blue);
  font-weight: 900;
}

.livechat-links {
  display: inline-flex;
  gap: 12px;
}

.livechat-links a {
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
}

.service-plz-prompt {
  z-index: 80;
}

.service-plz-panel {
  gap: 13px;
}

.service-plz-copy {
  max-width: none;
}

.service-plz-form label {
  display: block;
  min-width: 0;
}

.service-plz-result {
  grid-column: 1 / -1;
  margin-top: -2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .header-main {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    width: min(380px, calc(100% - 28px));
    padding: 18px;
    border-left: 1px solid var(--line);
    background: var(--paper);
    box-shadow: -18px 0 40px rgba(23, 34, 49, 0.18);
    transform: translateX(105%);
    transition: transform 0.22s ease;
  }

  .menu-open .mobile-nav {
    transform: translateX(0);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-nav-head strong {
    color: var(--blue-dark);
    font-size: 1.2rem;
  }

  .menu-close {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--blue-dark);
    background: var(--surface);
    font-weight: 900;
  }

  .mobile-nav nav {
    display: grid;
    align-content: start;
    gap: 8px;
  }

  .mobile-nav nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--blue-dark);
    background: var(--surface);
    font-weight: 900;
  }

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

  .shop-card,
  .finish-layout,
  .bath-summary,
  .bath-stage-grid,
  .config-layout,
  .reference-grid,
  .reference-grid--works,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-media {
    min-height: 310px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(1180px, calc(100vw - 24px));
  }

  .top-strip {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .header-main {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1.24rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .header-call {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .bath-page-hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 58px 0;
  }

  .bath-page-hero-content {
    padding: 58px 0;
  }

  h1 {
    max-width: 100%;
    font-size: 2.04rem;
    line-height: 1.06;
  }

  .legal-hero-inner {
    padding: 58px 0;
  }

  .legal-hero h1 {
    font-size: 2.04rem;
  }

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

  .certificate-document {
    grid-template-columns: minmax(0, 1fr);
  }

  .certificate-document__preview,
  .certificate-document__file {
    min-height: 180px;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.22rem;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .bath-page-hero-content > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .button {
    width: 100%;
  }

  .header-actions .header-cta {
    display: none;
  }

  .hero-facts,
  .service-grid,
  .service-area-layout,
  .package-showcase,
  .catalog-grid,
  .overview-grid,
  .finish-layout,
  .bath-summary,
  .bath-stage-grid,
  .choice-grid,
  .config-field-grid,
  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-facts li {
    min-height: auto;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .button {
    min-width: 0;
  }

  .price-mode-panel {
    display: grid;
  }

  .section {
    padding: 64px 0;
  }

  .section-head-row {
    display: grid;
    align-items: start;
  }

  .text-link {
    justify-self: start;
  }

  .shop-card {
    min-height: 0;
  }

  .product-media {
    min-height: 250px;
    padding: 22px;
  }

  .finish-visual {
    min-height: 260px;
  }

  .bath-feature-photo {
    grid-template-rows: minmax(280px, 1fr) auto;
  }

  .bath-feature-photo img {
    min-height: 280px;
  }

  .product-media img {
    max-height: 230px;
  }

  .product-body,
  .finish-copy,
  .bath-copy-panel,
  .config-intro,
  .config-form,
  .contact-form {
    padding: 20px;
  }

  .config-nav-actions,
  .config-success-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .config-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .config-nav > .button,
  .config-nav-actions > .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .price-table {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
  }

  .price-row-head {
    display: none;
  }

  .price-row:not(.price-row-head) {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
  }

  .price-row > span,
  .price-row > strong {
    min-height: 46px;
    border-right: 0;
  }

  .price-row:not(.price-row-head) > span:first-child {
    min-height: 0;
    padding: 12px 14px;
    color: var(--yellow);
    background: rgba(6, 47, 82, 0.32);
    font-weight: 900;
  }

  .price-row:not(.price-row-head) > span:not(:first-child),
  .price-row:not(.price-row-head) > strong {
    justify-content: space-between;
    gap: 18px;
    padding: 11px 14px;
    text-align: right;
  }

  .price-row > span:not(:first-child)::before,
  .price-row > strong:not(:first-child)::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 900;
    text-align: left;
  }

  .price-row:not(.price-row-head) > span:last-child,
  .price-row:not(.price-row-head) > strong:last-child {
    border-bottom: 0;
  }

  .reference-grid img {
    aspect-ratio: 1.22 / 1;
  }

  .work-card__media img {
    aspect-ratio: auto;
  }

  .work-card__thumbs img {
    aspect-ratio: 1 / 1;
  }

  .works-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card__media {
    aspect-ratio: 1.28 / 1;
  }

  .work-faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    min-height: 150px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .livechat {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .livechat-panel {
    max-height: calc(100vh - 80px);
    overflow: hidden;
  }

  .livechat-messages {
    max-height: min(40vh, 280px);
  }

}

@media (max-width: 460px) {
  .brand small {
    display: none;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 1.16rem;
  }

  .menu-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 1.96rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .service-grid article,
  .overview-card,
  .mini-body,
  .bath-copy-panel,
  .bath-stage,
  .config-intro,
  .config-form {
    padding: 16px;
  }

  .bath-photo-grid {
    gap: 8px;
  }

  .livechat-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
