:root {
  --bg: #f7f3ed;
  --surface: #fcfaf6;
  --surface-muted: #eee8de;
  --text: #171815;
  --text-soft: #5d6159;
  --line: rgba(23, 24, 21, 0.1);
  --accent: #d6982f;
  --accent-deep: #b77818;
  --accent-warm: #f5ac25;
  --dark: #141612;
  --white: #ffffff;
  --radius-md: 24px;
  --shadow-soft: 0 18px 60px rgba(18, 20, 17, 0.08);
  --shadow-card: 0 24px 70px rgba(18, 20, 17, 0.1);
  --container: 1200px;
  --font-main: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section {
  padding: 88px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.74) 100%);
}

.section-dark {
  background: radial-gradient(circle at top left, rgba(215, 171, 83, 0.16), transparent 34%), var(--dark);
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.hero h1,
.final-cta h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 0.96;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  max-width: 19ch;
  text-align: center;
  line-height: 1.16;
  text-wrap: balance;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow-dark {
  color: rgba(255, 255, 255, 0.68);
}

.card-kicker,
.pill-label,
.result-label,
.placeholder-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  backdrop-filter: blur(18px);
  background: rgba(20, 22, 18, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  color: var(--white);
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}

.site-nav a {
  transition: color 0.25s ease;
}

.site-nav a:hover,
.inline-link:hover {
  color: var(--accent-deep);
}

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

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn {
  border: 0;
  background: transparent;
  min-width: 44px;
  height: 36px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  font-weight: 700;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #f7b22d, #ec9d10);
  color: var(--dark);
  box-shadow: 0 18px 34px rgba(245, 172, 37, 0.3);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.inline-link {
  color: var(--accent-deep);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(12, 14, 12, 0.74) 0%, rgba(12, 14, 12, 0.62) 42%, rgba(12, 14, 12, 0.52) 100%),
    url("HERO.jpg") center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(245, 172, 37, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.34));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  padding: 106px 0 20px;
}

.hero-copy {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

.hero-badge {
  display: none;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 172, 37, 0.34);
  background: rgba(245, 172, 37, 0.08);
  color: rgba(245, 172, 37, 0.98);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-lead {
  max-width: 700px;
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
}

.hero-text,
.section-dark .video-copy p,
.final-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.hero-text {
  max-width: 660px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.section-heading p,
.timeline-card p,
.compare-card p,
.model-body p,
.window-card p,
.instruction-card p,
.accordion-content,
.contact-meta,
.small-note,
.section-inline-note p,
.section-inline-note span,
.section-footnote,
.result-note,
#resultSummaryList {
  color: var(--text-soft);
}

.hero-actions,
.trust-inline,
.messenger-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 2px;
}

.hero-actions-row .hero-actions {
  margin-top: 0;
}

.hero-warranty-seal {
  width: 108px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

.messenger-btn,
.messenger-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.messenger-btn::before,
.messenger-inline::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 18px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 10px;
}

.messenger-btn-whatsapp::before,
.messenger-inline-whatsapp::before {
  background-color: #25d366;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8 6.5C8 5.67 8.67 5 9.5 5h5C15.33 5 16 5.67 16 6.5v11c0 .83-.67 1.5-1.5 1.5h-5C8.67 19 8 18.33 8 17.5v-11Z' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M10 8h4M10 11h4M10 14h2.8' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.messenger-btn-viber::before,
.messenger-inline-viber::before {
  background-color: #7360f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M8.5 6.5h7A2.5 2.5 0 0 1 18 9v4.5A2.5 2.5 0 0 1 15.5 16H12l-3.5 2v-2H8.5A2.5 2.5 0 0 1 6 13.5V9a2.5 2.5 0 0 1 2.5-2.5Z' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M9.5 9.5h5M9.5 12h5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.messenger-inline-facebook::before {
  background-color: #1877f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M13.45 20v-7.3h2.45l.37-2.84h-2.82V8.05c0-.82.23-1.38 1.42-1.38h1.52V4.13c-.26-.04-1.17-.11-2.23-.11-2.2 0-3.7 1.34-3.7 3.81v2.03H8v2.84h2.48V20h2.97Z'/%3E%3C/svg%3E");
}

.hero-actions {
  justify-content: center;
  margin-top: 2px;
}

.model-card,
.calculator-form,
.calculator-result,
.accordion-card,
.feature-card,
.compare-card,
.window-card,
.video-frame-card,
.video-placeholder-card,
.portfolio-card,
.timeline-card,
.instruction-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.bonus-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245, 172, 37, 0.16);
  color: var(--white);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.model-body h3,
