﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap");

:root {
  --bg-top: #fbfffb;
  --bg-mid: #f1fbf1;
  --bg-bot: #e5f4e5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-line: rgba(26, 80, 33, 0.14);
  --text-main: #15301b;
  --text-soft: #4d6753;
  --accent: #2cb24c;
  --accent-strong: #1f8b3d;
  --accent-warm: #64c978;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 18px 45px rgba(16, 54, 24, 0.14);
  --shadow-hard: 0 30px 70px rgba(17, 58, 24, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(1200px 540px at -12% -14%, rgba(255, 255, 255, 0.95), transparent 70%),
    radial-gradient(760px 400px at 110% -6%, rgba(205, 242, 214, 0.7), transparent 70%),
    linear-gradient(165deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: 540px;
  height: 540px;
  left: -120px;
  top: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 178, 76, 0.22) 0%, rgba(44, 178, 76, 0) 66%);
  filter: blur(2px);
}

body::after {
  width: 580px;
  height: 580px;
  right: -180px;
  top: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 216, 143, 0.22) 0%, rgba(122, 216, 143, 0) 64%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.shell {
  width: min(1140px, calc(100% - 2.6rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(26, 80, 33, 0.08);
  backdrop-filter: blur(14px);
  background: rgba(248, 255, 248, 0.82);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 139, 61, 0), rgba(31, 139, 61, 0.35), rgba(31, 139, 61, 0));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(140deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 24px rgba(31, 139, 61, 0.34);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.34rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 80, 33, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.nav a {
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-soft);
  transition: transform 0.22s ease, color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: linear-gradient(122deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 22px rgba(31, 139, 61, 0.3);
  transform: translateY(-1px);
}

main {
  padding: clamp(2rem, 3.8vw, 3.4rem) 0 4.6rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.2rem, 3vw, 2.8rem);
  align-items: center;
}

.kicker {
  margin: 0 0 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.hero-title,
.page-title {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 900;
}

.page-title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
}

.accent-text {
  background: linear-gradient(120deg, var(--accent-strong) 0%, var(--accent) 56%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 1rem 0 0;
  max-width: 58ch;
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--text-soft);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(118deg, var(--accent-strong), var(--accent));
  box-shadow: 0 14px 28px rgba(31, 139, 61, 0.32);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(31, 139, 61, 0.38);
}

.btn.ghost {
  color: var(--text-main);
  border-color: rgba(26, 80, 33, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.btn.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 80, 33, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 80, 33, 0.14);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 62%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.9), rgba(222, 245, 226, 0.76));
  box-shadow: var(--shadow-hard);
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 139, 61, 0.28), rgba(31, 139, 61, 0));
  z-index: -1;
}

.floating-img {
  width: min(100%, 440px);
  margin: 0 auto;
  filter: drop-shadow(0 26px 28px rgba(18, 56, 27, 0.2));
  animation: floatImage 7s ease-in-out infinite;
}

.visual-badge {
  margin-top: 1rem;
  border: 1px solid rgba(26, 80, 33, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.84rem;
  background: rgba(255, 255, 255, 0.74);
}

.visual-badge strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.94rem;
}

.visual-badge span {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.section {
  margin-top: clamp(1.8rem, 3.1vw, 2.8rem);
}

.grid-3,
.split,
.products {
  display: grid;
  gap: 1rem;
}

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

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

.stat-card,
.card-surface,
.job-card,
.quote-card,
.page-hero {
  position: relative;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.stat-card::before,
.card-surface::before,
.job-card::before,
.quote-card::before,
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(31, 139, 61, 0), rgba(31, 139, 61, 0.55), rgba(31, 139, 61, 0));
}

.stat-card,
.card-surface,
.job-card,
.quote-card {
  padding: 1.25rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.stat-card:hover,
.card-surface:hover,
.job-card:hover,
.quote-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 80, 33, 0.26);
  box-shadow: 0 24px 50px rgba(20, 61, 28, 0.2);
}

