:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-light: #4CAF50;
  --green-soft: #E8F5E9;
  --blue: #1565C0;
  --blue-soft: #E3F2FD;
  --gold: #F9A825;
  --gold-soft: #FFF8E1;
  --bg: #F6FBF6;
  --white: #ffffff;
  --text: #1A2E1A;
  --muted: #5A6B5A;
  --border: #D4E5D4;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(30, 90, 40, 0.10);
  --shadow-soft: 0 4px 18px rgba(30, 90, 40, 0.06);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Top bar */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.84rem;
  padding: 0.5rem 1.5rem;
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; transition: opacity 0.2s; }
.topbar a:hover { opacity: 0.8; }
.topbar-links { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }

/* Header */
.header {
  background: var(--white);
  padding: 0.85rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--green-dark);
}
.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.logo span { line-height: 1.15; }
.logo small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0;
}
.nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav a {
  color: var(--text);
  transition: color 0.2s;
  position: relative;
  padding: 0.25rem 0;
}
.nav a:hover,
.nav a.active { color: var(--green); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover {
  background: var(--green-soft);
}
.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 4px 14px rgba(249, 168, 37, 0.35);
}
.btn-gold:hover {
  background: #F57F17;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--green-dark);
  line-height: 1;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 40, 20, 0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2rem;
}
.mobile-nav.show { display: flex; }
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}
.mobile-nav .close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(27, 94, 32, 0.92) 0%, rgba(21, 101, 192, 0.85) 100%),
    url('images/tehnika.jpg') center/cover no-repeat;
  color: #fff;
  padding: 5rem 1.5rem 4.5rem;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 640px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 520px;
  margin-bottom: 1.8rem;
  font-weight: 500;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.hero-btns .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,0.12);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gold);
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 4.5rem 1.5rem;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 2.8rem;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.8rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}
.section-head p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--green-soft);
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card .body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
.product-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green-dark);
}

/* Locations */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.loc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.loc-card .pin {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.loc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}
.loc-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
.loc-card a {
  color: var(--blue);
  font-weight: 600;
}
.loc-card a:hover { text-decoration: underline; }

/* About block */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about-text ul {
  margin: 1rem 0 1.5rem;
}
.about-text li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: var(--text);
  font-weight: 500;
}
.about-text li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* Hours */
.hours-box {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.hours-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.hours-box p { opacity: 0.9; font-size: 0.95rem; }
.hours-times {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hours-times div {
  background: rgba(255,255,255,0.12);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  text-align: center;
}
.hours-times strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-grid a {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-grid a:hover img { transform: scale(1.05); }

/* Form */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--bg);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Contacts page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
}
.contact-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-item a,
.contact-item span {
  font-weight: 600;
  color: var(--text);
}
.contact-item a:hover { color: var(--green); }

/* Variety cards */
.variety-list {
  display: grid;
  gap: 1.2rem;
}
.variety-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.variety-item img {
  width: 140px;
  height: 100%;
  object-fit: cover;
  min-height: 120px;
}
.variety-item .body {
  padding: 1.1rem 1.2rem 1.2rem 0;
}
.variety-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.3rem;
}
.variety-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark) 0%, #1565C0 100%);
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.cta-band .btn-gold { margin: 0 0.4rem 0.5rem; }
.cta-band .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  margin: 0 0.4rem 0.5rem;
}
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Footer */
.footer {
  background: #0F2412;
  color: rgba(255,255,255,0.75);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(1.1);
}
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.footer ul li { margin-bottom: 0.45rem; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-hero p {
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .variety-item { grid-template-columns: 100px 1fr; }
  .variety-item img { width: 100px; }
}

@media (max-width: 560px) {
  .hero { padding: 3.5rem 1.2rem 3rem; }
  .hero-stats { gap: 1.4rem; }
  .section { padding: 3rem 1.2rem; }
  .hours-box { padding: 1.5rem; }
}
