:root {
  --white: #ffffff;
  --ink: #0b1626;
  --ink-2: #121f32;
  --panel: #0d1a2d;
  --panel-2: #101f34;
  --muted: #657181;
  --soft: #f5f7fa;
  --line: #dce2ea;
  --bronze: #b89462;
  --shadow: 0 20px 60px rgba(11, 22, 38, 0.18);
  --radius: 8px;
  --max: 1280px;
}

#dgba-buy {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.page {
  overflow: hidden;
  background: var(--white);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 18px clamp(20px, 5vw, 48px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  font-size: 18px;
  font-weight: 780;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 520;
}

.main-nav a[aria-current="page"] {
  color: var(--bronze);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-link {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 999px;
}

.menu-button svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 680px;
  height: 88vh;
  max-height: 780px;
  color: var(--white);
  background: var(--panel);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.88) 0%, rgba(7, 15, 27, 0.66) 32%, rgba(7, 15, 27, 0.08) 70%),
    linear-gradient(180deg, rgba(7, 15, 27, 0.58) 0%, rgba(7, 15, 27, 0) 24%, rgba(7, 15, 27, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(360px, 570px) minmax(260px, 380px);
  justify-content: space-between;
  align-items: end;
  gap: 42px;
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 128px 0 46px;
}

.hero-copy {
  align-self: center;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 60px;
  line-height: 1.06;
  font-weight: 520;
}

.hero-copy p {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 16px 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 720;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-dark {
  color: var(--white);
  background: var(--panel);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
}

.button .arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: var(--white);
  background: #050b13;
  border-radius: 50%;
}

.button-ghost .arrow {
  color: var(--ink);
  background: var(--white);
}

.button svg {
  width: 15px;
  height: 15px;
}

.hero-card {
  width: min(100%, 350px);
  align-self: end;
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(16, 31, 52, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #15233a;
}

.hero-card h2 {
  margin: 18px 0 6px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 640;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.card-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.dots {
  display: flex;
  gap: 7px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.dots span:first-child {
  width: 26px;
  border-radius: 999px;
  background: var(--white);
}

.mini-arrows {
  display: flex;
  gap: 10px;
}

.mini-arrows button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.mini-arrows svg {
  width: 17px;
  height: 17px;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  min-height: 420px;
  border-bottom: 1px solid var(--line);
}

.intro-stat,
.intro-copy {
  padding: 72px 0;
}

.intro-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  padding-right: 56px;
}

.stat-number {
  font-size: 58px;
  line-height: 1;
  font-weight: 620;
}

.stat-number span {
  color: var(--bronze);
}

.stat-label {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: -9px;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--panel);
  font-size: 12px;
  font-weight: 700;
}

.avatar-stack span:nth-child(2) {
  background: #8d9aa9;
}

.avatar-stack span:nth-child(3) {
  background: var(--bronze);
}

.intro-copy {
  padding-left: 56px;
}

.section-label {
  margin: 0 0 24px;
  color: var(--panel);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.intro-copy h2,
.section-heading h2,
.product-copy h2,
.process-heading h2,
.quality-copy h2,
.projects-heading h2,
.faq h2,
.contact h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.06;
  font-weight: 560;
}

.intro-copy p,
.section-heading p,
.product-copy p,
.process-heading p,
.quality-copy p,
.contact p,
.footer-brand p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.intro-copy p {
  max-width: 660px;
  margin: 24px 0 0;
}

.product-range {
  padding: 86px 0 0;
}

.product-top {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  gap: 54px;
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 410px;
}

.product-copy p {
  margin: 24px 0 30px;
}

.product-hero-image {
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(11, 22, 38, 0.12);
}

.product-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.45fr;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dark-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
  padding: 54px;
  color: var(--white);
  background: var(--panel);
}

.dark-panel small {
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.dark-panel h3 {
  margin: 24px 0 18px;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 560;
}

.dark-panel p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.62;
}

.product-list {
  display: grid;
}

.product-item {
  display: grid;
  grid-template-columns: 190px 1fr minmax(220px, 340px);
  align-items: center;
  gap: 30px;
  min-height: 230px;
  padding: 30px 0 30px 42px;
  border-bottom: 1px solid var(--line);
}

.product-item:last-child {
  border-bottom: 0;
}

.product-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-icon svg,
.quality-icon svg,
.step-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}

.product-item h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 560;
}

.product-item p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
}

