*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --charcoal: #1a1a1a;
  --graphite: #2b2b2b;
  --graphite-light: #3a3a3a;
  --accent: #8b9a6b;
  --accent-hover: #6d7a56;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-dim: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.1);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 72rem;
  --header-h: 73px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--charcoal);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(139, 154, 107, 0.5);
  background: rgba(139, 154, 107, 0.1);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.lang:hover {
  color: var(--accent);
  background: rgba(139, 154, 107, 0.2);
}

.btn-outline {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(139, 154, 107, 0.5);
  background: rgba(139, 154, 107, 0.1);
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(139, 154, 107, 0.2);
}

@media (min-width: 768px) {
  .btn-outline {
    display: inline-block;
  }
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--charcoal);
  padding: 1rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nav-mobile a.accent {
  color: var(--accent);
}

main {
  padding-top: var(--header-h);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  background: var(--charcoal) center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--charcoal) 0%,
    rgba(26, 26, 26, 0.7) 50%,
    rgba(26, 26, 26, 0.3) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero .container {
    padding-bottom: 6rem;
  }
}

.hero h1 {
  max-width: 40rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero p,
.hero-taglines {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.hero-taglines {
  list-style: none;
  padding: 0;
}

.hero-taglines li + li {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .hero p,
  .hero-taglines {
    font-size: 1.125rem;
  }
}

.btn-primary {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--accent);
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sections */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section--dark {
  background: var(--graphite);
}

.section--page-top {
  padding-top: calc(var(--header-h) + 3rem);
}

.section__title {
  margin-bottom: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.section__text {
  max-width: 48rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.section__text + .section__text {
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .section__text {
    font-size: 1.125rem;
  }
}

/* Page header */
.page-hero {
  padding: 5rem 0;
  background: var(--graphite);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.page-hero p {
  margin-top: 1rem;
  max-width: 52rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-content {
  max-width: 48rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .about-content {
    font-size: 1.125rem;
  }
}

.about-content p + p,
.about-content p + ul,
.about-content ul + p {
  margin-top: 1.25rem;
}

.about-content ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.about-content li + li {
  margin-top: 0.35rem;
}

.about-content__title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--text);
}

.about-content h2 + p {
  margin-top: 0;
}

.about-content__lead {
  margin-top: 1.75rem;
}

.about-highlight-wrap {
  display: flex;
  justify-content: center;
}

.about-highlight {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: rgba(139, 154, 107, 0.08);
  text-align: center;
}

.about-highlight .about-content__title {
  margin-bottom: 1rem;
}

.about-highlight p {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.7;
}

.about-highlight ul {
  margin: 1rem auto 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-highlight li + li {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .about-highlight {
    padding: 2.5rem 2.5rem;
  }

  .about-highlight p {
    font-size: 1.25rem;
  }
}

.page-hero--quality {
  padding-top: 0;
}

.page-hero--quality .quality-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.page-hero--quality .container {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-hero--quality h1 {
  margin-top: 0;
}

/* Crops grid */
.crops {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .crops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .crops {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.crop-card {
  border: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.5);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  aspect-ratio: 2.4 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
}

/* Teaser */
.teaser {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .teaser {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.teaser__link {
  flex-shrink: 0;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.teaser__link:hover {
  text-decoration: underline;
}

/* Metrics */
.metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-card {
  border: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.4);
  padding: 1.5rem;
}

.metric-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--accent);
}

.metric-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Certificates */
.certs {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .certs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cert-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 8rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(58, 58, 58, 0.5);
}

.cert-card__links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cert-card__links a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cert-card__links a:first-child {
  color: var(--accent);
}

.cert-card__links a:last-child {
  color: var(--text-dim);
}

.cert-card__links a:hover {
  text-decoration: underline;
}

.empty-note {
  color: var(--text-dim);
}

/* Contacts */
.contacts-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-phones {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .contact-phones {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}

.contact-phone .contact-label {
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.contact-role {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-phone a {
  color: var(--text);
}

.contact-phone > a:first-of-type:hover {
  color: var(--accent);
}

.contact-wa {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--accent);
}

.contact-wa:hover {
  color: var(--accent-hover);
}

.contact-label {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item a {
  color: var(--text);
}

.contact-item a:hover {
  color: var(--accent);
}

/* Contacts page */
.contacts-page__intro {
  max-width: 40rem;
}

.contacts-page__intro h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.contacts-page__intro p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.contacts-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .contacts-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.45);
  transition: border-color 0.2s, background 0.2s;
}

.contact-card:hover {
  border-color: rgba(139, 154, 107, 0.35);
  background: rgba(139, 154, 107, 0.06);
}

.contact-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: rgba(139, 154, 107, 0.2);
  border: 1px solid rgba(139, 154, 107, 0.35);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.contact-card__name {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
}

.contact-card__role {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.contact-card__phone {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--text);
  transition: color 0.2s;
}

.contact-card__phone:hover {
  color: var(--accent);
}

.contact-card__wa {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--accent);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: background 0.2s, color 0.2s;
}

.contact-card__wa:hover {
  background: var(--accent);
  color: var(--charcoal);
}

.contact-email-block {
  max-width: 32rem;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: rgba(139, 154, 107, 0.08);
}

.contact-email-block__label {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-email-block__link {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
  word-break: break-all;
  transition: color 0.2s;
}

.contact-email-block__link:hover {
  color: var(--accent);
}

.contact-email-block__hint {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contacts-note {
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.contacts-note__title {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.contacts-note p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-messengers {
  display: flex;
  gap: 1rem;
}

.form-title {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 300;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(139, 154, 107, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-msg {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.form-msg--ok {
  color: var(--accent);
}

.form-msg--err {
  color: #f87171;
}

/* Production split */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite-light);
}

.split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--graphite-light);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
}
