/* ============================================================
   АгроВикуп — Main Stylesheet
   version: 1.0.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Geologica:wght@300;400;500;600;700;800&display=swap');

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --soil:    #1a1208;
  --earth:   #2d1f0a;
  --dark:    #110c04;
  --wheat:   #c8882a;
  --gold:    #e8a83a;
  --harvest: #f5c842;
  --cream:   #f5edd8;
  --sage:    #7a8c5e;
  --rust:    #8b3a1a;
  --muted:   rgba(245,237,216,0.55);
  --border:  rgba(200,136,42,0.15);
  --nav-h:   70px;

  --font-display: 'Bebas Neue', cursive;
  --font-body:    'Geologica', sans-serif;

  --shadow-card: 0 20px 60px rgba(0,0,0,0.3);
  --shadow-btn:  0 12px 36px rgba(200,136,42,0.35);
  --radius:      12px;
  --radius-sm:   7px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--soil);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: 0.5px; line-height: 0.92; }

.display-xl { font-size: clamp(60px, 10vw, 120px); }
.display-lg { font-size: clamp(44px, 6vw, 80px); }
.display-md { font-size: clamp(32px, 4vw, 56px); }
.display-sm { font-size: clamp(24px, 3vw, 38px); }

/* ─── NAVIGATION ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(26,18,8,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0 60px;
}
.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 2px;
  color: var(--gold);
}
.nav-logo span { color: var(--cream); }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  display: block; padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.4px;
  color: rgba(245,237,216,0.62);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--cream); background: rgba(200,136,42,0.1); }
.nav-links a.active { color: var(--gold); background: rgba(200,136,42,0.12); }
.nav-cta {
  background: var(--wheat) !important;
  color: var(--soil) !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--harvest) !important; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer; background: none; border: none;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); border-radius: 2px; transition: all .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; z-index: 790;
  background: rgba(26,18,8,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; flex-direction: column; gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block; padding: 12px 16px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
  color: rgba(245,237,216,0.68);
  transition: all .2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); background: rgba(200,136,42,0.1); }
.mobile-nav .m-cta {
  margin-top: 10px; background: var(--wheat); color: var(--soil) !important;
  font-weight: 700; text-align: center; border-radius: 8px;
}

/* ─── LAYOUT ─── */
.pt-nav { padding-top: var(--nav-h); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
.section { padding: 90px 60px; }
.section-sm { padding: 60px 60px; }

/* ─── SECTION HEADERS ─── */
.sec-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--wheat); margin-bottom: 14px;
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 0.92; color: var(--cream);
  margin-bottom: 20px;
}
.sec-title .dim { color: rgba(245,237,216,0.25); }
.sec-sub {
  font-size: 16px; line-height: 1.72;
  color: var(--muted); font-weight: 300;
  max-width: 560px;
}
.divider {
  width: 56px; height: 3px;
  background: linear-gradient(to right, var(--wheat), var(--harvest));
  border-radius: 2px; margin: 20px 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; letter-spacing: 0.4px;
  transition: all .25s; cursor: pointer; border: none;
  white-space: nowrap;
}
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }

.btn-primary { background: var(--wheat); color: var(--soil); }
.btn-primary:hover { background: var(--harvest); transform: translateY(-2px); box-shadow: var(--shadow-btn); }

.btn-outline { background: transparent; color: var(--cream); border: 1.5px solid rgba(245,237,216,0.22); }
.btn-outline:hover { border-color: var(--wheat); color: var(--gold); }

.btn-ghost { background: rgba(200,136,42,0.1); color: var(--wheat); border: 1px solid rgba(200,136,42,0.25); }
.btn-ghost:hover { background: rgba(200,136,42,0.2); }

/* ─── CARDS ─── */
.card {
  background: rgba(45,31,10,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.card:hover {
  border-color: rgba(200,136,42,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.card-dark {
  background: rgba(26,18,8,0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ─── BADGES / TAGS ─── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(200,136,42,0.12); border: 1px solid rgba(200,136,42,0.3);
  color: var(--gold); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--harvest); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.45;transform:scale(1.6)} }

.tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  background: rgba(200,136,42,0.1); border: 1px solid rgba(200,136,42,0.2);
  color: var(--wheat); padding: 3px 10px; border-radius: 100px;
}

/* ─── FORM ELEMENTS ─── */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(245,237,216,0.42); margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(26,18,8,0.9);
  border: 1px solid rgba(200,136,42,0.2);
  border-radius: 8px; padding: 13px 16px;
  color: var(--cream); font-family: var(--font-body); font-size: 14px;
  outline: none; transition: border-color .2s; appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--wheat); box-shadow: 0 0 0 3px rgba(200,136,42,0.1); }
