/* ООО «Луч» — фирменный стиль: лучи солнца + весёлая картофелина из логотипа */
:root {
  --orange: #F28C28;
  --orange-2: #F7A548;
  --orange-d: #D9701A;
  --peach: #F6C9A0;
  --peach-l: #FCE9D6;
  --navy: #1E2140;
  --green: #2F7D4F;
  --green-d: #1F5A39;
  --green-l: #8DBF4F;
  --brown: #4A3426;
  --brown-l: #7A5A43;
  --cream: #FBF5EC;
  --sand: #F3E4C4;
  --white: #fff;
  --text: #2A2A33;
  --muted: #6E6A64;
  --line: #E8DCC9;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 10px 30px rgba(74, 52, 38, .12);
  --shadow-s: 0 4px 14px rgba(74, 52, 38, .10);
  --font-h: "Comfortaa", "Nunito", system-ui, sans-serif;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --potato-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23D9C3A5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M38 22c14-4 30 6 31 22s-10 30-26 30-27-10-27-26 8-23 22-26z'/%3E%3Ccircle cx='34' cy='42' r='1.6'/%3E%3Ccircle cx='50' cy='52' r='1.6'/%3E%3Cpath d='M36 56c4 5 13 5 17 0'/%3E%3Cpath d='M118 98c18-6 40 4 42 22s-12 34-32 33-34-12-32-30 8-20 22-25z' transform='rotate(18 128 125)'/%3E%3Ccircle cx='122' cy='122' r='1.6'/%3E%3Ccircle cx='140' cy='132' r='1.6'/%3E%3Cpath d='M100 32l6-6M108 36l8-2'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--cream);
}
img, video { max-width: 100%; display: block; }
a { color: var(--green); }
a:hover { color: var(--orange-d); }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.accent { color: var(--orange); }
.green { color: var(--green); }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--orange-d); margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--brown-l); max-width: 720px; }
.center .lead { margin-inline: auto; }

