:root {
  --font-heading: "Golos UI", sans-serif;
  --font-body: "Golos Text", sans-serif;
  --color-ink: #1b2326;
  --color-ink-2: #2f3c42;
  --color-ink-3: #4b5960;
  --color-sand: #f5efe7;
  --color-cream: #fbf7f0;
  --color-stone: #e3d9cd;
  --color-clay: #d67424;
  --color-clay-2: #b35b1a;
  --color-olive: #7c8666;
  --color-moss: #4f6455;
  --color-steel: #c7d2da;
  --color-white: #ffffff;
  --shadow-sm: 0 12px 30px rgba(27, 35, 38, 0.08);
  --shadow-md: 0 24px 60px rgba(27, 35, 38, 0.12);
  --shadow-lg: 0 40px 90px rgba(27, 35, 38, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1240px;
  --section-pad: clamp(2.5rem, 4.5vw, 5.5rem);
  --fs-hero: clamp(1.9rem, 3vw, 3rem);
  --fs-h2: clamp(1.45rem, 2.2vw, 2.1rem);
  --fs-h3: clamp(1.1rem, 1.7vw, 1.5rem);
  --fs-body: clamp(1rem, 1.2vw, 1.12rem);
  --fs-small: clamp(0.85rem, 1vw, 0.98rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(214, 116, 36, 0.2), transparent 48%),
    radial-gradient(circle at 88% 5%, rgba(79, 100, 85, 0.18), transparent 46%),
    linear-gradient(160deg, #f9f4ec 0%, #f1e7db 45%, #eef2f4 100%);
  min-height: 100vh;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin: 0 0 0.75rem;
  line-height: 1.1;
  letter-spacing: 0.1px;
  font-weight: 600;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width, 1240px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--accent {
  background: rgba(251, 248, 243, 0.75);
}

.section--muted {
  background: rgba(231, 236, 239, 0.6);
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section__eyebrow {
  text-transform: uppercase;
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--color-clay-2);
}

.section__lead {
  max-width: 62ch;
  color: var(--color-ink-3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 248, 242, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(47, 60, 66, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo span {
  color: var(--color-clay);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: var(--color-ink-2);
  flex-wrap: wrap;
}

.nav__links a {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__toggle {
  display: none;
  position: relative;
  color: transparent;
  font-size: 0;
}

.nav__toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--color-ink);
  box-shadow: 0 6px 0 var(--color-ink), 0 -6px 0 var(--color-ink);
}

.nav__links a:hover,
.nav__links a:focus {
  background: rgba(214, 121, 43, 0.15);
  color: var(--color-ink);
}

.mobile-nav {
  display: none;
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--fs-small);
  color: var(--color-ink-3);
}

.header__contact a {
  font-weight: 600;
  color: var(--color-ink);
}

.header__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-header .btn {
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, #d97628, #bf5d1b);
  color: var(--color-white);
  box-shadow: 0 16px 32px rgba(217, 118, 40, 0.28);
}

.btn--primary:hover,
.btn--primary:focus {
  background: linear-gradient(135deg, #c7641f, #a84f18);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid rgba(47, 60, 66, 0.22);
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.65);
}

.btn--ghost:hover,
.btn--ghost:focus {
  border-color: rgba(214, 116, 36, 0.7);
  color: var(--color-clay-2);
  box-shadow: 0 10px 24px rgba(27, 35, 38, 0.12);
}

.hero {
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--color-ink-3);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: var(--fs-small);
  background: rgba(217, 118, 40, 0.16);
  color: var(--color-ink);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, rgba(27, 35, 38, 0.12), rgba(124, 134, 102, 0.22));
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__note {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(47, 60, 66, 0.08);
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  font-size: var(--fs-small);
  box-shadow: var(--shadow-sm);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  border: 1px solid rgba(47, 60, 66, 0.08);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--color-clay);
}

.surface {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(47, 60, 66, 0.08);
  box-shadow: var(--shadow-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.feature-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(47, 60, 66, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: var(--fs-h3);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(47, 60, 66, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card__media {
  position: relative;
  background: linear-gradient(135deg, rgba(49, 64, 72, 0.15), rgba(214, 121, 43, 0.08));
  padding: 1rem;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(27, 35, 38, 0.18);
}

.product-card__media img {
  border-radius: var(--radius-sm);
}

.product-card__body {
  padding: 1.2rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-card__price,
.price-stack,
.summary-price-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.price-old,
.summary-card__old-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.price-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-clay);
}

.product-card__meta {
  color: var(--color-ink-3);
  font-size: var(--fs-small);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  background: rgba(124, 134, 102, 0.2);
  color: #425246;
}

.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.catalog-filter select,
.catalog-filter input {
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(47, 60, 66, 0.2);
  font-family: var(--font-body);
}

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.quiz {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.quiz__steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quiz__step {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: var(--fs-small);
  background: rgba(49, 64, 72, 0.08);
  color: var(--color-ink-3);
}

.quiz__step.is-active {
  background: rgba(214, 121, 43, 0.18);
  color: var(--color-ink);
  font-weight: 600;
}

.fieldset {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.fieldset.is-active {
  display: block;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(47, 60, 66, 0.2);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(214, 116, 36, 0.25);
  border-color: var(--color-clay);
  box-shadow: 0 0 0 4px rgba(214, 116, 36, 0.12);
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid rgba(47, 60, 66, 0.35);
  background: var(--color-white);
  box-shadow: none;
  flex: 0 0 18px;
  cursor: pointer;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 116, 36, 0.25);
}

.checkbox-list {
  display: grid;
  gap: 0.7rem;
}

.gift-list {
  display: grid;
  gap: 0.6rem;
}

.gift-list li {
  background: rgba(214, 116, 36, 0.08);
  border: 1px dashed rgba(214, 116, 36, 0.35);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-weight: 500;
}

.option-grid {
  display: grid;
  gap: 0.8rem;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(47, 60, 66, 0.18);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.option-card input {
  accent-color: var(--color-clay);
}

.option-card input:checked ~ div {
  color: var(--color-ink);
}

.option-card:focus-within {
  border-color: rgba(214, 116, 36, 0.5);
  box-shadow: 0 0 0 3px rgba(214, 116, 36, 0.14);
}

.option-card:has(input:checked) {
  border-color: rgba(214, 116, 36, 0.6);
  background: rgba(214, 116, 36, 0.08);
}

.option-card strong {
  display: block;
  font-size: 1.02rem;
}

.option-card small {
  color: var(--color-ink-3);
  font-size: var(--fs-small);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.quiz__actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.summary-card {
  background: rgba(214, 116, 36, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  border: 1px solid rgba(214, 116, 36, 0.16);
}

.summary-card strong {
  font-size: 1.6rem;
  color: var(--color-clay-2);
}

.summary-card__old-price {
  font-size: 1rem;
}

.summary-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: var(--fs-small);
  color: var(--color-ink-3);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.summary-discount strong {
  font-size: 1rem;
  color: var(--color-clay);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.timeline__number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(214, 121, 43, 0.18);
  color: var(--color-clay-2);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.compare-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  background: var(--color-white);
  border-bottom: 1px solid rgba(49, 64, 72, 0.08);
  overflow-wrap: anywhere;
}

.compare-table th {
  background: rgba(214, 121, 43, 0.12);
  font-weight: 700;
}

.compare-table tbody th {
  background: var(--color-white);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.review-card__meta {
  font-size: var(--fs-small);
  color: var(--color-ink-3);
}

.list-check {
  display: grid;
  gap: 0.6rem;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--color-clay);
  font-weight: 700;
}

.spec-list {
  display: grid;
  gap: 0.4rem;
  color: var(--color-ink-3);
  font-size: var(--fs-small);
}

.model-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.model-detail + .model-detail {
  margin-top: 1.5rem;
}

.model-detail__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(47, 60, 66, 0.08), rgba(214, 116, 36, 0.08));
  padding: 1rem;
}

.model-detail__media img {
  border-radius: var(--radius-sm);
}

.model-detail__content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

@media (min-width: 900px) {
  .model-detail {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq details {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(49, 64, 72, 0.08), rgba(214, 121, 43, 0.16));
}

.blog-card__body {
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-card__date {
  font-size: var(--fs-small);
  color: var(--color-ink-3);
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  background: linear-gradient(135deg, rgba(49, 64, 72, 0.08), rgba(214, 121, 43, 0.12));
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--color-ink-3);
  font-weight: 600;
}

.breadcrumbs {
  font-size: var(--fs-small);
  color: var(--color-ink-3);
  margin: 1.2rem 0 0;
}

.breadcrumbs a {
  color: var(--color-ink-2);
}

.site-footer {
  background: #1b252b;
  color: #e7ecef;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-grid a {
  color: #e7ecef;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(231, 236, 239, 0.2);
  padding-top: 1.4rem;
  font-size: var(--fs-small);
}

.notice {
  font-size: var(--fs-small);
  color: var(--color-ink-3);
  background: rgba(214, 121, 43, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(214, 116, 36, 0.18), rgba(124, 134, 102, 0.2));
  border: 1px solid rgba(47, 60, 66, 0.08);
  box-shadow: var(--shadow-sm);
}

.cta__content {
  flex: 1 1 260px;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.promo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #141c25, #1f2a34);
  color: #f6f1ea;
  border: 1px solid rgba(255, 140, 60, 0.25);
  box-shadow: 0 30px 70px rgba(20, 28, 37, 0.4);
  position: relative;
  overflow: hidden;
}

.promo-card::before,
.promo-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 120, 40, 0.5), transparent 70%);
  opacity: 0.6;
  z-index: 0;
}

.promo-card::before {
  top: -60px;
  left: -40px;
}

.promo-card::after {
  bottom: -80px;
  right: -40px;
}

.promo-content,
.promo-meta {
  position: relative;
  z-index: 1;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.promo-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a2f, #e4551f);
  color: #fff;
  font-weight: 600;
  margin: 1rem 0;
}

.promo-list {
  display: grid;
  gap: 0.8rem;
}

.promo-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.promo-item p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content > * {
  animation: floatIn 0.7s ease forwards;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.05s;
}

.hero__content > *:nth-child(3) {
  animation-delay: 0.1s;
}

.hero__content > *:nth-child(4) {
  animation-delay: 0.15s;
}

@media (max-width: 980px) {
  .header__contact {
    display: none;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(49, 64, 72, 0.2);
    background: var(--color-white);
  }

  .mobile-nav {
    display: none;
    position: absolute;
    right: 1.5rem;
    top: 100%;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 1rem;
    min-width: 220px;
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 0.6rem;
  }

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

@media (max-width: 820px) {
  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .compare-table:not(.compare-table--stacked) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .promo-card {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quiz__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero__note {
    position: static;
    margin: 1rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .summary-card {
    margin-top: 1rem;
  }

  .promo-card {
    padding: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__content > * {
    animation: none;
    transition: none;
  }
}

/* Gallery */
.gallery-masonry {
  --gallery-gap: 1rem;
  column-count: 3;
  column-gap: var(--gallery-gap);
}

@media (max-width: 980px) {
  .gallery-masonry {
    column-count: 2;
  }
}

.gallery-item {
  appearance: none;
  border: 1px solid rgba(47, 60, 66, 0.08);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 0;
  width: 100%;
  cursor: pointer;
  display: inline-block;
  margin: 0 0 var(--gallery-gap);
  break-inside: avoid;
  position: relative;
}

.gallery-item__img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateZ(0);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(214, 116, 36, 0.28);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(214, 116, 36, 0.5);
  outline-offset: 3px;
}

.gallery-item__fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(27, 35, 38, 0.75), rgba(47, 60, 66, 0.65));
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  letter-spacing: 0.2px;
}

.gallery-item__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(15, 18, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
}

.gallery-item__play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 14px solid rgba(255, 255, 255, 0.92);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px;
}

.gallery-item--video .gallery-item__img {
  filter: saturate(1.05) contrast(1.02);
}

.gallery-embed {
  margin: 1.2rem 0;
}

@media (max-width: 700px) {
  .compare-table--stacked {
    border-collapse: separate;
    box-shadow: none;
    background: transparent;
  }

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

  .compare-table--stacked,
  .compare-table--stacked tbody {
    display: grid;
    gap: 0.9rem;
  }

  .compare-table--stacked tr {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .compare-table--stacked tbody th,
  .compare-table--stacked tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .compare-table--stacked tbody th {
    color: var(--color-ink);
    font-size: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(49, 64, 72, 0.08);
  }

  .compare-table--stacked tbody td::before {
    content: attr(data-label);
    flex: 0 0 7rem;
    color: var(--color-ink-3);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .gallery-masonry {
    column-count: initial;
    column-gap: 0;
    display: flex;
    gap: var(--gallery-gap);
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-item {
    margin: 0;
    flex: 0 0 calc((100% - (var(--gallery-gap) * 2)) / 3);
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
  }

  .gallery-item__img {
    height: 100%;
    object-fit: cover;
  }

  .gallery-item__fallback {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Lightbox */
body.is-modal-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.gallery-lightbox.is-open {
  display: grid;
  place-items: center;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 13, 0.72);
  backdrop-filter: blur(6px);
}

.gallery-lightbox__dialog {
  position: relative;
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-lightbox__content {
  background: #0f1213;
  display: grid;
  place-items: center;
  max-height: calc(100vh - 2rem);
}

.gallery-lightbox__content img,
.gallery-lightbox__content video {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 2rem);
  object-fit: contain;
  display: block;
}

.gallery-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 12, 13, 0.6);
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1;
}

.gallery-lightbox__close:hover {
  background: rgba(10, 12, 13, 0.75);
}