.compare-card h3,
.window-card h3,
.timeline-card h3,
.instruction-card h3,
.result-summary h3,
.video-placeholder-inner h3 {
  margin: 10px 0 8px;
  font-size: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.delivery-section {
  position: relative;
}

.delivery-heading {
  max-width: 860px;
}

.delivery-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px;
  padding: 9px 18px;
  border-radius: 999px 999px 999px 18px;
  background: linear-gradient(135deg, #5aa54a, #2f7c34);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(53, 122, 59, 0.2);
}

.hero-delivery-badge {
  margin: -2px 0 8px;
  align-self: center;
}

#delivery .delivery-badge {
  display: none;
}

.delivery-grid {
  margin-top: 8px;
}

.delivery-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-color: rgba(90, 165, 74, 0.16);
  background:
    radial-gradient(circle at top left, rgba(90, 165, 74, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 253, 250, 0.94));
}

.delivery-card .timeline-step {
  color: #4a9743;
}

.delivery-card h3 {
  margin-top: 14px;
  font-size: 1.32rem;
}

.delivery-card p {
  line-height: 1.62;
}

.delivery-section .section-footnote {
  max-width: 1080px;
  margin: 26px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(90, 165, 74, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.check-list,
#resultSummaryList {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-trust li {
  position: relative;
  padding-left: 18px;
}

.hero-trust li + li {
  margin-top: 8px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-deep));
}

.check-list li,
#resultSummaryList li {
  position: relative;
  padding-left: 24px;
}

.check-list li + li,
#resultSummaryList li + li {
  margin-top: 4px;
}

.check-list li::before,
#resultSummaryList li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-deep));
}

.hero-stats {
  width: 100%;
  max-width: 620px;
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.hero-stat {
  padding: 8px 18px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat:first-child {
  border-left: 0;
}

.hero-stat strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.bonus-strip-section {
  padding-top: 28px;
}

#bonus-strip {
  display: none;
}

.bonus-strip {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  padding: 14px 18px;
  border: 1px solid rgba(245, 172, 37, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(245, 172, 37, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 247, 230, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow-soft);
}

.bonus-strip .bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  grid-column: 2;
  min-height: 34px;
  padding: 0 14px;
  background: rgba(245, 172, 37, 0.12);
  color: var(--accent-deep);
  font-size: 0.82rem;
}

.bonus-strip .bonus-badge::before {
  content: "🎁";
  font-size: 0.98rem;
  line-height: 1;
}

.bonus-strip p {
  margin: 0;
  grid-column: 2;
  color: var(--text);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.4;
}

.bonus-strip::before {
  content: "";
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  border: 1px solid rgba(245, 172, 37, 0.22);
  box-shadow: 0 14px 34px rgba(245, 172, 37, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    url("greenwindow2.jpg") center/cover no-repeat;
}

.model-grid,
.compare-grid,
.window-grid,
.timeline-grid {
  display: grid;
  gap: 22px;
}

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

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

.window-grid,
.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(101, 122, 87, 0.22);
}

.model-card-info {
  cursor: default;
}

.media-frame {
  position: relative;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  background: var(--surface-muted);
}

.model-image-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  margin: 0;
  max-width: calc(100% - 28px);
  pointer-events: none;
}

.model-image-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.model-image-button:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: -3px;
}

.model-warranty-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 4px 8px 4px 7px;
  border: 1px solid rgba(47, 124, 52, 0.58);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 16px rgba(21, 48, 20, 0.22);
  color: #2f7c34;
  font-style: normal;
  line-height: 0.82;
  text-transform: uppercase;
}

.model-warranty-badge strong {
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 0.82;
}

.model-warranty-badge > span {
  display: grid;
  gap: 2px;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.model-warranty-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 22px;
  clip-path: polygon(50% 0, 94% 16%, 86% 71%, 50% 100%, 14% 71%, 6% 16%);
  background: #3f853d;
  color: var(--white);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.media-frame img,
.portfolio-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(8, 11, 8, 0.76);
  cursor: default;
}

.image-lightbox-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 1180px);
  height: min(100%, 800px);
}

.image-lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  object-fit: contain;
}

