:root {
  --color-grey: #5C636A;
  --color-mint: #98C1A9;
  --color-linen: #FAF5EF;
  --color-coral: #E07A5F;
  --color-white: #FFFFFF;
  --color-black: #000000;
}

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

html, body {
  font-family: 'Public Sans', 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-grey);
  background-color: var(--color-white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir Next', 'Neue Haas Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 0.015em;
  margin-bottom: 1rem;
  color: var(--color-grey);
}

h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 1rem;
}

p, li, td {
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-grey);
}

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

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

button, .btn {
  font-size: 19px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background-color: var(--color-linen);
  color: var(--color-grey);
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
}

button:hover, .btn:hover {
  background-color: var(--color-coral);
  color: var(--color-white);
}

input, textarea {
  font-size: 19px;
  padding: 12px 16px;
  border: 2px solid var(--color-grey);
  border-radius: 8px;
  font-family: inherit;
  color: var(--color-grey);
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.1);
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-linen);
  padding: 16px 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 22px;
  }
  
  p, li, td {
    font-size: 16px;
  }
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-grey);
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-grey);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-coral);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-coral);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-white);
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--color-linen);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-linen);
  }
}

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

.hero {
  position: relative;
  background-color: var(--color-linen);
  padding: 60px 0;
  margin-bottom: 60px;
  text-align: center;
}

.hero img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 40px;
  border-radius: 8px;
}

.hero h1 {
  font-size: 72px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 18px;
  }
}

section {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-linen);
}

section:nth-child(odd) {
  background-color: var(--color-linen);
}

section:nth-child(even) {
  background-color: rgba(152, 193, 169, 0.08);
}

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

.section-title h2 {
  color: var(--color-coral);
}

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

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

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

.card {
  background-color: var(--color-white);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--color-mint);
  box-shadow: 0 8px 24px rgba(152, 193, 169, 0.2);
  transform: translateY(-4px);
}

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

.card h3 {
  color: var(--color-coral);
  margin-bottom: 12px;
}

.card p {
  font-size: 18px;
  margin-bottom: 16px;
}

.card a {
  color: var(--color-coral);
  font-weight: 600;
  display: inline-block;
}

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

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.two-column:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.two-column:nth-child(even) img {
  order: 2;
}

.two-column:nth-child(even) div {
  order: 1;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .two-column img {
    order: 1 !important;
  }
  
  .two-column div {
    order: 2 !important;
  }
}

.accordion {
  background-color: var(--color-white);
  border: 1px solid var(--color-linen);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--color-linen);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 19px;
}

.accordion-header:hover {
  background-color: rgba(224, 122, 95, 0.1);
}

.accordion-header::after {
  content: '▼';
  font-size: 14px;
  transition: transform 0.4s ease;
  color: var(--color-coral);
}

.accordion-header.active::after {
  transform: rotate(-180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.accordion-content.active {
  max-height: 1000px;
  padding: 20px;
}

.accordion-content p {
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  margin-bottom: 32px;
}

table th {
  background-color: var(--color-linen);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--color-coral);
  border-bottom: 2px solid var(--color-coral);
}

table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-linen);
}

table tbody tr:hover {
  background-color: rgba(152, 193, 169, 0.1);
}

footer {
  background-color: var(--color-grey);
  color: var(--color-white);
  padding: 40px 0;
  margin-top: 60px;
}

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

footer h4 {
  color: var(--color-linen);
  margin-bottom: 16px;
  font-size: 18px;
}

footer p, footer li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

footer a {
  color: var(--color-mint);
}

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

.disclaimer {
  background-color: rgba(224, 122, 95, 0.1);
  border-left: 4px solid var(--color-coral);
  padding: 20px;
  margin: 20px 0;
  border-radius: 4px;
}

.disclaimer p {
  margin-bottom: 0;
  font-size: 18px;
}

.cta-block {
  background-color: var(--color-mint);
  color: var(--color-grey);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin: 40px 0;
}

.cta-block h3 {
  color: var(--color-grey);
  margin-bottom: 20px;
}

.cta-block p {
  margin-bottom: 24px;
}

.cta-block a {
  background-color: var(--color-coral);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
}

.cta-block a:hover {
  background-color: var(--color-grey);
  color: var(--color-white);
  text-decoration: none;
}

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

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

.cookie-banner p {
  margin-bottom: 0;
  color: var(--color-white);
  font-size: 16px;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--color-mint);
  color: var(--color-grey);
}

.cookie-btn-accept:hover {
  background-color: var(--color-coral);
}

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

.cookie-btn-reject:hover {
  background-color: var(--color-white);
  color: var(--color-grey);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--color-white);
  border: none;
  text-decoration: underline;
}

.cookie-btn-learn:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .cookie-banner {
    position: static;
  }
  
  .cookie-banner.show {
    justify-content: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

.thank-you-container {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
}

.thank-you-content h1 {
  color: var(--color-coral);
  margin-bottom: 20px;
}

.thank-you-content p {
  font-size: 20px;
  margin-bottom: 40px;
}

.spacer {
  height: 60px;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  header {
    padding: 12px 0;
  }
  
  nav {
    height: 50px;
  }
  
  .logo {
    font-size: 20px;
  }
  
  main {
    margin-top: 70px;
  }
  
  section {
    padding: 40px 0;
  }
  
  .grid, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
