:root {
  color-scheme: light;
  --bg: #f4f8f2;
  --surface: #ffffff;
  --surface-strong: #0f4d3f;
  --text: #10362b;
  --text-muted: #52615b;
  --accent: #1f9757;
  --accent-dark: #12623f;
  --accent-soft: #d7f1e0;
  --border: rgba(16, 54, 43, 0.15);
  --shadow-soft: 0 24px 70px rgba(17, 61, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

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

section {
  scroll-margin-top: 104px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(18, 83, 66);
  border-bottom: 1px solid rgba(16, 54, 43, 0.1);
  box-shadow: 0 12px 34px rgba(16, 54, 43, 0.08);

}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand img {
  width: 156px;
  height: auto;
  padding: 0.35rem 0.6rem;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 26px rgba(16, 54, 43, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(16, 54, 43, 0.1);
  border-radius: 999px;
  background: rgba(244, 248, 242, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent-dark);
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 54, 43, 0.08);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 22px rgba(31, 151, 87, 0.22);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #25a862, #0f5136);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0f4d3f 0%, #176146 55%, #f4f8f2 100%);
  padding: 5rem 0 4rem;
  color: white;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 77, 63, 0.72), rgba(15, 77, 63, 0.28) 45%, rgba(244, 248, 242, 0.2));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-top-logo {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-top-logo img {
  width: 220px;
  max-width: 100%;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  min-height: 0;
  aspect-ratio: 3 / 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #b7e2c1;
  margin-bottom: 1rem;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 151, 87, 0.2);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #f4f8f2;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-width: 0;
}

.hero-card {
  width: 100%;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
}

.section-light,
.contact-section {
  padding: 4rem 0;
  background: var(--bg);
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(31, 151, 87, 0.16), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(15, 77, 63, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbf5 0%, #edf5ec 100%);
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 3rem auto auto 50%;
  width: 46rem;
  height: 46rem;
  border-radius: 999px;
  background: rgba(31, 151, 87, 0.08);
  filter: blur(20px);
  transform: translateX(-50%);
  pointer-events: none;
}

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

.section-light h2,
.section-brands h2,
.section-dark h2,
.contact-section h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-light p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.section-brands {
  padding: 4rem 0;
  background: #147345;
  color: white;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.logo-card {
background: rgb(255, 255, 255);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.logo-card img {
  max-height: 56px;
  object-fit: contain;
}

.section-dark {
  padding: 4rem 0;
  background: var(--surface-strong);
  color: white;
}

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

.partner {
background: rgb(255, 255, 255); 
  border: 1px solid rgb(0, 0, 0);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-copy {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 77, 63, 0.96), rgba(18, 98, 63, 0.94)),
    url("images/BKM-Podravka-1200x800.jpg") center / cover;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-copy::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 42%);
  pointer-events: none;
}

.contact-copy > * {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #cfeedd;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-copy h2 {
  max-width: 620px;
  margin-bottom: 1.25rem;
  color: #fff;
  line-height: 1.08;
}

.contact-copy p:not(.section-kicker) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.contact-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1.05rem;
  background: #fff;
  border: 1px solid rgba(16, 54, 43, 0.08);
  border-radius: 32px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-soft);
}

.form-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

.form-heading span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-heading strong {
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0;
}

.contact-detail-row span {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.6;
}

.icon {
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #dff3e5);
  color: var(--accent-dark);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(0, 0, 0, 0.16);
}

.icon svg {
  width: 2.28rem;
  height: 2.28rem;
  display: block;
  fill: currentColor;
  color: #000;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(16, 54, 43, 0.14);
  border-radius: 16px;
  font-size: 1rem;
  color: var(--text);
  background: #f8fbf7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form textarea {
  min-height: 138px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 151, 87, 0.1);
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 600;
  color: var(--accent);
}

.site-footer {
  background: var(--surface-strong);
  color: white;
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-image {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .section-grid,
  .contact-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

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

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 136px;
  }

  .site-nav {
    border-radius: 20px;
  }

  .site-nav a {
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-image {
    aspect-ratio: 3 / 2;
    border-radius: 22px;
  }

  .contact-section {
    padding: 4rem 0;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .button {
    width: 100%;
  }
}