.image-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(20, 22, 18, 0.86);
  color: var(--white);
  cursor: pointer;
  font-size: 2.25rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: #3f853d;
  transform: scale(1.05);
}

.image-lightbox-close:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 3px;
}

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

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 56px 92px;
  overscroll-behavior: contain;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(7, 13, 8, 0.82);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 1400px);
  height: min(calc(100dvh - 112px), 900px);
  min-width: 0;
  min-height: 0;
}

.gallery-lightbox-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  object-fit: contain;
  transition: opacity 0.18s ease;
}

.gallery-lightbox-content img.is-loading {
  opacity: 0.35;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: fixed;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(16, 42, 24, 0.9);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  font-size: 0;
  touch-action: manipulation;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close {
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
}

.gallery-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  left: max(20px, env(safe-area-inset-left));
}

.gallery-lightbox-next {
  right: max(20px, env(safe-area-inset-right));
}

.gallery-lightbox-close span,
.gallery-lightbox-nav span {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.gallery-lightbox-close span::before,
.gallery-lightbox-close span::after {
  position: absolute;
  top: 10px;
  left: 0;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.gallery-lightbox-close span::before {
  transform: rotate(45deg);
}

.gallery-lightbox-close span::after {
  transform: rotate(-45deg);
}

.gallery-lightbox-nav span::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  content: "";
}

.gallery-lightbox-prev span::before {
  transform: rotate(-45deg);
}

.gallery-lightbox-next span::before {
  transform: rotate(135deg);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: #3f853d;
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  transform: scale(1.06);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 3px;
}

.gallery-lightbox-counter {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 2;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(10, 33, 17, 0.82);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  transform: translateX(-50%);
}

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

@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox-content img,
  .gallery-lightbox-close,
  .gallery-lightbox-nav,
  .portfolio-carousel-nav,
  .footer-social-link img {
    transition: none;
  }

  .footer-social-link:hover img,
  .footer-social-link:focus-visible img {
    transform: none;
  }
}

.model-body,
.compare-card,
.window-card,
.timeline-card,
.instruction-card,
.contact-card {
  padding: 24px;
}

.model-body {
  padding: 22px;
}

.model-spec-list {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.model-spec-list li {
  position: relative;
  padding-left: 18px;
}

.model-spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-warm);
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card > a.btn-primary.btn-block[data-i18n="ctaPrimary"] {
  display: none;
}

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

.contact-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.contact-input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #171815;
}

.contact-input::placeholder {
  color: rgba(23, 24, 21, 0.58);
}

.contact-consent {
  margin: -2px 0 2px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.contact-map {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(0.08) contrast(1.02);
}

@media (min-width: 821px) {
  .header-inner {
    min-height: 96px;
  }

  .brand {
    gap: 14px;
  }

  .brand-mark {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy span {
    max-width: 180px;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .final-cta-layout {
    align-items: start;
  }

  #contacts .contact-card .btn-secondary,
  #contacts .contact-card .messenger-grid,
  #contacts .contact-card .contact-meta,
  #contacts .contact-card .contact-map {
    display: none;
  }

  .contact-card {
    gap: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .contact-form,
  .contact-card > .btn-secondary,
  .contact-card > .messenger-grid,
  .contact-card > .contact-meta,
  .contact-card > .contact-map {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
  }

  .contact-card > .btn-secondary {
    min-height: 68px;
  }

  .contact-card > .messenger-grid,
  .contact-card > .contact-meta {
    gap: 12px;
  }

  .contact-card > .contact-meta {
    display: flex;
    flex-wrap: wrap;
  }

  .contact-card > .contact-map {
    padding: 12px;
  }

  .contact-card > .contact-map iframe {
    height: 260px;
    border-radius: 18px;
  }

  .contact-form-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
  }

  .contact-details-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: start;
  }

  .contact-links-shell,
  .contact-map-shell {
    gap: 16px;
  }
}

.contact-card > a.btn-primary.btn-block[data-i18n="ctaPrimary"] {
  display: none;
}

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

.contact-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.contact-input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #171815;
}

.contact-input::placeholder {
  color: rgba(23, 24, 21, 0.58);
}

.contact-consent {
  margin: -2px 0 2px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.68);
}