.product-thumb {
  overflow: hidden;
  aspect-ratio: 5 / 3;
  border-radius: 6px;
  background: var(--soft);
}

.process {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 42px;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.process-heading p {
  max-width: 330px;
  margin: 22px 0 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  border-top: 1px dashed #b8c0cb;
}

.step {
  position: relative;
  min-height: 250px;
  padding: 42px 26px 0;
  border-left: 1px solid var(--line);
  text-align: center;
}

.step:first-child {
  border-left: 0;
}

.step-number {
  position: absolute;
  top: -17px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  color: var(--white);
  background: var(--panel);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 760;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  color: var(--panel);
}

.step h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 650;
}

.step p {
  margin: 0 auto;
  max-width: 180px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.quality {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  padding: 82px 0 92px;
  border-bottom: 1px solid var(--line);
}

.quality-copy p {
  max-width: 440px;
  margin: 24px 0 30px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}

.quality-item {
  padding: 18px 24px;
  border-right: 1px solid var(--line);
}

.quality-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--panel);
}

.quality-item h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 650;
}

.quality-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.projects {
  padding: 80px 0 0;
}

.projects-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 390px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.projects-heading p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.project-table {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(260px, 0.8fr) minmax(260px, 1fr);
  min-height: 188px;
  border-bottom: 1px solid var(--line);
}

.project-row:last-child {
  border-bottom: 0;
}

.project-image {
  min-height: 188px;
  background: var(--soft);
}

.project-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  color: var(--white);
  background: var(--panel);
}

.project-name small,
.project-mix small {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.project-name h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.04;
  font-weight: 560;
}

.project-name p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link .tiny-arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
}

.text-link .tiny-arrow svg {
  width: 12px;
  height: 12px;
}

.project-mix {
  padding: 30px 34px;
}

.project-mix small {
  display: block;
  color: var(--muted);
}

.project-mix ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
}

.project-mix li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.project-mix svg {
  width: 18px;
  height: 18px;
  color: var(--bronze);
}

.faq-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.faq,
.contact {
  padding: 58px 0 66px;
}

.faq {
  padding-right: 56px;
  border-right: 1px solid var(--line);
}

.contact {
  padding-left: 56px;
}

.faq h2,
.contact h2 {
  font-size: 34px;
}

.faq-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 650;
}

.faq-question span:last-child {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin-left: 18px;
  color: var(--ink);
}

.faq-answer {
  display: none;
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-question span:last-child {
  transform: rotate(45deg);
}

.contact p {
  max-width: 460px;
  margin: 14px 0 28px;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

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

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--panel);
  box-shadow: 0 0 0 3px rgba(13, 26, 45, 0.08);
}

.form-note {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero {
  position: relative;
  min-height: 560px;
  color: var(--white);
  background: var(--panel);
}

.detail-hero-media,
.detail-hero-media::after {
  position: absolute;
  inset: 0;
}

.detail-hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.9) 0%, rgba(7, 15, 27, 0.74) 42%, rgba(7, 15, 27, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 15, 27, 0.58) 0%, rgba(7, 15, 27, 0.1) 45%, rgba(7, 15, 27, 0.62) 100%);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(var(--max), calc(100% - 48px));
  min-height: 560px;
  margin: 0 auto;
  padding: 140px 0 72px;
}

.back-link {
  width: fit-content;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.detail-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 560;
}

.detail-hero p {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.55;
}

.page-detail--windows .detail-hero-media::after {
  background:
    linear-gradient(270deg, rgba(7, 15, 27, 0.9) 0%, rgba(7, 15, 27, 0.68) 42%, rgba(7, 15, 27, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 15, 27, 0.58) 0%, rgba(7, 15, 27, 0.1) 45%, rgba(7, 15, 27, 0.62) 100%);
}

.page-detail--windows .detail-hero-content {
  align-items: flex-start;
  text-align: left;
}

.page-detail--windows .detail-hero .hero-actions {
  justify-content: flex-start;
}

.page-detail--doors .detail-hero-content {
  justify-content: center;
  min-height: 620px;
  padding-bottom: 96px;
}

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

.page-detail--fences .detail-hero-content {
  align-items: center;
  min-height: 520px;
  text-align: center;
}

.page-detail--fences .detail-hero .hero-actions {
  justify-content: center;
}

.page-detail--process .detail-hero-media::after,
.page-detail--quality .detail-hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.94) 0%, rgba(7, 15, 27, 0.78) 55%, rgba(7, 15, 27, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 15, 27, 0.6) 0%, rgba(7, 15, 27, 0.18) 48%, rgba(7, 15, 27, 0.76) 100%);
}

