@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@400;600;700;800&display=swap");


:root {
  --color-dark: #24362D;
  --color-accent: #6E8F63;
  --color-section: #F6F1E8;
  --color-beige: #E7DDCA;
  --color-white: #FFFCF8;
  --color-text: #25332B;
  --color-muted: #6C766F;
  --color-border: #E3DDD2;
  --shadow: 0 20px 50px rgba(36, 54, 45, 0.10);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --space-section: clamp(68px, 8vw, 118px);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 3px solid #C9912D;
  outline-offset: 3px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-dark);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  font-size: clamp(18px, 2vw, 23px);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
}

.logo-mark img {
  display: block;
  width: auto;
  height: 44px;
  max-width: 190px;
}

.header-phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.8);
}

.header-phone:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.95);
}

.header-tagline {
  display: none;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav {
  position: fixed;
  inset: 72px 16px auto 16px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

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

.main-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--color-dark);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--color-beige);
}

.burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 10px;
  background: var(--color-section);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 10px;
}

.home-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(46px, 6vw, 78px);
  background: url("../img/hero_final_rsz.jpg") right no-repeat, #000;
  background-size: auto;
  background-position: top right;
  color: var(--color-white);
}
@media (max-width: 1600px) {
    .home-hero {
        background-position: top right -500px;
    }
}

@media (max-width: 1050px) {
    .home-hero {
        background-position: top right -600px;
    }
}
@media (max-width: 900px) {
    .home-hero-copy {
        max-width: 460px;
    }
}
@media (max-width: 700px) {
    .home-hero {
        background: #000;
        position: relative;
        display: flex;
        align-items: center;
    }
    .home-hero::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        background: url("../img/hero_final_rsz.jpg") right no-repeat, #000;
        background-size: auto;
        background-position: top right -500px;
        opacity: 0.4;
    }
}
.home-hero-grid {
  position: relative;
  z-index: 2;
}

.home-hero-copy h1,
.page-hero h1,
.section h2,
.discount h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.home-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 84px);
}

.home-hero .hero-text {
  max-width: 690px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2.2vw, 23px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.discount .eyebrow {
  color: #DCEBD8;
}

.section {
  padding-block: var(--space-section);
}

.section-muted,
.page-hero {
  background: var(--color-section);
}

.page-hero {
  padding-block: clamp(56px, 7vw, 92px);
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(40px, 5vw, 68px);
}

.page-hero p:last-child {
  max-width: 720px;
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section h2,
.discount h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.cards,
.catalog-grid,
.mini-catalog,
.gallery-grid {
  display: grid;
  gap: 20px;
}

.card,
.product-card,
.mini-catalog article,
.contacts-card,
.lead-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(36, 54, 45, 0.06);
}
.contacts-card.rekvizity {
    width: 100%;

}

.card,
.mini-catalog article,
.contacts-card,
.lead-form {
  padding: 26px;
}

.card,
.product-card,
.mini-catalog article,
.gallery-item,
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.product-card:hover,
.mini-catalog article:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3,
.product-card h3,
.mini-catalog h3,
.contacts-card h2 {
  margin: 0 0 12px;
  line-height: 1.2;
  color: var(--color-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p,
.product-card p,
.mini-catalog p,
.contacts-card p {
  margin: 0;
  color: var(--color-muted);
}

.product-card {
  overflow: hidden;
}

.image-placeholder,
.gallery-item,
.map-placeholder,
.lightbox-image {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 24px;
  text-align: center;
  color: #6E7771;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.30), rgba(255,255,255,0)),
    #D9D3C7;
  border-radius: var(--radius-md);
}

.product-card .image-placeholder {
  border-radius: 0;
}

.product-content {
  padding: 22px;
}

.tags {
  color: var(--color-accent) !important;
  font-weight: 800;
}

.price {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-dark);
  font-size: 22px;
}

.catalog-note {
  margin: 26px 0 0;
  color: var(--color-muted);
  font-weight: 700;
}

.two-column,
.contact-grid,
.map-section {
  display: grid;
  gap: 32px;
}

.benefits-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits-list li {
  padding: 18px 20px;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: rgba(246, 241, 232, 0.82);
  font-weight: 700;
}

blockquote {
  margin: 26px 0 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(231, 221, 202, 0.92), rgba(246, 241, 232, 0.96));
  color: var(--color-dark);
  font-size: 19px;
  font-weight: 700;
}

cite {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.discount {
  padding-block: clamp(58px, 8vw, 92px);
  background:
    radial-gradient(circle at top left, rgba(255, 248, 235, 0.10), transparent 28%),
    linear-gradient(135deg, #23362D, #3D5A47);
  color: var(--color-white);
}

.discount-inner {
  max-width: 850px;
  text-align: center;
}

.discount p {
  margin: 18px auto 26px;
  max-width: 620px;
  color: rgba(255,255,255,0.80);
  font-size: 18px;
}

.discount small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,0.7);
}

.mini-catalog article {
  display: grid;
  gap: 8px;
}

.mini-catalog strong {
  color: var(--color-dark);
  font-size: 20px;
}

.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary,
.btn-small {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-small:hover {
  background: var(--color-accent);
}

.btn-secondary {
  background: rgba(255,255,255,0.10);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
}
.download-actions .btn-secondary {
    background: var(--color-beige);
    color: var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-small {
  min-height: 42px;
  padding: 10px 16px;
  margin-top: 18px;
  font-size: 14px;
}

.big-contact {
  margin: 10px 0;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-dark);
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--color-dark);
}

.lead-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
}

