:root {
  --white: #ffffff;
  --surface: #f4f0ee;
  --line: rgba(26, 26, 26, 0.08);
  --line-strong: rgba(26, 26, 26, 0.14);
  --text: #2f2f2f;
  --title: #1a1a1a;
  --muted: #706966;
  --muted-strong: #4d4745;
  --accent: #800020;
  --accent-strong: #620018;
  --accent-g: #f3e4e8;
  --accent-soft: #f5e6eb;

  --r-sm: 0.625rem;
  --r-md: 0.75rem;
  --r-pill: 62.4375rem;

  --shadow-sm: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1rem 2.5rem rgba(16, 16, 16, 0.08);
  --shadow-lg: 0 1.375rem 3.75rem rgba(16, 16, 16, 0.12);

  --header-height: 4.875rem;
  --container: 85rem;
  --container-padding: 1rem;
  --section-offset: calc(var(--header-height) + 1.75rem);

  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: clamp(1.75rem, 2vw, 2rem);
  --space-xl: clamp(2.25rem, 4vw, 3rem);

  --fs-body: clamp(1rem, 0.98rem + 0.2vw, 1.0625rem);
  --fs-copy: clamp(1rem, 0.96rem + 0.35vw, 1.125rem);
  --fs-card-title: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-eyebrow: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--section-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  font-family: "Manrope", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(128, 0, 32, 0.05), transparent 32%),
    linear-gradient(180deg, #fffefe 0%, #fff 28%, #fbf8f7 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

body.no-scroll,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

img,
picture,
video,
canvas,
svg,
iframe,
table {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.site-nav a,
.footer-nav a,
.header-phone,
.footer-phone,
.contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

input,
textarea,
select,
button {
  appearance: none;
  -webkit-appearance: none;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

section {
  scroll-margin-top: var(--section-offset);
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

:where(.container, .header-inner, .hero-grid, .hero-copy, .hero-visual, .section-intro, .product-card-body, .contact-list li, .footer-top, .footer-bottom, .modal-dialog) {
  min-width: 0;
}

:where(.button, .menu-toggle, .filter-pill, .price-link, .modal-close, .footer-policy, .mobile-nav-links a, .mobile-nav-phone) {
  min-width: 2.75rem;
  min-height: 2.75rem;
  touch-action: manipulation;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 200;
  padding: 0.875rem 1.125rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--accent);
  color: var(--white);
  transform: translate(-50%, -120%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translate(-50%, 0.5rem);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45);
}

.container {
  width: min(calc(100% - (var(--container-padding) * 2)), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 5.5rem) 0;
}

.section-white {
  background: transparent;
}

.section-light {
  background:
    linear-gradient(180deg, rgba(245, 240, 238, 0.74) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(128, 0, 32, 0.12), transparent 34%),
    linear-gradient(180deg, #1b1a1d 0%, #141315 100%);
  color: var(--white);
}

.section-label {
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-intro {
  display: grid;
  gap: 0.875rem;
  max-width: 47.5rem;
  margin-bottom: clamp(2rem, 4vw, 2.375rem);
}

.section-intro h2,
.modal-dialog h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--title);
}

.section-intro-dark h2 {
  color: var(--white);
}

.section-copy {
  max-width: 43.75rem;
  color: var(--muted);
  font-size: var(--fs-copy);
}

.section-dark .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.section-intro-center {
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9375rem 1.625rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: clamp(0.95rem, 0.92rem + 0.12vw, 1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

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

.button-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(128, 0, 32, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
  box-shadow: 0 16px 30px rgba(98, 0, 24, 0.24);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
  color: var(--title);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--white);
}

.button-wide,
.button-submit {
  width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(26, 26, 26, 0.04);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 100%;
}

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

.brand-mark {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
}

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

.brand-text {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--title);
}

.brand-note {
  font-size: clamp(0.625rem, 0.59rem + 0.15vw, 0.6875rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  justify-self: center;
}

.site-nav a,
.footer-nav a,
.mobile-nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted-strong);
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.625rem;
}

.header-phone {
  display: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--title);
  transition: color 0.3s ease;
}

.header-phone:hover,
.header-phone:focus-visible,
.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--accent);
}

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

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3125rem;
  width: 2.875rem;
  height: 2.875rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.menu-toggle span {
  width: 1.25rem;
  height: 0.125rem;
  border-radius: var(--r-pill);
  background: var(--title);
  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);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 19, 21, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: calc(var(--header-height) - 2px);
  left: var(--container-padding);
  right: var(--container-padding);
  z-index: 95;
  max-height: calc(100vh - var(--header-height) - 2rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.75rem);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s ease,
    box-shadow 0.28s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