.page-detail--projects .detail-hero-content {
  justify-content: flex-end;
  min-height: 640px;
}

.detail-overview {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 56px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.detail-summary h2,
.detail-spec h2,
.detail-card h2,
.detail-contact-panel h2,
.related-tabs h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 560;
}

.detail-summary ul,
.detail-spec ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.detail-summary li {
  padding: 18px 0;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.42;
}

.detail-spec {
  padding: 34px;
  color: var(--white);
  background: var(--panel);
  border-radius: var(--radius);
}

.detail-spec ul {
  margin-top: 24px;
}

.detail-spec li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
}

.detail-spec svg {
  width: 20px;
  height: 20px;
  color: var(--bronze);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-card {
  min-height: 260px;
  padding: 42px;
  background: var(--white);
}

.detail-card p,
.detail-contact-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.detail-contact-panel {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 58px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.related-tabs {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 52px;
  padding: 76px 0;
}

.related-tab-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.related-tab-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease;
}

.related-tab-list a:hover {
  transform: translateY(-2px);
  border-color: var(--panel);
}

.related-tab-list span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--panel);
  border-radius: 50%;
}

.related-tab-list svg {
  width: 14px;
  height: 14px;
}

.layout-intro h2,
.window-copy h2,
.door-dark h2,
.fence-heading h2,
.process-detail-head h2,
.quality-detail-copy h2,
.projects-detail-head h2,
.contact-detail-copy h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 560;
}

.layout-intro p,
.window-copy p,
.door-dark p,
.fence-heading p,
.process-detail-head p,
.quality-detail-copy p,
.projects-detail-head p,
.contact-detail-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.layout-garage {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(360px, 1fr);
  gap: 34px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.layout-garage .layout-intro {
  align-self: start;
  padding-right: 34px;
}

.garage-visual {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: var(--radius);
  background: var(--soft);
}

.garage-visual-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 24px;
  color: var(--white);
  background: rgba(9, 18, 31, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.garage-visual-panel span,
.project-detail-copy span,
.fence-line span,
.garage-feature-list span,
.contact-detail-copy li span {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.garage-visual-panel ul,
.door-dark ul,
.fence-specs ul,
.process-detail-aside ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.garage-visual-panel li,
.door-dark li,
.fence-specs li,
.process-detail-aside li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.garage-visual-panel svg,
.door-dark svg,
.fence-specs svg,
.process-detail-aside svg {
  width: 18px;
  height: 18px;
  color: var(--bronze);
}

.garage-feature-list {
  align-self: stretch;
  padding: 28px;
  background: var(--soft);
  border-radius: var(--radius);
}

.garage-feature-list ul,
.door-highlight-list ul,
.contact-detail-copy ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.garage-feature-list li,
.door-highlight-list li,
.contact-detail-copy li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.45;
}

.garage-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column: 1 / -1;
  gap: 1px;
  background: var(--line);
}

.garage-card,
.window-card,
.door-detail,
.fence-card {
  padding: 34px;
  background: var(--white);
}

.garage-card h2,
.window-card h2,
.door-detail h2,
.fence-card h2,
.process-detail-track h2,
.quality-detail-matrix h2,
.project-detail-copy h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 600;
}

.garage-card p,
.window-card p,
.door-detail p,
.fence-card p,
.process-detail-track p,
.quality-detail-matrix p,
.project-detail-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.layout-windows {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(420px, 1.22fr);
  gap: 34px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.window-copy {
  align-self: center;
}

.window-panel {
  display: grid;
  grid-template-columns: 1fr 240px;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.window-panel img {
  min-height: 430px;
}

.window-panel ul {
  display: grid;
  align-content: center;
  gap: 14px;
  margin: 0;
  padding: 28px;
  list-style: none;
}

.window-panel li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.4;
}

.window-panel svg {
  width: 18px;
  height: 18px;
  color: var(--bronze);
}

.window-feature-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.window-feature-band p {
  margin: 0;
  min-height: 120px;
  padding: 26px;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 650;
  line-height: 1.42;
}

.window-feature-band p:last-child {
  border-right: 0;
}

.window-card-stack {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.window-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.layout-doors {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1fr);
  gap: 1px;
  padding: 76px 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.door-dark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 510px;
  padding: 46px;
  color: var(--white);
  background: var(--panel);
}

.door-dark .section-label,
.door-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.door-image {
  min-height: 510px;
  background: var(--soft);
}

.door-detail-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column: 1 / -1;
  gap: 1px;
}