.lead-form input:focus {
  outline: 3px solid rgba(74, 124, 89, 0.2);
  border-color: var(--color-accent);
}

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

.map-placeholder {
  min-height: 320px;
  border: 1px dashed #AAB4AD;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-dark);
  cursor: pointer;
  font-weight: 800;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-dark);
  color: var(--color-white);
}

.catalog-item.is-hidden {
  display: none;
}

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

.gallery-item {
  min-height: 170px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(12, 23, 18, 0.72);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-content {
  width: min(780px, 100%);
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.lightbox-image {
  min-height: 420px;
  border-radius: var(--radius-md);
  font-size: 22px;
  font-weight: 800;
}

.lightbox-title {
  margin: 14px 4px 0;
  color: var(--color-dark);
  font-weight: 800;
}

.site-footer {
  padding-block: 36px;
  background: #1F2E27;
  color: rgba(255,255,255,0.78);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

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

.footer-logo .logo-mark img {
  height: 42px;
  max-width: 180px;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
}

.footer-links a {
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 12px;
  font-weight: 800;
}

/* Компактная главная страница */
.main-nav .header-cta,
.main-nav .header-cta:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.hero-benefits span {
  color: #B9D2AF;
}

.home-hero .eyebrow {
  color: #D7E5D1;
}

.home-hero .btn-primary {
  background: var(--color-white);
  color: var(--color-dark);
}

.home-hero .btn-primary:hover {
  background: var(--color-beige);
}

.home-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--color-white);
}

.home-hero .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-outline {
  border-color: var(--color-dark);
  background: transparent;
  color: var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.heading-row {
  display: grid;
  gap: 16px;
  max-width: none;
}

.heading-row > p {
  max-width: 480px;
  margin: 0;
  color: var(--color-muted);
}

.section-note {
  max-width: 860px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 17px;
}

.home-products {
  display: grid;
  gap: 18px;
}

.assortment-card {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-md);
  background-color: #000;
  background-position: center 18%;
  background-size: cover;
  box-shadow: 0 14px 36px rgba(36, 54, 45, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.assortment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.95) 100%);
}

.assortment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.assortment-cotoneaster {
  background-image: url("../img/prep/plants/kizilnik.jpg");
}

.assortment-spirea {
  background-image: url("../img/prep/plants/tor.jpg");
}

.assortment-hydrangea {
  background-image: url("../img/prep/plants/vanille.jpg");
}

.assortment-little-princess {
  background-image: url("../img/prep/plants/little_princess.jpg");
}

.assortment-card-content {
  position: relative;
  z-index: 1;
}

.assortment-card h3 {
  max-width: 290px;
  margin: 0 0 8px;
  color: var(--color-white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.05;
}

.assortment-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.assortment-actions {
  margin-top: 30px;
}

.assortment-more {
  margin: 30px 0 0;
  color: var(--color-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--color-dark);
  font-weight: 800;
  border-bottom: 1px solid rgba(36, 54, 45, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 14px 36px rgba(36, 54, 45, 0.06);
}

.feature-card-accent {
  background: linear-gradient(180deg, #F7F2E9, #FFFDFC);
  border-color: rgba(110, 143, 99, 0.22);
}

.feature-photo-card {
  display: grid;
}

.feature-photo {
  min-height: 180px;
  background-position: center;
  background-size: cover;
}

.feature-photo-why1 {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(36,54,45,0.26)),
    url("../img/prep/why1.jpg");
}

.feature-photo-why2 {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(36,54,45,0.26)),
    url("../img/prep/why2.jpg");
}

.feature-photo-why3 {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(36,54,45,0.26)),
    url("../img/prep/why3.jpg");
}

.feature-card-body {
  padding: 24px;
}