.mobile-nav-inner {
  display: grid;
  gap: 1.375rem;
  padding: 1.375rem 1rem 1.5rem;
}

.mobile-nav-links {
  display: grid;
  gap: 0.75rem;
}

.mobile-nav-links a {
  display: inline-flex;
  align-items: center;
  color: var(--title);
}

.mobile-nav-phone {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  color: var(--title);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 2.75rem) 0 4.5rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero::before {
  top: -120px;
  right: -80px;
  width: clamp(14rem, 45vw, 21.25rem);
  height: clamp(14rem, 45vw, 21.25rem);
  background: rgba(128, 0, 32, 0.09);
}

.hero::after {
  left: -100px;
  bottom: 0;
  width: clamp(12rem, 38vw, 17.5rem);
  height: clamp(12rem, 38vw, 17.5rem);
  background: rgba(26, 26, 26, 0.04);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 6vw, 2.5rem);
  align-items: start;
}

.hero-copy {
  max-width: 45rem;
}

.hero-label {
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--title);
  opacity: 0;
  transform: translateX(-22px);
}

.hero-text,
.hero-summary,
.hero-actions {
  opacity: 0;
}

.hero-text {
  max-width: 38.75rem;
  margin-top: 1.375rem;
  font-size: clamp(1rem, 0.95rem + 0.6vw, 1.22rem);
  color: var(--muted);
  transform: translateY(12px);
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.875rem;
  transform: translateY(10px);
}

.hero-actions .button {
  width: 100%;
}

.hero-summary {
  max-width: 36.875rem;
  margin-top: 1.5rem;
  color: var(--muted-strong);
  font-size: clamp(0.96rem, 0.92rem + 0.2vw, 1rem);
  transform: translateY(10px);
}

.hero-badges {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.875rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-size: clamp(0.84rem, 0.82rem + 0.12vw, 0.9rem);
  font-weight: 700;
  color: var(--muted-strong);
  opacity: 0;
  transform: translateY(10px);
}

.hero-badge svg {
  flex: 0 0 0.9375rem;
  width: 0.9375rem;
  height: 0.9375rem;
  color: var(--accent);
}

.hero-visual {
  display: block;
  opacity: 0;
  transform: translateX(24px);
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(7rem, 28vw);
  gap: 0.875rem;
}

.hero-visual-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.hero-visual-card-wide {
  grid-column: span 2;
}

.hero-visual-card-tall {
  grid-row: span 2;
}

.hero-visual-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-visual-card picture {
  height: 100%;
}

.hero-visual-card figcaption {
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.875rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--r-sm);
  background: rgba(26, 26, 26, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: clamp(0.72rem, 0.7rem + 0.15vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual-card:hover img,
.hero-visual-card:focus-within img {
  transform: scale(1.03);
}

body.page-ready .hero-title {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

body.page-ready .hero-text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease 0.16s, transform 0.55s ease 0.16s;
}

body.page-ready .hero-actions {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease 0.28s, transform 0.55s ease 0.28s;
}

body.page-ready .hero-summary {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease 0.38s, transform 0.55s ease 0.38s;
}

body.page-ready .hero-badge {
  opacity: 1;
  transform: translateY(0);
}

body.page-ready .hero-badge:nth-child(1) {
  transition: opacity 0.45s ease 0.46s, transform 0.45s ease 0.46s;
}

body.page-ready .hero-badge:nth-child(2) {
  transition: opacity 0.45s ease 0.54s, transform 0.45s ease 0.54s;
}

body.page-ready .hero-badge:nth-child(3) {
  transition: opacity 0.45s ease 0.62s, transform 0.45s ease 0.62s;
}

body.page-ready .hero-visual {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.65s ease 0.3s, transform 0.65s ease 0.3s;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--reveal-delay, 0s);
}

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

.about-grid,
.category-grid,
.catalog-grid,
.steps-grid,
.why-grid,
.contacts-grid {
  display: grid;
  align-items: stretch;
  gap: var(--space-lg);
}

.about-card,
.category-card,
.product-card,
.step-card,
.why-card,
.contacts-card,
.map-card,
.form-shell {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.about-card:hover,
.about-card:focus-within,
.category-card:hover,
.category-card:focus-within,
.product-card:hover,
.product-card:focus-within,
.step-card:hover,
.step-card:focus-within,
.contacts-card:hover,
.contacts-card:focus-within,
.map-card:hover,
.map-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(128, 0, 32, 0.14);
  box-shadow: var(--shadow-md);
}

.about-grid,
.category-grid,
.steps-grid,
.contacts-grid,
.why-grid,
.catalog-grid {
  grid-template-columns: 1fr;
}

.about-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
}