.stat-value {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.stat-label {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.card-surface h2,
.job-card h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.22rem;
}

.card-surface p,
.job-card p,
.quote-card p {
  margin: 0.72rem 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.page-hero {
  padding: clamp(1.3rem, 2.8vw, 2rem);
  background:
    radial-gradient(circle at 92% -10%, rgba(44, 178, 76, 0.19), rgba(44, 178, 76, 0) 44%),
    radial-gradient(circle at 2% 10%, rgba(31, 139, 61, 0.14), rgba(31, 139, 61, 0) 34%),
    var(--surface-strong);
}

.timeline,
.list-clean {
  list-style: none;
  margin: 0.88rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.timeline li,
.list-clean li {
  position: relative;
  padding: 0.74rem 0.84rem 0.74rem 0.96rem;
  border: 1px solid rgba(26, 80, 33, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
  line-height: 1.56;
}

.timeline li::before,
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0.44rem;
  top: 1.08rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent-strong), var(--accent));
}

.timeline strong,
.list-clean strong {
  color: var(--text-main);
  font-family: "Outfit", sans-serif;
  font-size: 0.91rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  justify-content: center;
}

.media-card img {
  width: min(100%, 430px);
  margin: 0 auto;
  filter: drop-shadow(0 22px 26px rgba(16, 52, 24, 0.2));
}

.product-meat-img {
  width: min(100%, 240px);
  height: auto;
  margin: 0.85rem auto 1rem;
  filter: drop-shadow(0 16px 20px rgba(20, 61, 28, 0.2));
}

.chips {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.chip {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 80, 33, 0.14);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 800;
}

.quote-card strong {
  display: inline-block;
  margin-top: 0.82rem;
  font-family: "Outfit", sans-serif;
}

.footer {
  margin-top: 0.6rem;
  padding: 1.25rem 0 2.1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.lead-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field span {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(26, 80, 33, 0.2);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-main);
  padding: 0.7rem 0.78rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(31, 139, 61, 0.7);
  box-shadow: 0 0 0 3px rgba(31, 139, 61, 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.form-status {
  margin: 0;
  min-height: 1.2rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-status.ok {
  color: #1f8b3d;
}

.form-status.error {
  color: #ac2d2d;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.admin-login-card {
  width: min(560px, 100%);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid rgba(26, 80, 33, 0.12);
  font-size: 0.88rem;
}

.admin-table th {
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(255, 255, 255, 0.95), transparent 68%),
    radial-gradient(720px 360px at 100% 0%, rgba(170, 232, 182, 0.62), transparent 66%),
    linear-gradient(160deg, #f7fff7 0%, #ecfaec 52%, #dff2df 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-card {
  width: min(560px, 92vw);
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 80, 33, 0.14);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  box-shadow: 0 18px 36px rgba(16, 54, 24, 0.16);
}

.preloader-title {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.25rem, 3.4vw, 1.7rem);
  font-weight: 900;
  color: #154f26;
}

.preloader-sub {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
  font-size: 0.97rem;
  font-weight: 700;
}

.preloader-bar {
  width: min(360px, 86%);
  height: 7px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: rgba(31, 139, 61, 0.14);
  overflow: hidden;
}

.preloader-bar::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f8b3d, #2cb24c, #64c978);
  transform-origin: left center;
  transform: scaleX(0);
  animation: loadingFill var(--preload-duration, 1200ms) linear forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
}

.stagger > *:nth-child(1) {
  animation-delay: 0.06s;
}

.stagger > *:nth-child(2) {
  animation-delay: 0.14s;
}

.stagger > *:nth-child(3) {
  animation-delay: 0.22s;
}

.stagger > *:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes loadingFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1040px) {
  .hero,
  .split,
  .products,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

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

@media (max-width: 760px) {
  .shell {
    width: min(1140px, calc(100% - 1.3rem));
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero-title,
  .page-title {
    font-size: clamp(1.95rem, 8.8vw, 2.8rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}



