@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;700&family=Poppins:wght@400;500;600;700;900&display=swap');

:root {
  --color-charcoal: #4B5E6D;
  --color-fern: #8FA69B;
  --color-linen: #F5F0E6;
  --color-indigo: #3A506B;
  --color-black: #1a1a1a;
  --color-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Bitter', serif;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--color-charcoal);
  background-color: var(--color-linen);
  font-weight: 400;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-black);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.625rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-charcoal);
}

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

a:hover {
  color: var(--color-indigo);
}

strong, .highlight {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--color-fern);
}

header {
  position: sticky;
  top: 0;
  background-color: rgba(245, 240, 230, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(75, 94, 109, 0.1);
  padding: 1.5rem 7vw;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(245, 240, 230, 0.98);
  box-shadow: 0 2px 8px rgba(75, 94, 109, 0.1);
}

.header-content {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  border-bottom-color: var(--color-fern);
  color: var(--color-fern);
}

main {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 7vw 0 5vw;
}

section {
  padding: 120px 0;
  border-bottom: 1px solid rgba(75, 94, 109, 0.05);
}

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

.container-fluid {
  width: 100%;
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 120px 7vw 120px 5vw;
}

.full-bleed-alt {
  background: linear-gradient(135deg, var(--color-linen) 0%, rgba(143, 166, 155, 0.05) 100%);
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2col.reverse {
  direction: rtl;
}

.grid-2col.reverse > * {
  direction: ltr;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(75, 94, 109, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-fern);
}

.card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 16px rgba(75, 94, 109, 0.12);
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(58, 80, 107, 0.03) 100%);
}

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

.button {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  background-color: var(--color-fern);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(143, 166, 155, 0.25);
  position: relative;
  overflow: hidden;
}

.button:hover {
  background-color: var(--color-indigo);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(143, 166, 155, 0.35);
}

.button:active {
  transform: translateY(0);
}

.button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.button:active::after {
  width: 300px;
  height: 300px;
}

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

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

table th {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 1.25rem;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(75, 94, 109, 0.1);
}

table tbody tr:hover {
  background-color: rgba(143, 166, 155, 0.05);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.image-hero {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 2rem;
}

.image-inline {
  max-width: 600px;
  margin: 2rem 0;
}

form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(75, 94, 109, 0.08);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--color-charcoal);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid rgba(75, 94, 109, 0.2);
  border-radius: 4px;
  font-family: 'Bitter', serif;
  font-size: 1rem;
  color: var(--color-charcoal);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-fern);
  box-shadow: 0 0 0 3px rgba(143, 166, 155, 0.1);
}

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

.disclaimer {
  background-color: rgba(58, 80, 107, 0.05);
  border-left: 4px solid var(--color-indigo);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.cta-soft {
  text-align: center;
  padding: 3rem 0;
}

.cta-soft p {
  font-size: 1.25rem;
  color: var(--color-charcoal);
  margin-bottom: 2rem;
}

footer {
  background-color: var(--color-charcoal);
  color: var(--color-linen);
  padding: 3rem 7vw 2rem 5vw;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
  max-width: 1520px;
  margin: 0 auto;
}

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

.footer-section h3 {
  color: var(--color-linen);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: rgba(245, 240, 230, 0.9);
  margin-bottom: 0.75rem;
}

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

.footer-section a {
  color: var(--color-fern);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 240, 230, 0.8);
}

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

.cookie-banner p {
  margin: 0;
  color: var(--color-linen);
}

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

.cookie-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cookie-btn-accept {
  background-color: var(--color-fern);
  color: var(--color-white);
}

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

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

.cookie-btn-reject:hover {
  background-color: rgba(245, 240, 230, 0.1);
}

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

.cookie-btn-learn:hover {
  background-color: rgba(143, 166, 155, 0.1);
}

.hidden {
  display: none;
}

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

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  body {
    font-size: 1rem;
    line-height: 1.8;
  }

  main {
    padding: 0 5vw;
  }

  section {
    padding: 60px 0;
  }

  .full-bleed {
    padding: 60px 5vw;
  }

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

  .grid-3col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  header {
    padding: 1rem 5vw;
  }

  nav ul {
    gap: 1.5rem;
    font-size: 0.85rem;
  }

  .image-hero {
    height: 250px;
  }

  form {
    padding: 1.5rem;
  }

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

  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  footer {
    padding: 2rem 5vw;
  }

  .footer-grid {
    gap: 2rem;
  }
}

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

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  body {
    font-size: 0.95rem;
  }

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

  .logo {
    font-size: 1.1rem;
  }

  table {
    font-size: 0.85rem;
  }

  table th, table td {
    padding: 0.75rem 0.5rem;
  }

  .button {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .disclaimer {
    padding: 1rem;
  }

  form {
    padding: 1.25rem;
  }
}
