/* Global styles */
:root {
  --primary: #0b6e4f;
  --primary-dark: #064c35;
  --accent: #f7b733;
  --text: #1f2a36;
  --muted: #6c7a89;
  --background: #f5f7fa;
  --card-bg: #ffffff;
  --border: #d9e0ea;
  --shadow: 0 12px 30px rgba(15, 35, 75, 0.08);
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover,
.logo:focus {
  text-decoration: none;
}

.logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  font-weight: 500;
}

.site-nav a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  border-color: var(--accent);
  color: var(--primary-dark);
}

.site-nav a.active {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  background: linear-gradient(120deg, rgba(11, 110, 79, 0.92), rgba(6, 76, 53, 0.88));
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero p {
  margin: 0 auto 2rem auto;
  max-width: 650px;
  font-size: 1.1rem;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: #232f3e;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  background: #f6a119;
}

.button.full-width {
  width: 100%;
  text-align: center;
}

main {
  padding: 3rem 0;
}

.page h1 {
  margin-top: 0;
}

.content-grid,
.product-grid,
.blog-list,
.contact-grid {
  display: grid;
  gap: 1.8rem;
}

.card {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.product-card {
  --accent-color: var(--primary);
  --accent-soft: rgba(11, 110, 79, 0.12);
  border-top: 6px solid var(--accent-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 35, 75, 0.12);
}

.product-card h2 {
  color: var(--accent-color);
}

.product-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: var(--accent-soft);
  color: var(--accent-color);
}

.product-card--beta-carotene {
  --accent-color: #f18f01;
  --accent-soft: rgba(241, 143, 1, 0.18);
}

.product-card--lycopene {
  --accent-color: #c1121f;
  --accent-soft: rgba(193, 18, 31, 0.15);
}

.product-card--curcumin {
  --accent-color: #f4b632;
  --accent-soft: rgba(244, 182, 50, 0.18);
}

.product-card--anthocyanin {
  --accent-color: #6930c3;
  --accent-soft: rgba(105, 48, 195, 0.18);
}

.product-card--carmine {
  --accent-color: #d00000;
  --accent-soft: rgba(208, 0, 0, 0.16);
}

.product-card--copper-chlorophyllin {
  --accent-color: #2a9d8f;
  --accent-soft: rgba(42, 157, 143, 0.18);
}

.product-card--paprika {
  --accent-color: #e85d04;
  --accent-soft: rgba(232, 93, 4, 0.18);
}

.product-card--betanin {
  --accent-color: #d81159;
  --accent-soft: rgba(216, 17, 89, 0.18);
}

.product-card--riboflavin {
  --accent-color: #f6d743;
  --accent-soft: rgba(246, 215, 67, 0.22);
}

.product-card--blue-spirulina {
  --accent-color: #3a86ff;
  --accent-soft: rgba(58, 134, 255, 0.18);
}

.product-card--caramel {
  --accent-color: #7f4f24;
  --accent-soft: rgba(127, 79, 36, 0.18);
}

.product-card--annatto {
  --accent-color: #ff7b00;
  --accent-soft: rgba(255, 123, 0, 0.18);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.story {
  margin: 3rem 0;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.blog-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-block {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(11, 110, 79, 0.06);
  line-height: 1.7;
  user-select: all;
}

.form label {
  display: block;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.15);
}

.site-footer {
  background-color: #0c2438;
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }
}
