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

:root {
  --primary: #2A3647;
  --primary-light: #3d4a59;
  --accent-sage: #A7B0A9;
  --accent-ochre: #D1AA6E;
  --accent-platinum: #E1E8EE;
  --neutral-dark: #1a1a1a;
  --neutral-light: #f5f5f5;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

a {
  color: var(--accent-ochre);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

button, .btn {
  font-family: 'Open Sans', sans-serif;
  padding: 12px 32px;
  border: 2px solid var(--accent-ochre);
  background-color: transparent;
  color: var(--accent-ochre);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

button:hover, .btn:hover {
  background-color: var(--accent-ochre);
  color: #ffffff;
}

button.btn-primary, .btn.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

button.btn-primary:hover, .btn.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

input, textarea, select {
  font-family: 'Open Sans', sans-serif;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
  max-width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-ochre);
  box-shadow: 0 0 0 3px rgba(209, 170, 110, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

li {
  margin-bottom: 0.75rem;
}

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

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

header {
  background-color: var(--primary);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-platinum);
  text-decoration: none;
}

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

.logo:hover {
  color: var(--accent-ochre);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
}

nav a {
  color: var(--accent-platinum);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover, nav a.active {
  color: var(--accent-ochre);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-ochre);
}

footer {
  background-color: var(--primary);
  color: var(--accent-platinum);
  padding: 80px 0 40px;
  margin-top: 100px;
}

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

footer h3 {
  color: var(--accent-ochre);
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

footer ul {
  list-style: none;
  margin: 0;
}

footer a {
  color: var(--accent-platinum);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

footer .footer-bottom {
  border-top: 1px solid rgba(161, 176, 169, 0.3);
  padding-top: 40px;
  text-align: center;
  color: var(--accent-platinum);
  font-size: 0.9rem;
}

section {
  padding: 100px 0;
  position: relative;
}

section.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 150px 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

section.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

section.hero .container {
  position: relative;
  z-index: 2;
}

section.hero h1 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 4rem;
}

section.hero p {
  color: var(--accent-platinum);
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.9;
}

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

.section-alternating {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-alternating.reverse {
  direction: rtl;
}

.section-alternating.reverse > * {
  direction: ltr;
}

.section-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.section-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.section-image:hover img {
  transform: scale(1.02);
}

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

section.dark-bg {
  background-color: var(--primary);
  color: #ffffff;
}

section.dark-bg h2, section.dark-bg h3 {
  color: var(--accent-ochre);
}

section.dark-bg p {
  color: var(--accent-platinum);
}

section.dark-bg a {
  color: var(--accent-ochre);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 250px;
  background-color: var(--accent-platinum);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--primary);
}

.card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  margin-bottom: 1.5rem;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent-ochre);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

form .form-group {
  margin-bottom: 25px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

form input, form textarea {
  font-size: 1rem;
  padding: 14px 16px;
}

.disclaimer {
  background-color: var(--accent-platinum);
  border-left: 4px solid var(--accent-ochre);
  padding: 20px;
  margin: 30px 0;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--accent-platinum);
  padding: 25px;
  z-index: 999;
  display: none;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
  color: var(--accent-platinum);
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 10px 24px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-buttons .cookie-accept {
  background-color: var(--accent-ochre);
  color: #ffffff;
  border-color: var(--accent-ochre);
}

.cookie-buttons .cookie-accept:hover {
  background-color: #c9993d;
}

.cookie-buttons .cookie-reject {
  background-color: transparent;
  color: var(--accent-platinum);
  border-color: var(--accent-platinum);
}

.cookie-buttons .cookie-reject:hover {
  background-color: rgba(225, 232, 238, 0.1);
}

.blog-post {
  max-width: 800px;
  margin: 0 auto;
}

.blog-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.blog-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3rem;
  color: var(--accent-ochre);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.back-link:hover {
  gap: 12px;
}

.educational-disclaimer {
  background-color: #fef8f3;
  border-left: 4px solid var(--accent-ochre);
  padding: 25px;
  margin: 40px 0;
  border-radius: 4px;
  line-height: 1.8;
}

.educational-disclaimer h4 {
  margin-top: 0;
  color: var(--primary);
  margin-bottom: 1rem;
}

.educational-disclaimer p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.educational-disclaimer ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.medical-notice {
  background-color: #fff3e0;
  border: 2px solid var(--accent-ochre);
  padding: 20px;
  margin: 30px 0;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  section.hero {
    padding: 100px 0;
    min-height: auto;
  }

  section.hero h1 {
    font-size: 2.5rem;
  }

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

  .section-alternating {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-alternating.reverse {
    direction: ltr;
  }

  nav ul {
    gap: 25px;
  }

  footer .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  header .container {
    flex-wrap: wrap;
  }

  nav ul {
    order: 3;
    width: 100%;
    margin-top: 15px;
    gap: 15px;
    flex-wrap: wrap;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 60px 0;
  }

  section.hero {
    padding: 60px 0;
    min-height: auto;
  }

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

  section.hero p {
    font-size: 1rem;
  }

  .section-image img {
    height: 350px;
  }

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

  .cookie-banner.show {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .cookie-buttons {
    width: 100%;
    gap: 10px;
  }

  .cookie-buttons button {
    flex: 1;
    padding: 12px 16px;
  }

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

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  section {
    padding: 40px 0;
  }

  section.hero {
    padding: 40px 0;
  }

  section.hero h1 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 10px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.3rem;
    gap: 8px;
  }

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

  .section-image img {
    height: 250px;
  }

  .divider {
    width: 40px;
    margin-bottom: 1.5rem;
  }

  button, .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
