/* Base */
:root {
  --bg: #ffffff;
  --text: #001c24ff;
  --muted: #666666;
  --primary: #72b431ff;
  --primary-700: #4e8823;
  --accent: #00242eff;
  --deep: #00242eff;
  --border: #d3d2d2ff;
  --surface: #00242eff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}
@font-face {
  font-family: 'Bounded';
  src: url('fonts/Bounded-Black.woff2') format('woff2'),
      url('fonts/Bounded-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bounded';
  src: url('fonts/Bounded-Regular.woff2') format('woff2'),
      url('fonts/Bounded-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bounded';
  src: url('fonts/Bounded-ExtraLight.woff2') format('woff2'),
      url('fonts/Bounded-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Bounded, 'Roboto', system-ui, -apple-system, Segoe UI, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 16px;
  top: 12px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark { display: inline-flex; align-items: center; justify-content: center; }
.logo-mark img { width: 40px; height: 40px; display: block; }
.logo-text { color: var(--text); font-weight: 900; line-height: 1.05; text-transform: uppercase; font-family: Bounded, Arial Black, Arial, Helvetica, sans-serif; }
.logo-text-accent { background: transparent; color: inherit; padding: 0; }
.site-nav ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); }

/* Sections */
.section { padding: 48px 0; }
.section-title {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4.5vw, 44px);
  font-family: 'Bounded', Arial Black, Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--primary);
}
.section-title.inverse { border-color: rgba(255,255,255,0.5); }
.section-subtitle { color: var(--muted); margin-bottom: 28px; }

/* Section dividers */
.section {
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--border);
}

.section:last-child::after {
  display: none;
}