.about-card::before,
.step-card::before,
.contacts-card::before,
.form-shell::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--accent), rgba(128, 0, 32, 0));
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon svg {
  width: 3.125rem;
  height: 3.125rem;
}

.about-card h3,
.category-card h3,
.product-card h3,
.step-card h3,
.why-card h3,
.contacts-card h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-card h3 {
  margin-top: 1.375rem;
  font-size: var(--fs-card-title);
  color: var(--title);
}

.about-card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.category-card {
  position: relative;
  overflow: hidden;
  padding: 1.625rem 1.5rem 1.5rem;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.25rem;
  background: linear-gradient(180deg, var(--accent), rgba(128, 0, 32, 0.16));
}

.category-card h3 {
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.12rem);
  color: var(--title);
}

.category-card ul {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.125rem;
}

.category-card li {
  display: flex;
  gap: 0.625rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.category-card li::before {
  content: "";
  flex: 0 0 0.4375rem;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--accent);
}

.filter-bar {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 1.625rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted-strong);
  font-size: clamp(0.82rem, 0.8rem + 0.12vw, 0.88rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  scroll-snap-align: start;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.filter-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 24px rgba(128, 0, 32, 0.15);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f8f4f3 0%, #f1ebe8 100%);
}

.product-card-image img {
  height: 100%;
  object-fit: cover;
}

.product-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card-body {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.625rem;
  padding: 1.375rem 1.375rem 1.25rem;
}

.product-sku {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card h3 {
  font-size: var(--fs-card-title);
  line-height: 1.15;
  color: var(--title);
}

.product-category {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(26, 26, 26, 0.05);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4375rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.price-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.price-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.price-link:hover,
.price-link:focus-visible {
  background: var(--accent-soft);
}

.price-link:hover::after,
.price-link:focus-visible::after {
  transform: translateX(3px);
}

.product-card.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.product-card.is-hidden {
  display: none;
}

.product-card.is-showing {
  animation: card-fade-in 0.25s ease both;
}

@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card {
  position: relative;
  padding: 1.75rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(128, 0, 32, 0.2);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
}

.step-card h3 {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.125rem);
  color: var(--title);
}

.step-card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.why-card {
  padding: 1.75rem 1.5rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.why-card:hover,
.why-card:focus-within {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(128, 0, 32, 0.18);
  color: #f3d6df;
}

.why-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.why-card h3 {
  margin-top: 1.125rem;
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.12rem);
  color: var(--white);
}

.why-card p {
  margin-top: 0.625rem;
  color: rgba(255, 255, 255, 0.68);
}

.form-shell {
  position: relative;
  max-width: 57.5rem;
  margin: 0 auto;
  overflow: hidden;
}

.form-shell-inner {
  padding: 1.875rem 1.5rem 1.75rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lead-form {
  display: grid;
  gap: 1.125rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--title);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9375rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.96);
  color: var(--title);
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(77, 71, 69, 0.52);
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: var(--white);
}

.field-error {
  min-height: 1.125rem;
  font-size: 0.78rem;
  color: var(--accent);
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: var(--accent);
}

.form-success {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-success h3 {
  margin-top: 18px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--title);
}

.success-check {
  color: var(--accent);
}

.success-check circle,
.success-check path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}

.form-shell.is-success .form-shell-inner {
  opacity: 0;
  transform: translateY(-0.75rem);
  pointer-events: none;
}

.form-shell.is-success .form-success {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.form-shell.is-success .success-check circle {
  animation: stroke-reveal 0.7s ease forwards;
}

.form-shell.is-success .success-check path {
  animation: stroke-reveal 0.5s ease 0.4s forwards;
}

@keyframes stroke-reveal {
  to {
    stroke-dashoffset: 0;
  }
}

.contacts-card,
.map-card {
  position: relative;
  overflow: hidden;
}

.contacts-card {
  padding: 1.875rem 1.5rem;
}

.contacts-card h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.45rem);
  color: var(--title);
}

.contact-address {
  font-style: normal;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text);
}

.contact-list svg {
  flex: 0 0 1.125rem;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.25rem;
  color: var(--accent);
}

.map-card {
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(128, 0, 32, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(252, 250, 248, 0.94) 0%, rgba(244, 240, 238, 0.94) 100%);
}

.map-placeholder {
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: clamp(18rem, 45vw, 20rem);
  padding: 1.875rem;
  text-align: center;
  color: var(--muted);
}

