:root {
  --primary-green: #4a7043;
  --accent-saffron: #f4c430;
  --accent-blue: #8aadc7;
  --accent-beige: #f5e9d4;
  --text-dark: #2c2c2c;
  --text-light: #666;
  --bg-light: #fafaf8;
  --border-light: #e8e8e6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.5rem 0 1rem 0;
}

h1 {
  font-size: 3rem;
  color: var(--text-dark);
}

h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
}

h3 {
  font-size: 1.6rem;
  color: var(--text-dark);
}

p {
  margin: 0 0 1.2rem 0;
  line-height: 1.62;
  max-width: 420px;
  color: var(--text-dark);
}

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.22s ease-out;
}

a:hover {
  color: var(--accent-saffron);
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  padding: 1rem 0;
}

header .navbar-brand {
  font-weight: 700;
  color: var(--primary-green);
  font-size: 1.5rem;
}

header .navbar-brand:hover {
  color: var(--accent-saffron);
}

header .nav-link {
  color: var(--text-dark) !important;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  transition: all 0.22s ease-out;
  border-bottom: 2px solid transparent;
}

header .nav-link:hover {
  color: var(--accent-saffron) !important;
  border-bottom-color: var(--accent-saffron);
}

main {
  margin-top: 80px;
  padding: 0;
}

.hero-block {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.hero-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-block h1 {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  max-width: 800px;
  margin: 0 auto;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

section {
  padding: 120px 3rem;
  border-bottom: 1px solid var(--border-light);
}

section:last-child {
  border-bottom: none;
}

.section-light {
  background-color: var(--bg-light);
}

.section-white {
  background-color: white;
}

.section-green {
  background-color: var(--primary-green);
  color: white;
}

.section-green h2,
.section-green h3 {
  color: white;
}

.section-green p,
.section-green a {
  color: rgba(255, 255, 255, 0.95);
}

.section-green a {
  border-bottom: 2px solid var(--accent-saffron);
}

.container-content {
  max-width: 1140px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1280px;
  margin: 0 auto;
}

.text-limit {
  max-width: 420px;
}

.row-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.row-flex.reverse {
  flex-direction: row-reverse;
}

.row-flex img {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.row-flex > div {
  flex: 1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.22s scale(1.04);
  cursor: pointer;
}

.card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-top: 0;
  color: var(--text-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary-green);
  border-bottom: 2px solid transparent;
  font-weight: 600;
  transition: all 0.22s ease-out;
}

.card a:hover {
  border-bottom-color: var(--accent-saffron);
  color: var(--accent-saffron);
}

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: var(--primary-green);
  color: white;
}

th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
}

tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

tbody tr:hover {
  background-color: #f0f0ed;
}

.accordion {
  margin: 2rem 0;
}

.accordion .card {
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  box-shadow: none;
}

.accordion .card:hover {
  transform: none;
}

.accordion .card-header {
  padding: 0;
  background: none;
  border: none;
}

.accordion .card-header button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.2rem;
  background: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.22s ease-out;
}

.accordion .card-header button:hover {
  background-color: var(--bg-light);
  color: var(--accent-saffron);
}

.accordion .card-header button::after {
  content: '➕';
  float: right;
  color: var(--accent-blue);
}

.accordion .card-header button.collapsed::after {
  content: '➖';
  color: var(--accent-blue);
}

.accordion .collapse.show ~ .card-header button::after {
  color: var(--accent-blue);
}

.accordion .card-body {
  padding: 1.5rem;
  color: var(--text-light);
  line-height: 1.65;
}

button, .btn {
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-green);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease-out;
  text-decoration: none;
  display: inline-block;
}

button:hover, .btn:hover {
  background-color: #3d5a35;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-blue);
}

.btn-secondary:hover {
  background-color: #7899b0;
}

form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.22s ease-out;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(74, 112, 67, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Source Sans Pro', sans-serif;
}

.disclaimer {
  background-color: var(--accent-beige);
  border-left: 4px solid var(--accent-saffron);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  color: var(--text-dark);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.65;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: white;
  padding: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner p {
  max-width: none;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner .buttons {
  display: flex;
  gap: 1rem;
}

.cookie-banner button {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.cookie-banner .btn-accept {
  background-color: var(--accent-saffron);
  color: var(--text-dark);
}

.cookie-banner .btn-accept:hover {
  background-color: #e0b020;
  color: var(--text-dark);
}

.cookie-banner .btn-decline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-banner .btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner .btn-more {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  text-decoration: underline;
}

.cookie-banner .btn-more:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner.hidden {
  display: none;
}

footer {
  background-color: #2c2c2c;
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}

footer a {
  color: var(--accent-saffron);
}

footer a:hover {
  color: white;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul a {
  text-decoration: none;
  transition: all 0.22s ease-out;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1140px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.education-message {
  background-color: var(--accent-blue);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin: 2rem 0;
}

.breadcrumb {
  margin: 1rem 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-light);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero-block h1 {
    font-size: 1.8rem;
  }

  .hero-block {
    min-height: 400px;
  }

  section {
    padding: 60px 1.5rem;
  }

  .row-flex {
    flex-direction: column;
    gap: 2rem;
  }

  .row-flex.reverse {
    flex-direction: column;
  }

  p {
    max-width: 100%;
  }

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

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

  .cookie-banner .buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner button {
    width: 100%;
  }

  .footer-sections {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  header .navbar-toggler {
    border: none;
  }

  header .navbar-toggler:focus {
    box-shadow: none;
  }
}

ul {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
}

ul li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.highlight {
  color: var(--accent-saffron);
  font-weight: 600;
}

.muted {
  color: var(--text-light);
  font-size: 0.9rem;
}
