:root {
  --primary: #d2e761;
  --primary-dark: #a8be30;
  --dark: #101417;
  --ink: #20282e;
  --muted: #65727b;
  --line: #dfe5e8;
  --soft: #f4f7f2;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(16, 20, 23, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin: auto; }

.topbar {
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
}
.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar a { color: var(--primary); font-weight: 900; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(16, 20, 23, .08);
  box-shadow: 0 10px 30px rgba(16, 20, 23, .06);
}
.nav {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--dark);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}
.site-nav ul {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 800;
}
.site-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
}
.site-nav a:hover { background: var(--soft); }
.mobile-menu-item { display: none; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--dark);
  transition: transform .18s ease, opacity .18s 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); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--dark);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}
.button.primary {
  background: var(--primary);
  color: var(--dark);
}
.button.light {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 78px 0;
  background: var(--dark);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 20, 23, .93), rgba(16, 20, 23, .68) 52%, rgba(16, 20, 23, .2));
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(310px, .42fr);
  gap: 52px;
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-weight: 900;
}
.eyebrow:before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 50px;
  background: var(--primary);
}
h1 {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: .98;
  letter-spacing: 0;
}
h2, h3 {
  margin: 0 0 18px;
  color: var(--dark);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 { font-size: clamp(26px, 3vw, 40px); }
.content-text {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}
.content-text.dark-text { color: var(--muted); }
.section-title {
  display: block;
  color: var(--dark);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 18px;
}
.content-text a,
.profile-card p a,
.option-card p a,
.model-card p a {
  color: var(--primary);
  font-weight: 400;
  text-decoration: none;
}
.content-text a:hover,
.profile-card p a:hover,
.option-card p a:hover,
.model-card p a:hover {
  text-decoration: underline;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .95);
  color: var(--dark);
  box-shadow: var(--shadow);
}
.hero-card strong {
  display: block;
  font-size: 28px;
  line-height: 1.12;
  margin-bottom: 8px;
}
.hero-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}
.quick-point {
  padding: 28px;
  background: var(--white);
}
.quick-point strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.quick-point span {
  color: var(--muted);
  font-size: 15px;
}