.field select option { background: #2d1f0a; }
.field textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-box {
  background: rgba(45,31,10,0.85);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 40px 36px;
}
.form-box h3 { font-family: var(--font-display); font-size: 30px; letter-spacing: 1px; margin-bottom: 28px; }
.submit-btn {
  width: 100%; background: var(--wheat); color: var(--soil);
  border: none; border-radius: 8px; padding: 16px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all .25s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px;
}
.submit-btn:hover { background: var(--harvest); box-shadow: var(--shadow-btn); transform: translateY(-2px); }
.form-note { margin-top: 12px; font-size: 11px; color: rgba(245,237,216,0.26); text-align: center; line-height: 1.6; }
.success-msg {
  display: none; margin-top: 12px;
  background: rgba(122,140,94,0.14); border: 1px solid rgba(122,140,94,0.4);
  border-radius: 10px; padding: 16px; text-align: center;
  font-size: 13px; color: #a8c47a;
}

/* ─── MARQUEE ─── */
.marquee-wrap { background: var(--wheat); padding: 13px 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 24s linear infinite; white-space: nowrap; }
.marquee-item { font-family: var(--font-display); font-size: 17px; letter-spacing: 3px; color: var(--soil); padding: 0 36px; }
.marquee-dot { color: rgba(26,18,8,0.35); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--earth); border-bottom: 1px solid var(--border);
  padding: 110px 60px 70px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,136,42,0.07), transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--wheat);
  background: rgba(200,136,42,0.1); border: 1px solid rgba(200,136,42,0.25);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 18px;
}

/* ─── STATS ROW ─── */
.stats-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-item .val {
  font-family: var(--font-display); font-size: 46px; color: var(--gold); line-height: 1;
}
.stat-item .lbl {
  font-size: 11px; color: rgba(245,237,216,0.4);
  text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px;
}

/* ─── CONTACT ROW ─── */
.contact-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.c-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: rgba(200,136,42,0.1); border: 1px solid rgba(200,136,42,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.c-lbl { font-size: 11px; color: rgba(245,237,216,0.4); text-transform: uppercase; letter-spacing: 1px; }
.c-val { font-size: 15px; font-weight: 600; }

/* ─── TESTIMONIAL CARD ─── */
.tcard { padding: 32px; position: relative; }
.tcard::before {
  content: '"'; font-family: var(--font-display); font-size: 76px;
  color: rgba(200,136,42,0.12); position: absolute; top: 8px; left: 22px; line-height: 1;
}
.tcard-text { font-size: 14px; line-height: 1.75; color: rgba(245,237,216,0.68); font-weight: 300; margin: 24px 0; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--wheat), var(--rust));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; color: white;
}
.tcard-name { font-weight: 600; font-size: 13px; }
.tcard-region { font-size: 11px; color: rgba(245,237,216,0.36); margin-top: 2px; }
.stars { color: var(--harvest); font-size: 12px; margin-bottom: 3px; }

/* ─── ADVAN LIST ─── */
.adv-list { list-style: none; margin-top: 32px; }
.adv-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid rgba(200,136,42,0.08);
  font-size: 14.5px; line-height: 1.65; color: rgba(245,237,216,0.72);
}
.adv-list li:last-child { border-bottom: none; }
.chk {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(200,136,42,0.12); border: 1px solid rgba(200,136,42,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 11px; margin-top: 2px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark); padding: 56px 60px 36px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; margin-bottom: 44px;
  flex-wrap: wrap;
}
.footer-logo { font-family: var(--font-display); font-size: 28px; letter-spacing: 2px; color: var(--gold); display: block; margin-bottom: 10px; }
.footer-logo span { color: var(--cream); }
.footer-brand p { font-size: 13px; color: rgba(245,237,216,0.36); max-width: 240px; line-height: 1.65; }
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--wheat); margin-bottom: 14px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: rgba(245,237,216,0.44); transition: color .2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(200,136,42,0.07);
  font-size: 11px; color: rgba(245,237,216,0.24);
  flex-wrap: wrap; gap: 10px;
}

/* ─── FLOATING BUTTONS ─── */
.float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 700;
  display: flex; gap: 10px;
}
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: all .25s; border: none; cursor: pointer;
}
.float-call { background: var(--wheat); color: var(--soil); box-shadow: 0 4px 20px rgba(200,136,42,0.4); }
.float-wa { background: #25d366; color: white; box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
.float-btn:hover { transform: scale(1.12); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed; bottom: 28px; left: 28px; z-index: 700;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(200,136,42,0.15); border: 1px solid rgba(200,136,42,0.3);
  color: var(--gold); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; opacity: 0; pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--wheat); color: var(--soil); }

/* ─── UTILITY ─── */
.text-gold { color: var(--gold); }
.text-wheat { color: var(--wheat); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .container, .section, .section-sm, .page-hero, .site-nav, .site-footer { padding-left: 32px; padding-right: 32px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .container, .section, .section-sm, .page-hero, .site-footer { padding-left: 20px; padding-right: 20px; }
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { gap: 24px; flex-wrap: wrap; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