.model-select-btn {
  margin-top: 18px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.calculator-section {
  position: relative;
}

.calculator-section::before {
  content: "";
  position: absolute;
  inset: 80px 0 auto;
  height: calc(100% - 160px);
  background:
    repeating-linear-gradient(135deg, rgba(47, 124, 52, 0.045) 0 1px, transparent 1px 13px),
    linear-gradient(180deg, rgba(222, 242, 224, 0.82), rgba(197, 229, 202, 0.54));
  z-index: 0;
}

.calculator-shell {
  position: relative;
  z-index: 1;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.68fr);
  gap: 15px;
  align-items: stretch;
}

.calculator-form,
.calculator-result {
  padding: 18px;
}

.calculator-form {
  border-color: rgba(47, 124, 52, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(231, 246, 234, 0.94)),
    repeating-linear-gradient(135deg, rgba(47, 124, 52, 0.03) 0 1px, transparent 1px 12px);
  box-shadow: 0 18px 42px rgba(29, 88, 44, 0.12);
}

.calculator-result {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: start;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px),
    linear-gradient(145deg, #123920 0%, #1d6b39 54%, #2d7c35 100%);
  color: var(--white);
  border-color: rgba(225, 255, 222, 0.32);
  box-shadow: 0 20px 48px rgba(16, 78, 35, 0.28);
  height: 100%;
}

.calculator-result .result-note,
.calculator-result #resultSummaryList,
.calculator-result .small-note {
  color: rgba(255, 255, 255, 0.72);
}

.calculator-result .result-note {
  margin: 2px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.result-price-block .result-label {
  margin: 0 0 4px;
  color: rgba(235, 255, 235, 0.84);
}

.calculator-warranty-seal {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.26));
}

.calculator-warranty-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 128px;
  margin: 2px 0 4px;
  padding: 8px 0;
}

.calculator-result .small-note,
.calculator-result .result-bonus {
  display: none;
}

.calculator-result .bonus-badge {
  background: rgba(215, 171, 83, 0.16);
}

.field-group + .field-group {
  margin-top: 15px;
}

.field-label {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
}

.choice-row,
.extras-grid,
.feature-grid,
.portfolio-grid,
.installation-layout,
.final-cta-layout,
.footer-layout {
  display: grid;
  gap: 16px;
}

.choice-row {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  margin-top: 8px;
}

.choice-row-scroll {
  grid-template-columns: repeat(5, minmax(84px, 1fr));
}

.choice-chip {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  padding: 0 10px;
}

.choice-chip.is-active {
  border-color: rgba(32, 109, 50, 0.86);
  background: linear-gradient(145deg, #2f7c34, #54a345);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 9px 18px rgba(30, 112, 50, 0.22);
}

.extras-grid {
  margin-top: 8px;
  gap: 8px;
}

.option-card {
  position: relative;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(47, 124, 52, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(233, 247, 235, 0.9));
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  align-items: center;
  gap: 12px;
}

.option-card-copy {
  min-width: 0;
}

.option-card-content strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.28;
}

.option-card-content small {
  display: block;
  margin-top: 4px;
  color: var(--accent-deep);
  font-weight: 700;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 44px 36px 44px;
  align-items: center;
  justify-content: end;
  min-height: 44px;
  border: 1px solid rgba(43, 114, 51, 0.22);
  border-radius: 13px;
  background: linear-gradient(145deg, #f7fbf6, #dcefdc);
  overflow: hidden;
}

.quantity-button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
}

.quantity-button:hover:not(:disabled),
.quantity-button:focus-visible {
  background: rgba(47, 124, 52, 0.16);
}

.quantity-button:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: -2px;
}

.quantity-button:disabled {
  color: rgba(15, 28, 47, 0.3);
  cursor: not-allowed;
}