/* ---------- кнопки-«таблетки» (Green Farm Seeds) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .5em; border: 0; cursor: pointer;
  padding: .8em 1.6em; border-radius: 999px; font: 800 1rem var(--font); text-decoration: none;
  background: var(--green); color: #fff; transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: var(--shadow-s);
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.pill:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.pill--orange { background: var(--orange); }
.pill--orange:hover { background: var(--orange-d); }
.pill--lime { background: var(--green-l); color: var(--navy); }
.pill--lime:hover { color: var(--navy); }
.pill--brown { background: var(--brown); }
.pill--ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px currentColor; }
.pill--ghost:hover { color: var(--orange-d); background: transparent; }
.pill--big { font-size: 1.15rem; padding: 1em 2em; }
.pill--white { background: #fff; color: var(--brown); }
.pill--white:hover { color: var(--orange-d); }

/* ---------- шапка ---------- */
.topbar { background: var(--green); text-align: center; font-size: .92rem; padding: .55em 16px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar b { color: #FFE2B8; }
.header { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 0; }
.header__logo { display: block; width: 74px; }
.header__cta { justify-self: start; padding: .65em 1.3em; }
.header__contacts { justify-self: end; text-align: right; font-weight: 700; font-size: .95rem; line-height: 1.4; }
.header__contacts a { display: block; color: var(--navy); text-decoration: none; }
.header__contacts a:hover { color: var(--orange-d); }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; }
.nav a { display: block; padding: .8em .85em; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--orange-d); }
.nav a.is-active { border-bottom-color: var(--orange); color: var(--orange-d); }
.nav a.nav__vote { color: var(--green); }
.burger { display: none; justify-self: end; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

@media (max-width: 860px) {
  .header__contacts { display: none; }
  .header__row { grid-template-columns: 1fr auto 1fr; }
  .header__logo { width: 58px; }
  .header__cta { font-size: .85rem; padding: .55em 1em; }
  .burger { display: block; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 6px 0 12px; }
  .nav a { border: 0; padding: .7em 0; }
}

/* ---------- лучи из логотипа ---------- */
.rays {
  position: absolute; inset: -40%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(242, 140, 40, .55) 0 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0 20%, transparent 62%);
          mask: radial-gradient(circle, #000 0 20%, transparent 62%);
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rays { animation: none; } html { scroll-behavior: auto; } }

/* ---------- первый экран с видео ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--brown); }
/* кадрируем от правого нижнего угла — там ватермарк ролика, он не должен обрезаться */
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 33, 64, .82) 0%, rgba(30, 33, 64, .45) 55%, rgba(30, 33, 64, .1) 100%); }
/* снизу оставляем место под ватермарк видео (~90px), чтобы его не перекрывали кнопки */
.hero__inner { position: relative; z-index: 2; padding: 80px 0 110px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange-2); }
.hero p { font-size: 1.2rem; max-width: 560px; color: #F5EDE3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__badge { position: relative; justify-self: center; width: min(340px, 80%); aspect-ratio: 1; display: grid; place-items: center; }
.hero__badge .rays { inset: -30%; }
.hero__badge .luch-logo { position: relative; width: 78%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(2deg); } }
.hero__facts { position: relative; z-index: 2; background: var(--brown); color: #fff; }
.hero__facts ul { list-style: none; margin: 0 auto; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hero__facts b { display: block; font-family: var(--font-h); font-size: 1.9rem; color: var(--orange-2); }
.hero__facts span { color: #E9DCCB; font-size: .95rem; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding: 56px 0 110px; }
  .hero__badge { display: none; }
  .hero__facts ul { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- секции-полосы (potato-4) ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
main { overflow-x: clip; }
.section--white { background: #fff; }
.section--pattern { background: var(--cream) var(--potato-pattern); }
.section--green { background: var(--green); color: #EAF3EC; }
.section--green h2, .section--green h3 { color: #fff; }
.section--green .eyebrow { color: #FFD08F; }
.section--sand { background: var(--sand); }
.section--brown { background: var(--brown); color: #F3E9DD; }
.section--brown h2, .section--brown h3 { color: #fff; }
.section__head { margin-bottom: 40px; }
.section__head.center { max-width: 760px; margin-inline: auto; margin-bottom: 44px; }

/* ---------- о хозяйстве ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__media .circle { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 75% 50%; border: 10px solid #fff; box-shadow: var(--shadow); }
.about__media .rays { inset: -18%; z-index: -1; }
.about__media .mini { position: absolute; right: -10px; bottom: -6px; width: 42%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 8px solid #fff; box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 22px; height: 22px; border-radius: 50%; background: var(--green-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__media { max-width: 420px; margin: 0 auto; } }

/* ---------- фото-карточки (Green Farm Seeds) ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card-photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; z-index: -2; transition: transform .6s; }
.card-photo:hover img { transform: scale(1.05); }
.card-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 22, 40, .78) 0%, rgba(20, 22, 40, .15) 60%); }
.card-photo__body { padding: 28px; }
.card-photo h3 { color: #fff; font-size: 1.7rem; margin-bottom: .3em; }
.card-photo p { margin: 0 0 14px; color: #F0E8DE; max-width: 420px; }
.card-photo .icon { position: absolute; top: 18px; right: 18px; width: 64px; height: 44px; border-radius: 999px; display: grid; place-items: center; font-size: 1.4rem; }
.icon--lime { background: var(--green-l); }
.icon--orange { background: var(--orange); }
.icon--green { background: var(--green); }
.icon--peach { background: var(--peach); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card-photo { min-height: 280px; } }

/* ---------- шаги (Growgarden) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 0 0 24px; box-shadow: var(--shadow-s); text-align: left; position: relative; overflow: hidden; }
.step__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: right bottom; }
.step__num { position: relative; width: 52px; height: 52px; margin: -26px 0 10px 18px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 700 1.4rem var(--font-h); border: 4px solid #fff; box-shadow: var(--shadow-s); }
.step h3 { font-size: 1.1rem; color: var(--green); padding: 0 18px; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; padding: 0 18px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- новые сорта (Potato: коричневая плашка с карточками) ---------- */
.variety-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vcard { background: #fff; color: var(--text); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; transition: transform .2s; }
.vcard:hover { transform: translateY(-4px); color: var(--text); }
.vcard__img { aspect-ratio: 4 / 3; object-fit: cover; object-position: right bottom; width: 100%; }
.vcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.vcard__code { font-family: var(--font-h); font-weight: 700; font-size: 1.35rem; color: var(--navy); }
.vcard__tag { color: var(--orange-d); font-weight: 800; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { background: var(--peach-l); color: var(--brown); border-radius: 999px; padding: .2em .75em; font-size: .82rem; font-weight: 700; }
.chip--red { background: #F9D9D6; color: #8A2B22; }
.chip--yellow { background: #FBEFC5; color: #7A5A0B; }
.chip--green { background: #DDEFD3; color: var(--green-d); }
.chip--fntp { background: var(--navy); color: #fff; cursor: help; }
@media (max-width: 980px) { .variety-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .variety-strip { grid-template-columns: 1fr; } }

/* ---------- цифры с выносками (potato-4) ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.numbers b { display: block; font-family: var(--font-h); font-size: clamp(2rem, 4vw, 3rem); color: #fff; font-weight: 500; }
.numbers span { color: #CFE5D4; }
.numbers > div { position: relative; padding-top: 22px; }
.numbers > div::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 16px; background: rgba(255, 255, 255, .5); }
@media (max-width: 700px) { .numbers { grid-template-columns: repeat(2, 1fr); } }

/* ---------- призыв к конкурсу ---------- */
.cta-vote { position: relative; overflow: hidden; border-radius: 32px; background: var(--orange); color: #fff; padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center; box-shadow: var(--shadow); }
.cta-vote .rays { background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .22) 0 7deg, transparent 7deg 18deg); inset: -60% -60% -60% 30%; }
.cta-vote h2 { color: #fff; }
.cta-vote p { color: #FFF3E6; font-size: 1.15rem; max-width: 620px; }
.cta-vote__img { position: relative; justify-self: center; width: 220px; }
.cta-vote__img .luch-logo { filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .25)); animation: bob 5s ease-in-out infinite; }
@media (max-width: 760px) { .cta-vote { grid-template-columns: 1fr; } .cta-vote__img { width: 150px; order: -1; } }

/* ---------- подвал ---------- */
.footer { background: var(--navy); color: #C9CBDB; position: relative; overflow: hidden; padding-top: 64px; }
.footer__rays { position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; background: repeating-conic-gradient(rgba(242, 140, 40, .12) 0 7deg, transparent 7deg 18deg); border-radius: 50%; }
.footer h3 { color: #fff; font-size: 1.05rem; }
.footer a { color: #FFD08F; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1.9fr .7fr; gap: 36px; padding-bottom: 40px; font-size: .95rem; }
.footer__brand .luch-logo { width: 96px; margin-bottom: 12px; }
.footer__nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.req { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.req { font-size: .88rem; }
.req dt { color: #8F92AB; white-space: nowrap; }
.req dd { margin: 0; color: #E4E5EE; word-break: break-word; }
.footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 26px; font-size: .85rem; color: #8F92AB; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- заголовок внутренних страниц ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: clamp(48px, 7vw, 84px) 0; }
.page-hero .rays { inset: -120% -40% -120% 40%; background: repeating-conic-gradient(rgba(242, 140, 40, .35) 0 7deg, transparent 7deg 18deg); }
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { position: relative; max-width: 720px; font-size: 1.15rem; color: #E3F0E6; margin: 0; }
.page-hero .eyebrow { position: relative; color: #FFD08F; }
.page-hero--brown { background: var(--brown); }

/* ---------- формы ---------- */
.panel { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-s); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; color: var(--navy); }
.input { width: 100%; font: inherit; padding: .75em 1em; border-radius: var(--radius-s); border: 2px solid var(--line); background: #FFFDF9; color: var(--text); transition: border-color .15s; }
.input:focus { outline: none; border-color: var(--orange); }
.input.is-ok { border-color: var(--green-l); }
.input.is-bad { border-color: #D2483A; }
.hint { font-size: .88rem; color: var(--muted); }
.hint.bad { color: #B3392C; }
.hint.ok { color: var(--green); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: .35em; width: 18px; height: 18px; accent-color: var(--green); }
.hp { position: absolute; left: -5000px; }
.alert { padding: 14px 18px; border-radius: var(--radius-s); margin-bottom: 18px; font-weight: 600; }
.alert--ok { background: #E3F2DA; color: var(--green-d); }
.alert--bad { background: #FBE1DD; color: #8A2B22; }
.alert--info { background: var(--peach-l); color: var(--brown); }

/* ---------- конкурс ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; position: relative; max-width: 720px; }
.page-hero .counters-intro { margin-top: 26px; font-size: 1.05rem; font-style: italic; color: rgba(255, 255, 255, .9); }
.page-hero .counters-intro + .counters { margin-top: 12px; }
.page-hero .counters-cta { margin-top: 18px; font-size: 1rem; color: #E3F0E6; }
.counters-cta a { color: #FFD08F; font-weight: 800; white-space: nowrap; }
.counters-cta a:hover { color: #fff; }
.counter { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-s); padding: 14px 16px; }
.counter b { display: block; font-family: var(--font-h); font-size: 2rem; color: #FFD08F; line-height: 1.1; }
.counter span { font-size: .9rem; color: #E3F0E6; }
@media (max-width: 560px) { .counters { grid-template-columns: 1fr 1fr; } .counter b { font-size: 1.6rem; } }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 24px); }
.tl { text-align: center; padding: 0 12px; position: relative; }
.tl__dot { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.8rem; background: #fff; border: 4px solid var(--peach); position: relative; box-shadow: var(--shadow-s); }
.tl.is-now .tl__dot { border-color: var(--orange); background: var(--orange); color: #fff; box-shadow: 0 0 0 8px rgba(242, 140, 40, .2); }
.tl.is-done .tl__dot { border-color: var(--green-l); background: var(--green-l); }
.tl h3 { font-size: 1.05rem; margin-bottom: .3em; }
.tl p { font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline::before { left: 34px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 14px, transparent 14px 24px); }
  .tl { display: grid; grid-template-columns: 72px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .tl__dot { grid-row: span 2; margin: 0; }
}

.prize { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--brown); color: #F3E9DD; border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); }
.prize__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 2.8rem; box-shadow: 0 0 0 10px rgba(242, 140, 40, .25); }
.prize h3 { color: #FFD08F; }
.prize p { margin: 0; }
@media (max-width: 560px) { .prize { grid-template-columns: 1fr; text-align: center; } .prize__icon { margin: 0 auto; } }

.vdetail { display: grid; grid-template-columns: 300px 1fr; gap: 28px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); margin-bottom: 22px; }
.vdetail__img { position: relative; background: var(--sand); min-height: 260px; }
.vdetail__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; cursor: zoom-in; }
.vdetail__body { padding: 24px 28px 24px 0; }
.vdetail h3 { font-size: 1.5rem; margin-bottom: .2em; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; margin: 14px 0 0; font-size: .92rem; }
.spec div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; }
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; color: var(--green); font-weight: 800; }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .vdetail { grid-template-columns: 1fr; } .vdetail__body { padding: 0 20px 22px; } .vdetail__img { min-height: 300px; } .spec { grid-template-columns: 1fr; } }

.propose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.propose { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-s); border-top: 6px solid var(--orange); }
.propose[data-color="red"] { border-top-color: #C8453A; }
.propose[data-color="yellow"] { border-top-color: #E8B630; }
.propose__head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.propose__head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.propose__head h3 { margin: 0; }
.name-row { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; margin-bottom: 8px; }
.name-row > span { font-weight: 800; color: var(--muted); padding-top: .75em; text-align: center; }
.mine { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.mine li { background: #E3F2DA; color: var(--green-d); border-radius: 999px; padding: .25em .8em; font-weight: 700; font-size: .9rem; }
@media (max-width: 860px) { .propose-grid { grid-template-columns: 1fr; } }

.ballot-group { margin-bottom: 26px; }
.ballot-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ballot-item input { position: absolute; opacity: 0; pointer-events: none; }
.ballot-item span { display: inline-block; padding: .5em 1.1em; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 700; cursor: pointer; transition: .15s; user-select: none; }
.ballot-item span:hover { border-color: var(--orange); }
.ballot-item input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; }
.ballot-item input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.ballot-bar { position: sticky; bottom: 12px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy); color: #fff; border-radius: 999px; padding: 10px 12px 10px 24px; box-shadow: var(--shadow); margin-top: 20px; }
.ballot-bar b { color: #FFD08F; font-size: 1.2rem; }

.winners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.winner { background: #fff; border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-s); }
.winner b { display: block; font-family: var(--font-h); font-size: 1.6rem; color: var(--orange-d); margin: 6px 0; }
@media (max-width: 860px) { .winners { grid-template-columns: 1fr 1fr; } }

/* ---------- галерея ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters button { font: 700 .95rem var(--font); border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: .5em 1.2em; cursor: pointer; color: var(--navy); }
.filters button.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.masonry { columns: 4 260px; column-gap: 16px; }
.tile { break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius-s); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-s); }
.tile button.open { display: block; padding: 0; border: 0; background: none; width: 100%; cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform .4s; }
.tile:hover img { transform: scale(1.03); }
.tile .play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.tile .play::before { content: "▶"; width: 64px; height: 64px; border-radius: 50%; background: rgba(242, 140, 40, .92); color: #fff; display: grid; place-items: center; font-size: 1.5rem; padding-left: 4px; box-shadow: var(--shadow); }
.like { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: .35em .85em; background: rgba(255, 255, 255, .92); color: var(--navy); font: 800 .92rem var(--font); cursor: pointer; box-shadow: var(--shadow-s); transition: transform .15s; }
.like:hover { transform: scale(1.06); }
.like svg { width: 18px; height: 18px; fill: none; stroke: #D2483A; stroke-width: 2.2; transition: .15s; }
.like.is-liked svg { fill: #D2483A; }
.like.pop svg { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.5); } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 18, 30, .94); display: none; align-items: center; justify-content: center; padding: 56px 60px; }
.lightbox.is-open { display: flex; }
.lightbox__media { max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.lightbox__media img, .lightbox__media video { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: var(--orange); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .like { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; width: auto; height: auto; border-radius: 999px; font-size: 1rem; background: #fff; color: var(--navy); padding: .45em 1.1em; }
.lightbox .like:hover { transform: translateX(-50%) scale(1.06); background: #fff; }
@media (max-width: 600px) { .lightbox { padding: 60px 8px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ---------- реестр ---------- */
.toolbar { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.toolbar select { appearance: none; background: #FFFDF9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2140' stroke-width='2'/%3E%3C/svg%3E") right 14px center/12px no-repeat; padding-right: 36px; }
@media (max-width: 900px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .input:first-child { grid-column: 1 / -1; } }
.table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { position: sticky; top: 0; background: var(--brown); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; white-space: nowrap; cursor: pointer; user-select: none; }
.table th[data-sort]::after { content: " ⇅"; opacity: .45; }
.table th.asc::after { content: " ▲"; opacity: 1; color: #FFD08F; }
.table th.desc::after { content: " ▼"; opacity: 1; color: #FFD08F; }
.table td { padding: 10px 14px; border-bottom: 1px solid #F1E8DA; vertical-align: top; }
.table tr:nth-child(even) td { background: #FFFBF5; }
.table td:first-child { font-weight: 800; color: var(--navy); }
.table td a { text-decoration: none; }
.table .sm { font-size: .82rem; color: var(--muted); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .15); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 20px; }
.pager button { min-width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 700 .95rem var(--font); cursor: pointer; color: var(--navy); }
.pager button.is-active { background: var(--orange); border-color: var(--orange); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
@media (max-width: 760px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 2px 0; background: none !important; }
  .table td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-weight: 600; }
  .table td:first-child { font-size: 1.1rem; }
}

/* ---------- админка ---------- */
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.admin-table tr.hidden-row td { opacity: .45; text-decoration: line-through; }
.admin-table tr.win td { background: #FFF1DD; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Логотип: SVG-картошка (app/logo.php) ---------- */
.luch-logo { display: block; width: 100%; height: auto; overflow: visible; }
.luch-logo * { transform-box: fill-box; transform-origin: center; }
.luch-logo .ll-potato { transform-origin: 50% 85%; transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.luch-logo .ll-rays { transform-box: view-box; transform-origin: 203px 195px; transition: transform 1.2s ease; }
.luch-logo .ll-beam { transition: filter .4s, opacity .4s; }
.luch-logo .ll-real, .luch-logo .ll-blush, .luch-logo .ll-grin, .luch-logo .ll-wink { opacity: 0; transition: opacity .35s ease; }
.luch-logo .ll-smile { transition: opacity .25s ease; }
.luch-logo .ll-outline { transition: stroke .45s ease; }
.luch-logo .ll-open { transition: transform .18s ease; }
.luch-logo .ll-brow { transition: transform .3s ease; }
.luch-logo .ll-eye-l .ll-eye { transition: transform .3s ease; }
.luch-logo .ll-leaf { transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }

/* моргание раз в несколько секунд, пока логотип в покое */
.luch-logo .ll-eye { animation: ll-blink 6.5s infinite; }
@keyframes ll-blink { 0%, 95.5%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.08); } }

/* радость: при наведении (на сам логотип, ссылку с ним или его блок) и по классу .is-happy (касание, авто-подмигивание) */
.luch-logo:hover .ll-potato,
a:hover > .luch-logo .ll-potato,
a:focus-visible > .luch-logo .ll-potato,
.hero__badge:hover .luch-logo .ll-potato,
.cta-vote__img:hover .luch-logo .ll-potato,
.footer__brand:hover .luch-logo .ll-potato,
.luch-logo.is-happy .ll-potato { transform: translateY(-3%) rotate(-4deg) scale(1.04); }
.luch-logo:hover .ll-rays,
a:hover > .luch-logo .ll-rays,
a:focus-visible > .luch-logo .ll-rays,
.hero__badge:hover .luch-logo .ll-rays,
.cta-vote__img:hover .luch-logo .ll-rays,
.footer__brand:hover .luch-logo .ll-rays,
.luch-logo.is-happy .ll-rays { transform: rotate(9deg); }
.luch-logo:hover .ll-beam,
a:hover > .luch-logo .ll-beam,
a:focus-visible > .luch-logo .ll-beam,
.hero__badge:hover .luch-logo .ll-beam,
.cta-vote__img:hover .luch-logo .ll-beam,
.footer__brand:hover .luch-logo .ll-beam,
.luch-logo.is-happy .ll-beam { filter: brightness(1.12) saturate(1.2); }
.luch-logo:hover .ll-real,
a:hover > .luch-logo .ll-real,
a:focus-visible > .luch-logo .ll-real,
.hero__badge:hover .luch-logo .ll-real,
.cta-vote__img:hover .luch-logo .ll-real,
.footer__brand:hover .luch-logo .ll-real,
.luch-logo.is-happy .ll-real { opacity: 1; }
.luch-logo:hover .ll-blush,
a:hover > .luch-logo .ll-blush,
a:focus-visible > .luch-logo .ll-blush,
.hero__badge:hover .luch-logo .ll-blush,
.cta-vote__img:hover .luch-logo .ll-blush,
.footer__brand:hover .luch-logo .ll-blush,
.luch-logo.is-happy .ll-blush { opacity: .5; }
.luch-logo:hover .ll-outline,
a:hover > .luch-logo .ll-outline,
a:focus-visible > .luch-logo .ll-outline,
.hero__badge:hover .luch-logo .ll-outline,
.cta-vote__img:hover .luch-logo .ll-outline,
.footer__brand:hover .luch-logo .ll-outline,
.luch-logo.is-happy .ll-outline { stroke: #5B3B22; }
.luch-logo:hover .ll-leaf,
a:hover > .luch-logo .ll-leaf,
a:focus-visible > .luch-logo .ll-leaf,
.hero__badge:hover .luch-logo .ll-leaf,
.cta-vote__img:hover .luch-logo .ll-leaf,
.footer__brand:hover .luch-logo .ll-leaf,
.luch-logo.is-happy .ll-leaf { transform: rotate(-8deg) scale(1.08); }
.luch-logo:hover .ll-eye,
a:hover > .luch-logo .ll-eye,
a:focus-visible > .luch-logo .ll-eye,
.hero__badge:hover .luch-logo .ll-eye,
.cta-vote__img:hover .luch-logo .ll-eye,
.footer__brand:hover .luch-logo .ll-eye,
.luch-logo.is-happy .ll-eye { animation: none; }
.luch-logo:hover .ll-open,
a:hover > .luch-logo .ll-open,
a:focus-visible > .luch-logo .ll-open,
.hero__badge:hover .luch-logo .ll-open,
.cta-vote__img:hover .luch-logo .ll-open,
.footer__brand:hover .luch-logo .ll-open,
.luch-logo.is-happy .ll-open { transform: scaleY(.06); }
.luch-logo:hover .ll-wink,
a:hover > .luch-logo .ll-wink,
a:focus-visible > .luch-logo .ll-wink,
.hero__badge:hover .luch-logo .ll-wink,
.cta-vote__img:hover .luch-logo .ll-wink,
.footer__brand:hover .luch-logo .ll-wink,
.luch-logo.is-happy .ll-wink { opacity: 1; transition-delay: .08s; }
.luch-logo:hover .ll-eye-r .ll-brow,
a:hover > .luch-logo .ll-eye-r .ll-brow,
a:focus-visible > .luch-logo .ll-eye-r .ll-brow,
.hero__badge:hover .luch-logo .ll-eye-r .ll-brow,
.cta-vote__img:hover .luch-logo .ll-eye-r .ll-brow,
.footer__brand:hover .luch-logo .ll-eye-r .ll-brow,
.luch-logo.is-happy .ll-eye-r .ll-brow { transform: translateY(-6%) rotate(6deg); }
.luch-logo:hover .ll-eye-l .ll-brow,
a:hover > .luch-logo .ll-eye-l .ll-brow,
a:focus-visible > .luch-logo .ll-eye-l .ll-brow,
.hero__badge:hover .luch-logo .ll-eye-l .ll-brow,
.cta-vote__img:hover .luch-logo .ll-eye-l .ll-brow,
.footer__brand:hover .luch-logo .ll-eye-l .ll-brow,
.luch-logo.is-happy .ll-eye-l .ll-brow { transform: translateY(-14%); }
.luch-logo:hover .ll-eye-l .ll-eye,
a:hover > .luch-logo .ll-eye-l .ll-eye,
a:focus-visible > .luch-logo .ll-eye-l .ll-eye,
.hero__badge:hover .luch-logo .ll-eye-l .ll-eye,
.cta-vote__img:hover .luch-logo .ll-eye-l .ll-eye,
.footer__brand:hover .luch-logo .ll-eye-l .ll-eye,
.luch-logo.is-happy .ll-eye-l .ll-eye { transform: scale(1.1); }
.luch-logo:hover .ll-smile,
a:hover > .luch-logo .ll-smile,
a:focus-visible > .luch-logo .ll-smile,
.hero__badge:hover .luch-logo .ll-smile,
.cta-vote__img:hover .luch-logo .ll-smile,
.footer__brand:hover .luch-logo .ll-smile,
.luch-logo.is-happy .ll-smile { opacity: 0; }
.luch-logo:hover .ll-grin,
a:hover > .luch-logo .ll-grin,
a:focus-visible > .luch-logo .ll-grin,
.hero__badge:hover .luch-logo .ll-grin,
.cta-vote__img:hover .luch-logo .ll-grin,
.footer__brand:hover .luch-logo .ll-grin,
.luch-logo.is-happy .ll-grin { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .luch-logo *, .luch-logo .ll-eye { animation: none !important; transition-duration: .01s !important; }
}
