/* БАЗА */
*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  --bg-main:  #0A0014; /* базовый фон (hero, контакты, общая подложка) */
  --bg-alt:   #12001F; /* средний тон (услуги, цены, команда) */
  --bg-deep:  #05000A; /* самый тёмный (работы, процесс) */
}

body {
  margin: 0;
  background: #000;
  color: #f7f7ff;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

a {
  color: inherit;
}

/* ОБЩЕЕ */
.agro-landing {
  background: radial-gradient(circle at top, #2b0c24 0, #050209 45%, #000 100%);
  padding-bottom: 72px;
}

.agro-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HERO */
.agro-hero {
  padding: 50px 0; /* <<< увеличили высоту блока */
  background:
    linear-gradient(0deg, rgba(5,0,10,0.75), rgba(5,0,10,0.75)),
    url("../img/hero-bg.jpg") center center / cover no-repeat;
}

.agro-hero-overlay {
  backdrop-filter: blur(2px);
}

.agro-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.agro-hero-logo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.agro-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.agro-hero-tags span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
}

.agro-hero-line {
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 22px;
}

.agro-hero-line span {
  font-weight: 600;
}

.agro-hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agro-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* BUTTONS */
.btn-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

.btn-a-primary {
  background: linear-gradient(135deg, #ff005d, #ff8800);
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(255, 0, 93, 0.55);
}

.btn-a-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255, 0, 93, 0.7);
}

.btn-a-ghost {
  background: transparent;
  color: #f7f7ff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-a-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* STATS */
.agro-stat-card {
  border-radius: 16px;
  padding: 14px 14px 12px;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 93, 0.32), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 136, 0, 0.3), transparent 55%),
    rgba(10, 3, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
}

.agro-stat-label {
  font-size: 11px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}

.agro-stat-value {
  font-size: 14px;
  font-weight: 600;
}

.agro-stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.agro-stat-list li::before {
  content: "• ";
  opacity: 0.7;
}

/* SECTIONS */

.agro-section {
  padding: 26px 0 42px;               /* вернули вертикальные отступы */
  background: transparent;        /* все обычные секции прозрачные */
}

.agro-section-alt {
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.02); /* лёгкая “дымка” как в Тильде */
  backdrop-filter: blur(2px);
}

.agro-section-head h2 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.agro-section-head p {
  font-size: 13px;
  opacity: 0.7;
  max-width: 420px;
}

/* GRID */
.agro-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prices-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

/* CARD */
.agro-card {
  background: rgba(10, 3, 20, 0.96);
  border-radius: 16px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 0, 93, 0.35); /* общая акцентная обводка */
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
}

/* Для “главных” карточек — чуть ярче рамка */
.agro-card-strong {
  border-color: rgba(255, 0, 93, 0.7);
}

/* “Биты / аранжировки” остаются серыми пунктирными, как и было */
.agro-card-ghost {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.26);
}

.agro-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.agro-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.agro-card ul li {
  opacity: 0.85;
  margin-bottom: 4px;
}

.price-value {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* TEAM */
.team-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.team-photo img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.team-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.team-role {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 6px;
}

.team-desc {
  font-size: 13px;
  opacity: 0.85;
}

/* PORTFOLIO */
.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-info {
  font-size: 13px;
}

.portfolio-role {
  opacity: 0.7;
  margin-bottom: 2px;
}

.portfolio-track {
  font-weight: 600;
  margin-bottom: 4px;
}

.portfolio-audio {
  margin-top: 2px;
}

/* PLAYER */
.audio-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0 6px;
  border-bottom: none;
  font-size: 13px;
}

.audio-line audio {
  display: none;
}

.audio-line-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ff005d, #ff8800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #000;
  font-size: 17px;
  line-height: 1;
}

.audio-line-btn::before {
  content: "▶";
  display: block;
}

.audio-line-btn.is-playing::before {
  content: "❚❚";
}

.audio-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.audio-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #ff8800;
  box-shadow: 0 0 8px #ff8800;
}

.audio-line-time {
  font-feature-settings: "tnum" 1;
  opacity: 0.7;
  min-width: 46px;
  text-align: right;
}

/* PROCESS */
.process-card {
  position: relative;
  padding-top: 28px;
}

.process-step {
  position: absolute;
  top: 9px;
  left: 12px;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.5;
}

.process-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.process-card p {
  font-size: 13px;
  opacity: 0.8;
}

/* CONTACTS */
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.contacts-tagline {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 14px;
  max-width: 380px;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 13px;
}

.contacts-list li {
  margin-bottom: 6px;
  opacity: 0.85;
}

.contacts-list a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contacts-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FOOTER */
.agro-footer {
  padding-top: 30px;
  font-size: 11px;
  opacity: 0.75;
}

.agro-footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-note {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #ff005d, #ff8800);
  opacity: 0.45;
  margin: 0px 0 0;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .agro-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .agro-hero-right {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

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

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

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

  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .agro-hero {
    padding-top: 40px;
  }

  .services-grid,
  .prices-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .agro-section {
    padding: 40px 0;
  }

  .agro-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}