.feature-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feature-card h3,
.audience-grid h3 {
  margin: 0 0 8px;
  color: var(--color-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
}

.feature-card p,
.audience-grid p {
  margin: 0;
  color: var(--color-muted);
}

.feature-card-accent h3 {
  color: var(--color-dark);
}

.feature-card-accent p {
  color: var(--color-text);
}

.feature-card-accent .feature-photo {
  min-height: 210px;
}

.feature-card:hover .feature-photo {
  transform: scale(1.02);
}

.feature-photo {
  transition: transform 0.35s ease;
}

.compact-section {
  padding-block: clamp(52px, 6vw, 78px);
}

.mid-cta {
  padding-block: clamp(34px, 5vw, 58px);
  /*background:
    radial-gradient(circle at top right, rgba(255, 252, 248, 0.10), transparent 32%),
    #24362D;*/
    background: radial-gradient(circle at top right, rgb(70 123 16), #15c12200 100%), #146f42;
  color: var(--color-white);
}

.mid-cta-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.mid-cta-copy {
  max-width: 100% !important;
  text-align: center;
  display: grid;
  gap: 16px;
  color: var(--color-white);
}

.mid-cta-copy > h2 {
  color: var(--color-white);
}

.mid-cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mid-cta-copy > p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.mid-form {
    display: flex;
    flex-direction: column;
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.mid-form-fields {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.mid-form label {
  color: var(--color-white);
  width: 25%;
  padding: 0 20px;
}
.mid-form button.btn {
    width: 25%;
    padding: 0 20px;
    height: 54px;
    background-color: var(--color-beige);
}
.mid-form-accept {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 0px;
    margin-top: 10px;
}
.mid-form .consent-field {
    width: auto;
}

.mid-form input {
  background: rgba(255,255,255,0.95);
}

.mid-form .btn-light {
  width: 100%;
}

.mid-cta .btn-light {
  background: var(--color-white);
  color: var(--color-dark);
}

.mid-cta .btn-light:hover {
  background: var(--color-beige);
}

.audience-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-border);
}

.audience-grid article {
  padding: 26px;
  background: var(--color-white);
}

.production-tech {
  display: grid;
  gap: 24px;
}

.production-tech-copy {
  display: grid;
  gap: 16px;
}

.production-intro {
  max-width: 820px;
  margin: 0;
  color: var(--color-muted);
  font-size: 18px;
}

.production-summary {
  display: grid;
  gap: 12px;
}

.production-summary p {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  font-weight: 700;
}

.production-tech-panel {
  display: grid;
  gap: 14px;
}

.tech-card {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 14px 36px rgba(36, 54, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tech-card h3 {
  margin: 0 0 10px;
  color: var(--color-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}

.tech-card p {
  margin: 0;
  color: var(--color-muted);
}

.tech-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tech-card.feature-card-accent {
  background: linear-gradient(180deg, #F7F2E9, #FFFDFC);
  border-color: rgba(110, 143, 99, 0.22);
}

.final-cta {
  padding-block: clamp(64px, 8vw, 100px);
  background:
    radial-gradient(circle at top right, rgba(255, 252, 248, 0.10), transparent 32%),
    #24362D;
  color: var(--color-white);
}

.final-cta-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.final-cta h2 {
  max-width: 620px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.final-cta-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.contact-list a,
.contact-list p {
  margin: 0;
  color: var(--color-white);
  font-weight: 700;
}

.contact-list a {
  display: block;
}

.contact-list a:hover {
  color: var(--color-beige);
}

.contact-list small {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contacts-card a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-card a:hover {
  color: var(--color-accent);
}

.final-form {
  background: #F7F2E9;
  border: 0;
  box-shadow: none;
}

.mid-cta .lead-form label {
  color: var(--color-muted);
}

.lead-form textarea {
  width: 100%;
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  font: inherit;
}

.lead-form textarea:focus {
  outline: 3px solid rgba(110, 143, 99, 0.2);
  border-color: var(--color-accent);
}

.final-form .btn-light {
  background: var(--color-dark);
  color: var(--color-white);
}

.final-form .btn-light:hover {
  background: var(--color-accent);
}


.contact-grid .contacts-card.rekvizity .dnld-rekvizity a {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 20px;
    margin-top: 40px;
}
.contact-grid .contacts-card.rekvizity .dnld-rekvizity img {
    width: 64px;
    height: 64px;
    margin-right: 14px;
}
.contact-grid .contacts-card .messenger-grid {
    margin-top: 40px;
}

@media (min-width: 640px) {
  .cards-3,
  .mini-catalog {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .feature-photo {
    min-height: 200px;
  }
}
@media (max-width: 899px) {

    .mid-form-fields {
        flex-wrap: wrap;
    }
    .mid-form label {
      width: 50%;
      padding: 0 20px;
      margin-bottom: 20px;
    }
    .mid-form button.btn {
        margin-left: 20px;
        margin-bottom: 20px;
        width: calc(50% - 40px);
        padding: 0 20px;
        height: 54px;
        background-color: var(--color-beige);
    }
    .mid-form .mid-form-accept {
        justify-content: center;
    }
    .mid-form .consent-field {
        font-size: 16px;
    }
}
@media (max-width: 639px) {
    .mid-form label {
        width: 100%;
    }
    .mid-form button.btn {
        width: calc(100% - 40px);
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

@media (min-width: 900px) {
  .burger {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin-left: 18px;
  }

  .main-nav a {
    padding: 9px 14px;
  }

  .main-nav .header-cta {
    margin-left: 8px;
    padding-inline: 18px;
  }

  .header-tagline {
    display: inline-flex;
  }

  .header-phone {
    margin-left: auto;
  }

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

  .mini-catalog {
    grid-template-columns: repeat(5, 1fr);
  }

  .two-column,
  .map-section {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
  .contact-grid {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: unset;
  }
  .contact-grid .lead-form,
  .contact-grid .contact-card {
      width: calc(50% - 20px);
      margin: 0;
  }
  .contact-grid .lead-form {
      margin-left: 40px;
  }
  .contact-grid .contacts-card.rekvizity {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-top: 40px;
  }
  .contact-grid .contacts-card.rekvizity div {
      width: 47%;
  }
    .contact-grid .contacts-card {
        display: flex;
        flex-direction: column;
    }


  .footer-grid {
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: start;
  }

  .home-hero-copy {
    max-width: 640px;
  }

  .heading-row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .home-products {
    grid-template-columns: repeat(4, 1fr);
  }

  .assortment-card {
    min-height: 460px;
  }

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

  .mid-cta-grid {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
    align-items: start;
  }

  .mid-cta-copy {
    max-width: 640px;
  }

  .mid-form {
    align-items: end;
    gap: 12px;
  }

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

  .production-tech {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
  }

  .production-tech-panel {
    align-content: start;
  }

  .final-cta-grid {
    grid-template-columns: 1.05fr 0.75fr;
    gap: clamp(48px, 7vw, 100px);
  }

}

@media (min-width: 1200px) {
}

/* Попапы связи и скачивания прайса */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(17, 28, 23, 0.74);
  backdrop-filter: blur(8px);
}

.modal-root.is-open {
  display: grid;
}

.modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 28px 80px rgba(17, 28, 23, 0.28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-section);
  color: var(--color-dark);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal-dialog h2 {
  margin: 0 46px 10px 0;
  color: var(--color-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 600;
  line-height: 1;
}

.modal-subtitle {
  margin: 0 0 24px;
  color: var(--color-muted);
}

.popup-form {
  display: grid;
  gap: 15px;
}

.popup-form label:not(.consent-field) {
  display: grid;
  gap: 7px;
  color: var(--color-dark);
  font-weight: 800;
}

.popup-form input[type="text"],
.popup-form input[type="tel"],
.popup-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font: inherit;
}

.popup-form input:focus {
  outline: 3px solid rgba(110, 143, 99, 0.2);
  border-color: var(--color-accent);
}

.consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}
.mid-form .consent-field span {
    color: var(--color-white);
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-accent);
}

.consent-field a {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-field a:hover,
.consent-field a:focus-visible {
  color: var(--color-dark);
}

.lead-form .consent-field input {
  min-height: 18px;
  padding: 0;
}

.popup-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 16px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.popup-divider::before,
.popup-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.messenger-grid,
.download-actions {
  display: grid;
  gap: 10px;
}

.messenger-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-dark);
  font-weight: 800;
}

.messenger-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.messenger-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-section);
  font-size: 11px;
  font-weight: 800;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.form-status.is-error {
  color: #A13A32;
}

body.modal-open {
  overflow: hidden;
}

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

.popup-form button:disabled,
.lead-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

@media (min-width: 640px) {
  .messenger-grid,
  .download-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.legal-hero {
  padding-block: 72px 56px;
}

.legal-section {
  padding-top: 56px;
}

.legal-document {
  max-width: 900px;
}

.legal-document h2 {
  margin: 44px 0 14px;
  color: var(--color-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.legal-document p,
.legal-document li {
  max-width: 78ch;
}

.legal-document a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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


.final-cta .messenger-grid {
    display: flex;
    flex-direction: column;
}

.final-cta a.messenger-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-dark);
  font-weight: 800;
}

.final-cta a.messenger-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.final-cta a.messenger-link small {
    color: var(--color-muted);
}

@media (max-width: 640px) {
    .final-cta a.messenger-link small {
        font-size: 9px;
    }
    .mid-cta {
        padding-bottom: 0;
    }
}