.quantity-value {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-inline: 1px solid rgba(43, 114, 51, 0.18);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.option-card.is-selected {
  border-color: rgba(39, 123, 52, 0.72);
  background: linear-gradient(145deg, rgba(218, 244, 219, 0.98), rgba(172, 222, 172, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 12px 26px rgba(35, 115, 48, 0.16);
  transform: translateY(-1px);
}

.result-price {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.result-summary {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calculator-result .btn-block {
  margin-top: auto;
}

.result-summary h3 {
  margin: 0 0 6px;
  font-size: 0.94rem;
}

.accordion-card,
.faq-item {
  overflow: hidden;
}

.accordion-toggle {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 1.14rem;
  font-weight: 700;
}

.accordion-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.accordion-icon::after {
  transform: rotate(90deg);
}

.accordion-card.is-open .accordion-icon::after,
.faq-item.is-open .accordion-icon::after {
  transform: rotate(0deg);
}

.accordion-content {
  padding: 0 28px 28px;
}

.engineering-note {
  margin-top: 22px;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.engineering-note p + p {
  margin-top: 14px;
}

.included-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.hero-stats > .included-proof-grid {
  display: none;
}

.included-proof-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.included-proof-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.included-proof-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.included-proof-copy strong {
  font-size: 1.02rem;
  line-height: 1.28;
  color: var(--text);
}

.included-proof-copy p {
  margin: 0;
  color: var(--muted);
}

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

.feature-card {
  padding: 22px;
}

.feature-card-media {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 28, 47, 0.08);
}

.feature-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.compare-card-accent {
  background: linear-gradient(180deg, rgba(101, 122, 87, 0.13), rgba(255, 255, 255, 0.95));
  border-color: rgba(101, 122, 87, 0.16);
}

.window-card-media {
  aspect-ratio: 1.15 / 1;
  background: linear-gradient(135deg, rgba(101, 122, 87, 0.12), rgba(215, 171, 83, 0.16)), var(--surface-muted);
  border-radius: 22px;
  overflow: hidden;
}

.window-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-inline-note {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.section-inline-note span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(101, 122, 87, 0.1);
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.video-layout,
.installation-layout,
.final-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.video-layout-reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.video-frame-card,
.video-placeholder-card {
  overflow: hidden;
  min-height: 420px;
}

.video-frame-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

#video-strength {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px),
    linear-gradient(145deg, #123920 0%, #1d6b39 54%, #2d7c35 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(9, 48, 20, 0.38);
}

#video-strength .video-copy {
  max-width: 540px;
}

#video-strength .video-frame-card {
  border-color: rgba(225, 255, 222, 0.34);
  background: rgba(7, 42, 17, 0.28);
  box-shadow: 0 20px 48px rgba(8, 53, 23, 0.28);
}

.video-placeholder-card {
  background: radial-gradient(circle at top left, rgba(215, 171, 83, 0.12), transparent 34%), var(--surface);
}

.video-placeholder-inner {
  height: 100%;
  min-height: 420px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 32px;
}

.video-placeholder-inner p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.final-cta-contact-details {
  padding-top: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px),
    linear-gradient(145deg, #123920 0%, #1d6b39 54%, #2d7c35 100%);
}

.contact-details-layout {
  display: grid;
  gap: 22px;
}

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

.portfolio-carousel-shell {
  position: relative;
}

.portfolio-carousel-nav,
.portfolio-carousel-counter {
  display: none;
}

.portfolio-card {
  aspect-ratio: 0.95 / 1;
}

.portfolio-lightbox-trigger,
.portfolio-page-card {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.portfolio-lightbox-trigger:focus-visible,
.portfolio-page-card:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: -3px;
}

.portfolio-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.portfolio-page {
  min-height: 100vh;
  padding-top: 120px;
}

.portfolio-page-head {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.portfolio-page-head .btn {
  justify-self: start;
}

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

.portfolio-page-card {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-muted);
  box-shadow: var(--shadow-soft);
}

.portfolio-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.portfolio-page-card:hover img {
  transform: scale(1.035);
}

.timeline-step {
  color: var(--accent-warm);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.instruction-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 235, 227, 0.8));
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.faq-item .accordion-toggle {
  padding: 22px 24px;
  font-size: 1.02rem;
}

.faq-item .accordion-content {
  padding: 0 24px 24px;
}

.final-cta {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px),
    linear-gradient(145deg, #123920 0%, #1d6b39 54%, #2d7c35 100%);
  color: var(--white);
}

.contact-section {
  padding-block: clamp(64px, 7vw, 96px);
}

.contact-section-inner {
  display: grid;
  gap: 24px;
}

.contact-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.contact-heading h2 {
  max-width: 18ch;
  margin-inline: auto;
  line-height: 1.06;
  text-wrap: balance;
}

.contact-form-compact {
  width: min(100%, 760px);
  margin-inline: auto;
  gap: 12px;
}

.contact-form-compact .contact-label,
.contact-form-compact .contact-consent {
  text-align: center;
}

.contact-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
}

.contact-form-row .contact-input,
.contact-form-row .btn {
  min-height: 58px;
  border-radius: 12px;
}

.contact-channel-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 760px);
  margin: 8px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-channel {
  min-width: 0;
  min-height: 60px;
  justify-content: center;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
  text-decoration: none;
  touch-action: manipulation;
  transition: background 0.2s ease, color 0.2s ease;
}

.contact-channel + .contact-channel {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-channel:hover,
.contact-channel:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.contact-channel:focus-visible,
.contact-meta-compact a:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 3px;
}

.contact-meta-compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  text-align: center;
}

