.fm-kitchens {
  --fm-text: #1c2733;
  --fm-muted: #697789;
  --fm-line: #dfe4eb;
  --fm-accent: #ee1854;
  --fm-yellow: #ffd83d;
  --fm-blue: #1f8ccf;
  --fm-green: #20a56a;
  color: var(--fm-text);
  padding: 26px 0 70px;
}

.fm-kitchens a {
  color: inherit;
  text-decoration: none;
}

.fm-kitchens__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--fm-muted);
  font-size: 14px;
}

.fm-kitchens__breadcrumbs a {
  color: var(--fm-text);
}

.fm-kitchens__breadcrumbs a::after {
  content: ">";
  margin-left: 8px;
  color: var(--fm-muted);
}

.fm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 56px;
}

.fm-hero__content {
  min-width: 0;
}

.fm-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--fm-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.fm-eyebrow::after {
  content: "";
  width: 76px;
  height: 1px;
  background: var(--fm-accent);
  opacity: 0.35;
}

.fm-hero__title {
  max-width: 780px;
  margin: 0 0 18px;
  color: #0c1420;
  font-size: 58px;
  line-height: 0.96;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fm-hero__text {
  max-width: 720px;
  margin: 0 0 28px;
  color: #2f3f52;
  font-size: 17px;
  line-height: 1.55;
}

.fm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fm-btn--primary {
  background: var(--fm-accent);
  color: #fff;
}

.fm-kitchens a.fm-btn--primary,
.fm-kitchens a.fm-btn--primary:link,
.fm-kitchens a.fm-btn--primary:visited,
.fm-kitchens a.fm-btn--primary:hover,
.fm-kitchens a.fm-btn--primary:focus {
  color: #fff !important;
  text-decoration: none !important;
}

.fm-btn--light,
.fm-btn--outline {
  background: #fff;
  color: #0c1420;
  border-color: #b9c2ce;
}

.fm-btn:hover {
  border-color: var(--fm-accent);
}

.fm-hero__visual {
  position: relative;
  min-height: 360px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 24%, rgba(238, 24, 84, 0.55), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(255, 216, 61, 0.55), transparent 30%),
    linear-gradient(135deg, #1a2430, #3a1522 58%, #122b3a);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.fm-hero__visual::before {
  content: "";
  position: absolute;
  /* inset: 22px; */
  inset: 0px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 8px;
  /* background: url(/upload/dev2fun.imagecompress/webp/iblock/f98/lr2ffxbbb7wkmhzp1dk2h44atthnscpg.webp); */
  background: url(/upload/dev2fun.imagecompress/webp/iblock/0c1/zxudfu3pmpelf7a0vqrp1kce84gpeo2r.webp);
  
  background-size: contain;
}

.fm-hero__visual[style]::before {
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.28));
  border: 0;
  inset: 0;
}

.fm-hero__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 230px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  color: #0c1420;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(12,20,32,0.14);
}

.fm-section {
  margin-top: 62px;
}

.fm-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.fm-section__head h2,
.fm-info-card h2,
.fm-text-panel h2,
.fm-cta h2 {
  margin: 0;
  color: #0c1420;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fm-section__head p {
  max-width: 520px;
  margin: 0;
  color: var(--fm-muted);
  font-size: 15px;
  line-height: 1.45;
}

.fm-cuisine-grid,
.fm-corner-grid,
.fm-food-grid,
.fm-feature-grid,
.fm-link-grid {
  display: grid;
  gap: 18px;
}

.fm-cuisine-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.fm-food-grid,
.fm-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fm-link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fm-cuisine-card,
.fm-corner-card,
.fm-food-card,
.fm-feature-card,
.fm-link-card,
.fm-info-card,
.fm-corner-placeholder,
.fm-text-panel {
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(12, 20, 32, 0.06);
}

.fm-cuisine-card {
  overflow: hidden;
  min-height: 270px;
  display: flex;
  flex-direction: column;
}

.fm-cuisine-card__image {
  height: 126px;
  background-color: #eef2f6;
  background-position: center;
  background-size: cover;
}

.fm-cuisine-card__image--empty {
  background:
    radial-gradient(circle at 24% 26%, rgba(238,24,84,0.28), transparent 34%),
    radial-gradient(circle at 75% 35%, rgba(255,216,61,0.55), transparent 32%),
    #eef2f6;
}

.fm-cuisine-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.fm-cuisine-card__title,
.fm-corner-card h3,
.fm-food-card h3,
.fm-feature-card h3 {
  color: #0c1420;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 900;
}

