/*
 * AgroHero brand theme
 * ---------------------------------------------------------------------
 * This file sits on top of main-guest.css, which is a copy of the
 * purchased "Mosto" template stylesheet (main.css) with its hardcoded
 * template colors swapped for the AgroHero green/gold palette. Keeping
 * it a separate file from main.css means this rebrand only affects the
 * public guest pages (home, privacy, terms) — the admin, login and
 * coming-soon pages keep loading the original main.css, untouched.
 * Every stock component in main-guest.css (buttons, headings, faq,
 * footer links, header nav, page-header, scrollToTop, preloader, ...)
 * already renders in brand colors and keeps every original
 * hover/scroll/reveal effect.
 *
 * What lives here instead is only what the stock template did not
 * already provide: the small set of new sections built for the
 * AgroHero guest pages (hero, feature cards, steps, download band,
 * legal page header/list styling) plus a couple of layout tweaks.
 */

:root {
  --agro-green-950: #12291a;
  --agro-green-900: #1b3d1e;
  --agro-green-800: #1f4a1e;
  --agro-green-700: #235120;
  --agro-green-600: #2f6b2a;
  --agro-green-500: #3b7a36;
  --agro-gold-600: #c08a00;
  --agro-gold-500: #f2b705;
  --agro-gold-100: #fdf1cf;
  --agro-ink: #3b4a38;
  --agro-muted: #6b7a68;
  --agro-bg-soft: #f5f8f2;
  --agro-border: rgba(35, 81, 32, 0.12);
}

/* ---------- Global tweaks ---------- */
.agro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--agro-gold-100);
  color: var(--agro-gold-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.agro-lead {
  font-size: 19px;
  line-height: 30px;
  color: var(--agro-ink);
  margin-bottom: 10px;
}

.agro-section {
  padding: 100px 0;
}
.agro-section--muted {
  background: var(--agro-bg-soft);
}
@media (max-width: 767px) {
  .agro-section {
    padding: 70px 0;
  }
}

/* ---------- Buttons ---------- */
.agro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 50px;
  background: var(--agro-green-700);
  color: #ffffff !important;
  border: 1px solid var(--agro-green-700);
  line-height: 1.2;
}
.agro-btn:hover {
  background: var(--agro-green-800);
  border-color: var(--agro-green-800);
  color: #ffffff !important;
}
.agro-btn i {
  font-size: 18px;
}
.agro-btn--light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--agro-green-700) !important;
}
.agro-btn--light:hover {
  background: var(--agro-gold-500);
  border-color: var(--agro-gold-500);
  color: var(--agro-green-900) !important;
}
.agro-btn--ghost {
  background: transparent;
  border: 1px solid var(--agro-border);
  color: var(--agro-ink) !important;
}
.agro-btn--ghost:hover {
  border-color: var(--agro-green-700);
  color: var(--agro-green-700) !important;
}
.agro-btn--ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
}
.agro-btn--ghost-light:hover {
  border-color: #ffffff;
}
.agro-btn--disabled {
  cursor: default;
  opacity: 0.75;
}
.agro-btn--disabled:hover {
  background: transparent;
}
.agro-btn--sm {
  padding: 10px 22px;
  font-size: 14px;
}

/* ---------- Header extras ---------- */
/* The horizontal logo's dark green wordmark is unreadable on the
   transparent/dark header, so render it in white until the header
   turns solid white on scroll (.active), same moment the nav text
   flips from white to dark green. */
.header-section.header-white-dark .header-wrapper .logo img {
  filter: brightness(0) invert(1);
}
.header-section.header-white-dark.active .header-wrapper .logo img {
  filter: none;
}
/* The stock template always renders the mobile hamburger bars and the
   language-switcher arrow/text in dark green on this variant, assuming
   a light hero behind them. Our hero is dark, so keep those white until
   the header goes solid white on scroll, matching the logo/nav above. */
@media (max-width: 991px) {
  .header-section.header-white-dark .header-wrapper .header-bar span {
    background: #ffffff;
  }
  .header-section.header-white-dark .header-wrapper .select-bar .current {
    color: #ffffff;
  }
  .header-section.header-white-dark .header-wrapper .select-bar::after {
    border-color: #ffffff;
  }
}
.header-section .header-wrapper .menu li a.active {
  color: var(--agro-gold-500) !important;
}
@media (min-width: 992px) {
  .header-section.header-white-dark.active .header-wrapper .menu li a.active {
    color: var(--agro-gold-600) !important;
  }
}
.header-right {
  display: flex;
  gap: 14px;
}
.header-right .select-bar {
  min-width: 70px;
}

