:root {
  --ink: #241915;
  --muted: #6f5c4e;
  --paper: #f7f0e4;
  --paper-soft: #efe3d0;
  --surface: #fffaf2;
  --surface-2: #f4eadb;
  --line: #dccab5;
  --wood: #875533;
  --wood-dark: #4e321f;
  --green: #2a5738;
  --green-dark: #203f2c;
  --green-soft: #dfead8;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(62, 42, 24, .12);
  --radius: 8px;
  --max: 1250px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.is-menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 650px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.03;
  font-weight: 800;
}

h2 {
  max-width: 720px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(20px, 5vw, 80px);
  background: rgba(255, 250, 242, .94);
  border-bottom: 1px solid rgba(124, 84, 49, .18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  overflow: hidden;
  isolation: isolate;
  border: 2px solid #3e5e43;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 72%, transparent 0 8%, rgba(91, 59, 36, .2) 9% 10%, transparent 11%),
    repeating-radial-gradient(circle at 63% 43%, rgba(102, 67, 40, .13) 0 1px, transparent 1px 7px),
    linear-gradient(145deg, #f0dab5, #ca9562);
  box-shadow:
    inset 0 0 0 1px rgba(255, 249, 237, .52),
    0 5px 12px rgba(49, 72, 53, .16);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(103, 68, 42, .24);
  border-radius: 46% 54% 49% 51%;
  transform: rotate(-16deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 8px;
  left: 8px;
  height: 1px;
  background: rgba(100, 64, 39, .2);
  transform: rotate(-12deg);
}

.brand-mark-letter {
  position: relative;
  z-index: 1;
  display: block;
  color: #2f513b;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.06em;
  text-shadow: 0 1px rgba(255, 248, 233, .55);
  transform: translate(-1px, -1px);
}

.brand-footer .brand-mark {
  border-color: rgba(255, 243, 221, .76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 249, 237, .45),
    0 5px 12px rgba(19, 35, 25, .25);
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #4a3b31;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  color: var(--ink);
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.header-phone span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(32, 63, 44, .18);
  transform: translateY(-1px);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--wood);
  outline-offset: 3px;
}

.button-secondary,
.button-card-light {
  background: var(--surface);
  color: var(--green);
  border: 1px solid rgba(42, 87, 56, .26);
}

.button-secondary:hover,
.button-card-light:hover {
  background: #f5efe5;
  box-shadow: none;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.button-card,
.button-card-light {
  min-height: 40px;
  flex: 1 1 0;
  padding: 0 14px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.is-menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.is-menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section-anchor,
.section {
  padding: clamp(62px, 8vw, 96px) clamp(20px, 6vw, 96px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(420px, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .74), rgba(247, 240, 228, .96)),
    radial-gradient(circle at 78% 18%, rgba(216, 177, 132, .28), transparent 34%);
}

.hero-copy {
  display: grid;
  gap: 26px;
}

.section-label {
  color: var(--green);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 580px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 580px;
}

.hero-stats div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, .72);
}

.hero-stats strong {
  display: block;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1;
  font-weight: 800;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  min-height: 560px;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #d0b28d;
  box-shadow: var(--shadow);
}

.hero-photo {
  height: clamp(430px, 48vw, 560px);
}

.hero-note {
  position: absolute;
  left: -32px;
  bottom: 24px;
  width: min(300px, 80%);
  padding: 22px;
  border: 1px solid rgba(124, 84, 49, .18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(53, 34, 22, .18);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  font-size: 18px;
  font-weight: 800;
}

.hero-note span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
}

.section-soft {
  max-width: none;
  background: var(--paper-soft);
}

.section-soft > * {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 42px;
}

.section-head > p {
  max-width: 520px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card,
.process-grid article,
.equipment-grid article {
  border: 1px solid rgba(124, 84, 49, .18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(62, 42, 24, .06);
}

.benefit-card {
  min-height: 220px;
  padding: 26px;
}

.benefit-card span,
.process-grid span,
.reason-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(42, 87, 56, .12);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.benefit-card p,
.process-grid p,
.reason-list p,
.equipment-grid li {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.catalog-head h2 {
  max-width: 720px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: #5d4739;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-chip.is-active,
.filter-chip:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.bath-card {
  overflow: hidden;
  border: 1px solid rgba(124, 84, 49, .18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
}

.bath-card.is-hidden {
  display: none;
}

.bath-image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.visualization-label {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(36, 25, 21, .78);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.bath-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.bath-body h3 {
  font-size: 19px;
}

.bath-body > p {
  min-height: 61px;
  font-size: 13px;
  line-height: 1.48;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0;
}

.spec-grid div {
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid rgba(124, 84, 49, .12);
  border-radius: 6px;
  background: var(--surface-2);
}

.spec-grid dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.spec-grid dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.plan {
  min-height: auto !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 800;
}

.included strong {
  display: block;
  color: var(--green);
  font-size: 12px;
  line-height: 1.3;
}

.included ul,
.equipment-grid ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.included li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.included li::before,
.equipment-grid li::before {
  content: "- ";
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.price-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.price-row strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  white-space: nowrap;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.catalog-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(124, 84, 49, .18);
  border-radius: var(--radius);
  background: var(--surface);
}

.catalog-note p {
  font-size: 15px;
  font-weight: 600;
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 48px;
  align-items: stretch;
  max-width: none;
  background: var(--wood);
  color: var(--white);
}

.estimate > * {
  max-width: var(--max);
}

.estimate-copy {
  justify-self: end;
  display: grid;
  align-content: start;
  gap: 18px;
  width: min(100%, 650px);
}

.estimate .section-label {
  color: #e5c29a;
}

.estimate h2 {
  color: var(--white);
}

.estimate p {
  color: #f1ddc3;
}

.estimate-photo {
  width: min(360px, 100%);
  height: 170px;
  margin-top: 16px;
  box-shadow: none;
}

.estimate-form {
  justify-self: start;
  display: grid;
  gap: 14px;
  width: min(100%, 460px);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.estimate-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.estimate-form input,
.estimate-form textarea {
  width: 100%;
  border: 1px solid #dac8b2;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  outline: none;
}

.estimate-form input {
  min-height: 52px;
  padding: 0 15px;
}

.estimate-form textarea {
  min-height: 106px;
  padding: 14px 15px;
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.estimate-form .selected-bath-note {
  margin: 0;
  padding: 11px 13px;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: rgba(42, 87, 56, .08);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.consent-field {
  grid-template-columns: 18px 1fr;
  gap: 10px !important;
  align-items: start;
  font-weight: 600 !important;
  line-height: 1.45;
}

.estimate-form .consent-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--green);
}

.estimate-form input:focus,
.estimate-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(42, 87, 56, .14);
}

.form-note {
  color: var(--muted) !important;
  font-size: 12px;
  line-height: 1.45;
}

.form-note.is-success {
  color: var(--green) !important;
  font-weight: 800;
}

.commercial-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.6;
}

.commercial-note--compact {
  margin-top: 4px;
}

.mobile-format {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px) minmax(320px, 420px);
  gap: 34px;
  align-items: center;
}

.mobile-format-copy,
.mobile-format-photo,
.reason-list {
  max-width: none;
}

.mobile-format-copy {
  display: grid;
  gap: 16px;
}

.mobile-format-photo {
  height: 390px;
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-list article {
  padding: 22px;
  border: 1px solid rgba(124, 84, 49, .16);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, .72);
}

.reason-list span {
  margin-bottom: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-grid article {
  min-height: 205px;
  padding: 24px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.equipment-grid article {
  padding: 28px;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding: 56px clamp(20px, 6vw, 96px);
  background: #241915;
  color: #fff3e2;
}

.footer p {
  max-width: 390px;
  margin-top: 18px;
  color: #ccbca9;
  font-size: 15px;
}

.brand-footer .brand-title,
.brand-footer .brand-subtitle {
  color: #fff3e2;
}

.footer nav,
.footer div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer a,
.footer span {
  color: #f3dec4;
  font-size: 15px;
}

.footer .button {
  width: max-content;
  margin-top: 8px;
  color: var(--white);
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 16px;
  }

  .header-phone {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-format {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-format-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 72px;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .is-menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 16px;
    border-radius: 6px;
  }

  .main-nav a:hover {
    background: var(--surface-2);
  }

  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 42px;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-note {
    left: 18px;
    bottom: 18px;
  }

  .section-head {
    display: grid;
    gap: 18px;
  }

  .section-head > p {
    max-width: none;
  }

  .estimate {
    grid-template-columns: 1fr;
  }

  .estimate-copy,
  .estimate-form {
    justify-self: stretch;
    width: auto;
  }

  .mobile-format {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  p {
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark-letter {
    font-size: 20px;
  }

  .brand-title {
    font-size: 16px;
  }

  .hero {
    gap: 28px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    height: 320px;
  }

  .hero-note {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .benefit-grid,
  .catalog-grid,
  .process-grid,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .catalog-note {
    display: grid;
  }

  .catalog-note .button,
  .estimate-form .button {
    width: 100%;
  }

  .bath-image {
    height: 228px;
  }

  .bath-body > p {
    min-height: 0;
  }

  .card-actions {
    display: grid;
  }

  .mobile-format-photo {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* Shared settings, resilient loading and keyboard navigation. */
[hidden] { display: none !important; }
.section-anchor, section[id], footer[id], main[id] { scroll-margin-top: 110px; }
.site-preview-note {
  margin: 0;
  padding: 12px clamp(16px, 4vw, 64px);
  background: #f4eadc;
  color: #493726;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.catalog-state { grid-column: 1 / -1; width: 100%; padding: 32px 16px; text-align: center; }
.catalog-state p { margin-bottom: 20px; }
.catalog-state .button { max-width: 100%; }
.filter-scroll-hint { margin: 6px 0 0; color: var(--text-muted, #655b52); font-size: 13px; }
fieldset[data-lead-fields] { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
fieldset[data-lead-fields]:disabled { opacity: .7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 860px) {
  .main-nav { max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; }
  .section-anchor, section[id], footer[id], main[id] { scroll-margin-top: 90px; }
}
