/* ═══════════════════════════════════════════════════════════════
   SUPER ЧЕБУРЕК — sections.css
   Стили секций: hero, marquee, about, menu, gallery, reviews,
   contacts, footer.
   ═══════════════════════════════════════════════════════════════ */

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 70px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .5;
  animation: glowFloat 14s ease-in-out infinite alternate;
}
.glow--1 {
  width: 640px; height: 640px;
  right: -180px; top: -140px;
  background: radial-gradient(circle, rgba(255,196,0,.34), transparent 65%);
}
.glow--2 {
  width: 520px; height: 520px;
  left: -200px; bottom: -160px;
  background: radial-gradient(circle, rgba(255,196,0,.16), transparent 65%);
  animation-delay: -7s;
}
@keyframes glowFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.12); }
}
.grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  opacity: .35;
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}
/* Жёлтые «пузыри» из фирменного стиля */
.hero__dots::before, .hero__dots::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--c-yellow);
}
.hero__dots--1 { position: absolute; left: 44%; top: 12%; width: 60px; height: 40px; }
.hero__dots--1::before { width: 18px; height: 18px; left: 0; top: 10px; animation: bob 6s ease-in-out infinite; }
.hero__dots--1::after  { width: 10px; height: 10px; left: 30px; top: 0; opacity: .7; animation: bob 6s ease-in-out infinite -2s; }
.hero__dots--2 { position: absolute; left: 4%; bottom: 22%; width: 70px; height: 50px; }
.hero__dots--2::before { width: 14px; height: 14px; left: 40px; top: 20px; opacity: .8; animation: bob 7s ease-in-out infinite -1s; }
.hero__dots--2::after  { width: 8px; height: 8px; left: 8px; top: 6px; opacity: .5; animation: bob 7s ease-in-out infinite -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 92px);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .98;
}
.hero__line { display: block; overflow: hidden; }
.hero__title .accent {
  color: var(--c-yellow);
  text-shadow: 0 0 60px rgba(255, 196, 0, .35);
}
.hero__title .stroke {
  color: transparent;
  -webkit-text-stroke: 2px rgba(246, 244, 239, .85);
}

.hero__sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--c-text-dim);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.hero__facts li { display: grid; gap: 2px; }
.hero__facts b {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  color: var(--c-yellow);
}
.hero__facts i {
  font-style: normal;
  font-size: 13.5px;
  color: var(--c-text-dim);
  max-width: 150px;
}

/* Визуал справа. transform — под JS-параллакс, rotate/translate — отдельные свойства */
.hero__visual { position: relative; height: clamp(420px, 44vw, 620px); }
.hero__photo {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85);
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  will-change: transform;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main {
  width: min(78%, 380px);
  height: 96%;
  right: 6%;
  top: 0;
  rotate: 4deg;
  border: 1px solid rgba(255, 196, 0, .25);
}
.hero__photo--main img { transform: scale(1.04); }
.hero__photo--small {
  width: 46%;
  aspect-ratio: 3 / 4;
  left: 0;
  bottom: 0;
  rotate: -7deg;
  border: 1px solid rgba(255, 255, 255, .14);
  animation: floatSlow 7s ease-in-out infinite;
}
@keyframes floatSlow {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}
.hero__sticker {
  position: absolute;
  top: 4%;
  left: 2%;
  width: 118px; height: 118px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--c-yellow-2), var(--c-yellow) 55%, var(--c-yellow-dark));
  color: #131313;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 17px;
  text-align: center;
  box-shadow: 0 18px 44px -12px rgba(255, 196, 0, .6);
  animation: spinSlow 16s linear infinite;
}
.hero__sticker span { animation: spinSlowReverse 16s linear infinite; }
@keyframes spinSlow { to { rotate: 360deg; } }
@keyframes spinSlowReverse { to { rotate: -360deg; } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(246, 244, 239, .35);
  border-radius: 20px;
  transition: border-color var(--t-fast);
}
.hero__scroll:hover { border-color: var(--c-yellow); }
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--c-yellow);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══ MARQUEE (бегущая строка) ═══ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--c-line);
  background: linear-gradient(90deg, #0e0e10, #141416, #0e0e10);
  padding: 18px 0;
  rotate: -.4deg;
  scale: 1.02 1;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-yellow);
  white-space: nowrap;
  padding-right: 10px;
}
.marquee__track i { font-style: normal; color: var(--c-white); margin: 0 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══ ABOUT ═══ */
.about__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}
.about__photos {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 18px;
}
.about__poster {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, .3);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .9);
  transform-origin: left top;
}
.about__interior {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .9);
  margin-top: 44px;
}
.about__photos img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.about__photos figure:hover img { transform: scale(1.05); }

