/* ===============================
   HOME — PREMIUM WHEAT/GREEN
================================ */
:root{
  --wheat-50:#fbf7ee;
  --wheat-100:#f6edd6;
  --wheat-200:#ecd9a8;
  --wheat-400:#d7b86a;
  --wheat-500:#caa24a;

  --green-900:#16301f;
  --green-800:#1f3d2b;
  --green-700:#2f5d3a;

  --ink:#1f2a22;
  --muted:rgba(31,42,34,.72);

  --card:#ffffff;
  --stroke:rgba(22,48,31,.12);
  --stroke-wheat:rgba(202,162,74,.35);

  --shadow-lg: 0 40px 90px rgba(0,0,0,.14), 0 10px 30px rgba(0,0,0,.08);
  --shadow-md: 0 18px 50px rgba(0,0,0,.10), 0 6px 18px rgba(0,0,0,.06);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --container: 1240px;
}

.home{
  color: var(--ink);
  background: linear-gradient(180deg, var(--wheat-50), #ffffff 40%, var(--wheat-50));
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===============================
   HERO: blurred glass + map
================================ */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 110px; /* под фикс-шапку */
}

.hero-bg{
  position: absolute;
  inset: 0;
  background-image: url('https://runniweb.ru/wp-content/uploads/2026/03/Copilot_20260312_154452.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.02);
}

.hero-vignette{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 20% 20%, rgba(202,162,74,.22), transparent 60%),
    radial-gradient(900px 600px at 85% 35%, rgba(47,93,58,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.35));
  backdrop-filter: blur(18px);
}

.hero-wrap{
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-glass{
  border-radius: 34px;
  padding: 34px;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--stroke-wheat);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

/* left */
.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--stroke-wheat);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  font-size: 14px;
  color: rgba(22,48,31,.85);
  letter-spacing: .02em;
}

.badge-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--wheat-200), var(--wheat-500));
  box-shadow: 0 10px 20px rgba(202,162,74,.22);
}

.hero-title{
  margin: 18px 0 14px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-subtitle{
  max-width: 820px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 22px;
}

.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  will-change: transform;
}

.btn-primary{
  background: linear-gradient(180deg, var(--green-700), var(--green-800));
  color: #fff;
  box-shadow: 0 18px 40px rgba(31,61,43,.22);
  border: 1px solid rgba(255,255,255,.18);
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(31,61,43,.28);
}

.btn-ghost{
  background: rgba(255,255,255,.70);
  color: var(--green-900);
  border: 1px solid var(--stroke-wheat);
}

.btn-ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.hero-metrics{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.metric{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--stroke-wheat);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}

.metric-num{
  font-size: 26px;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label{
  font-size: 14px;
  color: rgba(31,42,34,.72);
}

/* right: map card */
.map-card{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--stroke-wheat);
  border-radius: 28px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.map-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 10px;
}

.map-title{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-900);
  font-size: 16px;
}

.map-tag{
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(31,61,43,.70);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(202,162,74,.30);
  background: rgba(202,162,74,.10);
}

.map-svg{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  background:
    radial-gradient(700px 300px at 30% 20%, rgba(202,162,74,.10), transparent 60%),
    rgba(255,255,255,.35);
  border: 1px solid rgba(22,48,31,.10);
}

.map-outline{
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.06));
}

.map-lines{
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.05));
}

.map-villages circle{
  fill: rgba(202,162,74,.55);
  stroke: rgba(31,61,43,.35);
  stroke-width: 2;
}

.map-compass text{
  font-size: 16px;
  font-weight: 800;
  fill: rgba(31,61,43,.55);
}

.map-caption{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(31,42,34,.68);
  padding: 0 6px;
}

/* ===============================
   SECTIONS
================================ */
.section{
  padding: 86px 0;
}

