:root {
  --bg: #f5f1e8;
  --text: #1f1d19;
  --muted: #6f6657;
  --brand: #db5e2e;
  --brand-dark: #ab411a;
  --card: #fffaf1;
  --line: #d8ccb7;
  --accent: #1f6b52;
  --shadow: 0 20px 45px rgba(74, 46, 18, 0.15);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 85% 10%, #f8d9b7 0, transparent 35%),
    radial-gradient(circle at 5% 45%, #dcead8 0, transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(245, 241, 232, 0.85);
  border-bottom: 1px solid rgba(150, 123, 93, 0.2);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  min-height: 74px;
}

.logo {
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  color: var(--text);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.nav a,
.phone-top {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav .nav-mobile-only {
  display: none;
}

.social-links {
  display: inline-flex;
  gap: 0.4rem;
}

.social-link {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff7ec;
  color: var(--brand-dark);
}

.product-nav {
  display: flex;
  gap: 0.6rem;
  padding: 0 0 0.8rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-nav a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
}

.phone-top {
  color: var(--brand-dark);
}

.menu-btn {
  display: none;
}

.menu-btn-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.menu-btn-bars span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(31, 107, 82, 0.08), rgba(219, 94, 46, 0.15));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  color: var(--accent);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  font-family: "Oswald", sans-serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
}

.text-link {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.84rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

.btn-full {
  width: 100%;
}

.hero-metrics {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-metrics li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-media img {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: 104px;
}

.about-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-photo img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--muted);
}

.info-strip {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.info-strip div {
  border-left: 3px solid var(--brand);
  padding-left: 0.8rem;
}

.info-strip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section-head {
  margin-bottom: 1.2rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(76, 47, 14, 0.08);
}

.card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-contacts {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.card-contacts a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: #fff;
}

.card-foot {
  margin-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  font-weight: 700;
}

.card-foot a {
  text-decoration: none;
  color: var(--brand-dark);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 94, 46, 0.12);
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px rgba(171, 65, 26, 0.18);
}

.benefits {
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.3), rgba(255, 250, 241, 0.85));
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.benefit h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
}

.contacts {
  padding-bottom: 5rem;
}

.mini-hero {
  padding: 3rem 0 2rem;
}

.mini-hero h1 {
  margin-top: 0.35rem;
  margin-bottom: 0.7rem;
}

.crumbs {
  color: var(--muted);
  font-size: 0.9rem;
}

.crumbs a {
  color: var(--brand-dark);
  text-decoration: none;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.product-layout img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.product-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.meta-list span {
  color: var(--muted);
}

.price-value {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  background: rgba(219, 94, 46, 0.12);
  color: var(--brand-dark);
  font-weight: 800;
}

.feature-list {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}

.feature-list li {
  margin-bottom: 0.4rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.product-contact {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.product-contact a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.detail-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.7rem;
}

.spec-table td {
  border-top: 1px solid var(--line);
  padding: 0.5rem 0.35rem;
  vertical-align: top;
}

.spec-table td:first-child {
  color: var(--muted);
  width: 40%;
}

.contact-shell {
  background:
    radial-gradient(circle at top right, rgba(219, 94, 46, 0.14), transparent 28%),
    linear-gradient(145deg, #fff8ef, #f4ecde);
  border: 1px solid rgba(171, 65, 26, 0.18);
  border-radius: 28px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.contact-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1.1rem;
}

.contact-stage-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 60ch;
}

.contact-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-card {
  grid-column: span 4;
  display: grid;
  gap: 0.45rem;
  min-height: 164px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(171, 65, 26, 0.14);
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 12px 24px rgba(76, 47, 14, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(76, 47, 14, 0.12);
  border-color: rgba(171, 65, 26, 0.34);
}

.contact-card-primary {
  grid-column: span 8;
  background: linear-gradient(135deg, rgba(31, 107, 82, 0.96), rgba(20, 60, 49, 0.96));
  color: #fff;
}

.contact-card-primary .contact-card-label,
.contact-card-primary strong,
.contact-card-primary span:last-child {
  color: #fff;
}

.contact-card-static {
  cursor: default;
}

.contact-card-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.contact-card strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
}

.contact-card span:last-child {
  color: var(--muted);
}

.contact-card-primary span:last-child {
  color: #fff;
}

.lead-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-panel h3 {
  margin-bottom: 0.6rem;
}

.contact-panel p {
  color: var(--muted);
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  font: inherit;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid #ccbba0;
  background: #fff;
}

.form-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111;
  color: #ddd;
}

.footer-wrap {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-wrap a {
  color: #fff;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contacts-grid,
  .catalog-grid,
  .benefit-grid,
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }

  .nav-wrap {
    grid-template-columns: auto 1fr auto auto;
  }

  .phone-top {
    display: none;
  }

  .contact-stage,
  .contact-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card,
  .contact-card-primary {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
  }

  .logo {
    grid-column: 1;
    font-size: 1.05rem;
  }

  .phone-top {
    display: inline-flex;
    grid-column: 2;
    justify-self: center;
    align-items: center;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .nav {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 74px;
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.9rem;
    flex-direction: column;
    gap: 0.75rem;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
  }

  .nav .nav-mobile-only {
    display: block;
  }

  .nav .nav-mobile-only {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(216, 204, 183, 0.65);
  }

  .nav .nav-mobile-only:last-child {
    border-bottom: 0;
  }

  .product-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    justify-self: end;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    padding: 0;
    cursor: pointer;
  }

  .menu-btn.is-open .menu-btn-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-btn.is-open .menu-btn-bars span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.is-open .menu-btn-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero,
  .section {
    padding: 3rem 0;
  }

  .hero-grid,
  .about-grid,
  .contacts-grid,
  .catalog-grid,
  .benefit-grid,
  .product-layout,
  .details-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    padding: 1rem;
    border-radius: 22px;
  }

  .contact-stage,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: stretch;
  }

  .contact-actions .btn,
  .contact-card,
  .contact-card-primary {
    width: 100%;
    grid-column: auto;
  }

  .contact-card {
    min-height: auto;
  }

  .social-links {
    display: none;
  }

  .contacts-grid-single {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 0;
  }
}