.contact-meta-compact > * {
  padding-inline: 18px;
}

.contact-meta-compact > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-meta-compact a {
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
}

.contact-map-wide {
  margin-top: 8px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 42px rgba(8, 45, 20, 0.2);
}

.contact-map-wide iframe {
  height: 320px;
  filter: grayscale(0.04) contrast(1.04) saturate(0.94);
}

@media (max-width: 640px) {
  .contact-section {
    padding-block: 56px;
  }

  .contact-section-inner {
    gap: 20px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    min-height: 56px;
    padding-inline: 8px;
    gap: 7px;
    font-size: 0.84rem;
  }

  .contact-meta-compact {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .contact-meta-compact > * {
    padding-inline: 0;
  }

  .contact-meta-compact > * + * {
    border-left: 0;
  }

  .contact-map-wide iframe {
    height: 270px;
  }
}

#installation {
  display: none;
}

#reinforcement {
  display: none;
}

.trust-inline span,
.contact-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-meta span,
.footer-links a {
  color: rgba(255, 255, 255, 0.94);
}

.contact-meta span:first-child,
.footer-links a:first-child {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 700;
}

.contact-meta span,
.footer-links a {
  color: rgba(255, 255, 255, 0.94);
}

.contact-meta span:first-child,
.footer-links a:first-child {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 700;
}

.final-cta .trust-inline span {
  border: 1px solid rgba(222, 255, 225, 0.22);
  background: rgba(235, 255, 235, 0.1);
  color: rgba(255, 255, 255, 0.94);
}

#contacts .contact-card,
#contact-details .contact-form,
#contact-details .contact-card > .btn-secondary,
#contact-details .contact-card > .messenger-grid,
#contact-details .contact-card > .contact-meta,
#contact-details .contact-card > .contact-map {
  border-color: rgba(225, 255, 222, 0.26);
  background: linear-gradient(145deg, rgba(239, 255, 240, 0.16), rgba(198, 240, 203, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 18px 38px rgba(8, 58, 24, 0.2);
}

#contacts .contact-card {
  padding: 24px;
  border-radius: 24px;
}

#contact-details .contact-map {
  padding: 10px;
}

#contact-details .contact-map iframe {
  border-radius: 14px;
  filter: grayscale(0.04) contrast(1.04) saturate(0.94);
}

#contacts .contact-input {
  border-color: rgba(222, 255, 225, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: 34px 0 28px;
  background: #141512;
  color: rgba(255, 255, 255, 0.74);
}

.footer-minimal {
  display: grid;
  gap: 26px;
}

.footer-primary,
.footer-secondary {
  display: flex;
  align-items: center;
}

.footer-primary {
  justify-content: space-between;
  gap: 32px;
}

.footer-wordmark {
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
}

.footer-nav a,
.footer-contact-compact a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact-compact a:hover,
.footer-contact-compact a:focus-visible {
  color: var(--white);
}

.footer-contact-compact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  font-size: 0.92rem;
}

.footer-secondary {
  min-height: 46px;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
}