.about__lead { margin-top: 24px; font-size: 18px; max-width: 60ch; }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.feature {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--c-black-2), var(--c-black));
  border: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.feature::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-yellow), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 196, 0, .35);
  box-shadow: 0 24px 50px -24px rgba(255, 196, 0, .25);
}
.feature:hover::before { transform: scaleX(1); }
.feature__ico { font-size: 26px; display: inline-block; margin-bottom: 14px; transition: transform .5s var(--ease-spring); }
.feature:hover .feature__ico { transform: scale(1.25) rotate(-8deg); }
.feature h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--c-text-dim); }

/* ═══ MENU ═══ */
.menu {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(255, 196, 0, .07), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(255, 196, 0, .05), transparent 60%);
}
.menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.m-card {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--c-black-2), #0d0d0f);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .5s, box-shadow .5s;
  transform-style: preserve-3d;
}
/* Крупная цифра-фон */
.m-card__num {
  position: absolute;
  top: 6px; right: 14px;
  font-family: var(--f-display);
  font-size: 74px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 196, 0, .16);
  transition: -webkit-text-stroke-color .5s, transform .6s var(--ease-out);
}
/* Блик-свип при ховере */
.m-card::after {
  content: "";
  position: absolute;
  top: -60%; left: -80%;
  width: 60%; height: 220%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .07), transparent);
  transform: skewX(-18deg) translateX(0);
  transition: left .8s var(--ease-out);
  pointer-events: none;
}
.m-card:hover::after { left: 130%; }
.m-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 196, 0, .45);
  box-shadow: 0 30px 60px -26px rgba(255, 196, 0, .3);
}
.m-card:hover .m-card__num {
  -webkit-text-stroke-color: rgba(255, 196, 0, .5);
  transform: translateY(-4px) rotate(-4deg);
}
.m-card__badge {
  display: inline-block;
  padding: 6px 13px;
  margin-bottom: 16px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--c-yellow), var(--c-yellow-dark));
  color: #131313;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: badgePulse 2.4s ease-in-out infinite;
}
.m-card__badge--new { background: linear-gradient(135deg, #fff, #d9d4c8); animation: none; }
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 0, .55); }
  55% { box-shadow: 0 0 0 11px rgba(255, 196, 0, 0); }
}
.m-card__title {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.m-card__desc { font-size: 14.5px; color: var(--c-text-dim); min-height: 66px; }
.m-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, .14);
}
.m-card__price {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--c-yellow);
  transition: transform .4s var(--ease-spring);
}
.m-card:hover .m-card__price { transform: scale(1.12); }
/* Точки из фирменного стиля */
.m-card__dots, .m-card__dots::before, .m-card__dots::after {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  background: var(--c-yellow);
}
.m-card__dots { width: 10px; height: 10px; }
.m-card__dots::before, .m-card__dots::after { content: ""; position: absolute; }
.m-card__dots::before { width: 6px; height: 6px; left: -10px; top: 2px; opacity: .75; }
.m-card__dots::after  { width: 4px; height: 4px; left: 14px; top: -2px; opacity: .5; }

.menu__extra {
  margin-top: 34px;
  padding: 24px 30px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 196, 0, .4);
  background: rgba(255, 196, 0, .05);
  font-size: 16px;
  text-align: center;
}
.menu__extra a { color: var(--c-yellow); font-weight: 800; border-bottom: 1px dashed rgba(255, 196, 0, .5); }

/* ═══ GALLERY ═══ */
.gallery__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gfilter {
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--c-line);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-text-dim);
  transition: all var(--t-fast) var(--ease-out);
}
.gfilter:hover { border-color: rgba(255, 196, 0, .5); color: var(--c-white); }
.gfilter.is-active {
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color: #131313;
  box-shadow: 0 8px 26px -10px rgba(255, 196, 0, .7);
}

.gallery__grid {
  columns: 3;
  column-gap: 18px;
}
.g-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--c-line);
  cursor: zoom-in;
  transform: translateZ(0);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), border-color .4s;
}
.g-item img {
  width: 100%;
  transition: transform .9s var(--ease-out), filter .5s;
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 9, .78) 0%, transparent 46%);
  opacity: 0;
  transition: opacity .45s;
}
.g-item figcaption {
  position: absolute;
  left: 18px; bottom: 14px;
  z-index: 2;
  font-weight: 800;
  font-size: 15px;
  color: var(--c-white);
  transform: translateY(12px);
  opacity: 0;
  transition: transform .45s var(--ease-out), opacity .45s;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; opacity: 1; }