.door-highlight-list {
  grid-column: 1 / -1;
  padding: 34px;
  background: var(--white);
}

.layout-fences {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1.28fr);
  gap: 34px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.fence-heading {
  align-self: start;
}

.fence-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-self: start;
  border-top: 2px solid var(--panel);
}

.fence-line article {
  position: relative;
  min-height: 170px;
  padding: 26px 22px 0 0;
}

.fence-line article::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--bronze);
  border-radius: 50%;
}

.fence-line p {
  margin: 16px 0 0;
  color: var(--ink-2);
  line-height: 1.5;
}

.fence-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
}

.fence-cards {
  display: grid;
  gap: 12px;
}

.fence-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fence-specs {
  grid-column: 1 / -1;
  padding: 26px 30px;
  color: var(--white);
  background: var(--panel);
  border-radius: var(--radius);
}

.fence-specs ul {
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}

.layout-process-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.64fr) minmax(420px, 1.1fr) minmax(250px, 0.5fr);
  gap: 36px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.process-detail-track {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-detail-track article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-detail-track p {
  grid-column: 2;
}

.process-detail-track span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--panel);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.process-detail-aside {
  align-self: start;
  padding: 30px;
  color: var(--white);
  background: var(--panel);
  border-radius: var(--radius);
}

.process-detail-aside h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.layout-quality-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.28fr);
  gap: 44px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.quality-detail-copy {
  align-self: center;
}

.quality-detail-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.quality-detail-matrix article {
  min-height: 250px;
  padding: 34px;
  background: var(--white);
}

.quality-detail-matrix span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quality-detail-matrix svg {
  width: 24px;
  height: 24px;
}

.quality-detail-strip,
.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px;
}

