*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

body {
  margin: 0 auto;
  max-width: 72rem;
  padding: 1rem;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  transform: translateY(-200%);
  background: #fff;
  color: #111;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  transform: none;
}

a:focus-visible,
.skip-link:focus-visible {
  outline: 0.1875rem solid #111;
  outline-offset: 0.125rem;
}

header,
footer,
main {
  display: block;
}

header,
footer {
  border: 0.0625rem solid #111;
  padding: 1rem;
  margin-bottom: 1rem;
}

footer {
  margin-top: 2rem;
  margin-bottom: 0;
}

.brand {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

nav ul,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a,
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

main ul {
  padding-left: 1.25rem;
}

main li {
  margin: 0.5rem 0;
}

main a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

h1,
h2 {
  line-height: 1.25;
}

dl {
  margin: 0;
}

dl > div {
  margin: 0.5rem 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
}

@media (max-width: 40rem) {
  body {
    padding: 0.75rem;
  }

  nav ul,
  .breadcrumbs {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}


/* Mobile fixed quick actions: phone, WhatsApp, catalog. */
.mobile-quickbar {
  display: none;
}

@media (max-width: 47.99rem) {
  html {
    scroll-padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom)) !important;
  }

  .mobile-quickbar {
    position: fixed;
    z-index: 9999;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 4.25rem;
    padding: .35rem .35rem calc(.35rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(23, 63, 44, .14);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -.35rem 1.4rem rgba(17, 42, 29, .11);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-quickbar__item {
    display: flex;
    min-width: 0;
    min-height: 3.55rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    border-radius: .65rem;
    color: #173f2c;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-quickbar__item + .mobile-quickbar__item {
    border-left: 1px solid rgba(23, 63, 44, .1);
    border-radius: 0;
  }

  .mobile-quickbar__item svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
  }

  .mobile-quickbar__item:active {
    background: rgba(23, 63, 44, .07);
  }

  .mobile-quickbar__item:focus-visible {
    outline: .15rem solid #173f2c;
    outline-offset: -.15rem;
  }
}

/* Keep form placeholder hints visually lighter than entered values. */
[data-lead-form] input::placeholder,
[data-lead-form] textarea::placeholder {
  font-weight: 400;
}

/* BAS AGROS HOME V3 — unified graphite / gold form system. */
.page-home-main .home-form {
  border: 1px solid rgba(232, 197, 109, .24) !important;
  background: linear-gradient(145deg, #242522, #1b1c1a) !important;
  color: #fff !important;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .22) !important;
}

.page-home-main .home-request .home-form,
.page-home-main .home-modal-form {
  border-color: rgba(232, 197, 109, .28) !important;
  background: linear-gradient(145deg, #262724, #1d1e1c) !important;
  color: #fff !important;
}

.page-home-main .home-modal-panel {
  border-color: rgba(232, 197, 109, .32) !important;
  background: linear-gradient(145deg, #171713, #0b0c0a 72%) !important;
  color: #fff !important;
}

.page-home-main .home-modal h2,
.page-home-main .home-request h2,
.page-home-main .home-guide h2 {
  color: #fff !important;
}

.page-home-main .home-modal .home-eyebrow,
.page-home-main .home-request .home-eyebrow,
.page-home-main .home-guide-form-label {
  color: #e8c56d !important;
}

.page-home-main .home-modal-description,
.page-home-main .home-request-copy > p:not(.home-eyebrow),
.page-home-main .home-guide-intro > p:not(.home-kicker) {
  color: rgba(255, 255, 255, .68) !important;
}

.page-home-main .home-form label,
.page-home-main .home-modal-form label {
  color: #fff !important;
}

.page-home-main .home-form input,
.page-home-main .home-form select,
.page-home-main .home-form textarea {
  border: 1px solid rgba(232, 197, 109, .28) !important;
  background: #121411 !important;
  color: #fff !important;
  caret-color: #e8c56d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .015) !important;
}

.page-home-main .home-form input::placeholder,
.page-home-main .home-form textarea::placeholder {
  color: rgba(255, 255, 255, .38) !important;
  opacity: 1;
}

.page-home-main .home-form input:hover,
.page-home-main .home-form select:hover,
.page-home-main .home-form textarea:hover {
  border-color: rgba(232, 197, 109, .48) !important;
  background: #171916 !important;
}

.page-home-main .home-form input:focus,
.page-home-main .home-form select:focus,
.page-home-main .home-form textarea:focus,
.page-home-main .home-form input:focus-visible,
.page-home-main .home-form select:focus-visible,
.page-home-main .home-form textarea:focus-visible {
  outline: 3px solid rgba(232, 197, 109, .16) !important;
  outline-offset: 2px !important;
  border-color: #e8c56d !important;
  background: #181a17 !important;
  box-shadow: 0 0 0 1px rgba(232, 197, 109, .18), 0 .65rem 1.8rem rgba(0, 0, 0, .15) !important;
}

.page-home-main .home-form select,
.page-home-main .home-form option {
  color-scheme: dark;
  background-color: #121411;
  color: #fff;
}

.page-home-main .home-form input:-webkit-autofill,
.page-home-main .home-form input:-webkit-autofill:hover,
.page-home-main .home-form input:-webkit-autofill:focus,
.page-home-main .home-form textarea:-webkit-autofill,
.page-home-main .home-form select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0 1000px #121411 inset !important;
  caret-color: #e8c56d !important;
  border-color: rgba(232, 197, 109, .4) !important;
}

.page-home-main .home-form .home-btn-primary,
.page-home-main .home-modal-form .home-btn-primary,
.page-home-main .home-request .home-btn-primary {
  border-color: #d4a84a !important;
  background: linear-gradient(100deg, #a87818 0%, #d4a84a 48%, #e8c56d 100%) !important;
  color: #090a08 !important;
  box-shadow: 0 .9rem 2.2rem rgba(201, 151, 45, .18) !important;
}

.page-home-main .home-form .home-btn-primary:hover,
.page-home-main .home-modal-form .home-btn-primary:hover,
.page-home-main .home-request .home-btn-primary:hover {
  border-color: #f0d27f !important;
  background: linear-gradient(100deg, #bb8a24 0%, #dfb657 48%, #f0d27f 100%) !important;
  color: #090a08 !important;
}

.page-home-main .home-modal-close {
  border: 1px solid rgba(232, 197, 109, .42) !important;
  background: #22231f !important;
  color: #e8c56d !important;
}

.page-home-main .home-modal-close:hover {
  border-color: #e8c56d !important;
  background: #2c2d28 !important;
  color: #f0d27f !important;
}

.page-home-main .home-modal-close:focus-visible {
  outline: 3px solid rgba(232, 197, 109, .2) !important;
  outline-offset: 2px !important;
}

.page-home-main .home-modal-note,
.page-home-main .home-guide-consent,
.page-home-main .home-form-status {
  color: rgba(255, 255, 255, .48) !important;
}

@media (max-width: 47.99rem) {
  .page-home-main .home-form {
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .18) !important;
  }
}

/* HOME V3 — Popular crops: stretch the two lower cards across the full width of the four-card row. */
@media (min-width: 64rem) {
  .page-home-main .home-crops.home-crops-lux-ready .home-crops-list > li:nth-child(5) {
    grid-column: 1 / span 6 !important;
    grid-row: 2 !important;
  }

  .page-home-main .home-crops.home-crops-lux-ready .home-crops-list > li:nth-child(6) {
    grid-column: 7 / span 6 !important;
    grid-row: 2 !important;
  }
}

/* Footer contacts: compact, labeled and consistent. */
.home-footer #contacts p {
  margin: .42rem 0;
}

.home-footer #contacts .home-footer-contact-link {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: .65rem;
  color: #f3f0e8;
  font-size: .82rem;
  line-height: 1.2;
  text-decoration: none;
}

.home-footer #contacts .home-footer-contact-link svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0;
  color: #e8c56d;
}

.home-footer-contact-copy {
  display: grid;
  gap: .15rem;
}

.home-footer-contact-role {
  color: rgba(243, 240, 232, .58);
  font-size: .67rem;
  font-weight: 700;
  line-height: 1.15;
}

.home-footer-contact-value {
  color: #f3f0e8;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
}

.home-footer #contacts .home-footer-contact-link:hover .home-footer-contact-value,
.home-footer #contacts .home-footer-contact-link:focus-visible .home-footer-contact-value {
  color: #e8c56d;
}

.home-footer-contact-note {
  margin-top: .7rem !important;
}

@media (max-width: 47.99rem) {
  .home-footer #contacts .home-footer-contact-link {
    min-height: 2.75rem;
  }
}