/* Hero */
.hero {
  background:
    linear-gradient(0deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.70) 100%),
    url('img/vid-sverhu-pivnye-kruzki-i-semena-psenicy.jpg') center/cover no-repeat;
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-media {
  height: 320px;
  border-radius: var(--radius);
  background: url('https://images.unsplash.com/photo-1581091014534-8987c1d4eb0d?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  box-shadow: var(--shadow);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 70vh;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  min-height: 70vh;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.slide.prev {
  opacity: 0;
  transform: translateX(0);
  z-index: 0;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: var(--text);
}

.hero-content .lead { 
  color: var(--muted); 
  font-size: 20px; 
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-ctas { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 10;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

.dot:hover {
  border-color: #fff;
  transform: scale(1.3);
}

/* Cards & Tiles */
.card-grid.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(46, 125, 50, 0.2);
}
.card.highlight { outline: 3px solid rgba(11, 107, 83, 0.18); }
.check-list { padding-left: 20px; }
.check-list li { margin: 8px 0; }
.card-cta { margin-top: 16px; }

.benefits .benefits-grid .card h3 { margin-top: 0; }
.audience .tile h3 { margin-top: 0; font-size: 18px; }

.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefits-grid, .audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits-grid { margin-top: 12px; }
.audience-grid { margin-top: 10px; }
.tile {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; position: relative; }
.steps li::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  right: 10px; bottom: 6px;
  font-size: 5em;
  line-height: 1;
  font-weight: 800;
  color: rgba(10,58,113,0.08);
  pointer-events: none;
}
.step-title { display: block; font-weight: 700; }
.step-text { display: block; color: var(--muted); }
.step-cta { margin-top: 10px; }

/* Headings */
h2 { font-family: 'Bounded', Arial Black, Arial, Helvetica, sans-serif; font-weight: 900; }
h3 { color: var(--accent); font-size: clamp(14px, 2.2vw, 22px); font-weight: 800; }

/* Process Cards */
.process-cards { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin-top: 32px;
}

.process-card { 
  background: #fff; 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 24px; 
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.process-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.process-card h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.process-card p {
  margin: 0 0 16px 0;
  color: var(--muted);
  line-height: 1.5;
}

.process-cta {
  margin-top: 16px;
}

/* Icon box */
.icon-box { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: #fff; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.feature-card { display: block; }
.feature-card .icon-box svg { transition: transform .2s ease; }
.feature-card:hover .icon-box { background: var(--primary); color: var(--bg); }
.feature-card:hover .icon-box svg { transform: scale(1.03); }
.feature-card .icon-box { margin-bottom: 10px; }

/* Contacts */
.contacts { 
  background: 
    linear-gradient(0deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 100%),
    url('img/afc-write-and-sign.jpg') center/cover no-repeat;
}
.contacts .contacts-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.contacts.accent { background: linear-gradient(0deg, rgba(10,58,113,0.06), rgba(10,58,113,0.06)); }
/* New split contacts layout */
.contacts.split .contacts-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.contacts.split .panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contacts.split .contact-info.panel {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.contacts.split .contact-info .section-title.inverse { color: #fff; }
.contacts.split .inverse-link { color: #fff; }
.contacts.split .qr-link img { border-color: rgba(255,255,255,0.5); }
.contact-info .qr { margin-top: 16px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-link img { border-radius: 10px; border: 1px solid var(--border); }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
label { font-weight: 600; }
input, select { height: 42px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
input:focus, select:focus { outline: 2px solid rgba(10,58,113,0.25); border-color: var(--accent); }
.help { color: var(--muted); font-size: 12px; }
.form-actions { margin-top: 16px; }

.contacts .contact-info .section-title { color: #fff; }

/* Form success */
.form-success { display: grid; place-items: center; gap: 12px; min-height: 240px; text-align: center; }
.form-success p { margin: 0; font-size: 18px; color: var(--text); }
.is-hidden { display: none !important; }

/* Buttons */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  padding: 12px 24px; 
  border-radius: 8px; 
  text-decoration: none; 
  font-weight: 500; 
  border: 1px solid transparent;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary { 
  background: var(--primary); 
  color: #fff; 
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover { 
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
}

.btn-outline { 
  background: transparent; 
  color: var(--accent); 
  border-color: var(--accent);
}

.btn-outline:hover { 
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.2);
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 20px 0 40px; color: var(--muted); }
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.site-footer .footer-brand img { width: 220px; height: auto; max-width: 100%; }

/* Results */
.results .result-list { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.results .result-list li { position: relative; display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.results .result-list i, .results .result-list svg { color: var(--primary); stroke: currentColor; fill: none; }
.results .result-list span { display: block; }

/* FAQ */
.faq .faq-list { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] { box-shadow: var(--shadow); }

/* Services redesign */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { border: 1px solid var(--border); border-radius: 12px; background: var(--primary); overflow: hidden; box-shadow: var(--shadow); }
.service-head { background: var(--accent); color: #fff; height: 90px; display: flex; align-items: center; justify-content: center; }
.service-head i { font-size: 42px; }
.service-card h3 { font-weight: 500; margin: 12px 14px 16px; font-size: 16px; text-transform:uppercase; }

/* Audience icon bullets */
.icon-list { list-style: none; padding-left: 0; display: grid; gap: 10px; }
.icon-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.icon-list i { color: var(--accent); font-size: 18px; line-height: 1.2; margin-top: 2px; }
.icon-list span { display: block; }

/* Benefits */
.benefits {
  background: var(--accent);
  color: #fff;
}

.benefits .section-title {
  color: #fff;
}

.benefits-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
  margin-top: 32px;
}

.benefits-grid .card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--text);
}

.benefits-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.benefits-grid .card h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.benefits-grid .card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.benefits-grid .icon-box {
  background: var(--bg);
  color: var(--primary);
  border: none;
  margin-bottom: 16px;
}

.benefits-grid .icon-box i {
  font-size: 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quote Section */
.quote {
  background: var(--surface);
  padding: 60px 0;
}

.quote-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  border: none;
}

.quote-line {
  width: 4px;
  height: 80px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.quote-content {
  flex: 1;
}

.quote-text {
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--primary);
  margin: 0 0 16px 0;
  font-family: Bounded, 'Montserrat', sans-serif;
}

.quote-author {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  font-style: normal;
  font-family: Bounded, 'Montserrat', sans-serif;
}

/* Accent text */
.accent-text {
  color: var(--accent);
  font-weight: 500;
}

.highlight-text {
  background: linear-gradient(120deg, rgba(46, 125, 50, 0.1) 0%, rgba(46, 125, 50, 0.05) 100%);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .process-cards { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts .contacts-grid { grid-template-columns: 1fr; }
  .contacts.split .contacts-split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-inner { padding: 8px 0; flex-wrap: wrap; row-gap: 8px; }
  .logo-mark { width: 30px; height: 30px; border-radius: 6px; font-size: 12px; }
  .logo-text { font-size: 14px; }
  .site-nav { width: 100%; overflow-x: auto; }
  .site-nav ul { gap: 12px; padding-bottom: 6px; }
  .site-nav a { font-size: 14px; white-space: nowrap; }
  .hero-media { height: 220px; }
  .slider-nav {
    width: 48px;
    height: 48px;
  }
  .slider-prev { left: 15px; }
  .slider-next { right: 15px; }
  .slider-dots { bottom: 20px; }
  .card-grid.two { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid, .audience-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-cards { grid-template-columns: 1fr; }
  .quote-block {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .quote-line {
    width: 60px;
    height: 4px;
  }
  
  .quote-text {
    font-size: 24px;
  }
  
  .section-title::before {
    display: none;
  }
}
@media (max-width: 440px) {
  .tile-grid { grid-template-columns: 1fr; }
  .process-cards { grid-template-columns: 1fr; }
}


