:root {
  --primary-color: #4F7A68;
  --primary-dark: #3d5f51;
  --primary-light: #6b9380;
  --text-dark: #2c3e35;
  --text-medium: #5a6c63;
  --text-light: #7a8c83;
  --bg-light: #fafaf8;
  --bg-cream: #f5f4f0;
  --bg-white: #ffffff;
  --shadow-subtle: 0 2px 8px rgba(79, 122, 104, 0.08);
  --shadow-card: 0 4px 16px rgba(79, 122, 104, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #fafaf8 0%, #f5f4f0 100%);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-subtle);
  z-index: 1000;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--text-medium);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

main {
  margin-top: 80px;
  padding-bottom: 4rem;
}

section {
  padding: 5rem 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(250, 250, 248, 0.9) 0%, rgba(245, 244, 240, 0.9) 100%);
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-medium);
}

.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.content-block.with-image {
  grid-template-columns: 1fr 1fr;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-text {
  padding: 2rem;
}

.content-text h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.content-text p {
  color: var(--text-medium);
  line-height: 1.8;
}

.content-text ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.content-text ul li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-medium);
}

.content-text ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.content-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

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

.card {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(79, 122, 104, 0.15);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.disclaimer {
  background: rgba(79, 122, 104, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 3rem 0;
  border-radius: 8px;
}

.disclaimer p {
  color: var(--text-medium);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-subtle);
}

.faq-item h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-medium);
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.cta-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(79, 122, 104, 0.2);
}

.cta-button-outline {
  background: transparent;
  color: var(--primary-color);
}

.cta-button-outline:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto;
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--bg-cream);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.footer {
  background: var(--text-dark);
  color: var(--bg-cream);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: var(--bg-cream);
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-section a {
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(107, 147, 128, 0.2);
  color: var(--text-light);
  font-size: 0.9rem;
}

.education-notice {
  background: rgba(107, 147, 128, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

.education-notice p {
  color: var(--bg-cream);
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--bg-white);
  margin: 5% auto;
  padding: 3rem;
  border-radius: 15px;
  max-width: 700px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close-modal:hover {
  color: var(--text-dark);
}

.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.modal-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.modal-content p {
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.modal-content ul {
  margin: 1rem 0 1rem 2rem;
  color: var(--text-medium);
}

.modal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  z-index: 1500;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  color: var(--text-medium);
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-button {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.cookie-accept {
  background: var(--primary-color);
  color: var(--bg-white);
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-card);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .content-block.with-image {
    grid-template-columns: 1fr;
  }

  .content-block.reverse {
    direction: ltr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

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

  .cookie-button {
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .modal-content {
    margin: 10% 1rem;
    padding: 2rem 1.5rem;
  }
}
