:root {
  --color-ink: #252321;
  --color-graphite: #30302e;
  --color-graphite-deep: #1d1d1b;
  --color-muted: #6d6760;
  --color-line: #e4ddd3;
  --color-paper: #fffdf8;
  --color-soft: #f5f1ea;
  --color-white: #ffffff;
  --color-wood: #a66b3f;
  --color-wood-dark: #73492d;
  --color-sage: #697d66;
  --shadow-soft: 0 22px 60px rgba(37, 35, 33, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 44px);
  color: var(--color-ink);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(115, 73, 45, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  background: var(--color-graphite);
  border-radius: 8px;
  font-size: 14px;
}

.brand__text {
  font-size: 17px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  color: var(--color-muted);
  font-size: 14px;
}

.main-nav a,
.header-phone,
.site-footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a:hover,
.header-phone:hover,
.site-footer a:hover {
  color: var(--color-wood-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-phone {
  color: var(--color-graphite);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--color-ink);
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

@media (min-width: 1121px) {
  .menu-toggle {
    display: none;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.button--accent {
  color: var(--color-white);
  background: var(--color-wood-dark);
  border-color: var(--color-wood-dark);
  box-shadow: 0 16px 34px rgba(115, 73, 45, 0.22);
}

.button--accent:hover {
  background: #5e3b25;
}

.button--light {
  color: var(--color-graphite-deep);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.7);
}

.button--ghost {
  width: 100%;
  min-height: 46px;
  color: var(--color-graphite-deep);
  background: var(--color-soft);
  border-color: var(--color-line);
  box-shadow: none;
}

.button--ghost:hover {
  background: var(--color-white);
  border-color: rgba(115, 73, 45, 0.3);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100svh - var(--header-height) - 34px));
  isolation: isolate;
  overflow: hidden;
  color: var(--color-white);
  background: var(--color-graphite-deep);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(29, 29, 27, 0.84) 0%, rgba(29, 29, 27, 0.56) 43%, rgba(29, 29, 27, 0.1) 72%),
    linear-gradient(180deg, rgba(29, 29, 27, 0.28) 0%, rgba(29, 29, 27, 0.16) 50%, rgba(29, 29, 27, 0.45) 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  padding: clamp(76px, 9vw, 118px) 0 clamp(54px, 7vw, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-wood-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow--warm {
  color: #e4b77d;
}

.hero .eyebrow {
  color: #f1d0a8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 78px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 22px;
}

.hero__actions,
.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 670px;
  margin: 52px 0 0;
}

.hero__stats div {
  min-width: 154px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero__stats dt {
  font-size: 28px;
  font-weight: 800;
}

.hero__stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: clamp(72px, 8vw, 116px) 0;
}

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

.section--graphite {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(105, 125, 102, 0.18), rgba(115, 73, 45, 0.12)),
    var(--color-graphite-deep);
}

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

.section-heading p:not(.eyebrow),
.materials-copy p,
.request-copy p,
.constructor-intro p,
.final-cta p {
  color: var(--color-muted);
  font-size: 18px;
}

.section--graphite .constructor-intro p {
  color: rgba(255, 255, 255, 0.78);
}

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

.benefit-card,
.solution-card,
.material-item,
.review-card,
.trust-metric,
.request-form {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.benefit-card {
  min-height: 230px;
  padding: 28px;
}

.benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 26px;
  color: var(--color-white);
  background: var(--color-sage);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.benefit-card p,
.solution-card p,
.material-item p,
.steps-list p,
.review-card p,
.trust-metric span,
.site-footer p,
.site-footer span,
.form-note {
  color: var(--color-muted);
}

.constructor-section {
  padding-top: clamp(70px, 8vw, 108px);
}

.constructor-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 32px;
}

.constructor-intro h2 {
  margin-bottom: 0;
}

.kitchen-widget-placeholder {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #272826;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.kitchen-widget-placeholder.is-highlighted {
  outline: 3px solid rgba(228, 183, 125, 0.55);
  outline-offset: 4px;
}

.widget-fallback {
  display: flex;
  flex-direction: column;
  min-height: inherit;
}

.widget-fallback__top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.widget-fallback__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.widget-fallback__body {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  padding: 42px;
  text-align: center;
}

.widget-fallback__body::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 95%);
}

.widget-fallback__label {
  position: relative;
  max-width: 640px;
  margin: 0 auto 14px;
  color: var(--color-white);
  font-size: 44px;
  font-weight: 780;
  line-height: 1.08;
}

