:root {
  --color-bg: #fafaf8;
  --color-surface: #f4f0eb;
  --color-accent: #2d2d2d;
  --color-primary: #c8651a;
  --color-primary-dark: #a54f13;
  --color-primary-light: #f5e6d8;
  --color-muted: #7a7068;
  --color-border: #e5ddd4;
  --color-white: #ffffff;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 48px;
  --text-5xl: 64px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  --space-section: 80px;
  --space-gap: 24px;
  --container-width: 1200px;

  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-header: 0 10px 30px rgba(45, 45, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-accent);
  background:
    radial-gradient(circle at top left, rgba(200, 101, 26, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(244, 240, 235, 0.7), rgba(250, 250, 248, 1));
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-accent);
}

h1 {
  font-size: clamp(42px, 6vw, var(--text-5xl));
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(32px, 4vw, var(--text-4xl));
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--text-xl);
  line-height: 1.25;
}

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

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button:hover,
.button:focus-visible,
.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-primary-dark);
}

.button--secondary {
  border-color: var(--color-accent);
  background: transparent;
  color: var(--color-accent);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(250, 250, 248, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-header);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.brand__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.footer-links a {
  font-weight: 600;
  color: var(--color-accent);
  transition: color 0.25s ease, transform 0.25s ease;
}

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

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--color-accent);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  padding-top: 56px;
}

.hero__grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero__lead {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-accent);
}

.hero__description,
.for-whom__description,
.about__text,
.contact-section__lead {
  max-width: 640px;
  font-size: var(--text-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero__visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(245, 230, 216, 0.95), rgba(255, 255, 255, 0.95)),
    linear-gradient(45deg, rgba(122, 112, 104, 0.08), transparent 60%);
}

.hero__visual::before,
.hero__visual::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 50%;
  background: rgba(200, 101, 26, 0.08);
}

.hero__visual::before {
  width: 220px;
  height: 220px;
  top: -40px;
  right: -60px;
}

.hero__visual::after {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: -40px;
}

.hero__visual-stack {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 410px;
}

.hero__shape {
  position: absolute;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #efe4d8);
  border: 1px solid rgba(200, 101, 26, 0.18);
  box-shadow: 0 20px 40px rgba(45, 45, 45, 0.08);
}

.hero__shape--bag {
  width: 230px;
  height: 300px;
  left: 56px;
  bottom: 44px;
}

.hero__shape--bag::before {
  content: '';
  position: absolute;
  inset: 20px 48px auto;
  height: 70px;
  border: 8px solid rgba(122, 112, 104, 0.35);
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
}

.hero__shape--box {
  width: 220px;
  height: 220px;
  right: 44px;
  top: 62px;
}

.hero__shape--box::before,
.hero__shape--box::after {
  content: '';
  position: absolute;
  background: rgba(200, 101, 26, 0.12);
}

.hero__shape--box::before {
  inset: 20px 20px auto;
  height: 36px;
  border-radius: 14px;
}

.hero__shape--box::after {
  width: 2px;
  top: 20px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__stamp {
  position: absolute;
  bottom: 110px;
  right: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px dashed rgba(200, 101, 26, 0.45);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-gap);
}

.advantage-card,
.product-card,
.process-card,
.stat-card {
  height: 100%;
}

.advantage-card__icon,
.product-card__visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--color-surface);
}

.advantage-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  font-size: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card__visual {
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
}

.product-card__visual img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

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

.catalog-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(245, 230, 216, 0.85), rgba(255, 255, 255, 0.95));
}

.catalog-banner p {
  font-size: var(--text-lg);
  color: var(--color-accent);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.process-card__number {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-primary);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  color: var(--color-accent);
  font-weight: 600;
}

.about-grid {
  align-items: start;
}

.about-grid--single {
  grid-template-columns: minmax(0, 720px);
}

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

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  text-align: center;
}

.stat-card strong {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--color-primary);
}

.stat-card span {
  color: var(--color-accent);
  font-weight: 600;
}

.contact-section {
  background: linear-gradient(180deg, rgba(244, 240, 235, 0.55), rgba(250, 250, 248, 0));
}

.contact-grid {
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-accent);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(200, 101, 26, 0.65);
  box-shadow: 0 0 0 4px rgba(200, 101, 26, 0.12);
}

.contact-success {
  display: grid;
  gap: 10px;
  background: linear-gradient(135deg, rgba(245, 230, 216, 0.9), rgba(255, 255, 255, 0.95));
}

.contact-success h3,
.contact-details h3 {
  margin-bottom: 6px;
}

.contact-details {
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 240, 235, 0.85));
}

.contact-details dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-details dt {
  margin-bottom: 6px;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.contact-details dd {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-accent);
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-muted);
  cursor: pointer;
}

.consent-label input[type='checkbox'] {
  width: auto;
  margin-top: 2px;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.consent-label a {
  color: var(--color-primary);
}

.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand--footer {
  margin-bottom: 10px;
}

.site-footer__tagline,
.site-footer__copy {
  color: var(--color-muted);
}

.messenger-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.messenger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.messenger-btn--tg {
  background: #2aabee;
}

.messenger-btn--wa {
  background: #25d366;
}

@media (max-width: 1199px) {
  :root {
    --space-section: 80px;
  }

  .hero__grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 380px;
  }

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

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

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

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

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

@media (max-width: 768px) {
  :root {
    --space-section: 72px;
  }

  .messenger-float {
    right: 20px;
    bottom: 20px;
  }

  .messenger-btn {
    width: 46px;
    height: 46px;
  }

  .site-header {
    padding: 12px 0;
  }

  .site-nav {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-header);
  }

  .site-nav.menu-open .nav-menu {
    display: flex;
  }

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

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

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

  .nav-links,
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: 36px;
  }

  .hero__actions,
  .catalog-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .process-list {
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .hero__actions .button,
  .catalog-banner .button {
    width: 100%;
  }

  .advantages-grid,
  .catalog-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 320px;
    padding: 12px;
  }

  .hero__shape--bag {
    width: 170px;
    height: 230px;
    left: 18px;
    bottom: 20px;
  }

  .hero__shape--bag::before {
    inset: 18px 30px auto;
  }

  .hero__shape--box {
    width: 150px;
    height: 150px;
    right: 18px;
    top: 26px;
  }

  .hero__stamp {
    width: 72px;
    height: 72px;
    right: 26px;
    bottom: 74px;
    font-size: 13px;
  }
}

.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  margin: 0;
}

.hero__stat dt {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: 4px;
}

.hero__stat dd {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
}