.map-placeholder svg {
  width: 3.25rem;
  height: 3.25rem;
  color: var(--accent);
}

.map-placeholder strong {
  color: var(--title);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(128, 0, 32, 0.12), transparent 30%),
    linear-gradient(180deg, #161518 0%, #101012 100%);
  color: var(--white);
}

.footer-top,
.footer-bottom {
  display: grid;
  gap: 1.125rem;
}

.footer-top {
  padding: 1.75rem 0 1.5rem;
}

.brand-footer .brand-text {
  color: var(--white);
}

.brand-footer .brand-note,
.footer-nav a,
.footer-phone,
.footer-bottom p,
.footer-policy {
  color: rgba(255, 255, 255, 0.68);
}

.footer-nav {
  display: grid;
  gap: 0.75rem;
}

.footer-nav a,
.footer-phone,
.footer-policy {
  transition: color 0.3s ease;
}

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

.footer-bottom {
  padding: 1.125rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.footer-bottom p {
  font-size: 0.92rem;
}

.footer-policy {
  justify-self: start;
  font-size: 0.92rem;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  padding: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 21, 0.54);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.is-open .modal-overlay {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: min(100%, 38.75rem);
  margin: max(7vh, 1rem) auto 1rem;
  padding: 2.125rem 1.5rem;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  transform: translateY(1rem);
  transition: transform 0.25s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-dialog p + p {
  margin-top: 12px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.modal-close span {
  position: absolute;
  width: 1.125rem;
  height: 0.125rem;
  border-radius: var(--r-pill);
  background: var(--title);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

@media (min-width: 481px) {
  :root {
    --container-padding: 1.25rem;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, max-content));
    align-items: center;
  }

  .hero-actions .button,
  .price-link {
    width: auto;
  }

  .hero-badges {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-visual-grid {
    grid-auto-rows: minmax(8rem, 24vw);
  }

  .footer-top {
    align-items: center;
  }
}

@media (min-width: 769px) {
  :root {
    --container-padding: 1.75rem;
    --header-height: 5.25rem;
  }

  .section {
    padding: 6.5rem 0;
  }

  .hero {
    padding-bottom: 5.5rem;
  }

  .hero-grid {
    gap: 2.875rem;
  }

  .hero-visual-grid {
    grid-auto-rows: minmax(8.75rem, 19vw);
  }

  .about-grid,
  .category-grid,
  .steps-grid,
  .why-grid,
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .lead-form .field:nth-child(4),
  .lead-form .form-status,
  .lead-form .button-submit {
    grid-column: 1 / -1;
  }

  .footer-top {
    grid-template-columns: auto 1fr;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-policy {
    justify-self: end;
  }
}

@media (min-width: 1025px) {
  :root {
    --container-padding: 2.25rem;
  }

  .site-nav {
    display: flex;
  }

  .header-inner {
    grid-template-columns: minmax(250px, 1fr) auto minmax(250px, 1fr);
  }

  .header-phone,
  .header-actions .button-primary {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav,
  .mobile-nav-overlay {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(30rem, 0.98fr);
    gap: 3.375rem;
    align-items: center;
  }

  .hero-visual-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(6.75rem, 8vw);
  }

  .hero-visual-card-offset {
    transform: translateY(18px);
  }

  .hero-visual-card-offset:hover,
  .hero-visual-card-offset:focus-within {
    transform: translateY(13px);
  }

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

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

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

  .steps-grid .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 54px;
    left: calc(50% + 42px);
    width: calc(100% - 66px);
    border-top: 1px dashed rgba(26, 26, 26, 0.14);
  }

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

  .contacts-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  }

  .footer-top {
    grid-template-columns: auto 1fr auto;
  }
}

@media (min-width: 1440px) {
  :root {
    --container-padding: 2.75rem;
  }

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

@supports not (gap: 1rem) {
  .header-actions > * + *,
  .filter-bar > * + *,
  .product-card-footer > * + * {
    margin-inline-start: 0.75rem;
  }

  @media (min-width: 481px) {
    .hero-badges > * + * {
      margin-inline-start: 0.75rem;
    }
  }

  @media (min-width: 769px) {
    .footer-nav > * + * {
      margin-inline-start: 1.25rem;
    }
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero-title,
  .hero-text,
  .hero-actions,
  .hero-summary,
  .hero-badge,
  .hero-visual {
    opacity: 1 !important;
    transform: none !important;
  }

  .mobile-nav,
  .modal,
  .modal-overlay,
  .modal-dialog,
  .form-shell-inner,
  .form-success {
    transition: none !important;
  }
}
