:root {
  --alpine-frost: #E5F0F5;
  --pine-green: #2E4F3A;
  --lichen-gray: #A8B5A2;
  --alpine-clay: #C68E6A;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --border-light: #ddd;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  line-height: 1.8;
  font-size: 16px;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

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

a {
  color: var(--pine-green);
  text-decoration: none;
  transition: all 0.45s ease-in-out;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.45s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background-color: var(--alpine-frost);
  border-bottom-color: var(--lichen-gray);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 7vw;
  max-width: 1520px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pine-green);
}

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

nav a {
  margin: 0 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

nav a:hover {
  color: var(--pine-green);
  text-decoration: none;
}

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 7vw;
  width: 100%;
}

.hero-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 500px;
  background: linear-gradient(135deg, var(--alpine-frost) 0%, var(--lichen-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url('images/hero-alpine-ridge.jpg');
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

section {
  padding: 4rem 7vw;
  margin: 2rem 0;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: 7vw;
  padding-right: 7vw;
  background: linear-gradient(135deg, rgba(229, 240, 245, 0.5) 0%, rgba(168, 181, 162, 0.3) 100%);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

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

.content-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

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

.card {
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.45s ease-in-out;
  cursor: pointer;
  height: 100%;
}

.card:hover {
  transform: scale(1.03);
  border-color: var(--pine-green);
  box-shadow: 0 12px 32px rgba(46, 79, 58, 0.15);
}

.card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--pine-green);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

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

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

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

thead {
  background-color: var(--pine-green);
  color: #fff;
}

th {
  padding: 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
}

td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}

tbody tr:hover {
  background-color: var(--alpine-frost);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--pine-green) 0%, #1f3a2c 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.45s ease-in-out;
  text-decoration: none;
  text-align: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(46, 79, 58, 0.2);
  }
  50% {
    box-shadow: 0 4px 25px rgba(46, 79, 58, 0.4);
  }
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 79, 58, 0.3);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--alpine-clay) 0%, #b87a52 100%);
}

.btn-secondary:hover {
  box-shadow: 0 8px 30px rgba(198, 142, 106, 0.3);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #888;
  font-size: 0.95rem;
}

footer {
  background-color: var(--pine-green);
  color: #fff;
  padding: 3rem 7vw;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--alpine-frost);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p, .footer-section a {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

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

.privacy-notice {
  background: var(--alpine-frost);
  border-left: 4px solid var(--pine-green);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-weight: 600;
}

.disclaimer-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.disclaimer-box h4 {
  color: #856404;
  margin-bottom: 0.5rem;
}

.disclaimer-box p {
  color: #856404;
  margin: 0;
  font-size: 0.95rem;
}

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

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

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

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--pine-green);
  box-shadow: 0 0 0 3px rgba(46, 79, 58, 0.1);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: #fff;
  padding: 1.5rem 2rem;
  display: none;
  z-index: 2000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--pine-green);
  color: #fff;
}

.cookie-accept:hover {
  background-color: #1f3a2c;
}

.cookie-reject {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

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

.cookie-learn {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

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

.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  background: var(--alpine-frost);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.faq-question:hover {
  background: var(--lichen-gray);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 1000px;
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .header-container {
    padding: 1rem 4vw;
  }

  nav {
    display: none;
  }

  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
  }

  nav.active a {
    padding: 1rem 4vw;
    margin: 0;
    border-bottom: 1px solid var(--border-light);
  }

  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }

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

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

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

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

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
  }
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.learning-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--pine-green);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.learning-cta:hover {
  background: #1f3a2c;
  text-decoration: none;
}

.micro-parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.breadcrumb {
  padding: 1rem 7vw;
  font-size: 0.9rem;
  color: #888;
}

.breadcrumb a {
  color: var(--pine-green);
}

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

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

.educational-note {
  background: var(--alpine-frost);
  border-left: 4px solid var(--pine-green);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
