:root {
  --red: #e3141c;
  --red-dark: #b80f15;
  --dark: #0f0f0f;
  --dark-2: #1b1b1b;
  --cream: #fbf5ea;
  --yellow: #ffb400;
  --text: #5c5c5c;
  --line: #ececec;
  --head: "Epilogue", sans-serif;
  --body: "Roboto", sans-serif;
  --star: polygon(100% 50%,93.6% 55.7%,98.3% 62.9%,90.7% 66.8%,93.3% 75%,84.9% 76.8%,85.4% 85.4%,76.8% 84.9%,75% 93.3%,66.8% 90.7%,62.9% 98.3%,55.7% 93.6%,50% 100%,44.3% 93.6%,37.1% 98.3%,33.2% 90.7%,25% 93.3%,23.2% 84.9%,14.6% 85.4%,15.1% 76.8%,6.7% 75%,9.3% 66.8%,1.7% 62.9%,6.4% 55.7%,0% 50%,6.4% 44.3%,1.7% 37.1%,9.3% 33.2%,6.7% 25%,15.1% 23.2%,14.6% 14.6%,23.2% 15.1%,25% 6.7%,33.2% 9.3%,37.1% 1.7%,44.3% 6.4%,50% 0%,55.7% 6.4%,62.9% 1.7%,66.8% 9.3%,75% 6.7%,76.8% 15.1%,85.4% 14.6%,84.9% 23.2%,93.3% 25%,90.7% 33.2%,98.3% 37.1%,93.6% 44.3%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text); background: #fff; line-height: 1.7; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.container { width: min(1290px, 100% - 30px); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--dark); line-height: 1.2; font-weight: 800; }

.label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--red); text-transform: uppercase; letter-spacing: 0.5px; }
.label i { font-size: 18px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 8px; }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; font-size: 14px; text-transform: uppercase; padding: 16px 28px; border: 0; cursor: pointer; transition: background .3s; }
.btn:hover { background: var(--dark); }
.btn--dark { background: var(--dark); }
.btn--dark:hover { background: var(--red); }
.btn--white { background: #fff; color: var(--dark); }
.btn--white:hover { background: var(--yellow); }

/* Top bar */
.topbar { background: var(--red); color: #fff; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 46px; gap: 20px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info span { display: flex; align-items: center; gap: 6px; }
.topbar__social { display: flex; gap: 14px; align-items: center; }
.topbar__social a:hover { color: var(--yellow); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 46px; height: 46px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 24px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.logo__text { font-family: var(--head); font-weight: 800; font-size: 26px; color: var(--dark); letter-spacing: -0.5px; line-height: 1; }
.logo__text small { display: block; font-size: 10px; letter-spacing: 3px; color: var(--red); font-weight: 600; }
.nav { display: flex; gap: 34px; }
.nav a { font-family: var(--head); font-weight: 700; color: var(--dark); font-size: 16px; display: flex; align-items: center; gap: 3px; padding: 34px 0; position: relative; transition: color .3s; }
.nav a:hover, .nav a.active { color: var(--red); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 20px; color: var(--dark); position: relative; border: 0; cursor: pointer; transition: background .3s, color .3s; }
.icon-btn:hover { background: var(--red); color: #fff; }
.cart-count { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 700; }
.burger-btn { display: none; }

/* Hero */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero__slide { display: none; position: relative; min-height: 720px; align-items: center; }
.hero__slide.active { display: flex; animation: fade .8s ease; }
@keyframes fade { from { opacity: 0; } }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; }
.hero__shape { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; background: var(--red); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero__content .label { color: var(--yellow); }
.hero h1 { color: #fff; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; text-transform: uppercase; margin: 18px 0 22px; letter-spacing: -1px; }
.hero p { color: #c9c9c9; font-size: 17px; max-width: 480px; margin-bottom: 36px; }
.hero__img { position: relative; justify-self: center; width: min(560px, 100%); aspect-ratio: 1; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 14px solid rgba(255,255,255,.08); box-shadow: 0 40px 80px rgba(0,0,0,.45); animation: spin-slow 40s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.burst { position: absolute; width: 130px; height: 130px; background: var(--yellow); color: var(--dark); clip-path: var(--star); display: grid; place-items: center; text-align: center; font-family: var(--head); font-weight: 800; line-height: 1; font-size: 30px; animation: wobble 4s ease-in-out infinite; }
.burst small { display: block; font-size: 14px; }
.hero .burst { top: 6%; right: 2%; }
@keyframes wobble { 50% { transform: rotate(14deg) scale(1.06); } }
.hero__dots { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hero__dots button.active { background: var(--yellow); border-color: var(--yellow); }
.hero__arrows button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 22px; cursor: pointer; transition: background .3s; }
.hero__arrows button:hover { background: var(--red); }
.hero__arrows .prev { left: 24px; }
.hero__arrows .next { right: 24px; }

/* Categories */
.cats { padding: 100px 0 60px; }
.cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.cat { text-align: center; padding: 30px 16px; border: 1px solid var(--line); transition: all .35s; cursor: pointer; background: #fff; }
.cat img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; transition: transform .5s; }
.cat h4 { font-size: 18px; }
.cat span { font-size: 14px; color: var(--red); font-weight: 500; }
.cat:hover { border-color: var(--red); box-shadow: 0 20px 40px rgba(227,20,28,.1); transform: translateY(-6px); }
.cat:hover img { transform: rotate(20deg) scale(1.06); }

/* About */
.about { background: var(--cream); padding: 110px 0; overflow: hidden; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__img { position: relative; }
.about__img::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: #ff9b1a; left: -12%; top: -8%; }
.about__img img { position: relative; width: 88%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.about__img .burst { bottom: 4%; right: 4%; background: var(--red); color: #fff; }
.about h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 10px 0 20px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 34px 0 40px; padding-top: 30px; border-top: 1px solid #e6dccb; }
.feat { display: flex; gap: 14px; }
.feat i { font-size: 44px; color: var(--red); line-height: 1; }
.feat h4 { font-size: 18px; margin-bottom: 4px; }
.feat p { font-size: 14px; line-height: 1.5; }

/* Offers */
.offers { padding: 110px 0 60px; }
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer { position: relative; overflow: hidden; padding: 40px 36px; min-height: 280px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.offer--red { background: var(--red); }
.offer--dark { background: var(--dark); }
.offer--yellow { background: var(--yellow); color: var(--dark); }
.offer h3 { color: inherit; font-size: 30px; text-transform: uppercase; max-width: 60%; line-height: 1.1; margin: 8px 0 22px; }
.offer .label { color: inherit; opacity: .9; }
.offer img { position: absolute; right: -40px; bottom: -30px; width: 230px; height: 230px; border-radius: 50%; object-fit: cover; border: 8px solid rgba(255,255,255,.15); transition: transform .6s; }
.offer:hover img { transform: rotate(-12deg) scale(1.05); }
.offer .btn { align-self: flex-start; padding: 12px 22px; }

/* Popular dishes */
.popular { padding: 80px 0 110px; }
.dishes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.dish { background: #fff; border: 1px solid var(--line); text-align: center; padding: 34px 20px 30px; transition: all .35s; position: relative; }
.dish::before { content: ""; position: absolute; inset: auto 0 0; height: 0; background: var(--cream); transition: height .4s; z-index: -1; }
.dish:hover { border-color: transparent; box-shadow: 0 25px 50px rgba(0,0,0,.08); }
.dish img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; box-shadow: 0 15px 30px rgba(0,0,0,.15); transition: transform .6s; }
.dish:hover img { transform: rotate(-15deg); }
.dish h4 { font-size: 19px; }
.stars { color: var(--yellow); font-size: 14px; margin: 4px 0; }
.dish p { font-size: 14px; }
.dish .price { display: block; font-family: var(--head); font-weight: 800; color: var(--red); font-size: 22px; margin: 6px 0 16px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; border-radius: 30px; background: #fde7e8; color: var(--red); font-family: var(--head); font-weight: 700; font-size: 12px; text-transform: uppercase; border: 0; cursor: pointer; transition: all .3s; }
.pill:hover { background: var(--red); color: #fff; }
.center { text-align: center; margin-top: 50px; }

/* Deal banner */
.deal { background: var(--red); position: relative; overflow: hidden; }
.deal::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M10 10l10 10M20 10L10 20' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2'/%3E%3C/svg%3E"); }
.deal .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 90px 0; }
.deal h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); text-transform: uppercase; line-height: 1; margin: 12px 0 20px; }
.deal .label { color: var(--yellow); }
.deal p { color: #ffe1e1; max-width: 460px; margin-bottom: 30px; }
.countdown { display: flex; gap: 14px; margin-bottom: 36px; }
.countdown div { background: #fff; width: 84px; padding: 14px 0; text-align: center; }
.countdown b { display: block; font-family: var(--head); font-size: 32px; color: var(--dark); line-height: 1; }
.countdown span { font-size: 12px; text-transform: uppercase; color: var(--red); font-weight: 700; }
.deal__img { position: relative; justify-self: center; }
.deal__img img { width: min(520px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.deal .burst { top: 0; left: 0; width: 150px; height: 150px; font-size: 36px; }

/* Menu tabs */
.menu { padding: 110px 0; background: var(--cream); }
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.tab { padding: 14px 28px; border: 1px solid #e3d8c4; background: #fff; font-family: var(--head); font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 8px; color: var(--dark); transition: all .3s; }
.tab.active, .tab:hover { background: var(--red); border-color: var(--red); color: #fff; }
.menu__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; }
.mitem { display: flex; gap: 20px; align-items: center; background: #fff; padding: 18px; animation: fade .5s ease; }
.mitem img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mitem__body { flex: 1; }
.mitem__top { display: flex; align-items: baseline; gap: 10px; }
.mitem__top h4 { font-size: 19px; white-space: nowrap; }
.mitem__body { min-width: 0; }
@media (max-width: 560px) { .mitem { gap: 14px; padding: 14px; } .mitem img { width: 64px; height: 64px; } .mitem__top h4 { white-space: normal; font-size: 17px; } .mitem__top .dots { display: none; } .mitem__top { justify-content: space-between; } }
.mitem__top .dots { flex: 1; border-bottom: 2px dotted #d6cbb7; }
.mitem__top b { font-family: var(--head); color: var(--red); font-size: 20px; }
.mitem p { font-size: 14px; margin-top: 4px; }

/* Chefs */
.chefs { padding: 110px 0; }
.chefs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.chef { position: relative; overflow: hidden; }
.chef img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s; }
.chef:hover img { transform: scale(1.06); }
.chef__info { position: absolute; left: 20px; right: 20px; bottom: 20px; background: #fff; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.chef__info h4 { font-size: 20px; }
.chef__info span { font-size: 14px; color: var(--red); }
.chef__social { display: flex; gap: 8px; }
.chef__social a { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transition: all .3s; }
.chef__social a:hover { background: var(--red); color: #fff; }

/* Testimonials */
.reviews { background: var(--dark); padding: 110px 0; position: relative; overflow: hidden; }
.reviews .section-title h2 { color: #fff; }
.review-track { max-width: 820px; margin: 0 auto; text-align: center; color: #cfcfcf; }
.review { display: none; animation: fade .6s ease; }
.review.active { display: block; }
.review .stars { font-size: 20px; margin-bottom: 20px; }
.review blockquote { font-size: clamp(18px, 2.2vw, 24px); color: #fff; line-height: 1.6; font-style: italic; margin-bottom: 30px; }
.review__author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.review__author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); }
.review__author h4 { color: #fff; font-size: 18px; text-align: left; }
.review__author span { font-size: 14px; color: var(--yellow); display: block; text-align: left; }
.review-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.review-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent; color: #fff; font-size: 20px; cursor: pointer; transition: all .3s; }
.review-nav button:hover { background: var(--red); border-color: var(--red); }

/* Blog */
.blog { padding: 110px 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post { border: 1px solid var(--line); transition: box-shadow .3s; }
.post:hover { box-shadow: 0 25px 50px rgba(0,0,0,.08); }
.post__img { overflow: hidden; position: relative; }
.post__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__date { position: absolute; left: 20px; bottom: 0; background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; padding: 8px 16px; font-size: 13px; }
.post__body { padding: 26px; }
.post__meta { font-size: 13px; display: flex; gap: 16px; margin-bottom: 10px; }
.post__meta i { color: var(--red); }
.post h3 { font-size: 21px; margin-bottom: 18px; transition: color .3s; }
.post:hover h3 { color: var(--red); }
.post__more { font-family: var(--head); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--dark); display: inline-flex; gap: 6px; align-items: center; }

/* Footer */
.footer { background: var(--dark); color: #a9a9a9; }
.newsletter { background: var(--red); }
.newsletter .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 0; flex-wrap: wrap; }
.newsletter h3 { color: #fff; font-size: 30px; }
.newsletter form { display: flex; flex: 1; max-width: 520px; }
.newsletter input { flex: 1; padding: 0 22px; height: 58px; border: 0; font: inherit; outline: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 90px 0 60px; }
.footer .logo__text { color: #fff; }
.footer h4 { color: #fff; font-size: 20px; margin-bottom: 26px; }
.footer p { margin: 22px 0; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { transition: color .3s; display: inline-flex; gap: 6px; align-items: center; }
.footer ul a:hover { color: var(--red); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; background: var(--dark-2); display: grid; place-items: center; color: #fff; transition: background .3s; }
.footer__social a:hover { background: var(--red); }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed #2e2e2e; padding-bottom: 10px; }
.hours b { color: #fff; font-weight: 500; }
.copyright { border-top: 1px solid #262626; padding: 24px 0; text-align: center; font-size: 14px; }
.copyright span { color: var(--red); }

/* Toast */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--dark); color: #fff; padding: 16px 22px; display: flex; gap: 10px; align-items: center; transform: translateY(150%); transition: transform .4s; z-index: 100; border-left: 4px solid var(--red); }
.toast.show { transform: none; }
.toast i { color: var(--yellow); font-size: 20px; }

/* Responsive */
@media (max-width: 1200px) {
  .dishes { grid-template-columns: repeat(3, 1fr); }
  .cats__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .topbar__info span:nth-child(2) { display: none; }
  .nav { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: #fff; flex-direction: column; gap: 0; padding: 30px; transform: translateX(-100%); transition: transform .4s; z-index: 60; box-shadow: 0 0 60px rgba(0,0,0,.2); }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .burger-btn { display: grid; }
  .header .btn { display: none; }
  .hero .container, .about .container, .deal .container { grid-template-columns: 1fr; }
  .hero__slide { padding: 80px 0; }
  .hero__shape { width: 100%; top: auto; height: 40%; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); }
  .hero__img { width: min(400px, 90%); }
  .offers__grid, .chefs__grid, .posts { grid-template-columns: 1fr; }
  .menu__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .topbar { display: none; }
  .dishes, .cats__grid { grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mitem__top h4 { white-space: normal; }
  .countdown div { width: 70px; }
  .hero__arrows { display: none; }
}