.widget-fallback__text {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

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

.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(37, 35, 33, 0.08);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.solution-card__content p {
  flex: 1;
  margin-bottom: 22px;
}

.materials-section {
  background: linear-gradient(180deg, var(--color-soft), #fbfaf6);
}

.materials-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.materials-copy {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.materials-copy .button {
  margin-top: 10px;
}

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

.material-item {
  min-height: 190px;
  padding: 24px;
}

.swatch {
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 35, 33, 0.1);
  border-radius: 8px;
}

.swatch--mdf {
  background: linear-gradient(90deg, #d6b184, #9a6a3d);
}

.swatch--enamel {
  background: linear-gradient(90deg, #f5f2eb, #cfc8bc);
}

.swatch--plastic {
  background: linear-gradient(90deg, #2e302f, #6b6e69);
}

.swatch--veneer {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12), transparent),
    repeating-linear-gradient(90deg, #8b5b35 0, #8b5b35 12px, #a96f43 12px, #a96f43 24px);
}

.swatch--ldsp {
  background: linear-gradient(90deg, #eadfce, #b89b78);
}

.swatch--stone {
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(101, 98, 95, 0.55) 43% 45%, transparent 46% 100%),
    #efede7;
}

.swatch--hardware {
  background: linear-gradient(90deg, #1f2324, #8a8c88, #d6d0c5);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-line);
}

.steps-list li {
  min-height: 260px;
  padding: 28px;
  background: var(--color-white);
}

.steps-list span {
  display: block;
  margin-bottom: 36px;
  color: var(--color-wood-dark);
  font-weight: 800;
}

.gallery-section {
  background: var(--color-graphite);
  color: var(--color-white);
}

.gallery-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1d1d1b;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  color: var(--color-white);
  background: rgba(29, 29, 27, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

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

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

.review-card {
  grid-column: span 2;
  padding: 30px;
}

.review-card p {
  margin-bottom: 20px;
  color: var(--color-ink);
  font-size: 19px;
}

.review-card span {
  color: var(--color-wood-dark);
  font-weight: 760;
}

.trust-metric {
  min-height: 168px;
  padding: 26px;
}

.trust-metric strong {
  display: block;
  margin-bottom: 12px;
  color: var(--color-graphite-deep);
  font-size: 46px;
  line-height: 1;
}

.final-cta {
  padding: clamp(62px, 7vw, 92px) 0;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(29, 29, 27, 0.92), rgba(48, 48, 46, 0.78)),
    url("assets/solution-island.png") center / cover;
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.final-cta p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
}

.request-section {
  background: var(--color-soft);
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 3px;
}

.contact-list span {
  color: var(--color-muted);
  font-size: 13px;
}

.contact-list a,
.contact-list address {
  color: var(--color-ink);
  font-style: normal;
  font-weight: 760;
}

.request-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-soft);
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--color-graphite);
  font-size: 14px;
  font-weight: 760;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-ink);
  background: #fbfaf6;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.request-form input {
  height: 52px;
  padding: 0 15px;
}

.request-form textarea {
  min-height: 132px;
  padding: 14px 15px;
  resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: rgba(115, 73, 45, 0.62);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(166, 107, 63, 0.12);
}

.form-note,
.form-status {
  margin: 0;
  font-size: 13px;
}

.form-status {
  min-height: 20px;
  color: var(--color-sage);
  font-weight: 760;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--color-graphite-deep);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(150px, 0.6fr));
  gap: 32px;
}

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

.site-footer .brand__mark {
  color: var(--color-graphite-deep);
  background: #e4b77d;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: 16px;
}

.site-footer a,
.site-footer address {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) 44px;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav,
  .header-actions {
    position: fixed;
    left: 18px;
    right: 18px;
    display: none;
    background: var(--color-paper);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
  }

  .main-nav {
    top: calc(var(--header-height) + 10px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 12px;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .header-actions {
    top: calc(var(--header-height) + 352px);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }

  .body-spacer {
    display: none;
  }

  body.is-menu-open .main-nav,
  body.is-menu-open .header-actions {
    display: flex;
  }

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

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

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

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

  .container {
    width: min(100% - 30px, var(--container));
  }

  .hero {
    min-height: min(760px, calc(100svh - var(--header-height) - 28px));
  }

  .hero__image {
    object-position: 58% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(29, 29, 27, 0.86), rgba(29, 29, 27, 0.46)),
      linear-gradient(180deg, rgba(29, 29, 27, 0.14), rgba(29, 29, 27, 0.5));
  }

  .hero__stats {
    margin-top: 34px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .widget-fallback__label {
    font-size: 36px;
  }

  .trust-metric strong {
    font-size: 38px;
  }

  .hero__stats div {
    min-width: 130px;
  }

  .constructor-intro,
  .materials-layout,
  .request-layout,
  .final-cta__inner {
    grid-template-columns: 1fr;
  }

  .kitchen-widget-placeholder {
    min-height: 680px;
  }

  .materials-copy {
    position: static;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 15px;
    padding-right: 74px;
  }

  .menu-toggle {
    position: fixed;
    top: 13px;
    right: 15px;
    z-index: 80;
    background: var(--color-paper);
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text {
    font-size: 15px;
  }

  .hero {
    min-height: 710px;
  }

  .hero__content {
    padding-top: 64px;
  }

  h1 {
    max-width: 340px;
    font-size: 34px;
  }

  h2 {
    max-width: 340px;
    font-size: 27px;
  }

  .hero__lead {
    max-width: 330px;
    font-size: 17px;
  }

  .hero .eyebrow {
    max-width: 310px;
    font-size: 11px;
  }

  .widget-fallback__label {
    font-size: 29px;
  }

  .trust-metric strong {
    font-size: 34px;
  }

  .hero__actions,
  .final-cta__actions {
    display: grid;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 220px;
    width: 100%;
  }

  .hero__stats div {
    min-width: 0;
    overflow: hidden;
    padding: 14px 10px;
  }

  .hero__stats dt {
    font-size: 22px;
  }

  .hero__stats dd {
    font-size: 12px;
  }

  .benefit-grid,
  .solution-grid,
  .material-list,
  .steps-list,
  .trust-grid,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .kitchen-widget-placeholder {
    min-height: 620px;
  }

  .widget-fallback__body {
    padding: 26px;
  }

  .widget-fallback__body::before {
    inset: 22px;
    background-size: 34px 34px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item--large {
    grid-column: span 1;
  }

  .review-card {
    grid-column: span 1;
  }
}
