:root {
  --ink: #082f28;
  --ink-blue: #173f64;
  --green: #459f27;
  --green-dark: #0b5140;
  --orange: #ff5117;
  --line: #dfeadf;
  --white: #fff;
  --shadow: 0 24px 70px rgba(35, 77, 55, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  background:
    radial-gradient(circle at 9% 11%, rgba(255, 255, 255, .96) 0 5%, transparent 19%),
    radial-gradient(circle at 94% 8%, rgba(100, 160, 72, .22) 0 8%, transparent 24%),
    linear-gradient(145deg, #e7f5ff 0%, #f9fcf5 50%, #d8ebc7 100%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  color: var(--white);
  text-decoration: none;
  background: var(--green-dark);
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-frame {
  width: min(1180px, calc(100% - 48px));
  margin: 48px auto 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 34px;
  background: var(--white);
}

.brand { flex: 0 0 225px; width: 225px; text-decoration: none; }
.brand img { width: 225px; height: auto; }

.brand-caption {
  flex: 1 1 236px;
  margin: 0;
  color: var(--ink-blue);
  font-size: 13px;
  line-height: 1.35;
}

.desktop-nav { display: flex; align-items: center; gap: 25px; }
.desktop-nav a,
.site-footer a {
  color: var(--ink-blue);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--orange); }

.header-button {
  flex: 0 0 auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 21px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #e7f6e1;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.header-button:hover { transform: translateY(-2px); background: #d9f0d0; }
.header-button svg,
.cart-icon {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-toggle,
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  isolation: isolate;
  background: #eef8ea;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-background { z-index: -3; object-fit: cover; object-position: center center; }
.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .93) 29%, rgba(255, 255, 255, .42) 50%, rgba(255, 255, 255, .02) 78%),
    linear-gradient(0deg, rgba(239, 249, 234, .42), transparent 34%);
}

.hero-copy { position: relative; z-index: 4; width: 53%; padding: 42px 0 30px 62px; }
.hero h1 {
  position: relative;
  max-width: 620px;
  margin: 0;
  color: #062f28;
  font-size: clamp(42px, 4.15vw, 57px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.title-leaf {
  position: absolute;
  right: 13px;
  bottom: 6px;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-copy > p {
  max-width: 470px;
  margin: 17px 0 20px;
  color: #163f54;
  font-size: 17px;
  line-height: 1.45;
}

.hero-button {
  width: min(390px, 100%);
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 26px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #ff671f 0%, var(--orange) 55%, #ff3b0a 100%);
  border-radius: 999px;
  box-shadow: 0 11px 24px rgba(255, 72, 15, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-button:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(255, 72, 15, .3); }
.hero-button:focus-visible,
.header-button:focus-visible,
.category-card:focus-visible { outline: 3px solid var(--white); box-shadow: 0 0 0 6px var(--orange); }
.hero-button .cart-icon { width: 30px; flex: 0 0 30px; }
.button-arrow { margin-left: auto; font-size: 29px; line-height: 1; }

.hero-slogan {
  position: relative;
  width: 330px;
  margin: 20px 0 0 47px;
  padding-top: 15px;
  color: #173a34;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-3deg);
}
.hero-slogan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 165px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 50%;
  transform: rotate(-4deg);
}
.hero-slogan svg {
  position: absolute;
  right: 14px;
  bottom: 2px;
  width: 31px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-yasha {
  position: absolute;
  z-index: 3;
  right: 104px;
  bottom: -318px;
  width: 520px;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 12px 10px rgba(13, 42, 28, .2));
  pointer-events: none;
  user-select: none;
}

.yasha-note {
  position: absolute;
  z-index: 5;
  top: 64px;
  right: 70px;
  margin: 0;
  color: #0c312b;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-7deg);
}
.yasha-note strong { font-size: 26px; }

.benefits {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 15px 29px 12px;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 28px rgba(22, 73, 49, .08);
}
.benefit {
  min-width: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #f2f9ef, #f8fbf7);
  border-radius: 18px;
}
.benefit-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: #e0f4da;
  border-radius: 50%;
}
.benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit:nth-child(2) .benefit-icon svg { fill: currentColor; stroke: none; }
.benefit p { margin: 0; color: #214862; font-size: 14px; line-height: 1.28; }
.benefit strong { color: #173f59; font-weight: 500; }

.catalog-section { padding: 20px 30px 27px; background: var(--white); }
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  text-align: center;
}
.section-heading h2 {
  margin: 0;
  color: #062f28;
  font-size: clamp(31px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-heading p { margin: 7px 0 0; color: #31536a; font-size: 16px; }
.section-leaf {
  flex: 0 0 30px;
  width: 30px;
  margin-top: 8px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-leaf-right { transform: scaleX(-1); }

.catalog-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.category-card {
  min-width: 0;
  min-height: 206px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(10, 50, 40, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover { transform: translateY(-5px); border-color: #b8d8b1; box-shadow: 0 14px 28px rgba(10, 50, 40, .15); }
.category-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 464;
  object-fit: cover;
}
.category-name {
  min-height: 57px;
  display: block;
  padding: 12px 11px 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.18;
}
.category-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: auto auto 12px;
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  background: var(--orange);
  border-radius: 50%;
}
.category-card-more .category-arrow { font-size: 10px; letter-spacing: 1px; background: #45b92d; }

.delivery {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1.5fr 1.12fr .86fr;
  align-items: center;
  gap: 28px;
  padding: 20px 54px;
  background:
    radial-gradient(ellipse at 52% 115%, rgba(73, 153, 45, .13), transparent 42%),
    linear-gradient(90deg, #f4fbf1, #ecf8e8);
  border-top: 1px solid #e2eee0;
}
.delivery-main,
.delivery-assortment { display: flex; align-items: center; gap: 16px; }
.truck-icon {
  flex: 0 0 70px;
  width: 70px;
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.delivery h2 { margin: 0; color: #123b38; font-size: 17px; line-height: 1.2; }
.delivery p { margin: 5px 0 0; color: #38596d; font-size: 13px; }
.delivery-assortment svg {
  flex: 0 0 39px;
  width: 39px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.delivery-signature {
  color: #143c35 !important;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 16px !important;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-5deg);
}
.delivery-signature strong { font-size: 20px; }

.site-footer {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 15px 56px 18px;
  color: #3e6064;
  background: #edf7e9;
}
.site-footer p { margin: 0; font-size: 12px; }
.footer-description { color: #567079; }
.site-footer nav { display: flex; align-items: center; }
.site-footer nav a { padding: 0 12px; border-left: 1px solid #86a194; }
.site-footer nav a:first-child { border-left: 0; }

@media (max-width: 1100px) {
  .site-frame { width: min(980px, calc(100% - 32px)); margin-top: 24px; }
  .site-header { gap: 16px; padding-inline: 23px; }
  .brand { flex-basis: 194px; width: 194px; }
  .brand img { width: 194px; }
  .brand-caption { display: none; }
  .desktop-nav { margin-left: auto; gap: 18px; }
  .hero { min-height: 490px; }
  .hero-copy { width: 59%; padding-left: 46px; }
  .hero h1 { font-size: 47px; }
  .hero-yasha { right: 50px; width: 480px; bottom: -292px; }
  .yasha-note { right: 37px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-card { min-height: 222px; }
  .delivery { grid-template-columns: 1.45fr 1fr; }
  .delivery-signature { display: none; }
}

@media (max-width: 780px) {
  body { background: #f6faf4; }
  .site-frame { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .site-header { min-height: 106px; justify-content: center; padding: 8px 58px 18px 18px; }
  .brand { flex-basis: auto; width: 190px; }
  .brand img { width: 190px; }
  .brand-caption {
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 295px;
    display: block;
    margin: 0;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
    transform: translateX(-50%);
  }
  .desktop-nav,
  .header-button { display: none; }
  .menu-toggle {
    position: absolute;
    top: 34px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 7px;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 24px; height: 3px; background: currentColor; border-radius: 3px; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu {
    position: absolute;
    top: calc(100% - 2px);
    right: 14px;
    left: 14px;
    display: grid;
    padding: 9px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(8, 47, 40, .22);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { padding: 12px 14px; color: var(--ink); font-size: 15px; text-decoration: none; border-radius: 10px; }
  .mobile-menu a:hover { background: #eff8ec; }
  .mobile-menu .mobile-catalog-link { color: var(--white); font-weight: 700; background: var(--orange); }

  .hero { min-height: 720px; }
  .hero-background { object-position: 67% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.96) 38%, rgba(255,255,255,.46) 58%, rgba(238,248,233,.1) 100%),
      linear-gradient(90deg, rgba(255,255,255,.35), transparent 70%);
  }
  .hero-copy { width: 100%; padding: 27px 20px 0; }
  .hero h1 { max-width: 650px; font-size: clamp(34px, 8.5vw, 48px); line-height: 1.04; }
  .title-leaf { right: auto; left: min(89%, 510px); bottom: 2px; width: 29px; }
  .hero-copy > p { max-width: 610px; margin: 14px 0 18px; font-size: 16px; line-height: 1.38; }
  .hero-button { width: 100%; max-width: 520px; min-height: 61px; padding-inline: 20px; font-size: 19px; }
  .hero-button .cart-icon { width: 27px; flex-basis: 27px; }
  .hero-slogan { width: 285px; margin: 17px 0 0 18px; font-size: 17px; text-align: left; }
  .hero-slogan::before { left: 0; width: 138px; }
  .hero-slogan svg { right: 3px; }
  .hero-yasha { right: -25px; bottom: -320px; width: 450px; }
  .yasha-note { top: auto; right: 22px; bottom: 263px; font-size: 17px; }
  .yasha-note strong { font-size: 21px; }

  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px; border-radius: 20px 20px 0 0; }
  .benefit { min-height: 78px; gap: 10px; padding: 10px; border-radius: 14px; }
  .benefit-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .benefit-icon svg { width: 23px; height: 23px; }
  .benefit p { font-size: 13px; }

  .catalog-section { padding: 20px 13px 24px; }
  .section-heading { justify-content: flex-start; text-align: left; }
  .section-heading h2 { font-size: 27px; }
  .section-heading p { font-size: 14px; }
  .section-leaf { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { min-height: 214px; }
  .category-name { min-height: 53px; padding: 11px 11px 4px; font-size: 14px; }
  .category-arrow { margin-bottom: 10px; }

  .delivery { display: block; min-height: 92px; padding: 17px 18px; }
  .delivery-main { gap: 12px; }
  .truck-icon { flex-basis: 58px; width: 58px; }
  .delivery h2 { font-size: 15px; }
  .delivery p { font-size: 12px; }
  .delivery-assortment { display: none; }

  .site-footer { display: block; min-height: 84px; padding: 15px 18px 19px; }
  .site-footer p { font-size: 11px; }
  .footer-description { margin-top: 5px !important; }
  .site-footer nav { display: none; }
}

@media (max-width: 440px) {
  .site-header { min-height: 101px; }
  .brand { width: 174px; }
  .brand img { width: 174px; }
  .brand-caption { font-size: 10px; }
  .hero { min-height: 690px; }
  .hero-copy { padding: 24px 15px 0; }
  .hero h1 { font-size: 34px; letter-spacing: -.04em; }
  .title-leaf { left: 88%; width: 26px; }
  .hero-copy > p { font-size: 15px; }
  .hero-button { min-height: 58px; font-size: 18px; }
  .hero-slogan { margin-left: 8px; }
  .hero-yasha { right: -72px; bottom: -300px; width: 425px; }
  .yasha-note { right: 10px; bottom: 247px; }
  .benefit { min-height: 76px; padding: 8px; }
  .benefit-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .benefit p { font-size: 12px; }
  .catalog-grid { gap: 8px; }
  .category-card { min-height: 198px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
