:root {
  --red: #d81f26; /* основной красный */
  --red-600: #b11a20;
  --black: #0d0d0f;
  --gray: #f4f5f7;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--black);
  background: #ffffff;
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #eee;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.logo .mark {
  min-width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}
.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.menu a {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: #333;
}
.menu a:hover {
  background: var(--gray);
}
.cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s;
}
.btn.primary {
  background: var(--red);
  color: #fff;
}
.btn.primary:hover {
  background: var(--red-600);
}
.btn.ghost {
  border-color: #e5e7eb;
  color: #111;
}
.btn.ghost:hover {
  background: #f9fafb;
}

/* HERO */
.hero {
  padding: 48px 0;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: center;
}
.hero-visual {
  position: relative;
  box-shadow: -10px 10px 20px 1px #909090;
  border-radius: var(--radius);
}
.hero-card {
  position: relative;
  background: linear-gradient(135deg, #fff, #fff 40%, #ffe6e8 120%);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
}
.hero-badge {
  position: absolute;
  inset: auto -20px -20px auto;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.hero p.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  opacity: 0.85;
  margin: 0 0 18px;
}
.hero-card .hero-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
}
.hero-card {
  position: relative;
  min-height: 260px; /* или ваша высота */
}
.hero-card .hero-img.active {
  opacity: 1;
  pointer-events: auto;
}
.bullets {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 12px 14px;
}
.tick {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 22px;
}

/* SECTION HEADERS */
.section {
  padding: 56px 0;
}
.section h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin: 0 0 18px;
}
.sub {
  color: #555;
}

/* DELIVERY METHODS */
.grid {
  display: grid;
  gap: 16px;
}
.delivery {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .delivery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 680px) {
  .delivery {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}
.pill {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 6px 10px;
  border-radius: 999px;
  width: max-content;
  max-height: 27px;
}
.term {
  font-size: 14px;
  color: #444;
}

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

/* MENU */
.mobile_menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(216, 31, 38, 0.1);
  border-radius: 16px;
  flex-direction: column;
  min-width: 200px;
  z-index: 100;
  padding: 18px 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}
.mobile_menu a {
  padding: 14px 24px;
  font-size: 17px;
  color: var(--black);
  font-weight: 600;
  border: none;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile_menu a:hover {
  background: var(--gray);
  color: var(--red);
}
.mobile_menu a + a {
  border-top: 1px solid #f2f2f2;
}
.burger {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.burger span,
.burger span:before,
.burger span:after {
  display: block;
  background: var(--red);
  height: 4px;
  width: 28px;
  border-radius: 2px;
  position: relative;
  transition: 0.3s;
}
.burger span:before,
.burger span:after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span:before {
  top: -8px;
}
.burger span:after {
  top: 8px;
}
/* MODAL WINDOW */
/* ...existing code... */

.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 13, 15, 0.45);
  justify-content: center;
  align-items: center;
}
.modal.open {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  max-width: 340px;
  text-align: center;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--red);
  cursor: pointer;
}
.modal-content .contact {
  margin-top: 18px;
  font-size: 16px;
}
.modal-content .contact a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
}
.modal-content h3 {
  margin-top: 0;
  text-align: left;
}
@media (max-width: 1100px) {
  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu a {
    padding: 0;
  }
}
@media (max-width: 994px) {
  .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 14px;
    flex-direction: column;
    gap: 0;
    min-width: 180px;
    z-index: 100;
    padding: 12px 0;
  }
  .cta {
    display: none;
  }
  .mobile_menu.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .burger {
    display: flex;
  }
  .red_btn_mobile {
    margin: 20px;
  }
}
@media (max-width: 780px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .catalog {
    grid-template-columns: 1fr;
  }
}
.cat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cat .icon {
  font-size: 26px;
}
.cat h3 {
  margin: 6px 0 2px;
  font-size: 18px;
}
.cat p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

/* SERVICES */
.services {
  background: linear-gradient(180deg, #fff 0, #fff 40%, #fef4f5 100%);
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
}
.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 780px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.svc {
  background: #fff;
  border: 1px solid #ffd9dc;
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.svc:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  background: radial-gradient(
    70% 70% at 10% 10%,
    rgba(216, 31, 38, 0.08),
    transparent 60%
  );
}
.svc strong {
  display: block;
  margin-bottom: 6px;
}

/* FOOTER */
footer {
  padding: 40px 0;
  background: #0f1114;
  color: #e9eaed;
}
footer a {
  color: #e9eaed;
}
.foot {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}
@media (max-width: 720px) {
  .hero-wrap,
  .foot {
    grid-template-columns: 1fr;
  }
    .hero-badge {
    inset: auto 0px -20px auto;
  }
}
.muted {
  opacity: 0.7;
}
.disclaimer {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 12px;
}

/* helpers */
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 10px;
}
.spacer {
  height: 10px;
}
.divider {
  height: 1px;
  background: #eee;
  margin: 16px 0;
}
@media (max-width: 380px) {
  .delivery {
    grid-template-columns: 1fr;
  }
}
#toTopBtn {
  display: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s;
}
#toTopBtn:hover {
  background: #b71c1c;
}