/* ---------- Hero ---------- */
.agro-hero {
  position: relative;
  overflow: hidden;
  padding: 190px 0 120px;
  background: linear-gradient(160deg, var(--agro-green-950) 0%, var(--agro-green-700) 60%, var(--agro-green-600) 100%);
}
@media (max-width: 767px) {
  .agro-hero {
    padding: 150px 0 80px;
  }
}
.agro-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
}
.agro-hero__blob--1 {
  width: 480px;
  height: 480px;
  right: -160px;
  top: -140px;
  background: radial-gradient(circle at 30% 30%, rgba(242, 183, 5, 0.35), transparent 70%);
}
.agro-hero__blob--2 {
  width: 380px;
  height: 380px;
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.12), transparent 70%);
}
.agro-hero__content {
  position: relative;
  z-index: 1;
}
.agro-hero .agro-eyebrow {
  background: rgba(242, 183, 5, 0.16);
  color: var(--agro-gold-500);
}
.agro-hero__title {
  color: #ffffff;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 22px;
}
@media (max-width: 767px) {
  .agro-hero__title {
    font-size: 36px;
  }
}
.agro-hero__lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  line-height: 30px;
  max-width: 520px;
  margin-bottom: 34px;
}
.agro-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.agro-hero__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.agro-hero__points li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
}
.agro-hero__points li i {
  color: var(--agro-gold-500);
  margin-right: 8px;
}
.agro-hero__art {
  position: relative;
  z-index: 1;
  text-align: center;
}
.agro-hero__art img {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}

/* ---------- Feature cards ---------- */
.agro-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--agro-border);
  border-radius: 18px;
  padding: 36px 28px;
  transition: all ease 0.3s;
}
.agro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(18, 41, 26, 0.1);
  border-color: transparent;
}
.agro-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--agro-bg-soft);
  color: var(--agro-green-700);
  font-size: 26px;
  margin-bottom: 22px;
}
.agro-card__title {
  font-size: 20px;
  margin-bottom: 12px;
}
.agro-card__text {
  color: var(--agro-muted);
  font-size: 15px;
  line-height: 24px;
  margin: 0;
}

/* ---------- Steps ---------- */
.agro-step {
  text-align: center;
  padding: 10px 20px;
}
.agro-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--agro-green-700);
  color: #ffffff;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}
.agro-step__title {
  font-size: 19px;
  margin-bottom: 10px;
}
.agro-step__text {
  color: var(--agro-muted);
  font-size: 15px;
  line-height: 24px;
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- Download band ---------- */
.agro-download {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--agro-green-900) 0%, var(--agro-green-700) 100%);
}
.agro-download__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.agro-download__icon img {
  width: 84px;
  height: 84px;
}
.agro-download__content {
  flex: 1 1 320px;
}
.agro-download__content h2 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 10px;
}
.agro-download__content p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.agro-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 767px) {
  .agro-download__inner {
    text-align: center;
    justify-content: center;
  }
  .agro-download__actions {
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.page-header {
  background: linear-gradient(150deg, var(--agro-green-950) 0%, var(--agro-green-700) 100%);
}
.page-header-content .title {
  color: #ffffff;
}
.page-header-content .breadcrumb li,
.page-header-content .breadcrumb li a {
  color: rgba(255, 255, 255, 0.75);
}
.page-header-content .breadcrumb li:last-child {
  color: #ffffff;
}
.page-header-content .breadcrumb li a:hover {
  color: var(--agro-gold-500);
}
.agro-updated {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin: 18px 0 0;
}
.legal-list {
  margin: 0 0 40px;
  padding-left: 20px;
}
.legal-list li {
  color: var(--agro-ink);
  line-height: 28px;
  margin-bottom: 8px;
}
.privacy-item .title {
  font-size: 24px;
}

/* ---------- Footer extras ---------- */
.footer-section {
  background: linear-gradient(180deg, var(--agro-green-900) 0%, var(--agro-green-950) 100%);
}
.footer-logo-mark {
  max-height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  margin: 16px 0 0;
  text-align: center;
}

/* ---------- Contact form ---------- */
.agro-form .form-label {
  font-weight: 600;
  color: var(--agro-ink);
  margin-bottom: 6px;
}
.agro-form .form-control {
  border: 1px solid var(--agro-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
}
.agro-form .form-control:focus {
  border-color: var(--agro-green-600);
  box-shadow: 0 0 0 3px rgba(35, 81, 32, 0.12);
}
.agro-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.agro-form .agro-btn {
  border: none;
  cursor: pointer;
}
.agro-direct-email {
  margin-top: 20px;
  color: var(--agro-muted);
  font-size: 14px;
}
.agro-direct-email a {
  color: var(--agro-green-700);
  font-weight: 600;
}