.section-soft{
  background: linear-gradient(180deg, #ffffff, var(--wheat-50));
}

.section-head{
  margin-bottom: 26px;
}

.section-title{
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 750;
}

.section-subtitle{
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
}

/* ===============================
   CARDS / GRIDS
================================ */
.grid-5{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card{
  background: var(--card);
  border: 1px solid var(--stroke-wheat);
  border-radius: var(--radius-xl);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-md);
}

.card-link{
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-link:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(202,162,74,.55);
}

.card-kicker{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(31,61,43,.78);
  margin-bottom: 10px;
}

.card-title{
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-text{
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ===============================
   SPLIT (TEXT + IMAGE)
================================ */
.split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}

.bullets{
  margin: 18px 0 22px;
  display: grid;
  gap: 12px;
}

.bullet{
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.bullet-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  background: radial-gradient(circle at 30% 30%, var(--wheat-200), var(--wheat-500));
  box-shadow: 0 10px 20px rgba(202,162,74,.22);
}

.bullet-text{
  font-size: 16px;
  line-height: 1.55;
  color: rgba(31,42,34,.78);
}

.media-card{
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--stroke-wheat);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.media-card img{
  width: 100%;
  height: auto;
  display: block;
}

.media-caption{
  font-size: 14px;
  color: rgba(31,42,34,.68);
  padding-left: 6px;
  margin-top: 10px;
}

/* ===============================
   CTA
================================ */
.section-cta{
  padding: 70px 0 110px;
}

.cta-card{
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(202,162,74,.18), transparent 60%),
    radial-gradient(900px 400px at 80% 30%, rgba(47,93,58,.16), transparent 55%),
    rgba(255,255,255,.85);
  border: 1px solid rgba(202,162,74,.35);
  border-radius: 34px;
  padding: 34px 34px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-title{
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 850;
}

.cta-subtitle{
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
}

.cta-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1100px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-5{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split{ grid-template-columns: 1fr; }
  .cta-card{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px){
  .container{ padding: 0 18px; }

  .hero{ padding-top: 96px; min-height: 88vh; }
  .hero-glass{ padding: 18px; border-radius: 26px; }

  .hero-title{ font-size: 38px; }
  .hero-subtitle{ font-size: 17px; }

  .hero-metrics{ grid-template-columns: 1fr; }

  .section{ padding: 64px 0; }
  .section-title{ font-size: 30px; }
  .section-subtitle{ font-size: 16px; }

  .grid-5{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }

  .card{ padding: 18px 18px 16px; border-radius: 22px; }
  .card-title{ font-size: 18px; }

  .map-card{ padding: 14px; border-radius: 22px; }
  .map-svg{ border-radius: 16px; }

  .cta-card{ padding: 22px 20px; border-radius: 26px; }
  .cta-title{ font-size: 26px; }
}


/* ===== FOOTER ===== */
.site-footer {
  background: #1f3d2b;
  color: #fff;
  padding: 50px 20px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
/* ===============================
   HEADER BASE
================================ */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.08);
}

/* ===============================
   CONTAINER
================================ */
.main-navigation {
  width: 100%;
}

.nav-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===============================
   LOGO
================================ */
.logo img {
  height: 84px;
  width: auto;
  display: block;
}

/* ===============================
   MAIN MENU
================================ */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 42px;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  font-size: 18px;
  font-weight: 500;
  color: #2f3d2b;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}

/* underline */
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8b7a3d;
  transition: width .3s ease;
}

.nav-menu > li:hover > a::after {
  width: 100%;
}

/* ===============================
   DROPDOWN (PREMIUM PANEL)
================================ */
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  min-width: 320px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow:
    0 40px 90px rgba(0,0,0,0.18),
    0 10px 30px rgba(0,0,0,0.08);
  display: none;
  z-index: 20;
  animation: dropdownFade .25s ease forwards;
}

.has-dropdown:hover .dropdown {
  display: block;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown li {
  margin-bottom: 14px;
}

.dropdown li:last-child {
  margin-bottom: 0;
}

.dropdown a {
  font-size: 16px;
  font-weight: 500;
  color: #2f3d2b;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color .2s ease, transform .2s ease;
}

.dropdown a:hover {
  color: #8b7a3d;
  transform: translateX(6px);
}

.dropdown .divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.15),
    transparent
  );
  margin: 18px 0;
}

/* ===============================
   RIGHT CTA
================================ */
.nav-right {
  display: flex;
  align-items: center;
}

.btn-primary {
  padding: 14px 30px;
  border-radius: 999px;
  background: #2f5d3a;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background .3s ease, transform .2s ease;
}

.btn-primary:hover {
  background: #1f3d2b;
  transform: translateY(-1px);
}

/* ===============================
   BURGER (MOBILE)
================================ */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 28px;
  height: 2px;
  background: #2f3d2b;
  border-radius: 2px;
}