.g-item.is-hidden { display: none; }
.g-item.pop { animation: popIn .5s var(--ease-out) both; }
@keyframes popIn {
  from { opacity: 0; transform: scale(.9) translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ═══ REVIEWS ═══ */
.reviews {
  background:
    radial-gradient(800px 400px at 15% 10%, rgba(255, 196, 0, .06), transparent 60%),
    linear-gradient(#0c0c0d, #0b0b0c);
}
.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(34px, 4vw, 56px);
}
.reviews__score {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-radius: var(--radius);
  background: var(--c-black-2);
  border: 1px solid var(--c-line);
  flex-shrink: 0;
}
.reviews__score b {
  font-family: var(--f-display);
  font-size: 54px;
  font-weight: 900;
  color: var(--c-yellow);
  line-height: 1;
}
.reviews__score .stars { color: var(--c-yellow); font-size: 19px; letter-spacing: 3px; }
.reviews__score .stars i { opacity: .35; }
.reviews__score p { font-size: 13.5px; color: var(--c-text-dim); margin-top: 4px; }
.reviews__score .btn { align-self: center; padding: 13px 24px; }

.reviews__slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.reviews__slider::-webkit-scrollbar { display: none; }
.reviews__slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reviews__slider.is-dragging .r-card { pointer-events: none; }

.r-card {
  flex: 0 0 min(400px, 84vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--c-black-3), #0e0e10);
  border: 1px solid var(--c-line);
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
  user-select: none;
}
.r-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 196, 0, .4);
  box-shadow: 0 26px 54px -26px rgba(0, 0, 0, .8);
}
.r-card__stars { color: var(--c-yellow); font-size: 17px; letter-spacing: 4px; }
.r-card__text { font-size: 15.5px; line-height: 1.65; color: var(--c-text); flex: 1; }
.r-card__answer {
  padding: 14px 16px;
  border-left: 3px solid var(--c-yellow);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 196, 0, .07);
  font-size: 13.5px;
  color: var(--c-text-dim);
}
.r-card__answer b { color: var(--c-yellow); display: block; margin-bottom: 3px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.r-card footer { display: flex; align-items: center; gap: 13px; }
.r-card__ava {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--c-yellow), var(--c-yellow-dark));
  color: #131313;
  font-weight: 800;
  font-size: 17px;
}
.r-card footer b { display: block; font-size: 15px; color: var(--c-white); }
.r-card footer time { font-size: 12.5px; color: var(--c-text-dim); }

.reviews__nav { display: flex; gap: 12px; margin-top: 18px; }
.r-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line);
  color: var(--c-white);
  font-size: 20px;
  transition: all var(--t-fast) var(--ease-out);
}
.r-arrow:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: #131313; transform: translateY(-3px); }

/* ═══ CONTACTS ═══ */
.contacts__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}
.contacts__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.c-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--c-black-2), #0d0d0f);
  border: 1px solid var(--c-line);
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
a.c-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 196, 0, .45);
  box-shadow: 0 26px 54px -26px rgba(255, 196, 0, .28);
}
.c-card__ico { font-size: 26px; }
.c-card h3 {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-yellow);
}
.c-card p { font-size: 16px; color: var(--c-text); }
.c-card__link { margin-top: auto; font-size: 14px; font-weight: 800; color: var(--c-yellow); }

.contacts__map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
  filter: grayscale(.85) invert(.9) hue-rotate(180deg) contrast(.94) brightness(1.02);
}
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { padding: 30px; color: var(--c-text-dim); }

.contacts__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid var(--c-line);
  background: #0a0a0b;
  padding: 54px 0 120px;
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.logo--footer .logo__text { font-size: 15px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a {
  font-size: 14.5px;
  color: var(--c-text-dim);
  transition: color var(--t-fast);
}
.footer__nav a:hover { color: var(--c-yellow); }
.footer__contacts { text-align: right; }
.footer__contacts a { font-weight: 800; color: var(--c-yellow); font-size: 16px; }
.footer__contacts p { font-size: 13.5px; color: var(--c-text-dim); margin-top: 4px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-text-dim);
}
.footer__bottom a { color: var(--c-text); border-bottom: 1px dashed rgba(255,255,255,.3); }
.footer__bottom a:hover { color: var(--c-yellow); }
