:root {
  color-scheme: light;
  --ink: #12110f;
  --ink-soft: #27231f;
  --paper: #f4f0e8;
  --stone: #e4ded4;
  --ivory: #fbfaf6;
  --line: rgba(18, 17, 15, 0.12);
  --muted: #6f675f;
  --gold: #c39a64;
  --gold-deep: #7a5832;
  --clay: #9b5f45;
  --sage: #58655c;
  --shadow: 0 26px 80px rgba(18, 17, 15, 0.16);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 42%, #eee7dc 100%);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.top-line {
  min-height: 38px;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 42px);
  align-items: center;
  padding: 8px 18px;
  background: var(--ink);
  color: #f8efe4;
  font-size: 0.9rem;
  font-weight: 750;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-actions,
.lang-switch,
.hero-actions,
.hero-contact,
.site-footer,
.site-footer div,
.site-footer nav,
.contact-ribbon,
.price-row {
  display: flex;
  align-items: center;
}

.brand { gap: 12px; min-width: 210px; }
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.brand strong { display: block; font-size: 1.05rem; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.78rem; }

.main-nav { justify-content: center; gap: clamp(14px, 2.6vw, 34px); font-weight: 820; color: #3c3834; }
.main-nav a { padding: 8px 0; }
.header-actions { justify-content: flex-end; gap: 10px; }

.lang-switch {
  padding: 3px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(18, 17, 15, 0.05);
}
.lang-switch button {
  min-width: 42px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}
.lang-switch button.active { background: var(--ink); color: #fff; }

.call-link,
.primary-btn,
.secondary-btn,
.contact-panel button,
.contact-ribbon a,
.contact-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 900;
}
.call-link,
.primary-btn,
.contact-panel button,
.contact-ribbon a:first-of-type {
  background: var(--ink);
  color: #fff;
}
.secondary-btn { background: rgba(255, 255, 255, 0.68); }

.hero {
  min-height: calc(100vh - 102px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  padding: clamp(36px, 6.8vw, 92px) clamp(18px, 5vw, 74px) 46px;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(3.7rem, 10.6vw, 8.9rem);
  line-height: 0.84;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4.7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.hero-lead,
.section-heading p:not(.eyebrow),
.contact-copy p,
.service-grid p,
.door-card p,
.form-note {
  color: var(--muted);
  line-height: 1.68;
}
.hero-lead {
  max-width: 740px;
  margin: 26px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  color: #37322e;
}
.hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-contact {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: var(--muted);
  font-weight: 820;
}
.hero-contact a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 4px; }

.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; }
.door-stage {
  position: relative;
  width: min(360px, 76vw);
  min-height: 610px;
  display: grid;
  place-items: end center;
}
.door-stage::before {
  content: "";
  position: absolute;
  inset: 11% -22% 4%;
  background: linear-gradient(135deg, rgba(195, 154, 100, 0.2), rgba(88, 101, 92, 0.18));
  border: 1px solid rgba(18, 17, 15, 0.08);
  transform: skewY(-5deg);
  box-shadow: var(--shadow);
}
.door-stage img {
  position: relative;
  z-index: 2;
  max-height: 630px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(18, 17, 15, 0.2));
}
.price-chip {
  position: absolute;
  z-index: 3;
  right: -26px;
  bottom: 52px;
  width: 176px;
  padding: 16px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.price-chip span, .price-chip small { display: block; color: #d9c6ae; font-weight: 850; }
.price-chip strong { display: block; margin: 4px 0; font-size: 2.1rem; line-height: 1; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ink);
  color: #fff;
}
.trust-bar span {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-weight: 950;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.section { padding: clamp(60px, 8vw, 112px) clamp(18px, 5vw, 74px); }
.section-heading { max-width: 820px; margin-bottom: 36px; }
.section-heading.wide { max-width: 1060px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.door-card {
  position: relative;
  display: grid;
  grid-template-rows: 390px auto;
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(18, 17, 15, 0.07);
}
.door-card.featured {
  background: linear-gradient(145deg, #fff 0%, #eee5d8 100%);
  border-color: rgba(195, 154, 100, 0.44);
}
.door-card img {
  height: 390px;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: linear-gradient(180deg, #fff 0%, #eee9df 100%);
}
.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  background: var(--clay);
  color: #fff;
  font-weight: 950;
  font-size: 0.78rem;
}
.door-card h3 { margin: 0 0 6px; font-size: 1.4rem; }
.door-card p { margin: 0; }
.price-row { gap: 12px; margin-top: 14px; }
.price-row strong { font-size: 1.65rem; }
.price-row del { color: var(--muted); font-weight: 850; }

.contact-ribbon {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 74px);
  background: linear-gradient(90deg, var(--ink), #2b2520);
  color: #fff;
}
.contact-ribbon div { display: grid; gap: 4px; }
.contact-ribbon strong { font-size: clamp(1.25rem, 2vw, 2rem); }
.contact-ribbon span { color: #d7cabb; }
.contact-ribbon a { border-color: rgba(255, 255, 255, 0.28); }
.contact-ribbon a:last-child { background: rgba(255, 255, 255, 0.08); }

.design-section { background: #f8f6f1; }
.design-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}
.design-grid figure {
  margin: 0;
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: end center;
  padding: 24px 24px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #e9e3da);
  border: 1px solid var(--line);
}
.design-grid img { max-height: 540px; width: auto; filter: drop-shadow(0 20px 35px rgba(18, 17, 15, 0.15)); }
.design-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 13px;
  background: rgba(18, 17, 15, 0.88);
  color: #fff;
  font-weight: 950;
}

.service-band { background: #e8e0d4; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-grid div {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border-top: 4px solid var(--gold);
}
.service-grid strong { display: block; margin-bottom: 34px; color: var(--gold-deep); }
.service-grid h3 { margin: 0 0 10px; font-size: 1.35rem; }

.quality-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 6vw, 80px);
  background: #fbfaf6;
}
.quality-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.quality-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 82px);
  background: var(--ink);
  color: #fff;
}
.contact-section .eyebrow,
.contact-section p { color: #d7cabb; }
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.contact-list a {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.contact-panel {
  padding: clamp(22px, 4vw, 38px);
  background: var(--ivory);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.contact-panel h3 { margin: 0 0 18px; font-size: 1.6rem; }
.contact-panel form { display: grid; gap: 14px; }
.contact-panel label { display: grid; gap: 8px; color: #36312c; font-weight: 900; }
.contact-panel input,
.contact-panel textarea {
  width: 100%;
  border: 1px solid rgba(18, 17, 15, 0.16);
  background: #fff;
  padding: 14px 13px;
  font: inherit;
}
.contact-panel textarea { resize: vertical; }
.contact-panel button { width: 100%; cursor: pointer; font-size: 1rem; }
.form-note { margin: 14px 0 0; font-size: 0.9rem; }

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 74px);
  background: #fff;
  border-top: 1px solid var(--line);
}
.site-footer div, .site-footer nav { gap: 14px; }
.site-footer img { width: 38px; height: 38px; object-fit: contain; }
.site-footer a { color: var(--muted); font-weight: 850; }

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 8px;
}
.floating-actions a {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
  font-weight: 950;
}

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr; }
  .main-nav { justify-content: flex-start; overflow-x: auto; }
  .header-actions { justify-content: space-between; }
  .hero,
  .quality-section,
  .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 560px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .top-line { flex-direction: column; gap: 4px; align-items: flex-start; }
  .site-header { padding: 12px 14px; }
  .brand { min-width: 0; }
  .hero { padding-top: 30px; }
  h1 { font-size: clamp(3rem, 18vw, 5.4rem); }
  .hero-actions a,
  .contact-ribbon a,
  .contact-list a { width: 100%; }
  .hero-visual { min-height: 500px; }
  .door-stage { min-height: 500px; }
  .door-stage img { max-height: 500px; }
  .price-chip { right: 0; bottom: 24px; }
  .trust-bar,
  .product-grid,
  .design-grid,
  .service-grid,
  .contact-list { grid-template-columns: 1fr; }
  .door-card { grid-template-rows: 330px auto; }
  .door-card img { height: 330px; }
  .design-grid figure { min-height: 430px; }
  .design-grid img { max-height: 410px; }
  .contact-ribbon { align-items: stretch; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .site-footer nav { flex-wrap: wrap; }
}
