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

:root {
  --color-primary: #F5F5F5;
  --color-secondary: #5D5C61;
  --color-accent-blue: #7395AE;
  --color-accent-beige: #B1A296;
  --color-text: #5D5C61;
  --color-border: #E0E0E0;
  --spacing-unit: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  max-width: 650px;
}

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

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

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.logo-text {
  margin-left: 0.75rem;
  display: inline-block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 1rem;
  color: var(--color-secondary);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 0.25rem;
}

nav a:hover,
nav a.active {
  color: var(--color-accent-blue);
  border-bottom: 2px solid var(--color-accent-blue);
}

main {
  padding-top: 6rem;
  min-height: 100vh;
}

section {
  padding: 6rem 0;
}

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

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: -6rem;
  padding-top: 6rem;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 10;
  max-width: 900px;
}

.hero h1 {
  color: white;
  font-size: 4rem;
  margin-bottom: 2rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-divider {
  width: 80px;
  height: 2px;
  background-color: var(--color-accent-blue);
  margin: 0 auto 2rem;
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}

.section-title {
  margin-bottom: 4rem;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent-beige);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.two-column-reverse {
  direction: rtl;
}

.two-column-reverse > * {
  direction: ltr;
}

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

.card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--color-accent-blue);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
  margin-bottom: 1rem;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  margin-bottom: 3rem;
  padding-left: 3rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background-color: var(--color-accent-blue);
  border-radius: 50%;
  border: 3px solid var(--color-primary);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: 60px;
  background-color: var(--color-border);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item strong {
  color: var(--color-accent-blue);
  display: block;
  margin-bottom: 0.5rem;
}

footer {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

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

.footer-section h3 {
  color: var(--color-accent-blue);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section a {
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--color-accent-blue);
}

.footer-section p {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  max-width: 100%;
}

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  color: var(--color-primary);
  font-size: 0.9rem;
}

.disclaimer-block {
  background-color: #FAFAFA;
  border-left: 4px solid var(--color-accent-beige);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 4px;
}

.disclaimer-block h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.disclaimer-block p {
  color: var(--color-text);
  font-size: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-accent-blue);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.cta-button:hover {
  background-color: var(--color-accent-beige);
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button-secondary {
  background-color: transparent;
  border: 2px solid var(--color-accent-blue);
  color: var(--color-accent-blue);
}

.cta-button-secondary:hover {
  background-color: var(--color-accent-blue);
  color: white;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(115, 149, 174, 0.1);
}

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

.form-submit {
  background-color: var(--color-accent-blue);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--color-accent-beige);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  padding: 1.5rem 2rem;
  display: none;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-banner.active {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-button {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--color-accent-blue);
  color: white;
}

.cookie-accept:hover {
  background-color: var(--color-accent-beige);
  color: var(--color-secondary);
}

.cookie-reject {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

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

.cookie-more {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 3rem 0;
}

.blog-card {
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
}

.blog-card p {
  font-size: 0.95rem;
  max-width: 100%;
}

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

.blog-article img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 4px;
  margin: 2rem 0;
}

.article-meta {
  color: var(--color-accent-blue);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.breadcrumb {
  font-size: 0.95rem;
  color: var(--color-accent-blue);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--color-accent-blue);
}

.divider {
  height: 2px;
  background-color: var(--color-border);
  margin: 3rem 0;
}

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

.message-box {
  background-color: #F0F4F8;
  border-left: 4px solid var(--color-accent-blue);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.thank-you-container {
  text-align: center;
  padding: 4rem 0;
}

.thank-you-container h1 {
  color: var(--color-accent-blue);
  margin-bottom: 1.5rem;
}

.thank-you-container p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

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

  header {
    padding: 1rem 0;
  }

  .header-container {
    flex-wrap: wrap;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column-reverse {
    direction: ltr;
  }

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

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

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

  .cookie-banner.active {
    flex-direction: column;
    gap: 1rem;
  }

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

  section {
    padding: 3rem 0;
  }

  p {
    font-size: 1rem;
  }
}

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

  h2 {
    font-size: 1.25rem;
  }

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

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 0;
  }
}