.footer-social-link img {
  display: block;
  width: 24px;
  height: 24px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.footer-social-link[aria-label="Viber"] img {
  filter: drop-shadow(0 0 1px rgba(237, 234, 255, 0.95));
}

.footer-social-link:hover img,
.footer-social-link:focus-visible img {
  transform: scale(1.1);
  filter: brightness(1.14);
}

.footer-social-link[aria-label="Viber"]:hover img,
.footer-social-link[aria-label="Viber"]:focus-visible img {
  filter: brightness(1.12) drop-shadow(0 0 1px rgba(237, 234, 255, 0.95));
}

.footer-wordmark:focus-visible,
.footer-nav a:focus-visible,
.footer-contact-compact a:focus-visible,
.footer-social-link:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 3px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.back-to-top span {
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

@media (max-width: 900px) {
  .footer-primary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 28px 0 24px;
  }

  .footer-minimal {
    position: relative;
    gap: 22px;
  }

  .footer-primary {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-contact-compact {
    justify-content: center;
  }

  .footer-nav {
    grid-row: auto;
    justify-content: center;
    gap: 10px 18px;
  }

  .footer-secondary {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer-socials {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0;
  }

  .back-to-top {
    position: absolute;
    top: 0;
    right: 0;
  }
}

.floating-viber {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url("viber2.png") center/contain no-repeat;
  filter: drop-shadow(0 18px 36px rgba(91, 63, 214, 0.34));
  -webkit-tap-highlight-color: transparent;
}

.floating-viber::before {
  content: none;
}

@media (max-width: 1100px) {
.hero-grid,
  .calculator-layout,
  .video-layout,
  .installation-layout,
  .final-cta-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .calculator-result {
    position: static;
  }

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

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

  .portfolio-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .section {
    padding: 60px 0;
  }

  .header-cta,
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav.is-open {
    display: grid;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 18px;
    border-radius: 24px;
    background: rgba(20, 22, 18, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
  }

  .site-nav.is-open a {
    padding: 10px 0;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .model-grid,
  .compare-grid,
  .window-grid,
  .timeline-grid,
  .portfolio-grid,
  .portfolio-page-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .portfolio-page-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 0 8px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-grid::-webkit-scrollbar,
  .portfolio-page-grid::-webkit-scrollbar {
    display: none;
  }

  .portfolio-card {
    flex: 0 0 100%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: center;
  }

  .portfolio-page-card {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: center;
  }

  .portfolio-page-card {
    aspect-ratio: 4 / 3;
  }

  #portfolio .section-heading {
    margin-inline: auto;
    text-align: center;
  }

  #portfolio .section-footnote {
    text-align: center;
  }

  .portfolio-lightbox-trigger {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }

  .portfolio-lightbox-trigger::before,
  .portfolio-lightbox-trigger::after {
    position: absolute;
    z-index: 2;
    content: "";
    pointer-events: none;
  }

  .portfolio-lightbox-trigger::before {
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    background: rgba(35, 118, 60, 0.94);
    box-shadow: 0 8px 22px rgba(8, 47, 20, 0.3);
  }

  .portfolio-lightbox-trigger::after {
    top: 29px;
    right: 29px;
    width: 22px;
    height: 22px;
  }

  .portfolio-lightbox-trigger img {
    border-radius: 8px;
  }

  .portfolio-lightbox-trigger::after {
    background:
      linear-gradient(var(--white), var(--white)) center / 22px 3px no-repeat,
      linear-gradient(var(--white), var(--white)) center / 3px 22px no-repeat;
  }

  .portfolio-carousel-nav {
    position: absolute;
    top: calc(50% - 23px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(16, 62, 30, 0.92);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(8, 47, 20, 0.32);
    touch-action: manipulation;
    transition: background 0.18s ease, transform 0.18s ease;
  }

  .portfolio-carousel-prev {
    left: 10px;
  }

  .portfolio-carousel-next {
    right: 10px;
  }

  .portfolio-carousel-nav span {
    width: 16px;
    height: 16px;
    border-top: 3px solid currentColor;
    border-left: 3px solid currentColor;
  }

  .portfolio-carousel-prev span {
    margin-left: 5px;
    transform: rotate(-45deg);
  }

  .portfolio-carousel-next span {
    margin-right: 5px;
    transform: rotate(135deg);
  }

  .portfolio-carousel-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    z-index: 3;
    display: block;
    min-width: 64px;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(10, 33, 17, 0.84);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .portfolio-carousel-nav:focus-visible {
    outline: 3px solid var(--accent-warm);
    outline-offset: 3px;
  }

  .portfolio-carousel-nav:active {
    background: #2f833f;
    transform: scale(0.95);
  }

  .choice-row-scroll {
    overflow-x: auto;
    padding-bottom: 6px;
    grid-template-columns: repeat(5, minmax(76px, 1fr));
  }

  .hero {
    min-height: 100svh;
  }

  .hero-grid {
    min-height: 100svh;
    padding: 92px 0 24px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-stat {
    padding: 0;
    border-left: 0;
  }

  .calculator-form,
  .calculator-result {
    padding: 18px;
  }

  .calculator-layout {
    gap: 12px;
  }

  .field-label {
    font-size: 0.94rem;
  }

  .result-summary,
  .result-bonus,
  .small-note {
    display: none;
  }
}

@media (max-width: 820px) and (orientation: landscape) {
  .portfolio-card {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .model-image-badge {
    top: 8px;
    right: 8px;
    padding: 7px 11px;
    font-size: 0.62rem;
  }

  .model-warranty-badge {
    top: 8px;
    left: 8px;
    min-height: 33px;
    gap: 3px;
    padding: 3px 6px;
  }

  .model-warranty-badge strong {
    font-size: 1.65rem;
  }

  .model-warranty-badge > span {
    font-size: 0.48rem;
  }

  .model-warranty-badge i {
    width: 16px;
    height: 18px;
    font-size: 0.58rem;
  }

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox-close {
    top: 8px;
    right: 8px;
    width: 48px;
    height: 48px;
  }

  .gallery-lightbox {
    padding: 64px 12px 60px;
  }

  .gallery-lightbox-close,
  .gallery-lightbox-nav {
    width: 52px;
    height: 52px;
  }

  .gallery-lightbox-close {
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }

  .gallery-lightbox-prev {
    left: max(8px, env(safe-area-inset-left));
  }

  .gallery-lightbox-next {
    right: max(8px, env(safe-area-inset-right));
  }

  .gallery-lightbox-counter {
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .calculator-layout,
  .final-cta-layout,
  .bonus-strip-section .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand-mark {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
  }

  .brand-copy strong {
    font-size: 0.84rem;
  }

  .brand-copy {
    display: none;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .calculator-layout {
    gap: 10px;
  }

  .calculator-form,
  .calculator-result {
    padding: 14px;
  }

  .hero h1 {
    max-width: 16ch;
    font-size: clamp(1.75rem, 6.8vw, 2.2rem);
    line-height: 1.14;
  }

  .hero-copy {
    gap: 8px;
  }

  .hero-copy,
  .final-cta-copy,
  .calculator-form,
  .calculator-result,
  .accordion-toggle,
  .accordion-content,
  .model-body,
  .compare-card,
  .window-card,
  .timeline-card,
  .instruction-card,
  .contact-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .delivery-badge {
    margin-bottom: 12px;
    padding: 8px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .hero-delivery-badge {
    margin: 0 0 6px;
  }

  .model-image-badge {
    top: 10px;
    right: 10px;
  }

  .model-warranty-badge {
    top: 10px;
    left: 10px;
  }

  .floating-viber {
    display: inline-flex;
    width: 68px;
    height: 68px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
  }

  .delivery-card h3 {
    font-size: 1.18rem;
  }

  .delivery-section .section-footnote {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .calculator-form,
  .calculator-result,
  .bonus-strip,
  .contact-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .hero-actions,
  .trust-inline,
  .messenger-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions-row {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .hero-warranty-seal {
    width: 82px;
  }

  .hero-badge {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .lang-switch {
    order: 0;
    padding: 2px;
  }

  .lang-btn {
    min-width: 38px;
    height: 32px;
    font-size: 0.84rem;
  }

  .header-actions {
    gap: 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .choice-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .choice-row-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-right: 0;
  }

  .choice-row-scroll .choice-chip {
    min-width: 74px;
    flex: 0 0 auto;
  }

  .choice-chip {
    min-height: 42px;
    font-size: 0.92rem;
    padding: 0 10px;
  }

  .option-card {
    padding: 10px 12px;
  }

  .option-card-content {
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 10px;
  }

  .option-card-content strong {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .option-card-content small {
    font-size: 0.8rem;
  }

  .quantity-stepper {
    grid-template-columns: 44px 36px 44px;
    min-height: 44px;
  }

  .result-price {
    font-size: 2.15rem;
  }

  .result-label,
  .result-note {
    font-size: 0.84rem;
  }

  .result-note {
    display: none;
  }

  .field-group + .field-group {
    margin-top: 12px;
  }

  .calculator-result .btn {
    min-height: 46px;
    padding: 0 14px;
  }

  .bonus-strip {
    grid-template-columns: 74px minmax(0, 1fr);
    align-items: start;
    gap: 10px 12px;
    padding: 12px 14px;
  }

  .included-proof-grid {
    grid-template-columns: 1fr;
  }

  .bonus-strip::before {
    width: 74px;
    height: 74px;
    border-radius: 16px;
  }

  .bonus-strip p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .bonus-strip::before {
    width: 100%;
    height: 146px;
  }

  .back-to-top {
    display: inline-flex;
    justify-self: start;
  }

  .video-frame-card,
  .video-placeholder-card,
  .video-frame-card iframe,
  .video-placeholder-inner {
    min-height: 280px;
  }
}