.quality-detail-strip span,
.project-detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.layout-projects-detail {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.projects-detail-head {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

.projects-detail-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.projects-detail-list article {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(320px, 1fr);
  min-height: 300px;
  background: var(--white);
}

.projects-detail-list article:nth-child(even) .project-detail-image {
  order: 2;
}

.project-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.project-detail-image {
  min-height: 300px;
  background: var(--soft);
}

.project-detail-tags {
  margin-top: 24px;
}

.layout-contact-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1.1fr);
  gap: 50px;
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.layout-contact-detail .detail-contact-panel {
  display: block;
  width: 100%;
  padding: 0;
  border-bottom: 0;
}

.layout-contact-detail .detail-contact-panel > div {
  display: none;
}

.contact-detail-copy {
  align-self: start;
}

.contact-detail-copy ul {
  margin-top: 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 36px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
}

.footer-brand strong {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
}

.footer-brand p {
  max-width: 310px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col h3 {
  margin: 0 0 16px;
  font-size: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .product-layout,
  .process,
  .quality,
  .faq-contact {
    grid-template-columns: 1fr;
  }

  .detail-overview,
  .detail-contact-panel,
  .related-tabs {
    grid-template-columns: 1fr;
  }

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

  .layout-garage,
  .layout-windows,
  .layout-doors,
  .layout-fences,
  .layout-quality-detail,
  .layout-contact-detail {
    grid-template-columns: 1fr;
  }

  .layout-process-detail {
    grid-template-columns: 1fr 1fr;
  }

  .process-detail-head,
  .process-detail-aside {
    grid-column: 1 / -1;
  }

  .garage-card-row,
  .window-card-stack,
  .door-detail-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .fence-specs ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-detail-head,
  .projects-detail-list article {
    grid-template-columns: 1fr;
  }

  .projects-detail-list article:nth-child(even) .project-detail-image {
    order: 0;
  }

  .dark-panel {
    min-height: auto;
  }

  .product-item {
    grid-template-columns: 90px 1fr minmax(220px, 320px);
  }

  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
  }

  .faq,
  .contact {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .contact {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: fixed;
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 70px;
    background: rgba(9, 18, 31, 0.72);
    backdrop-filter: blur(18px);
  }

  .main-nav {
    position: fixed;
    inset: 70px 14px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .detail-hero-content {
    min-height: 620px;
    padding-top: 118px;
  }

  .detail-hero h1 {
    font-size: 46px;
  }

  .main-nav a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  body.nav-open .main-nav {
    display: flex;
  }

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

  .menu-button {
    display: grid;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: 760px;
    padding: 118px 0 36px;
  }

  .hero-copy {
    align-self: end;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-card {
    justify-self: start;
    width: min(100%, 390px);
  }

  .intro,
  .product-top,
  .projects-heading,
  .project-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-stat,
  .intro-copy {
    padding: 44px 0;
  }

  .intro-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    gap: 42px;
  }

  .intro-copy {
    padding-left: 0;
  }

  .product-top {
    gap: 30px;
  }

  .product-copy {
    max-width: none;
  }

  .product-item {
    grid-template-columns: 72px 1fr;
    padding: 28px 0;
  }

  .product-thumb {
    grid-column: 1 / -1;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  .window-panel {
    grid-template-columns: 1fr;
  }

  .window-panel img {
    min-height: 320px;
  }

  .window-feature-band,
  .fence-line,
  .quality-detail-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .fence-media,
  .door-image,
  .garage-visual {
    min-height: 360px;
  }

  .step:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .section,
  .hero-content,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 32px, var(--max));
  }

  .hero-content {
    min-height: 780px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(7, 15, 27, 0.34) 0%, rgba(7, 15, 27, 0.54) 38%, rgba(7, 15, 27, 0.9) 100%),
      linear-gradient(90deg, rgba(7, 15, 27, 0.7) 0%, rgba(7, 15, 27, 0.18) 100%);
  }

  .hero h1 {
    font-size: 38px;
  }

  .detail-hero-content {
    width: min(100% - 32px, var(--max));
    min-height: 680px;
    padding-bottom: 44px;
  }

  .detail-hero h1 {
    font-size: 38px;
  }

  .detail-hero p {
    font-size: 16px;
  }

  .page-detail--windows .detail-hero-content,
  .page-detail--fences .detail-hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .page-detail--windows .detail-hero .hero-actions,
  .page-detail--fences .detail-hero .hero-actions {
    justify-content: flex-start;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    display: none;
  }

  .button {
    width: 100%;
  }

  .intro-copy h2,
  .section-heading h2,
  .product-copy h2,
  .process-heading h2,
  .quality-copy h2,
  .projects-heading h2,
  .layout-intro h2,
  .window-copy h2,
  .door-dark h2,
  .fence-heading h2,
  .process-detail-head h2,
  .quality-detail-copy h2,
  .projects-detail-head h2,
  .contact-detail-copy h2 {
    font-size: 34px;
  }

  .dark-panel {
    padding: 36px 24px;
  }

  .dark-panel h3 {
    font-size: 30px;
  }

  .product-hero-image {
    min-height: 270px;
  }

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

  .steps {
    border-top: 0;
  }

  .step {
    min-height: auto;
    padding: 28px 0;
    border-left: 0;
    border-top: 1px dashed #b8c0cb;
  }

  .step-number {
    left: 0;
    transform: none;
  }

  .quality-grid,
  .quality-item {
    border-left: 0;
    border-right: 0;
  }

  .quality-item {
    padding: 24px 0;
    border-top: 1px solid var(--line);
  }

  .detail-overview,
  .detail-contact-panel,
  .related-tabs {
    padding: 48px 0;
  }

  .detail-grid,
  .related-tab-list,
  .garage-card-row,
  .window-card-stack,
  .door-detail-list,
  .window-feature-band,
  .fence-line,
  .fence-specs ul,
  .layout-process-detail,
  .quality-detail-matrix {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .detail-spec,
  .garage-card,
  .window-card,
  .door-detail,
  .fence-card,
  .door-dark,
  .quality-detail-matrix article,
  .project-detail-copy {
    padding: 28px 22px;
  }

  .layout-garage,
  .layout-windows,
  .layout-doors,
  .layout-fences,
  .layout-process-detail,
  .layout-quality-detail,
  .layout-projects-detail,
  .layout-contact-detail {
    padding: 48px 0;
  }

  .layout-garage .layout-intro {
    padding-right: 0;
  }

  .garage-visual,
  .door-image,
  .fence-media,
  .project-detail-image {
    min-height: 280px;
  }

  .garage-visual-panel {
    position: static;
    margin: 0;
    border-radius: 0;
  }

  .garage-feature-list,
  .door-highlight-list,
  .fence-specs,
  .process-detail-aside {
    padding: 24px 20px;
  }

  .process-detail-track article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-detail-track p {
    grid-column: 1;
  }

  .projects-detail-list article {
    grid-template-columns: 1fr;
  }

  .project-name,
  .project-mix {
    padding: 24px 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
