:root {
  --soil-950: #0b0b05;
  --soil-900: #111108;
  --soil-800: #1c1c0e;
  --milk: #fffff2;
  --straw: #d1c4a5;
  --forest: #31542c;
  --leaf: #4e6a31;
  --gold: #c69d32;
  --gold-light: #e7c25e;
  --danger: #cb5b4d;
  --glass: rgba(28, 28, 14, 0.67);
  --border: rgba(209, 196, 165, 0.16);
  --border-gold: rgba(231, 194, 94, 0.38);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--gold) var(--soil-950); scrollbar-width: thin; }
body { margin: 0; background: var(--soil-950); color: var(--milk); font-family: "Inter", sans-serif; line-height: 1.6; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: #080804; }
body::-webkit-scrollbar-thumb { background: var(--gold); border: 3px solid #080804; border-radius: 12px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--soil-950); }

/* Circular spotlight mask following cursor with gold + soft green tint */
.cursor-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  background: radial-gradient(560px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(231, 194, 94, 0.27) 0%, rgba(198, 157, 50, 0.15) 30%, rgba(78, 120, 55, 0.06) 55%, transparent 75%);
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

/* Smooth reveal animation for blocks on scroll */
.reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.985);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 200; background: var(--gold-light); color: #0b0b05; padding: .7rem 1rem; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.glass { background: var(--glass); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 27px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { margin-top: 0; font-family: "Outfit", "Montserrat", "Inter", sans-serif; }
p { margin-top: 0; }
h2 { margin-bottom: .8rem; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: .98; letter-spacing: -.035em; }
h2 em { color: var(--gold-light); font-weight: 600; font-style: normal; }

/* Sections share unified background with soft subtle radial glows for seamless transitions */
.section { position: relative; padding: 3.5rem max(1.25rem, calc((100vw - var(--max)) / 2)); overflow: hidden; scroll-margin-top: 90px; background: var(--soil-950); }
.section-heading { max-width: 760px; margin-bottom: 1.6rem; }
.section-heading p { margin: 0.5rem 0 0; max-width: 660px; color: var(--straw); font-size: 1.05rem; }

.site-header { position: fixed; z-index: 100; top: 1rem; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; width: min(calc(100% - 2rem), 1300px); min-height: 72px; padding: .55rem .7rem .55rem .65rem; border: 1px solid rgba(209,196,165,.2); border-radius: 18px; background: rgba(11,11,5,.78); box-shadow: 0 12px 50px rgba(0,0,0,.35); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: top .3s, background .3s, box-shadow .3s; }
.site-header.scrolled { top: .5rem; background: rgba(11,11,5,.92); box-shadow: 0 10px 38px rgba(0,0,0,.55); }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--milk); text-decoration: none; }
.brand > img { width: 50px; height: 50px; object-fit: contain; border-radius: 50%; background: #fff; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { margin: 0; font-size: .95rem; letter-spacing: .03em; }
.brand-copy small { margin: .13rem 0 0; color: var(--straw); font-size: .58rem; line-height: 1.08; letter-spacing: .03em; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.desktop-nav a { position: relative; color: rgba(255,255,242,.76); font-size: .82rem; text-decoration: none; transition: color .25s; }
.desktop-nav a::after { content: ""; position: absolute; left: 50%; bottom: -.55rem; width: 0; height: 1px; background: var(--gold-light); transition: width .25s, left .25s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--milk); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { width: 100%; left: 0; }
.menu-toggle, .mobile-menu { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border: 1px solid transparent; border-radius: 999px; padding: .82rem 1.35rem; color: var(--milk); text-decoration: none; cursor: pointer; font-weight: 700; line-height: 1; white-space: nowrap; flex-shrink: 0; transition: transform .25s, background .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.btn-small { padding: .8rem 1.2rem; font-size: .78rem; }
.btn-large { min-height: 55px; padding-inline: 1.7rem; }
.btn-gold { background: var(--gold); color: #181306; box-shadow: 0 10px 32px rgba(198,157,50,.25); }
.btn-gold:hover { transform: translateY(-2px) scale(1.025); box-shadow: 0 16px 42px rgba(198,157,50,.38); }
.btn-green { border-color: rgba(126,165,90,.35); background: rgba(49,84,44,.5); backdrop-filter: blur(10px); }
.btn-green:hover { background: rgba(78,106,49,.7); border-color: rgba(231,194,94,.32); }

.hero {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 100 / 60.26;
  min-height: 560px;
  padding: 0;
  isolation: isolate;
  background-color: #d4eea7;
  /* левый край шапки — общая вертикаль для hero */
  --hdr: max(1rem, calc((100vw - 1300px) / 2));
  /* картинка расширена слева на 30%; сдвигаем её так, чтобы поле макета (6.28%) легло на --hdr */
  --bgx: max(-30vw, calc(var(--hdr) - 36.28vw));
  background-image: url("assets/hero-bg-wide.png");
  background-position: var(--bgx) top;
  background-size: 130vw auto;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* мягкий уход в фон сайта снизу + лёгкая маска справа */
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to left, rgba(11,11,5,.78) 0%, rgba(11,11,5,.66) 8%, rgba(11,11,5,.5) 16%, rgba(11,11,5,.32) 25%, rgba(11,11,5,.16) 34%, rgba(11,11,5,.05) 43%, transparent 52%),
    linear-gradient(to top, rgba(11,11,5,1) 0%, rgba(11,11,5,.96) 4%, rgba(11,11,5,.74) 9%, rgba(11,11,5,.42) 14%, rgba(11,11,5,.18) 19%, rgba(11,11,5,.05) 24%, transparent 30%);
}
.hero-overlay { display: none; }

/* координатная сетка = кадр фоновой картинки (16:9), проценты сняты с макета */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-align: left;
  text-shadow: none;
}
.hero-eyebrow { display: none; }

.hero h1 {
  position: absolute;
  left: calc(var(--bgx) + 36.28vw);
  top: 10.98vw;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 4.2vw;
  font-weight: 800;
  color: #124a19;
  line-height: 0.94;
  letter-spacing: -0.028em;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.hero h1 > span,
.hero h1 em {
  display: block;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  font-style: normal;
  letter-spacing: inherit;
  text-transform: none;
}
.hero-content > p {
  position: absolute;
  left: calc(var(--bgx) + 36.28vw);
  top: 21.94vw;
  width: 53%;
  margin: 0;
  color: #0d3d15;
  font-family: "Inter", sans-serif;
  font-size: 1.32vw;
  font-weight: 500;
  line-height: 1.25;
  text-shadow: none;
}
.hero-badge-wrap {
  position: absolute;
  left: calc(var(--bgx) + 36.28vw);
  top: 27.40vw;
}
.hero-badge-green {
  display: inline-flex;
  align-items: center;
  background-color: #4a922c !important;
  color: #ffffff !important;
  font-family: "Inter", sans-serif;
  font-size: 0.95vw;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55em 1.05em;
  line-height: 1;
  border-radius: 4px;
  border: none !important;
  box-shadow: 0 4px 15px rgba(73, 136, 36, 0.35);
}
/* кнопки: левый край в одну линию с заголовком, низ — над линией горизонта */
.hero-actions {
  position: absolute;
  left: calc(var(--bgx) + 36.28vw);
  top: 32.97vw;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1vw;
}
.hero-actions .btn {
  font-family: "Inter", sans-serif;
  font-size: 1.05vw;
  padding: 1.05em 1.7em;
  min-height: 0;
  border-radius: 999px;
}
/* дата и место — на тёмном холме, как в макете */
.hero-date-address {
  position: absolute;
  left: calc(var(--bgx) + 64.90vw);
  top: 46.75vw;
  margin-top: 1.1rem;
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--straw);
}
.hero-date-text { color: #FFFFFF !important; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: .04em; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-address-text { color: #FFFFFF !important; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: 0.95; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }

.hero-fields { position: absolute; z-index: -1; left: 0; right: 0; bottom: -4px; display: grid; grid-template-columns: repeat(5, 1fr); height: 12vh; opacity: .42; transform: perspective(420px) rotateX(56deg); transform-origin: bottom; }
.hero-fields span { border: 1px solid rgba(231,194,94,.2); background: linear-gradient(145deg, rgba(49,84,44,.2), rgba(198,157,50,.12)); }

/* Section: Who We Wait */
.who-we-wait { padding-top: 1.5rem; }
.who-shell { padding: clamp(1.5rem, 2.8vw, 2.4rem); border-radius: var(--radius-lg); background: rgba(22, 22, 11, 0.7); border: 1px solid rgba(231, 194, 94, 0.22); }
.who-heading h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 0.85rem; font-family: "Outfit", "Montserrat", "Inter", sans-serif; font-size: clamp(1.8rem, 3.8vw, 3.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1.2rem; color: var(--milk); }
.badge-yellow { 
  font-family: inherit !important; 
  font-size: inherit !important; 
  font-weight: inherit !important; 
  line-height: inherit !important; 
  padding: 0.1em 0.65em !important; 
  border-radius: 999px !important; 
  display: inline-flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  vertical-align: middle !important; 
  white-space: nowrap !important;
  border: 1.5px solid rgba(217, 119, 6, 0.65) !important; 
  background: rgba(231, 194, 94, 0.28) !important; 
  box-shadow: 0 0 45px 18px rgba(231, 194, 94, 0.55), 0 0 90px 35px rgba(231, 194, 94, 0.35) !important; 
  color: #fffae6 !important; 
  text-shadow: 0 0 16px rgba(231, 194, 94, 0.8) !important; 
  backdrop-filter: blur(14px) !important; 
  -webkit-backdrop-filter: blur(14px) !important; 
}
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.who-card { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.1rem 1.3rem; border-radius: 16px; background: #14140c; border: 1px solid rgba(209, 196, 165, 0.12); transition: border-color .25s, transform .25s; }
.who-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.who-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(231, 194, 94, 0.14); color: var(--gold-light); font-size: 1.15rem; }
.who-info h3 { margin: 0 0 .25rem; font-family: "Outfit", "Montserrat", "Inter", sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--milk); }
.who-info p { margin: 0; color: var(--straw); font-size: .86rem; line-height: 1.42; }

.opportunities { background: var(--soil-950); }
.field-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
.field-card { position: relative; aspect-ratio: 1; min-width: 0; border-radius: 8px; overflow: hidden; }
.field-card.track { cursor: pointer; overflow: visible; perspective: 900px; }
.field-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.75,.2,1); }
.track:hover .field-card-inner, .track:focus .field-card-inner, .track.is-flipped .field-card-inner { transform: rotateY(180deg); }
.field-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(1rem, 2vw, 1.75rem); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.field-front { color: #fff; background: #1C4D2B; }
.acc-yellow .field-front { color: #fff; background: #B9892F; }
.acc-brown .field-front { color: #fff; background: #2E2315; }
.field-front::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(92deg, rgba(255,255,255,0) 0 18px, rgba(64,137,69,.6) 24px); z-index: 1; }
.acc-yellow .field-front::before { background: repeating-linear-gradient(93deg, rgba(255,255,255,0) 0 3px, rgba(156,114,42,.85) 3px 5px); }
.acc-brown .field-front::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 12px, rgba(61,47,28,.5) 18px); }
.field-front > span { display: none; }
.field-front > i, .field-front > .cabbage-icon { position: relative; z-index: 2; margin-bottom: auto; color: #fff; font-size: 1.55rem; }
.field-front h3 { position: relative; z-index: 2; margin: 0; font-family: "Outfit", "Montserrat", "Inter", sans-serif; font-size: clamp(1.15rem, 1.8vw, 1.65rem); line-height: 1.05; }
.field-back { transform: rotateY(180deg); justify-content: center; color: #fff; background: #1C4D2B; box-shadow: inset 0 0 45px rgba(0,0,0,.18); z-index: 2; }
.acc-yellow .field-back { color: #fff; background: #B9892F; }
.acc-brown .field-back { color: #fff; background: #2E2315; }
.field-back h3 { margin: 0 0 .5rem; font-family: "Inter", sans-serif; font-size: clamp(1.1rem, 1.55vw, 1.45rem); line-height: 1.12; }
.field-back p { margin: 0; color: rgba(255,255,242,.85); font-size: clamp(.76rem, 1vw, .9rem); line-height: 1.4; }
.download-link { display: inline-block; margin-top: .6rem; color: #fff; font-size: .72rem; font-weight: 700; line-height: 1.25; text-underline-offset: 3px; }

/* Non-clickable filler squares matching the three functional color schemes */
.land { border: 1px solid var(--border); border-radius: 8px; opacity: 1; }
.land-green { background: #1C4D2B; }
.land-wheat { background: #B9892F; }
.land-earth { background: #2E2315; }
.land-furrows { background: #1C4D2B; }

/* Tractor Drive Section */
.tractor-drive { margin-top: 3.8rem; padding: clamp(1.5rem, 2.8vw, 2.4rem); border-radius: var(--radius-lg); }
.tractor-header { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; margin-bottom: 1.2rem; }
.tractor-header h3 { margin: 0; font-family: "Inter", sans-serif; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.05; }
.tractor-desc { margin: .2rem 0 0; color: var(--straw); font-size: .95rem; text-align: left; }
.road-wrap { position: relative; margin: 2rem 1rem 1.8rem; }
.road { position: relative; height: 130px; }
.road-line { position: absolute; left: 2%; right: 2%; top: 50%; height: 2px; border-top: 2px dashed rgba(231,194,94,.42); transform: translateY(-50%); }

/* Tractor starts on the dashed line, then the checkpoints are spaced after it */
.tractor { position: absolute; z-index: 4; left: 5%; top: 50%; width: clamp(90px, 8.5vw, 120px); transform: translate(-50%, -100%); transition: left .85s cubic-bezier(.2,.85,.25,1); }
.tractor-image { width: 100%; height: auto; filter: drop-shadow(0 12px 18px rgba(0,0,0,.7)); }
.tractor-smoke { position: absolute; right: 12%; top: 4%; color: rgba(255,255,242,.45); font-size: 1.1rem; opacity: 0; transform: scale(.6); }
.tractor.is-moving .tractor-smoke { animation: smokeUp .8s ease-out; }
@keyframes smokeUp { 0% { opacity: .7; transform: translate(0,0) scale(.7); } 100% { opacity: 0; transform: translate(16px, -24px) scale(1.6); } }

.checkpoint { position: absolute; z-index: 3; left: var(--cp-left); top: 50%; display: flex; flex-direction: column; align-items: center; gap: .35rem; border: 0; background: transparent; color: var(--milk); cursor: pointer; transform: translate(-50%, -50%); }
.checkpoint > i { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border-gold); border-radius: 50%; color: var(--gold-light); background: rgba(11,11,5,.92); font-size: 1.05rem; transition: transform .25s, background .25s, color .25s; }
.checkpoint:hover > i { transform: scale(1.15); border-color: var(--gold-light); }
.checkpoint.is-collected > i { color: #111108; background: var(--gold-light); box-shadow: 0 0 25px rgba(231,194,94,.65); }
.checkpoint span { color: var(--straw); font-size: .75rem; text-align: center; line-height: 1.25; }
.tractor-status { display: flex; flex-direction: column; gap: .35rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--straw); font-size: .88rem; text-align: left; }
.tractor-status strong { color: var(--gold-light); font-size: 1rem; }

/* Schedule Section */
.schedule { background: var(--soil-950); }
.schedule-shell { padding: clamp(1.5rem, 2.5vw, 2.4rem); border-radius: var(--radius-lg); background: linear-gradient(155deg, rgba(28,28,14,.85), rgba(11,11,5,.92)); border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,.35); }

.day-tabs { display: flex; gap: .6rem; margin-bottom: 1.5rem; }
.day-tab { padding: .75rem 1.4rem; border: 1px solid var(--border); border-radius: 999px; color: var(--straw); background: rgba(255,255,242,.03); cursor: pointer; font-size: .88rem; font-weight: 700; transition: .25s; }
.day-tab:hover { border-color: var(--border-gold); color: var(--milk); }
.day-tab.is-active { border-color: var(--gold-light); color: #111108; background: var(--gold-light); box-shadow: 0 8px 24px rgba(231,194,94,.3); }

.day-panel { display: none; }
.day-panel.is-active { display: block; animation: panelIn .45s ease-out; }
.schedule-columns { display: flex; flex-direction: column; gap: 1.8rem; width: 100%; }
.timeline-columns { display: block; width: 100%; }
.timeline-column { width: 100%; max-width: 100%; }
.timeline { position: relative; width: 100%; }
.timeline::before { content: ""; position: absolute; left: 112px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), rgba(209,196,165,.15)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 2rem; padding: 0 0 1.4rem; }
.timeline-item::before { content: ""; position: absolute; left: 107px; top: .44rem; width: 11px; height: 11px; border: 2px solid var(--gold-light); border-radius: 50%; background: var(--soil-900); box-shadow: 0 0 12px rgba(231,194,94,.32); }
.timeline-time { color: var(--gold-light); font-size: .88rem; font-weight: 800; white-space: nowrap; text-align: left; }
.timeline-content { padding-bottom: 1.1rem; border-bottom: 1px solid rgba(209,196,165,.1); width: 100%; }
.timeline-content h4 { margin: -.15rem 0 .35rem; font-family: "Inter", sans-serif; font-size: 1.18rem; line-height: 1.2; color: var(--milk); }
.timeline-content p { margin: 0; color: rgba(209,196,165,.78); font-size: .86rem; line-height: 1.48; }
.timeline-loc { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .5rem; color: var(--gold-light); font-size: .8rem; font-weight: 700; }
.timeline-desc { color: rgba(209,196,165,.78); font-size: .88rem; line-height: 1.55; }

/* 5, 3 и 2 столбца для параллельных активностей */
.timeline-desc .halls-5col { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 0.8rem; }
.timeline-desc .halls-3col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 0.8rem; }
.timeline-desc .halls-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 0.8rem; }
.timeline-desc .hall-col { display: flex; flex-direction: column; gap: 0.85rem; height: 100%; position: relative; }
.timeline-desc .hall-col:not(:first-child) {
  border-left: 1px solid rgba(231, 194, 94, 0.22);
  padding-left: 0.95rem;
}

.timeline-desc .hall-card { display: flex; flex-direction: column; justify-content: space-between; padding: 0.85rem 0.95rem; border-radius: 12px; background: linear-gradient(145deg, rgba(255,255,242,.04), rgba(255,255,242,.02)); border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: transform 0.2s, border-color 0.2s; flex: 1 1 auto; height: 100%; }
.timeline-desc .hall-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.timeline-desc .hall-tag { color: var(--gold-light); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.25rem; }
.timeline-desc .hall-time { color: var(--gold-light); font-size: 0.76rem; font-weight: 700; margin-bottom: 0.4rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.timeline-desc .hall-title { color: var(--milk); font-size: 0.92rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.5rem; }
.timeline-desc .hall-desc { color: rgba(209,196,165,.78); font-size: 0.8rem; line-height: 1.45; margin-bottom: 0.5rem; }
.timeline-desc .hall-loc { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold-light); font-size: 0.75rem; font-weight: 700; margin-top: auto; }

/* Блок ВЕСЬ ДЕНЬ снизу на всю ширину */
.all-day-column { position: static; width: 100%; margin-top: 1.5rem; padding: 1.8rem; border-radius: var(--radius-lg); background: rgba(11,11,5,.42); border: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.all-day-column > .eyebrow { grid-column: 1 / -1; margin-bottom: 0.5rem; justify-self: start; color: var(--gold-light); }
.all-day-column article { display: flex; gap: 1rem; padding: 0; border-top: 0; }
.all-day-column article > i { flex: 0 0 37px; color: var(--gold-light); font-size: 1.35rem; }
.all-day-column h4 { margin: 0 0 .35rem; font-size: .95rem; color: var(--milk); }
.all-day-column p { margin: 0; color: rgba(209,196,165,.78); font-size: .8rem; line-height: 1.5; }
.timeline-wide { width: 100%; max-width: 100%; }

/* Light Theme Overrides */
html[data-theme="light"] .schedule-shell { background: #EFF8DF !important; border: 1.5px solid rgba(74, 146, 44, 0.25) !important; box-shadow: 0 10px 40px rgba(18, 74, 25, 0.05) !important; }
html[data-theme="light"] .day-tab.is-active { border-color: #124a19 !important; color: #FFFFFF !important; background: #124a19 !important; box-shadow: 0 8px 24px rgba(18, 74, 25, 0.25) !important; }
html[data-theme="light"] .timeline::before { background: linear-gradient(#124a19, rgba(18, 74, 25, 0.2)) !important; }
html[data-theme="light"] .timeline-item::before { border-color: #124a19 !important; background: #daa521 !important; }
html[data-theme="light"] .timeline-time { color: #124a19 !important; }
html[data-theme="light"] .timeline-content { border-bottom-color: rgba(18, 74, 25, 0.12) !important; }
html[data-theme="light"] .timeline-content h4 { color: #124a19 !important; }
html[data-theme="light"] .timeline-content p { color: #111108 !important; }
html[data-theme="light"] .timeline-loc { color: #daa521 !important; }
html[data-theme="light"] .timeline-desc { color: #111108 !important; }
html[data-theme="light"] .timeline-desc .hall-col:not(:first-child) { border-left-color: rgba(74, 146, 44, 0.28) !important; }
html[data-theme="light"] .hall-card { background: #FFFFFF !important; border: 1.5px solid rgba(74, 146, 44, 0.3) !important; box-shadow: 0 4px 12px rgba(18, 74, 25, 0.06) !important; }
html[data-theme="light"] .hall-card:hover { border-color: #124a19 !important; }
html[data-theme="light"] .hall-tag { color: #4E3319 !important; }
html[data-theme="light"] .hall-time { color: #124a19 !important; }
html[data-theme="light"] .hall-title { color: #124a19 !important; }
html[data-theme="light"] .hall-desc { color: #111108 !important; }
html[data-theme="light"] .hall-loc { color: #daa521 !important; }
html[data-theme="light"] .all-day-column { background: #FFFFFF !important; border: 1.5px solid rgba(74, 146, 44, 0.25) !important; }
html[data-theme="light"] .all-day-column > .eyebrow { color: #4E3319 !important; }
html[data-theme="light"] .all-day-column article > i { color: #124a19 !important; }
html[data-theme="light"] .all-day-column h4 { color: #124a19 !important; }
html[data-theme="light"] .all-day-column p { color: #111108 !important; }
.timeline-wide { width: 100%; max-width: 100%; }

@media (max-width: 1100px) {
  .timeline-desc .halls-5col { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .all-day-column { grid-template-columns: 1fr; }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

/* Speakers Section */
.speakers { background: var(--soil-950); }
.speaker-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
.speaker-card { min-width: 0; padding: 0.9rem 0.9rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: linear-gradient(155deg, rgba(28,28,14,.82), rgba(11,11,5,.9)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.speaker-card:hover { transform: translateY(-5px); border-color: var(--border-gold); box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.portrait-frame { aspect-ratio: 1; margin-bottom: 0.8rem; border: 1px solid rgba(231,194,94,.28); border-radius: 50%; overflow: hidden; background: #241f11; }
.portrait { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.06); transition: filter .35s, transform .55s; }
.speaker-card:hover .portrait { filter: saturate(1) contrast(1.03); transform: scale(1.035); }
.portrait-dorokhov { object-position: center 38%; }
.portrait-izmaylov { object-position: center center; }
.speaker-role { color: var(--gold-light); font-size: .58rem; font-weight: 700; letter-spacing: .13em; }
.speaker-card h3 { margin: .4rem 0 .55rem; font-family: "Inter", sans-serif; font-size: 1.3rem; line-height: 1.1; }
.speaker-card p { margin: 0; color: rgba(209,196,165,.72); font-size: .74rem; line-height: 1.48; }
.guest-silhouette { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(231,194,94,.18), transparent 20%), linear-gradient(145deg,#31542c,#172916); }
.guest-silhouette i { color: rgba(255,255,242,.45); font-size: 6rem; filter: drop-shadow(0 10px 30px rgba(0,0,0,.35)); }

/* Cow Game Section */
.cow-game { background: var(--soil-950); }
.game-shell { display: flex; flex-direction: column; min-height: auto; border-radius: var(--radius-lg); overflow: hidden; }
.game-top { display: grid; grid-template-columns: 1.15fr .85fr; border-bottom: 0; }
.cow-stage { position: relative; display: grid; place-items: center; min-height: 380px; padding: 1.8rem 1.2rem 1.2rem; border-right: 0; background: radial-gradient(circle, rgba(49,84,44,.22), transparent 58%), repeating-linear-gradient(0deg, transparent 0 39px, rgba(209,196,165,.03) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(209,196,165,.03) 40px); }

.case-badge { position: absolute; left: 1.2rem; top: 1rem; display: flex; gap: .5rem; align-items: center; color: var(--straw); font-size: .65rem; letter-spacing: .14em; }
.case-badge strong { color: var(--gold-light); font-size: .85rem; }
.cow-visual { position: relative; width: min(92%, 480px); aspect-ratio: 1.28; display: grid; place-items: center; margin-top: .3rem; }
.cow-image { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 25px rgba(0,0,0,.6)); transition: filter .35s, transform .35s; }
.cow-stage[data-state="correct"] .cow-image { filter: drop-shadow(0 0 28px rgba(111,205,103,.72)); transform: scale(1.015); }
.cow-stage[data-state="wrong"] .cow-image { filter: drop-shadow(0 0 28px rgba(203,91,77,.75)); }
.hotspot { position: absolute; z-index: 5; left: var(--x); top: var(--y); display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold-light); border-radius: 50%; color: var(--soil-950); background: var(--gold-light); box-shadow: 0 0 0 0 rgba(231,194,94,.55); cursor: pointer; transform: translate(-50%,-50%); transition: .25s; }
.hotspot span { font-size: .75rem; font-weight: 800; }
.hotspot.is-active { animation: hotspotPulse 1.8s infinite; }
.hotspot.is-complete { color: var(--milk); border-color: #75b770; background: #31542c; animation: none; }
.hotspot:disabled { color: rgba(255,255,242,.32); border-color: rgba(209,196,165,.28); background: #28281b; box-shadow: none; cursor: not-allowed; }
.sensor-legend { position: absolute; left: 1.2rem; bottom: .8rem; display: flex; gap: .9rem; color: rgba(209,196,165,.55); font-size: .62rem; }
.sensor-legend span { display: flex; align-items: center; gap: .35rem; }
.sensor-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
.sensor-legend span:last-child i { background: #3c3c2b; }
@keyframes hotspotPulse { 70% { box-shadow: 0 0 0 16px rgba(231,194,94,0); } 100% { box-shadow: 0 0 0 0 rgba(231,194,94,0); } }

.game-side-panel { padding: clamp(1.4rem, 2.5vw, 2rem); background: rgba(11,11,5,.42); display: flex; flex-direction: column; justify-content: center; }
.game-progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; color: var(--gold-light); font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.game-progress > div { display: flex; gap: .35rem; }
.game-progress i { width: 28px; height: 3px; border-radius: 4px; background: rgba(209,196,165,.15); }
.game-progress i.is-done { background: var(--gold-light); }

.sensor-title { display: flex; align-items: center; gap: .85rem; margin-bottom: .8rem; }
.sensor-title > i { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border-gold); border-radius: 50%; color: var(--gold-light); background: rgba(198,157,50,.08); flex: 0 0 40px; }
.sensor-title h3 { margin: 0; font-family: "Inter", sans-serif; font-size: 1.35rem; line-height: 1.15; }
.readings { padding: .85rem 1rem; border-left: 2px solid var(--gold); background: rgba(198,157,50,.06); color: var(--straw); font-size: .84rem; line-height: 1.45; }

/* Bottom Panel of Cow Game */
.game-bottom-panel { padding: clamp(1.4rem, 2.5vw, 2rem); background: rgba(14, 14, 7, 0.78); border-top: 0; }
.game-question { margin-bottom: 1rem; font-size: 1rem; font-weight: 700; color: var(--milk); }
.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.answer { width: 100%; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 12px; color: var(--milk); background: rgba(255,255,242,.035); cursor: pointer; text-align: left; font-size: .82rem; line-height: 1.4; transition: border-color .2s, background .2s, transform .2s; }
.answer:hover { border-color: var(--border-gold); background: rgba(198,157,50,.07); transform: translateY(-2px); }
.answer.is-correct { border-color: #6ba967; background: rgba(49,84,44,.36); }
.answer.is-wrong { border-color: var(--danger); background: rgba(203,91,77,.15); }
.answer:disabled { cursor: default; }
.feedback { margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; color: var(--straw); background: rgba(255,255,242,.04); font-size: .84rem; line-height: 1.45; }
.next-step { margin-top: .8rem; }
.case-solved { text-align: center; padding: 1.5rem 1rem; }
.case-solved > i { margin-bottom: .8rem; color: var(--gold-light); font-size: 3rem; }
.case-solved h3 { margin-bottom: .5rem; font-family: "Inter", sans-serif; font-size: 2rem; }
.case-solved p { color: var(--straw); }

/* Partners Section */
.partners { background: var(--soil-950); }
.partner-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .85rem; }
.partner-card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .6rem; min-height: 150px; padding: 1.2rem .8rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,242,.035); transition: transform .3s, border-color .3s, background .3s; }
.partner-card:hover { transform: translateY(-4px); border-color: var(--border-gold); background: rgba(255,255,242,.055); }
.partner-card img { max-width: 110px; max-height: 85px; object-fit: contain; margin-top: auto; margin-bottom: auto; }
.partner-card:nth-child(2) img, .partner-card:nth-child(4) img { filter: saturate(.8); }
.partner-card:nth-child(3) img,
[data-od-id="partner-ran"] img { width: 110px; margin-top: auto; margin-bottom: auto; transform: translateY(6px); }
.partner-decade .decade-logo-light { display: none; }
.partner-decade .decade-logo-dark { display: block; }
.partner-name { color: var(--milk); font-size: .88rem; font-weight: 700; text-align: center; line-height: 1.3; margin-top: auto; }

/* Footer Lead */
.footer { position: relative; padding: 3.5rem max(1.25rem,calc((100vw - var(--max))/2)) 2rem; background: linear-gradient(180deg, #0b0b05 0%, rgba(11,11,5,0) 150px), radial-gradient(circle at 15% 20%,rgba(49,84,44,.2),transparent 32%), var(--soil-950); }
.footer-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; padding-bottom: 2.5rem; }
.footer-lead-container { width: 100%; display: flex; justify-content: flex-start; }
.footer-lead { max-width: 580px; text-align: left; }
.footer-lead h2 { margin: .5rem 0 1.5rem; font-size: clamp(2.4rem,4.5vw,4.8rem); }

/* Scientific journal QR link */
.journal-qr { margin: 1.8rem 0 0; }
.journal-qr a { display: flex; align-items: center; gap: 1rem; max-width: 440px; padding: .8rem 1rem; border: 1px solid var(--border-gold); border-radius: 16px; background: rgba(255,255,242,.04); text-decoration: none; color: var(--milk); transition: border-color .25s, background .25s, transform .25s; }
.journal-qr a:hover { transform: translateY(-3px); border-color: var(--gold-light); background: rgba(198,157,50,.06); }
.journal-qr img { width: 88px; height: 88px; flex: 0 0 auto; padding: 5px; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.journal-qr span { font-size: .86rem; font-weight: 600; line-height: 1.35; }
.journal-qr em { color: var(--gold-light); font-style: normal; }
.contact-list { display: grid; gap: .7rem; }
.contact-list a { display: flex; align-items: center; gap: .85rem; padding: .95rem; border: 1px solid var(--border); border-radius: 14px; color: var(--milk); text-decoration: none; background: rgba(255,255,242,.025); transition: border-color .25s, background .25s, transform .25s; }
.contact-list a:hover { transform: translateX(4px); border-color: var(--border-gold); background: rgba(198,157,50,.06); }
.contact-list > a > i { width: 22px; color: var(--gold-light); text-align: center; }
.contact-list span { font-size: .84rem; }
.contact-list small { display: block; margin-bottom: .12rem; color: rgba(209,196,165,.55); font-size: .56rem; letter-spacing: .13em; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.footer-brand > img { width: 44px; height: 44px; }
.footer-bottom p { margin: 0; color: rgba(209,196,165,.48); font-size: .68rem; text-align: center; }
.footer-bottom > a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; color: var(--gold-light); text-decoration: none; }

.modal { position: fixed; z-index: 150; inset: 0; display: grid; place-items: center; padding: 1rem; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,4,2,.82); backdrop-filter: blur(8px); }
.modal-card { position: relative; z-index: 1; width: min(800px,100%); max-height: calc(100svh - 2rem); padding: clamp(1.4rem,3vw,2.5rem); border-radius: var(--radius-lg); overflow: auto; transform: translateY(20px) scale(.98); transition: transform .3s; }
.modal.is-open .modal-card { transform: none; }
.modal-close { position: absolute; right: 1.1rem; top: 1.1rem; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; color: var(--milk); background: rgba(255,255,242,.05); cursor: pointer; }
.modal-heading { padding-right: 2.5rem; }
.modal-heading h2 { margin: .4rem 0 .6rem; font-size: 3rem; }
.modal-heading p { color: var(--straw); }
.form-slot { min-height: 300px; margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.22); }
.form-slot iframe { width: 100%; height: 520px; border: 0; }
.form-placeholder { display: grid; place-items: center; align-content: center; min-height: 300px; padding: 2rem; color: var(--straw); text-align: center; }
.form-placeholder > i { color: #e63225; font-size: 2.6rem; }
.form-placeholder h3 { margin: 1rem 0 .4rem; color: var(--milk); }
.form-placeholder p { margin: 0; max-width: 470px; font-size: .82rem; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Toast for pending links */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); max-width: min(90vw, 520px); padding: .9rem 1.2rem; border: 1px solid var(--border-gold); border-radius: 12px; color: var(--straw); background: rgba(17,17,8,.96); box-shadow: var(--shadow); font-size: .85rem; line-height: 1.45; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.deadline-note { display: flex; align-items: flex-start; gap: .55rem; margin: 1.2rem 0 0; color: var(--straw); font-size: .8rem; line-height: 1.5; }
.deadline-note i { margin-top: .15rem; color: var(--gold-light); }

.modal-legal-note { display: flex; align-items: flex-start; gap: .6rem; margin: 1.1rem 0 .3rem; padding: .85rem 1.1rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 12px; color: var(--straw); font-size: .8rem; line-height: 1.5; }
.modal-legal-note i { color: var(--gold-light); margin-top: .2rem; font-size: .95rem; flex-shrink: 0; }
.legal-link { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(231, 194, 94, 0.5); font-weight: 500; transition: color .2s, text-decoration-color .2s; }
.legal-link:hover { color: var(--milk); text-decoration-color: var(--milk); }
.footer-legal-wrap { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.footer-legal-docs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem; font-size: .72rem; color: rgba(209, 196, 165, .55); }
.footer-legal-docs .legal-link { color: rgba(209, 196, 165, .7); font-size: .72rem; }
.footer-legal-docs .legal-link:hover { color: var(--gold-light); }

/* ==========================================================================
   АДАПТИВНОСТЬ: ПЛАНШЕТЫ И СМАРТФОНЫ (RESPONSIVE SYSTEM)
   ========================================================================== */

/* 1. ПЛАНШЕТЫ В АЛЬБОМНОЙ ОРИЕНТАЦИИ И КОМПАКТНЫЕ ЭКРАНЫ (<= 1024px) */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto auto; gap: .8rem; }
  .menu-toggle { display: grid; gap: 4px; width: 42px; height: 42px; place-content: center; border: 1px solid var(--border); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--milk); transition: .25s; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + .5rem);
    display: grid;
    gap: .2rem;
    padding: .85rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(11, 11, 5, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    z-index: 150;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { padding: .85rem 1rem; color: var(--straw); text-decoration: none; font-size: .95rem; border-radius: 10px; transition: background .2s, color .2s; }
  .mobile-menu a:hover { background: rgba(255, 255, 242, 0.06); color: var(--milk); }
  .mobile-menu .btn { margin-top: .5rem; color: var(--soil-950); width: 100%; justify-content: center; }

  /* Поле возможностей: сетка 2 на 8 (все 16 квадратиков на месте!) */
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .field-card { aspect-ratio: 1 / 1; width: 100%; height: auto; border-radius: 10px; overflow: hidden; margin: 0; }
  .field-card.track { overflow: hidden; }

  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

  .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .speaker-card { padding: 1.1rem 0.9rem; }
  .portrait-frame { width: min(110px, 22vw); height: min(110px, 22vw); margin: 0 auto 0.85rem; }

  .timeline-desc .halls-5col,
  .timeline-desc .halls-3col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .all-day-column { grid-template-columns: 1fr; }

  .game-top { grid-template-columns: 1fr; }
  .cow-stage { min-height: 420px; border-right: 0; }
  .game-side-panel { padding: 1.8rem; }
  .answers { grid-template-columns: 1fr; }

  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
}

/* 2. ПЛАНШЕТЫ В ПОРТРЕТЕ И КРУПНЫЕ СМАРТФОНЫ (<= 768px) */
@media (max-width: 768px) {
  .section { padding-top: 1.6rem; padding-bottom: 1.6rem; }
  .section-heading { margin-bottom: 1rem; }
  .section-heading h2 { font-size: clamp(1.4rem, 4.5vw, 1.95rem); margin-bottom: 0.25rem; }
  .section-heading p { font-size: 0.82rem; margin-top: 0.25rem; }

  /* Hero: гармоничное центрирование и супер-мягкий плавный переход в следующий блок */
  .hero {
    position: relative;
    aspect-ratio: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 1rem 3.5rem;
    background-color: #0b0b05;
    background-image: 
      linear-gradient(to bottom, rgba(11, 11, 5, 0.1) 0%, rgba(11, 11, 5, 0.35) 45%, rgba(11, 11, 5, 0.75) 80%, #0b0b05 100%),
      url("assets/harvest_tech_adapted.png");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    overflow: hidden;
  }
  .hero::before { display: none; }
  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 140px;
    background: linear-gradient(to bottom, 
      rgba(11, 11, 5, 0) 0%,
      rgba(11, 11, 5, 0.15) 25%,
      rgba(11, 11, 5, 0.45) 50%,
      rgba(11, 11, 5, 0.8) 75%,
      rgba(11, 11, 5, 0.98) 92%,
      #0b0b05 100%
    );
    pointer-events: none;
    z-index: 2;
  }
  .hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
  }
  .hero h1,
  .hero-content > p,
  .hero-badge-wrap,
  .hero-actions,
  .hero-date-address {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(1.45rem, 5.2vw, 1.95rem);
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: #ffffff;
  }
  .hero h1 span { display: inline; }
  .hero h1 em { display: inline; color: var(--gold-light); }
  .hero-content > p {
    font-size: 0.86rem;
    line-height: 1.4;
    margin: 0 0 0.9rem;
    max-width: 100%;
    color: rgba(255, 255, 242, 0.9);
  }
  .hero-badge-wrap { margin: 0 0 0.9rem; display: block; }
  .hero-badge-green { 
    background: #4a922c !important; 
    color: #ffffff !important; 
    border: none !important; 
    font-size: 0.68rem; 
    padding: 0.35rem 0.75rem; 
    border-radius: 999px; 
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    margin-bottom: 1.1rem;
  }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: .92rem; padding: 0.8rem 1.2rem; }
  
  .hero-date-address {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .hero-date-text { font-size: 1.35rem; line-height: 1.1; color: #FFFFFF !important; }
  .hero-address-text { font-size: .78rem; color: #FFFFFF !important; opacity: 0.95; }

  /* Секция: Кого ждем */
  .who-we-wait { padding-top: 1.2rem; }
  .who-shell { padding: 1.1rem 0.85rem; }
  .who-heading h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.65rem; font-size: clamp(1.4rem, 4.6vw, 2.2rem); margin-bottom: 0.9rem; }
  .badge-yellow { 
    white-space: nowrap !important; 
    display: inline-flex !important; 
    font-size: clamp(1.1rem, 3.4vw, 1.5rem) !important; 
    padding: 0.1em 0.55em !important; 
  }
  .who-grid { grid-template-columns: 1fr; gap: .65rem; }
  .who-card { padding: 1.1rem 0.9rem; gap: 0.75rem; }
  .who-icon { flex: 0 0 36px; height: 36px; font-size: 0.95rem; }
  .who-info h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
  .who-info p { font-size: 0.82rem; line-height: 1.35; }

  .opportunities-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  /* Поле возможностей: 2 колонки на мобильных (2x8) — иконка в верхнем углу, текст в нижнем углу */
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-bottom: 0.5rem;
  }
  .field-card {
    aspect-ratio: 1 / 1 !important;
    min-height: auto;
    border-radius: 10px;
    perspective: 800px;
  }
  .field-face {
    padding: 0.75rem 0.65rem !important;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    text-align: left !important;
  }
  .field-front > i,
  .field-front > .cabbage-icon {
    font-size: 1.35rem !important;
    margin-bottom: auto !important;
    margin-top: 0 !important;
    align-self: flex-start !important;
    color: #ffffff !important;
  }
  .field-front h3 {
    font-size: 0.85rem !important;
    line-height: 1.12 !important;
    margin: 0 !important;
    text-align: left !important;
    align-self: flex-start !important;
    color: #ffffff !important;
  }
  .field-back {
    padding: 0.65rem 0.55rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .field-back h3 {
    font-size: 0.76rem !important;
    margin: 0 0 0.2rem 0 !important;
    line-height: 1.15 !important;
    text-align: left !important;
  }
  .field-back p {
    font-size: 0.58rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    text-align: left !important;
  }
  .download-link {
    font-size: 0.52rem !important;
    padding-top: 0.2rem;
    margin-top: 0.25rem !important;
    text-align: left !important;
  }

  /* Трактор тест-драйв: чуть подальше от поля возможностей */
  .tractor-drive { padding: 1.2rem 0.95rem; margin-top: 2.2rem; }
  .tractor-header { margin-bottom: 0.6rem; }
  .tractor-header h3 { font-size: clamp(1.35rem, 4.2vw, 1.85rem); margin-bottom: 0.15rem; }
  .road-wrap { padding: 1.8rem 0.5rem 1.2rem; margin: 0.5rem 0 1rem; overflow: visible; }
  .checkpoint { width: 64px; }
  .checkpoint > i { width: 34px; height: 34px; font-size: 0.9rem; }
  .checkpoint span { font-size: .56rem; line-height: 1.2; }
  .tractor { font-size: 1.8rem; }
  .tractor-status { font-size: .78rem; padding-top: 0.8rem; }

  /* Расписание (Timeline): единая аккуратная внешняя плашка, без съехавших внутренних рамок */
  .schedule-shell {
    padding: 1.2rem 0.95rem !important;
    border-radius: var(--radius-md) !important;
    display: flex;
    flex-direction: column;
  }
  .schedule-tabs { gap: .35rem; margin-bottom: 0.9rem; }
  .day-tab { padding: .55rem 0.95rem; font-size: .8rem; }
  
  .timeline-column {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html[data-theme="light"] .timeline-column {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .timeline::before { display: none; }
  .timeline-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding-left: 0;
    margin-bottom: 0.8rem;
  }
  .timeline-item::before { display: none; }
  .timeline-time {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: .1rem;
  }
  .timeline-content {
    width: 100%;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(209, 196, 165, 0.12);
  }
  .timeline-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
  
  /* Desktop 5-column grid is hidden on mobile in favor of categorized accordion */
  .timeline-desc .halls-5col {
    display: none !important;
  }

  /* Мобильный аккордеон: белые плашки, кружки белые внутри с охровой обводкой и цифрой */
  .mobile-schedule-accordion {
    display: flex !important;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.75rem;
  }
  .schedule-acc-group {
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(198, 157, 50, 0.35);
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .schedule-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: #FFFFFF !important;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
  }
  .schedule-acc-btn:hover,
  .schedule-acc-btn:focus-visible {
    background: #FAF8F2 !important;
  }
  .acc-btn-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: "Outfit", "Montserrat", "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #124a19 !important;
  }
  .acc-btn-title i {
    color: #c69d32 !important;
    font-size: 0.95rem;
  }
  .acc-badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #FFFFFF !important;
    border: 1.5px solid #c69d32 !important;
    color: #c69d32 !important;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(198, 157, 50, 0.15);
  }
  .acc-arrow {
    color: #c69d32 !important;
    font-size: 0.85rem;
    transition: transform 0.25s ease;
  }
  .schedule-acc-btn.is-open .acc-arrow {
    transform: rotate(180deg);
    color: #c69d32 !important;
  }
  .schedule-acc-body {
    padding: 0.75rem 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: #FAFDF6;
    border-top: 1px solid rgba(198, 157, 50, 0.2);
  }
  .schedule-acc-body .hall-card {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(74, 146, 44, 0.25) !important;
    box-shadow: 0 2px 8px rgba(18, 74, 25, 0.05) !important;
  }
  .schedule-acc-body .hall-tag { color: #4E3319 !important; }
  .schedule-acc-body .hall-time { color: #124a19 !important; }
  .schedule-acc-body .hall-title { color: #124a19 !important; }
  .schedule-acc-body .hall-loc { color: #c69d32 !important; }

  .timeline-desc .halls-3col,
  .timeline-desc .halls-2col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .timeline-desc .hall-col:not(:first-child) {
    border-left: 0 !important;
    padding-left: 0 !important;
    border-top: 1.5px dashed rgba(231, 194, 94, 0.35) !important;
    padding-top: 0.75rem !important;
    margin-top: 0.2rem !important;
  }
  html[data-theme="light"] .timeline-desc .hall-col:not(:first-child) {
    border-top-color: rgba(74, 146, 44, 0.45) !important;
  }
  .timeline-desc .hall-card { padding: 0.75rem; }
  .timeline-desc .hall-title { font-size: 0.84rem; }
  .timeline-desc .hall-desc { font-size: 0.74rem; }
  
  /* Блок "ВЕСЬ ДЕНЬ" на мобильном: выделен в отдельную внутреннюю плашку с разрывом */
  .all-day-column {
    margin-top: 1.6rem !important;
    background: rgba(255, 255, 242, 0.03) !important;
    border: 1px solid rgba(231, 194, 94, 0.22) !important;
    border-radius: 14px !important;
    padding: 1.1rem 1rem !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  html[data-theme="light"] .all-day-column {
    background: #FFFFFF !important;
    border: 1.5px solid rgba(74, 146, 44, 0.25) !important;
    box-shadow: 0 4px 16px rgba(18, 74, 25, 0.06) !important;
  }

  /* Спикеры: строго по 2 на ширину экрана */
  .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.65rem; max-width: 100%; margin: 0; }
  .speaker-card { padding: 0.75rem 0.55rem; text-align: center; }
  .portrait-frame { width: min(85px, 22vw); height: min(85px, 22vw); margin: 0 auto 0.55rem; }
  .speaker-role { font-size: clamp(0.46rem, 1.6vw, 0.58rem); }
  .speaker-card h3 { font-size: clamp(0.84rem, 2.8vw, 1.05rem); margin: 0.2rem 0 0.25rem; line-height: 1.15; }
  .speaker-card p { font-size: clamp(0.6rem, 1.7vw, 0.72rem); line-height: 1.3; }
  .guest-silhouette i { font-size: clamp(2.5rem, 8vw, 3.5rem); }

  /* Корова Детектив */
  .cow-stage { min-height: 260px; padding: 1.5rem 0.6rem 0.6rem; }
  .case-badge { left: 0.7rem; top: 0.6rem; font-size: .56rem; }
  .hotspot { width: 32px; height: 32px; }
  .hotspot span { font-size: .68rem; }
  .sensor-legend { display: none; }
  .game-side-panel { padding: 1rem 0.85rem; }
  .sensor-title { gap: .55rem; margin-bottom: .6rem; }
  .sensor-title > i { width: 34px; height: 34px; flex: 0 0 34px; font-size: 0.85rem; }
  .sensor-title h3 { font-size: 1.05rem; }
  .readings { padding: .65rem 0.8rem; font-size: .78rem; }
  .game-bottom-panel { padding: 1rem 0.85rem; }
  .game-question { font-size: .88rem; margin-bottom: 0.75rem; }
  .answers { grid-template-columns: 1fr; gap: .55rem; }
  .answer { padding: .7rem 0.8rem; font-size: .78rem; }

  /* Регистрация и Модалка: компактная форма */
  .registration-shell { padding: 1.1rem 0.85rem !important; }
  .form-slot { min-height: 250px; margin-top: 0.9rem; }
  .form-slot iframe { width: 100%; height: 480px; min-height: 440px; border: 0; }
  .modal-card {
    width: calc(100% - 1.2rem);
    max-height: 92vh;
    padding: 1.1rem 0.85rem;
    border-radius: 16px;
  }
  .modal-heading h2 { font-size: 1.35rem; }
  .modal-heading p { font-size: .78rem; }
  .modal-legal-note { padding: .55rem .7rem; font-size: .7rem; }

  /* Подвал */
  .footer { padding-top: 2.5rem; padding-bottom: 1.5rem; }
  .footer-lead h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); margin-bottom: 0.9rem; }
  .contact-list { gap: 0.65rem; }
  .contact-list a { padding: .65rem 0.8rem; font-size: .8rem; }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    text-align: center;
    justify-items: center;
    padding-top: 1rem;
  }
  .footer-bottom p { text-align: center; font-size: .74rem; line-height: 1.4; }
  .footer-slash { display: none !important; }
  .footer-copy-main { display: block !important; margin-bottom: 0.25rem; font-weight: 500; }
  .footer-copy-sub { display: block !important; opacity: 0.85; font-size: 0.72rem; }
}

/* 3. КОМПАКТНЫЕ СМАРТФОНЫ (<= 480px) */
@media (max-width: 480px) {
  .site-header {
    top: .35rem;
    width: calc(100% - .7rem);
    min-height: 54px;
    padding: .3rem .5rem;
    border-radius: 14px;
  }
  .brand > img { width: 34px; height: 34px; }
  .brand-copy strong { font-size: .7rem; }
  .brand-copy small { font-size: .42rem; line-height: 1.1; }

  .hero {
    padding-top: 4.8rem;
    padding-bottom: 3.2rem;
  }
  .hero h1 {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }
  .hero-content > p { font-size: .82rem; margin-bottom: 0.75rem; }
  .hero-date-text { font-size: 1.3rem; }
  .hero-address-text { font-size: .72rem; }

  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px; }
  .field-card { aspect-ratio: 1 / 1 !important; border-radius: 8px; }
  .field-face {
    padding: 0.6rem 0.5rem !important;
    border-radius: 8px !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    text-align: left !important;
  }
  .field-front > i,
  .field-front > .cabbage-icon {
    font-size: 1.15rem !important;
    margin-bottom: auto !important;
    align-self: flex-start !important;
  }
  .field-front h3 {
    font-size: 0.75rem !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    text-align: left !important;
    align-self: flex-start !important;
  }
  .field-back {
    padding: 0.55rem 0.45rem !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .field-back h3 {
    font-size: 0.7rem !important;
    margin-bottom: 0.15rem !important;
    line-height: 1.15 !important;
  }
  .field-back p {
    font-size: 0.52rem !important;
    line-height: 1.2 !important;
  }
  .download-link {
    font-size: 0.48rem !important;
    margin-top: 0.2rem !important;
  }

  .speaker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0.5rem; }
  .speaker-card { padding: 0.65rem 0.4rem; }
  .portrait-frame { width: min(75px, 20vw); height: min(75px, 20vw); margin-bottom: 0.45rem; }
  .speaker-card h3 { font-size: 0.8rem; }
  .speaker-card p { font-size: 0.56rem; }

  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .partner-card { min-height: 100px; padding: .65rem .4rem; }
  .partner-card img { max-width: 75px; max-height: 48px; }
  .partner-name { font-size: .7rem; }

  .checkpoint { width: 56px; }
  .checkpoint > i { width: 30px; height: 30px; font-size: .8rem; }
  .checkpoint span { font-size: .5rem; }
}

/* Desktop default for mobile-schedule-accordion */
@media (min-width: 769px) {
  .mobile-schedule-accordion {
    display: none !important;
  }
}

/* Light Theme Mobile / Tablet Overrides (Never Dark on Light Theme) */
@media (max-width: 768px) {
  html[data-theme="light"] .hero {
    background-color: #d4eea7 !important;
    background-image: 
      linear-gradient(to bottom, rgba(212, 238, 167, 0.05) 0%, rgba(212, 238, 167, 0.3) 45%, rgba(212, 238, 167, 0.75) 80%, #d4eea7 100%),
      url("assets/harvest_tech_adapted.png") !important;
    background-size: cover !important;
    background-position: 50% 50% !important;
    background-repeat: no-repeat !important;
  }
  html[data-theme="light"] .hero::after {
    background: linear-gradient(to bottom, 
      rgba(212, 238, 167, 0) 0%, 
      rgba(212, 238, 167, 0.15) 25%, 
      rgba(212, 238, 167, 0.45) 50%, 
      rgba(212, 238, 167, 0.8) 75%, 
      rgba(212, 238, 167, 0.98) 92%, 
      #d4eea7 100%
    ) !important;
  }
  html[data-theme="light"] .hero h1,
  html[data-theme="light"] .hero h1 em {
    color: #124a19 !important;
    text-shadow: none !important;
  }
  html[data-theme="light"] .hero-content > p {
    color: #0d3d15 !important;
    text-shadow: none !important;
  }
  html[data-theme="light"] .hero-date-text {
    color: #124a19 !important;
    text-shadow: none !important;
  }
  html[data-theme="light"] .hero-address-text {
    color: #4E3319 !important;
    text-shadow: none !important;
  }

  html[data-theme="light"] .schedule-acc-group {
    border-color: rgba(198, 157, 50, 0.35) !important;
    background: #FFFFFF !important;
  }
  html[data-theme="light"] .schedule-acc-btn {
    background: #FFFFFF !important;
  }
  html[data-theme="light"] .acc-btn-title {
    color: #124a19 !important;
  }
  html[data-theme="light"] .acc-btn-title i {
    color: #c69d32 !important;
  }
  html[data-theme="light"] .acc-badge {
    background: #FFFFFF !important;
    border: 1.5px solid #c69d32 !important;
    color: #c69d32 !important;
  }
  html[data-theme="light"] .acc-arrow {
    color: #c69d32 !important;
  }
  html[data-theme="light"] .schedule-acc-body {
    background: #FAFDF6 !important;
    border-top-color: rgba(198, 157, 50, 0.2) !important;
  }
}
html[data-theme="light"] .who-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
}
html[data-theme="light"] .who-shell {
  background: #EFF8DF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
}
html[data-theme="light"] .speaker-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
}
html[data-theme="light"] .mobile-menu {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
}
html[data-theme="light"] .mobile-menu a {
  color: #111108 !important;
}
html[data-theme="light"] .mobile-menu a:hover {
  background: rgba(74, 146, 44, 0.1) !important;
  color: #124a19 !important;
}
html[data-theme="light"] .land {
  border-color: rgba(74, 146, 44, 0.35) !important;
}
html[data-theme="light"] .land-green,
html[data-theme="light"] .land-furrows {
  background: #124a19 !important;
}
html[data-theme="light"] .land-wheat {
  background: #daa521 !important;
}
html[data-theme="light"] .land-earth,
html[data-theme="light"] .land-brown {
  background: #4E3319 !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Header Actions & Theme Toggle Styling */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--soil-800);
  color: var(--gold-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.25s, box-shadow 0.25s;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: scale(1.08);
  border-color: var(--gold-light);
  box-shadow: 0 0 16px var(--border-gold);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.theme-toggle-icon {
  position: absolute;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.theme-toggle-icon.sun-icon {
  color: #e7c25e;
}

.theme-toggle-icon.moon-icon {
  color: #c69d32;
}

/* Dark theme: Sun icon is visible to switch to light mode */
[data-theme="dark"] .sun-icon {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}
[data-theme="dark"] .moon-icon {
  transform: translateY(28px) rotate(90deg);
  opacity: 0;
}

/* Light theme: Moon icon is visible to switch to dark mode */
[data-theme="light"] .sun-icon {
  transform: translateY(-28px) rotate(-90deg);
  opacity: 0;
}
[data-theme="light"] .moon-icon {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

/* ==========================================================================
   VIBRANT & COLORFUL LIGHT THEME STYLES (ФГБНУ ФНАЦ ВИМ)
   ========================================================================== */

/* ==========================================================================
   EXACT DARK THEME COLOR MATCHING ON WHITE BACKGROUND (LIGHT THEME)
   ========================================================================== */

/* ==========================================================================
   VIBRANT HERO PALETTE LIGHT THEME STYLES (#d4eea7, #124a19, #0d3d15, #4a922c)
   ========================================================================== */

html[data-theme="light"] {
  --soil-950: #d4eea7; 
  --soil-900: #c5e693; 
  --soil-800: #b3db7d; 
  --milk: #124a19;     
  --straw: #0d3d15;    
  --forest: #4a922c;   
  --leaf: #4a922c;     
  --gold: #c69d32;     
  --gold-light: #daa521; 
  --danger: #cb5b4d;   
  --glass: rgba(212, 238, 167, 0.92); 
  --border: rgba(74, 146, 44, 0.25);   
  --border-gold: rgba(198, 157, 50, 0.45);
  --shadow: 0 12px 36px rgba(18, 74, 25, 0.1); 
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1240px;
}

html[data-theme="light"] body {
  background: #d4eea7;
  color: #0d3d15;
}

/* Site Header in Light Theme - Белая плашка */
html[data-theme="light"] .site-header {
  border: 1px solid rgba(74, 146, 44, 0.2); 
  background: #FFFFFF !important; 
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 36px rgba(18, 74, 25, 0.08);
}
html[data-theme="light"] .site-header.scrolled {
  background: #FFFFFF !important; 
  box-shadow: 0 12px 40px rgba(18, 74, 25, 0.12);
}
html[data-theme="light"] .brand {
  color: #124a19;
}
html[data-theme="light"] .desktop-nav a {
  color: #0d3d15;
  font-weight: 600;
}
html[data-theme="light"] .desktop-nav a:hover {
  color: #4a922c;
}

/* Buttons in Light Theme */
html[data-theme="light"] .btn-gold {
  background: linear-gradient(135deg, #f4bf3b, #daa521); 
  color: #181306; 
  box-shadow: 0 8px 24px rgba(218, 165, 33, 0.35);
  border: 1px solid rgba(180, 83, 9, 0.2);
}
html[data-theme="light"] .btn-gold:hover {
  background: linear-gradient(135deg, #daa521, #c59317); 
  box-shadow: 0 12px 30px rgba(218, 165, 33, 0.45);
}
html[data-theme="light"] .btn-green {
  border: 1.5px solid #4a922c !important; 
  background: #124a19 !important; 
  color: #ffffff !important; 
  box-shadow: 0 6px 20px rgba(18, 74, 25, 0.25) !important;
}
html[data-theme="light"] .btn-green:hover {
  background: #4a922c !important; 
  border-color: #124a19 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(74, 146, 44, 0.35) !important;
}

/* Hero Section in Light Theme */
@media (min-width: 769px) {
  html[data-theme="light"] .hero {
    background-color: #d4eea7 !important;
    background-image: url("assets/hero-bg-wide.png") !important;
    background-position: var(--bgx) top !important;
    background-size: 130vw auto !important;
  }
  html[data-theme="light"] .hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(to left, rgba(212,238,167,0.3) 0%, transparent 52%),
      linear-gradient(to top, #d4eea7 0%, rgba(212,238,167,0.95) 4%, rgba(212,238,167,0.7) 10%, rgba(212,238,167,0.35) 16%, rgba(212,238,167,0.1) 22%, transparent 28%) !important;
  }
}
html[data-theme="light"] .hero h1, html[data-theme="light"] .hero h1 em { color: #124a19 !important; }
html[data-theme="light"] .hero-content > p { color: #0d3d15 !important; }

html[data-theme="light"] .badge-yellow {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  padding: 0.15em 0.75em !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  border: 1.5px solid #d97706 !important;
  background: #FAF0CE !important;
  box-shadow: 0 0 35px 12px rgba(250, 220, 120, 0.65), 0 0 70px 25px rgba(250, 220, 120, 0.35) !important;
  color: #4E3319 !important; /* Текст коричневый */
  text-shadow: none !important;
}

/* Фонарик-свечение курсора — диапазон ещё меньше (160px) */
html[data-theme="light"] .cursor-spotlight {
  background: radial-gradient(160px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(255, 220, 100, 0.45) 0%, rgba(245, 195, 60, 0.15) 45%, transparent 70%) !important;
  mix-blend-mode: normal !important;
}

/* Кнопка переключения темы (Скрин 1) — охровая обводка, белый фон внутри */
html[data-theme="light"] .theme-toggle {
  border: 1.5px solid #daa521 !important;
  background: #FFFFFF !important;
  color: #daa521 !important;
  box-shadow: 0 2px 10px rgba(218, 165, 33, 0.2) !important;
}
html[data-theme="light"] .theme-toggle-icon {
  color: #daa521 !important;
}

/* ==========================================================================
   ЗАГОЛОВКИ СЕКЦИЙ И ЦВЕТА
   - Все основные заголовки h2: Коричневый (#4E3319)
   - Акцентные слова в заголовках (em): Тёмно-зелёный (#124a19)
   - Подписи под заголовками (p): Чёрный (#111108)
   ========================================================================== */

html[data-theme="light"] h2,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .who-heading h2 {
  color: #4E3319 !important;
}

html[data-theme="light"] h2 em,
html[data-theme="light"] .who-heading h2 em,
html[data-theme="light"] .section-heading h2 em {
  color: #124a19 !important;
  font-style: normal;
}

/* Свечение / подсветка над заголовками (овальная плашка БЛИЖЕ к заголовку под ней) */
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .badge-light-glow,
html[data-theme="light"] .hero-subtitle-tag {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(74, 146, 44, 0.4) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(18, 74, 25, 0.12) !important;
  color: #124a19 !important;
  font-weight: 700 !important;
  padding: 0.25em 0.8em !important;
  border-radius: 999px !important;
  display: inline-block !important;
  margin-bottom: 0.35rem !important;
  position: relative !important;
  z-index: 3 !important;
}

/* Секция регистрации — строго выравнивание по центру */
html[data-theme="light"] .registration-section .section-heading {
  text-align: center !important;
}

html[data-theme="light"] .registration-section .section-heading h2,
html[data-theme="light"] .registration-section .section-heading p,
html[data-theme="light"] .registration-section .section-heading .eyebrow {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .who-heading h2 {
  margin-top: 0.2rem !important;
}

/* Все подписи / комменты под заголовками — ЧЁРНЫМ (#111108) */
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .who-heading p,
html[data-theme="light"] .who-shell p,
html[data-theme="light"] .all-day-column p,
html[data-theme="light"] .timeline-content p,
html[data-theme="light"] .timeline-desc,
html[data-theme="light"] .timeline-desc .hall span,
html[data-theme="light"] .speaker-card p,
html[data-theme="light"] .footer-bottom p,
html[data-theme="light"] .modal-heading p,
html[data-theme="light"] .registration-section .section-heading p,
html[data-theme="light"] .tractor-drive p,
html[data-theme="light"] .hero-content > p {
  color: #111108 !important;
}

/* Восстановление пунктирной линии Трактора */
html[data-theme="light"] .road-line {
  border-top: 2px dashed rgba(74, 146, 44, 0.6) !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================
   ПОДЛОЖКИ И ПЛАШКИ (СВЕТЛО-ЗЕЛЕНЫЙ ЦВЕТ СО СКРИНА 1: #EFF8DF)
   ========================================================================== */

html[data-theme="light"] .section,
html[data-theme="light"] .who-we-wait,
html[data-theme="light"] .opportunities,
html[data-theme="light"] .schedule,
html[data-theme="light"] .speakers,
html[data-theme="light"] .cow-game,
html[data-theme="light"] .partners,
html[data-theme="light"] .footer {
  background: #d4eea7 !important;
}

html[data-theme="light"] .who-shell,
html[data-theme="light"] .tractor-drive,
html[data-theme="light"] .all-day-column,
html[data-theme="light"] .game-shell {
  background: #EFF8DF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.4) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 12px 36px rgba(18, 74, 25, 0.08) !important;
  color: #111108 !important;
}

/* Трактор-драйв заголовок и подписи — ТЁМНО-ЗЕЛЁНЫМ */
html[data-theme="light"] .tractor-drive h2,
html[data-theme="light"] .tractor-drive-heading h2,
html[data-theme="light"] .tractor-header h3,
html[data-theme="light"] #tractor-title {
  color: #124a19 !important;
}

html[data-theme="light"] .checkpoint span {
  color: #124a19 !important;
  font-weight: 600 !important;
}

/* Чекпоинт круг трактора (скрин 1) */
html[data-theme="light"] .checkpoint > i {
  background: #FFFFFF !important;
  border: 1.5px solid #daa521 !important;
  color: #daa521 !important;
  box-shadow: 0 2px 10px rgba(18, 74, 25, 0.08) !important;
}

/* Пройденный чекпоинт трактора — заливка охра, иконка белая */
html[data-theme="light"] .checkpoint.is-collected > i {
  background: #daa521 !important;
  border-color: #daa521 !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 16px rgba(218, 165, 33, 0.6) !important;
}

/* Дым у трактора */
html[data-theme="light"] .tractor-smoke {
  color: rgba(74, 146, 44, 0.7) !important;
}

html[data-theme="light"] .who-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
  box-shadow: 0 4px 14px rgba(18, 74, 25, 0.05) !important;
}
html[data-theme="light"] .who-card:hover {
  border-color: #124a19 !important;
  transform: translateY(-2px);
  background: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(74, 146, 44, 0.2) !important;
}
html[data-theme="light"] .who-icon {
  background: rgba(74, 146, 44, 0.15) !important;
  color: #124a19 !important;
  border: 1px solid rgba(74, 146, 44, 0.35) !important;
}
/* Заголовки «Учёные и исследователи» — ТЁМНО-ЗЕЛЁНЫМ */
html[data-theme="light"] .who-info h3 {
  color: #124a19 !important;
}

/* ==========================================================================
   ПОЛЕ ВОЗМОЖНОСТЕЙ
   - Вертикальная палочка слева у PDF-ссылки с выравниванием по левому краю
   - Коричневый квадрат во 2-м ряду, 4-й слева (.land-brown)
   ========================================================================== */

.land-brown {
  background: #4E3319 !important;
  border: 1.5px solid #4E3319 !important;
}

html[data-theme="light"] .field-front {
  color: #ffffff !important;
  background: #124a19 !important;
  border: 1.5px solid #124a19 !important;
  box-shadow: 0 6px 20px rgba(18, 74, 25, 0.25) !important;
}
html[data-theme="light"] .field-front h3,
html[data-theme="light"] .acc-green .field-front h3,
html[data-theme="light"] .acc-brown .field-front h3 { color: #ffffff !important; }
html[data-theme="light"] .field-front > i, 
html[data-theme="light"] .field-front > .cabbage-icon,
html[data-theme="light"] .acc-green .field-front > i,
html[data-theme="light"] .acc-brown .field-front > i { color: #ffffff !important; }

/* Охровые карточки — Надписи БЕЛЫМ (#ffffff) */
html[data-theme="light"] .acc-yellow .field-front {
  color: #ffffff !important;
  background: #daa521 !important;
  border: 1.5px solid #c69d32 !important;
  box-shadow: 0 6px 20px rgba(218, 165, 33, 0.3) !important;
}
html[data-theme="light"] .acc-yellow .field-front h3,
html[data-theme="light"] .acc-yellow .field-front > i {
  color: #ffffff !important;
}

html[data-theme="light"] .field-front::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(92deg, rgba(255,255,255,0) 0 18px, rgba(255,255,255,0.08) 24px);
  z-index: 1;
}

html[data-theme="light"] .field-back {
  background: #124a19 !important;
  border: 1.5px solid #124a19 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(18, 74, 25, 0.3) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: left !important;
  padding: 1.2rem !important;
}
html[data-theme="light"] .field-back h3,
html[data-theme="light"] .acc-green .field-back h3,
html[data-theme="light"] .acc-brown .field-back h3 { color: #ffffff !important; text-align: left !important; }
html[data-theme="light"] .field-back p,
html[data-theme="light"] .acc-green .field-back p,
html[data-theme="light"] .acc-brown .field-back p { color: #ffffff !important; text-align: left !important; }

html[data-theme="light"] .acc-yellow .field-back {
  background: #daa521 !important;
  border: 1.5px solid #c69d32 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(218, 165, 33, 0.3) !important;
}
html[data-theme="light"] .acc-yellow .field-back h3 { color: #ffffff !important; }
html[data-theme="light"] .acc-yellow .field-back p { color: #ffffff !important; }

/* PDF Ссылка в карточке — палочка слева, ровно по левому краю текста выше */
html[data-theme="light"] .download-link {
  color: #ffffff !important;
  background: transparent !important;
  padding: 0 0 0 0.6rem !important;
  border: none !important;
  border-left: 2.5px solid #ffffff !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  margin-top: 0.8rem !important;
  margin-left: 0 !important;
  text-align: left !important;
  align-self: flex-start !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   ПРОГРАММА И ТАБЫ
   - Время и линия таймлайна — ОХРОВЫЕ (#daa521) (скрин 2)
   - Выставка «Поле возможностей» справа в программе — ТЁМНО-ЗЕЛЁНЫМ (#124a19)
   ========================================================================== */

html[data-theme="light"] .timeline-time {
  color: #daa521 !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .timeline::before {
  background: #daa521 !important;
}

html[data-theme="light"] .timeline-item::before {
  border: 2px solid #daa521 !important;
  background: #FAF8F2 !important;
  box-shadow: 0 0 8px rgba(218, 165, 33, 0.3) !important;
}

html[data-theme="light"] .timeline-content h4 { color: #4E3319 !important; }

/* Название "Выставка «Поле возможностей»" в плашке справа в программе — ТЁМНО-ЗЕЛЁНЫМ */
html[data-theme="light"] .all-day-column h4 {
  color: #124a19 !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .day-tab {
  border: 1.5px solid rgba(74, 146, 44, 0.3);
  color: #111108;
  background: rgba(244, 252, 232, 0.9);
}
html[data-theme="light"] .day-tab:hover {
  border-color: #daa521;
  color: #4E3319;
}
html[data-theme="light"] .day-tab.is-active {
  border-color: #c69d32 !important;
  color: #111108 !important;
  background: #daa521 !important;
  box-shadow: 0 8px 24px rgba(218, 165, 33, 0.35) !important;
}

/* ==========================================================================
   КОРОВА И ИНТЕРАКТИВНОЕ РАССЛЕДОВАНИЕ
   - Датчик у коровы: Активный — фон ОХРА (#daa521), иконка/цифра внутри БЕЛАЯ (#FFFFFF)
   - Плашка показаний датчика (Скрин 1): БЕЛАЯ (#FFFFFF), полоса сбоку ОХРА (#daa521), заголовок ОХРА (#daa521), текст ЧЁРНЫЙ (#111108)
   - Слово "ДЕЛО" — КОРИЧНЕВЫМ (#4E3319)
   ========================================================================== */

html[data-theme="light"] .hotspot,
html[data-theme="light"] .hotspot.is-active {
  background: #daa521 !important;
  color: #FFFFFF !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 14px rgba(218, 165, 33, 0.45) !important;
}

html[data-theme="light"] .hotspot.is-complete {
  background: #4A6B35 !important;
  color: #FFFFFF !important;
  border: 2px solid #7eb36b !important;
  outline: none !important;
  box-shadow: 0 4px 14px rgba(74, 107, 53, 0.4) !important;
  animation: none !important;
}

html[data-theme="light"] .hotspot span,
html[data-theme="light"] .hotspot i {
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

html[data-theme="light"] .cow-stage,
html[data-theme="light"] .game-top,
html[data-theme="light"] .game-side-panel,
html[data-theme="light"] .game-bottom-panel {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
}

html[data-theme="light"] .cow-stage {
  background: #EFF8DF !important;
}

html[data-theme="light"] .game-side-panel {
  background: #EFF8DF !important;
}

html[data-theme="light"] .game-bottom-panel {
  background: #EFF8DF !important;
}

/* «ШАГ 1 ИЗ 3» и полоски справа (скрин 3) */
html[data-theme="light"] .game-progress {
  color: #124a19 !important;
  font-weight: 700 !important;
}
html[data-theme="light"] .game-progress i {
  background: rgba(74, 146, 44, 0.25) !important;
}
html[data-theme="light"] .game-progress i.is-done {
  background: #124a19 !important;
}

/* Заголовок «Внутрижелудочный pH-болюс» и иконка */
html[data-theme="light"] .sensor-title h3 {
  color: #124a19 !important;
  font-weight: 800 !important;
}

html[data-theme="light"] .sensor-title > i {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.4) !important;
  color: #124a19 !important;
  box-shadow: 0 4px 12px rgba(18, 74, 25, 0.08) !important;
}

/* Плашка показаний датчиков — БЕЛАЯ (#FFFFFF), полоса сбоку ОХРА (#daa521), заголовок ОХРА (#daa521), текст ЧЁРНЫЙ (#111108) (Скрин 1) */
html[data-theme="light"] .readings {
  border-left: 4px solid #daa521 !important;
  background: #FFFFFF !important;
  color: #111108 !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}
html[data-theme="light"] .readings-title,
html[data-theme="light"] .readings strong,
html[data-theme="light"] .readings small {
  color: #daa521 !important;
  font-weight: 800 !important;
}
html[data-theme="light"] .readings p,
html[data-theme="light"] .readings span {
  color: #111108 !important;
}

/* «Как интерпретировать эти данные?» — ТЁМНО-ЗЕЛЁНЫМ (#124a19) */
html[data-theme="light"] .game-question,
html[data-theme="light"] .game-question h4,
html[data-theme="light"] #game-question {
  color: #124a19 !important;
  font-weight: 800 !important;
}

/* Верно-неверно книзу — ТЁМНО-КОРИЧНЕВЫМ (#4E3319) */
html[data-theme="light"] .answer-feedback,
html[data-theme="light"] .feedback-text,
html[data-theme="light"] .answer p,
html[data-theme="light"] .game-side-panel p {
  color: #4E3319 !important;
}

/* Активный датчик и Заблокирован — ЧЁРНЫМ */
html[data-theme="light"] .sensor-legend,
html[data-theme="light"] .sensor-legend span {
  color: #111108 !important;
}

html[data-theme="light"] .answer {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
  color: #111108 !important;
}

html[data-theme="light"] .answer:hover {
  background: #EFF8DF !important;
  border-color: #124a19 !important;
}

/* Слово "ДЕЛО" — КОРИЧНЕВЫМ (#4E3319), "№ 001" — ОХРА (#daa521) */
html[data-theme="light"] .case-badge { color: #4E3319 !important; }
html[data-theme="light"] .case-badge span { color: #4E3319 !important; font-weight: 700 !important; }
html[data-theme="light"] .case-badge strong { color: #daa521 !important; }

/* ==========================================================================
   СПИКЕРЫ И ПАРТНЕРЫ
   - Логотип РАН — чёрный
   ========================================================================== */

html[data-theme="light"] .speaker-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
  box-shadow: 0 4px 14px rgba(18, 74, 25, 0.05) !important;
}
html[data-theme="light"] .speaker-card:hover {
  border-color: #124a19 !important;
  box-shadow: 0 8px 24px rgba(74, 146, 44, 0.15) !important;
}

/* Обводка фото спикеров — тёмно-зелёная */
html[data-theme="light"] .portrait-frame {
  border: 2px solid #124a19 !important;
  background: #EFF8DF !important;
}

html[data-theme="light"] .speaker-role {
  color: #4E3319 !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .speaker-card h3 { color: #124a19 !important; }

/* Иконки гостей — охровые */
html[data-theme="light"] .guest-silhouette {
  background: rgba(218, 165, 33, 0.22) !important;
  border: 2px solid rgba(218, 165, 33, 0.4) !important;
}
html[data-theme="light"] .guest-silhouette i {
  color: #b48518 !important;
}

html[data-theme="light"] .partner-card {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
  box-shadow: 0 4px 14px rgba(18, 74, 25, 0.05) !important;
}
html[data-theme="light"] .partner-name { color: #124a19 !important; }

/* Логотип Десятилетия: переключение версии логотипа */
html[data-theme="light"] .partner-decade .decade-logo-light {
  display: block !important;
}
html[data-theme="light"] .partner-decade .decade-logo-dark {
  display: none !important;
}

/* Логотип РАН — ЧЁРНЫЙ */
html[data-theme="light"] [data-od-id="partner-ran"] img,
html[data-theme="light"] .partner-card img[alt*="РАН"],
html[data-theme="light"] .partner-card img[src*="ran"] {
  filter: brightness(0) !important;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО И РЕГИСТРАЦИЯ (Скрин 2: #EFF6D6)
   - Подзаголовок "Заполните форму участника..." — ЧЁРНЫЙ (#111108)
   ========================================================================== */

html[data-theme="light"] .modal-backdrop {
  background: rgba(17, 17, 8, 0.55) !important;
}
html[data-theme="light"] .registration-shell,
html[data-theme="light"] .modal-card {
  background: #EFF6D6 !important;
  border: 1.5px solid rgba(74, 146, 44, 0.4) !important;
  box-shadow: 0 24px 80px rgba(18, 74, 25, 0.15) !important;
}
html[data-theme="light"] .modal-heading h2,
html[data-theme="light"] .registration-section h2 { color: #4E3319 !important; }

html[data-theme="light"] .registration-section .section-heading p,
html[data-theme="light"] .modal-heading p {
  color: #111108 !important;
  font-weight: 500 !important;
}

html[data-theme="light"] .modal-close {
  background: #FFFFFF !important;
  color: #111108 !important;
  border: 1px solid rgba(74, 146, 44, 0.3) !important;
}

html[data-theme="light"] .modal-legal-note {
  background: rgba(18, 74, 25, 0.05) !important;
  border-color: rgba(74, 146, 44, 0.25) !important;
  color: #2b331f !important;
}
html[data-theme="light"] .modal-legal-note i {
  color: #124a19 !important;
}
html[data-theme="light"] .legal-link {
  color: #124a19 !important;
  text-decoration-color: rgba(18, 74, 25, 0.45) !important;
}
html[data-theme="light"] .legal-link:hover {
  color: #08280d !important;
  text-decoration-color: #08280d !important;
}
html[data-theme="light"] .footer-legal-docs {
  color: #555555 !important;
}
html[data-theme="light"] .footer-legal-docs .legal-link {
  color: #124a19 !important;
}

/* ==========================================================================
   КОНТАКТЫ И ПОДВАЛ
   - Плашка с научным журналом БЕЛАЯ
   - Адрес, почта, телефон — КОРИЧНЕВЫЕ
   - Текст под ними — ЧЁРНЫЙ
   ========================================================================== */

html[data-theme="light"] .contact-label,
html[data-theme="light"] .contact-list small,
html[data-theme="light"] .contact-list i {
  color: #4E3319 !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .contact-list a span,
html[data-theme="light"] .contact-val {
  color: #111108 !important;
  font-weight: 600 !important;
}

html[data-theme="light"] .contact-list a {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
}

/* Плашка с научным журналом — БЕЛАЯ */
html[data-theme="light"] .journal-qr a {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.3) !important;
  color: #4E3319 !important;
}

html[data-theme="light"] .footer-lead h2 {
  color: #4E3319 !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}
html[data-theme="light"] .tractor-status strong { color: #daa521 !important; }

/* ==========================================================================
   COMPREHENSIVE LIGHT THEME FINISHING (NO DARK ARTIFACTS)
   ========================================================================== */

html[data-theme="light"] .game-top {
  border-bottom: 1px solid rgba(74, 146, 44, 0.25) !important;
}

html[data-theme="light"] .cow-stage {
  border-right: 1px solid rgba(74, 146, 44, 0.25) !important;
  background: radial-gradient(circle, rgba(74, 146, 44, 0.12), transparent 58%), repeating-linear-gradient(0deg, transparent 0 39px, rgba(74, 146, 44, 0.06) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(74, 146, 44, 0.06) 40px) !important;
}

html[data-theme="light"] .game-side-panel {
  background: rgba(239, 248, 223, 0.6) !important;
}

html[data-theme="light"] .game-bottom-panel {
  background: #E8F3D5 !important;
  border-top: 1px solid rgba(74, 146, 44, 0.25) !important;
}

html[data-theme="light"] .hotspot:disabled {
  color: #738a60 !important;
  border-color: rgba(74, 146, 44, 0.25) !important;
  background: #e2ebd0 !important;
}

html[data-theme="light"] .sensor-legend span:last-child i {
  background: #a3c293 !important;
}

html[data-theme="light"] .answer.is-correct {
  border-color: #31542c !important;
  background: #E2F5D7 !important;
  color: #124a19 !important;
}

html[data-theme="light"] .answer.is-wrong {
  border-color: #cb5b4d !important;
  background: #FDE8E5 !important;
  color: #7f1d1d !important;
}

html[data-theme="light"] .feedback {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.25) !important;
  color: #111108 !important;
}

html[data-theme="light"] .case-solved h3 {
  color: #124a19 !important;
}

html[data-theme="light"] .case-solved p {
  color: #111108 !important;
}

html[data-theme="light"] .tractor-status {
  border-top: 1px solid rgba(74, 146, 44, 0.25) !important;
  color: #111108 !important;
}

html[data-theme="light"] .tractor-status strong {
  color: #daa521 !important;
}

html[data-theme="light"] .tractor-desc {
  color: #0d3d15 !important;
}

html[data-theme="light"] .road-line {
  border-top: 2px dashed rgba(74, 146, 44, 0.6) !important;
}

html[data-theme="light"] .toast {
  background: #FFFFFF !important;
  border-color: #daa521 !important;
  color: #111108 !important;
  box-shadow: 0 12px 36px rgba(18, 74, 25, 0.15) !important;
}

html[data-theme="light"] .form-slot {
  border-color: rgba(74, 146, 44, 0.25) !important;
  background: transparent !important;
}

html[data-theme="light"] .deadline-note {
  color: #2b331f !important;
}

html[data-theme="light"] .deadline-note i {
  color: #124a19 !important;
}

html[data-theme="light"] .menu-toggle {
  border-color: rgba(74, 146, 44, 0.3) !important;
  background: #FFFFFF !important;
}

html[data-theme="light"] .menu-toggle span {
  background: #111108 !important;
}

html[data-theme="light"] .mobile-menu {
  background: #FFFFFF !important;
  border: 1.5px solid rgba(74, 146, 44, 0.25) !important;
  box-shadow: 0 16px 48px rgba(18, 74, 25, 0.15) !important;
}

html[data-theme="light"] .mobile-menu a {
  color: #111108 !important;
  font-weight: 600 !important;
}

html[data-theme="light"] .mobile-menu a:hover {
  color: #124a19 !important;
  background: rgba(74, 146, 44, 0.08) !important;
  border-radius: 8px;
}

html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(74, 146, 44, 0.25) !important;
}

html[data-theme="light"] .footer-bottom p {
  color: #2b331f !important;
}

html[data-theme="light"] .footer-bottom > a {
  border-color: rgba(74, 146, 44, 0.3) !important;
  color: #124a19 !important;
  background: #FFFFFF !important;
}

html[data-theme="light"] .footer-bottom > a:hover {
  background: #EFF8DF !important;
  border-color: #124a19 !important;
}