section { padding: 86px 0; }
.soft { background: var(--soft); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.profile-hero {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(244,247,242,.9)),
    linear-gradient(90deg, #fff, #e8edf0);
}
.profile-hero:before,
.profile-hero:after,
.profile-hero span {
  content: "";
  position: absolute;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(16, 20, 23, .12);
}
.profile-hero:before {
  left: 18%;
  bottom: 16%;
  width: 33%;
  height: 58%;
  background: linear-gradient(135deg, #fefefe, #dce3e6);
  transform: skewY(-12deg);
}
.profile-hero:after {
  right: 17%;
  top: 14%;
  width: 22%;
  height: 68%;
  border: 8px solid rgba(16, 20, 23, .68);
  background: rgba(255, 255, 255, .52);
  transform: rotate(-18deg);
}
.profile-hero span {
  left: 37%;
  bottom: 23%;
  width: 31%;
  height: 30%;
  background: linear-gradient(135deg, var(--primary), #fff);
  opacity: .82;
}
.profile-hero.wood:before { background: linear-gradient(135deg, #9b5f28, #d39b58 55%, #5a3519); }
.profile-hero.grey:before { background: linear-gradient(135deg, #fff, #bfc8ce); }
.profile-hero.dark:before { background: linear-gradient(135deg, #5f3d28, #c0834e 56%, #101417); }
.profile-hero.has-image {
  overflow: hidden;
  background: var(--line);
}
.profile-hero.has-image:before,
.profile-hero.has-image:after,
.profile-hero.has-image span {
  display: none;
}
.profile-hero.has-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.product-photo {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}
.product-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.product-photo.map-photo {
  min-height: 0;
  aspect-ratio: 775 / 919;
  background: #fff;
}
.product-photo.map-photo img {
  min-height: 0;
  object-fit: contain;
  background: #fff;
}
.product-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 280px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--dark);
  font-weight: 900;
}

.benefits {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.benefits li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}
.benefits li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.profile-grid, .option-grid, .model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.option-grid { grid-template-columns: repeat(2, 1fr); }
.model-grid { grid-template-columns: repeat(3, 1fr); }
.profile-card, .option-card, .model-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 20, 23, .06);
}
.model-card {
  display: flex;
  flex-direction: column;
}
.model-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.visual-grid,
.review-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.visual-grid { grid-template-columns: repeat(4, 1fr); }
.review-grid { grid-template-columns: repeat(3, 1fr); }
.visual-card,
.review-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 20, 23, .06);
}
.visual-card__preview {
  min-height: 150px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #eef3f5, #fff);
}
.visual-card__preview.white { background: linear-gradient(135deg, #fff, #edf1f3); }
.visual-card__preview.anthracite { background: linear-gradient(135deg, #20282e, #6a747b); }
.visual-card__preview.wood { background: linear-gradient(135deg, #8b572a, #d8a35e 52%, #f5e0be); }
.visual-card__preview.black { background: linear-gradient(135deg, #0d1114, #3e464b 58%, #aeb6bb); }
.visual-card__preview.double-glass { background: linear-gradient(135deg, rgba(210,231,97,.5), rgba(255,255,255,.8)), linear-gradient(90deg, #cad4da 12%, #fff 12% 20%, #cad4da 20% 32%, #fff 32% 68%, #cad4da 68% 80%, #fff 80% 88%, #cad4da 88%); }
.visual-card__preview.triple-glass { background: linear-gradient(135deg, rgba(174,212,232,.72), rgba(255,255,255,.82)), repeating-linear-gradient(90deg, #bac9d0 0 10px, #fff 10px 18px); }
.visual-card__preview.security-glass { background: linear-gradient(135deg, rgba(16,20,23,.14), rgba(255,255,255,.85)), repeating-linear-gradient(45deg, transparent 0 18px, rgba(210,231,97,.45) 18px 21px); }
.visual-card__preview.phonic-glass { background: radial-gradient(circle at 25% 50%, rgba(210,231,97,.8), transparent 26%), radial-gradient(circle at 70% 50%, rgba(32,40,46,.2), transparent 34%), linear-gradient(135deg, #f7fafb, #dce7ec); }
.visual-card__body,
.review-card {
  padding: 20px;
}
.visual-card strong,
.review-card strong {
  display: block;
  color: var(--dark);
  font-size: 21px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.visual-card p,
.review-card p {
  margin: 0;
  color: var(--muted);
}
.profile-card .profile-hero {
  min-height: 210px;
  border-radius: 0;
}
.profile-card__body,
.option-card,
.model-card__body {
  padding: 20px;
}
.profile-card strong,
.option-card strong,
.model-card strong {
  display: block;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.profile-card p,
.option-card p,
.model-card p {
  margin: 0 0 14px;
  color: var(--muted);
}
.profile-card ul,
.option-card ul,
.model-card ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}
.profile-card a,
.option-card a,
.model-card a {
  color: var(--dark);
  font-weight: 900;
}

.lead-band {
  background: var(--dark);
  color: var(--white);
}
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, 1fr);
  gap: 52px;
  align-items: start;
}
.lead-copy strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.lead-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .78);
}
.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.contact-list a, .contact-list span {
  display: block;
  padding: 15px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.quote-form-frame {
  display: grid;
  place-items: center;
  width: min(600px, 100%);
  min-height: 850px;
  height: 850px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.quote-form-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--soft);
}
.quote-form-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--dark);
  text-align: center;
  background: var(--soft);
}
.quote-form-placeholder strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}
.quote-form-placeholder span {
  display: block;
  color: var(--muted);
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 14px;
  background: rgba(16, 20, 23, .96);
  box-shadow: 0 -12px 30px rgba(16, 20, 23, .18);
}
.mobile-cta .button { width: 100%; }

footer {
  background: #0b0f12;
  color: rgba(255, 255, 255, .74);
  padding: 34px 0;
  font-size: 14px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a:hover { color: var(--primary); }

@media (max-width: 1040px) {
  .profile-grid,
  .visual-grid,
  .review-grid,
  .model-grid,
  .quick-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  body { padding-bottom: 72px; }
  .topbar { display: none; }
  .hero-grid,
  .split,
  .lead-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    display: grid;
    gap: 6px;
  }
  .site-nav a {
    padding: 13px 14px;
    background: var(--soft);
  }
  .site-nav .button {
    width: 100%;
    background: var(--primary);
    color: var(--dark);
  }
  .mobile-menu-item { display: block; }
  .nav > .button { display: none; }
  .mobile-cta { display: block; }
  .hero {
    min-height: auto;
    padding: 68px 0;
  }
  .hero-card { max-width: 420px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar .container {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }
  section { padding: 64px 0; }
  .profile-grid,
  .visual-grid,
  .review-grid,
  .model-grid,
  .option-grid,
  .quick-points { grid-template-columns: 1fr; }
  .profile-hero { min-height: 330px; }
  .product-photo { min-height: 330px; }
  .profile-card .profile-hero { min-height: 210px; }
  .quote-form-frame {
    min-height: 850px;
    height: 850px;
    padding: 0;
  }
  h1 { font-size: clamp(38px, 13vw, 58px); }
}