/* ===============================
   MOBILE ADAPTATION
================================ */
@media (max-width: 1024px) {

  .burger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 32px 28px;
    gap: 22px;
    display: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  }

  body.menu-open .nav-menu {
    display: flex;
  }

  .nav-menu > li > a {
    font-size: 20px;
  }

  .dropdown {
    position: static;
    background: #f8f8f6;
    box-shadow: none;
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 12px;
    animation: none;
  }

  .dropdown a {
    font-size: 17px;
  }

  .nav-right {
    display: none;
  }
}
/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://runniweb.ru/wp-content/uploads/2026/03/Copilot_20260312_154452.png');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.55)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 35vh;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 20px;
  opacity: 0.85;
}

/* ===== MEANING ===== */
.platform-meaning {
  padding: 120px 40px;
  background: #f8f8f6;
}

.meaning-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  text-align: center;
}

.meaning-grid div {
  font-size: 20px;
  font-weight: 500;
}

.meaning-grid span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.7;
}

/* ===== MOBILE ===== */
@media (max-width: 960px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .meaning-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
/* ===== Cabinet UI (premium wheat/green) ===== */
.cabinet{
  padding: 120px 0 90px;
  background: linear-gradient(180deg, #fbf7ee, #ffffff 45%, #fbf7ee);
  color: #1f2a22;
}

.cabinet-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.cabinet-title{
  margin:0 0 6px;
  font-size:40px;
  line-height:1.1;
  letter-spacing:-0.02em;
  font-weight:800;
}

.cabinet-subtitle{
  margin:0;
  color: rgba(31,42,34,.72);
  font-size:16px;
  line-height:1.5;
}

.cabinet-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.panel{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(202,162,74,.35);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.10), 0 6px 18px rgba(0,0,0,.06);
  backdrop-filter: blur(12px);
}

.panel-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}

.panel-card{
  background:#fff;
  border:1px solid rgba(22,48,31,.10);
  border-radius:22px;
  padding:18px;
}

.panel-kicker{
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color: rgba(31,61,43,.70);
  margin-bottom:10px;
}

.panel-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:8px;
}

.panel-text{
  font-size:14px;
  line-height:1.55;
  color: rgba(31,42,34,.72);
}

/* form */
.form{ margin-top: 10px; }
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-bottom:14px;
}

.field{ display:grid; gap:8px; }
.label{
  font-size:13px;
  color: rgba(31,42,34,.72);
}

.input, .select{
  width:100%;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(202,162,74,.35);
  background: rgba(255,255,255,.85);
  outline:none;
}

.input:focus, .select:focus{
  border-color: rgba(202,162,74,.65);
  box-shadow: 0 0 0 4px rgba(202,162,74,.14);
}

.form-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:10px;
}

/* reuse buttons if already exist; otherwise minimal */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:650;
  border:1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn-primary{
  background: linear-gradient(180deg, #2f5d3a, #1f3d2b);
  color:#fff;
  box-shadow: 0 18px 40px rgba(31,61,43,.22);
}

.btn-ghost{
  background: rgba(255,255,255,.72);
  color:#16301f;
  border:1px solid rgba(202,162,74,.35);
}

/* mobile */
@media (max-width: 980px){
  .cabinet-head{ align-items:flex-start; flex-direction:column; }
  .panel-row{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .cabinet-title{ font-size:32px; }
}
/* ===== Header auth buttons ===== */

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Войти */
.btn-login {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #1f3d2b;
  text-decoration: none;
  border: 1px solid rgba(47,93,58,.25);
  background: rgba(255,255,255,.6);
}

/* Регистрация */
.btn-register {
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #2f5d3a;
  text-decoration: none;
  border: 1px solid rgba(202,162,74,.45);
  background: rgba(202,162,74,.12);
}

/* Кабинет */
.cabinet-dropdown {
  position: relative;
}

.btn-cabinet {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(202,162,74,.35);
  color: #1f3d2b;
  font-size: 14px;
  cursor: pointer;
}

.btn-cabinet .caret {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
}

.cabinet-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(202,162,74,.35);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  padding: 8px;
  display: none;
  z-index: 100;
}

.cabinet-dropdown:hover .cabinet-menu {
  display: block;
}

.cabinet-menu a,
.logout-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #1f2a22;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.cabinet-menu a:hover,
.logout-btn:hover {
  background: rgba(202,162,74,.15);
}

.cabinet-menu .divider {
  height: 1px;
  margin: 6px 0;
  background: rgba(31,42,34,.12);
}

/* mobile */
@media (max-width: 960px) {
  .nav-right {
    flex-direction: column;
    align-items: stretch;
  }

  .cabinet-menu {
    position: static;
    box-shadow: none;
    margin-top: 8px;
  }
}