.fm-cuisine-card__text,
.fm-corner-card p,
.fm-food-card p,
.fm-feature-card p,
.fm-rich-text p {
  color: var(--fm-muted);
  font-size: 15px;
  line-height: 1.5;
}

.fm-cuisine-card__link {
  margin-top: auto;
  color: var(--fm-accent);
  font-weight: 800;
}

.fm-corner-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fm-corner-card__image {
  display: block;
  min-height: 210px;
  background:
    radial-gradient(circle at 26% 24%, rgba(238,24,84,0.46), transparent 32%),
    radial-gradient(circle at 72% 36%, rgba(31,140,207,0.38), transparent 30%),
    #eef2f6;
  background-position: center;
  background-size: cover;
}

.fm-corner-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.fm-corner-card h3 {
  margin: 0;
  text-transform: uppercase;
}

.fm-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 8px;
  background: #ffe8f0;
  color: var(--fm-accent);
  font-size: 13px;
  font-weight: 800;
}

.fm-corner-card__meta {
  display: flex;
  gap: 12px;
  margin-top: auto;
  color: #34465a;
  font-size: 14px;
  font-weight: 700;
}

.fm-card-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 4px;
  padding: 10px 14px;
  border: 1px solid #0c1420;
  border-radius: 8px;
  color: #0c1420;
  font-weight: 800;
}

.fm-corner-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-style: dashed;
  color: #a8b2bf;
  text-align: center;
}

.fm-corner-placeholder__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 2px solid #c8d0da;
  border-radius: 8px;
  color: #c8d0da;
  font-size: 28px;
}

.fm-show-more {
  margin-top: 24px;
  text-align: center;
}

.fm-text-panel,
.fm-info-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 26px;
}

.fm-text-panel,
.fm-info-card {
  padding: 28px;
}

.fm-rich-text p {
  margin: 0 0 14px;
}

.fm-rich-text p:last-child {
  margin-bottom: 0;
}

.fm-food-card,
.fm-feature-card {
  padding: 20px;
  min-height: 168px;
}

.fm-food-card__num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--fm-yellow);
  color: #0c1420;
  font-weight: 900;
}

.fm-food-card h3,
.fm-feature-card h3 {
  margin: 0 0 8px;
}

.fm-food-card p,
.fm-feature-card p {
  margin: 0;
}

.fm-info-grid {
  align-items: stretch;
}

.fm-info-card--text {
  min-width: 0;
}

.fm-advantage-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.fm-advantage-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--fm-line);
}

.fm-advantage-list strong {
  color: #0c1420;
}

.fm-advantage-list span {
  color: var(--fm-muted);
}

.fm-link-card {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: #0c1420;
  font-weight: 900;
}

.fm-link-card span {
  color: var(--fm-accent);
  font-size: 22px;
}

.fm-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fm-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
  color: #0c1420;
  font-weight: 900;
}

.fm-tag span {
  color: var(--fm-accent);
}

.fm-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 70px;
  padding: 34px;
  border-radius: 8px;
  background: #fff1f5;
}

.fm-cta h2 {
  margin-bottom: 12px;
}

.fm-cta p {
  max-width: 720px;
  margin: 0;
  color: #34465a;
  font-size: 16px;
  line-height: 1.5;
}

.fm-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fm-socials span,
.fm-socials a {
  min-width: 64px;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #0c1420;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .fm-cuisine-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fm-food-grid,
  .fm-feature-grid,
  .fm-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .fm-hero,
  .fm-text-panel,
  .fm-info-grid,
  .fm-cta {
    grid-template-columns: 1fr;
  }

  .fm-hero__visual {
    min-height: 300px;
  }

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

@media (max-width: 720px) {
  .fm-kitchens {
    padding-top: 18px;
  }

  .fm-hero__title {
    font-size: 38px;
  }

  .fm-hero__text {
    font-size: 15px;
  }

  .fm-hero__actions,
  .fm-btn {
    width: 100%;
  }

  .fm-cuisine-grid,
  .fm-corner-grid,
  .fm-food-grid,
  .fm-feature-grid,
  .fm-link-grid {
    grid-template-columns: 1fr;
  }

  .fm-section__head {
    display: block;
  }

  .fm-section__head h2,
  .fm-info-card h2,
  .fm-text-panel h2,
  .fm-cta h2 {
    font-size: 25px;
  }

  .fm-section__head p {
    margin-top: 10px;
  }

  .fm-advantage-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .fm-text-panel,
  .fm-info-card,
  .fm-cta {
    padding: 22px;
  }
}
