:root {
  --color-dark: #1E2D3D;
  --color-teal: #2A9D8F;
  --color-sand: #E9C46A;
  --color-terracotta: #C0735E;
  --color-light: #F4F1EC;
  --color-warm-gray: #E8E4DE;
  --color-text: #2B2B2B;
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-accent: 'Libre Baskerville', serif;
  --font-nav: 'Josefin Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-light);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--color-light);
}

body::-webkit-scrollbar-thumb {
  background: var(--color-teal);
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--color-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 241, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  font-family: var(--font-nav);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(244, 241, 236, 0.97);
  box-shadow: 0 2px 24px rgba(30, 45, 61, 0.08);
  border-bottom-color: rgba(42, 157, 143, 0.15);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  box-shadow: none;
}

.logo span {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  font-family: var(--font-nav);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-desktop a:hover {
  color: var(--color-teal);
  background: rgba(42, 157, 143, 0.07);
}

.burger-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-teal);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}

.burger-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.burger-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 45, 61, 0.97);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.burger-overlay.active {
  opacity: 1;
  visibility: visible;
}

.burger-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.burger-content a {
  font-family: var(--font-nav);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-light);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.35rem 0;
}

.burger-content a:hover {
  color: var(--color-sand);
}

.hero-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 45, 61, 0.82) 0%, rgba(42, 157, 143, 0.55) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  margin: 0 0 1rem;
  max-width: 700px;
  line-height: 1.15;
}

.hero-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 550px;
  line-height: 1.7;
  margin: 0;
}

.section {
  padding: 4.5rem 1.5rem;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-alt {
  background: var(--color-warm-gray);
}

.section-teal {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a3a4a 100%);
  color: #fff;
}

.section-teal h2,
.section-teal h3 {
  color: var(--color-sand);
}

.section-teal a {
  color: var(--color-sand);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--color-dark);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.section-label {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
  display: block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30, 45, 61, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(42, 157, 143, 0.1);
}

.card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(30, 45, 61, 0.12);
  border-color: var(--color-teal);
}

.card-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
}

.card-body p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #555;
  margin: 0 0 1rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-teal);
  color: #fff;
}

.btn-primary:hover {
  background: #238578;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-teal);
  border: 2px solid var(--color-teal);
}

.btn-outline:hover {
  background: var(--color-teal);
  color: #fff;
}

.btn-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-light:hover {
  background: rgba(255,255,255,0.25);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(30, 45, 61, 0.1);
}

.two-col-text h2 {
  margin-top: 0;
}

.two-col-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: tip-counter;
}

.tips-list li {
  counter-increment: tip-counter;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(42, 157, 143, 0.12);
}

.tips-list li:last-child {
  border-bottom: none;
}

.tips-list li::before {
  content: counter(tip-counter);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-teal);
  color: #fff;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips-list li strong {
  color: var(--color-dark);
}

.breadcrumb-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-nav);
  font-size: 0.85rem;
}

.breadcrumb-nav li::after {
  content: '/';
  margin-left: 0.5rem;
  color: #aaa;
}

.breadcrumb-nav li:last-child::after {
  display: none;
}

.breadcrumb-nav a {
  color: var(--color-teal);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-nav .current {
  color: #888;
}

.article-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 45, 61, 0.85) 0%, transparent 60%);
  z-index: 1;
}

.article-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.article-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
  max-width: 700px;
}

.article-hero .article-meta {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-nav);
  font-size: 0.85rem;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-body h2 {
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-sand);
  display: inline-block;
}

.article-body h3 {
  font-family: var(--font-accent);
  color: var(--color-terracotta);
  font-size: 1.15rem;
  margin-top: 2rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body img {
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(30, 45, 61, 0.1);
  margin: 1.5rem 0;
}

.article-body figure {
  margin: 2rem 0;
}

.article-body figcaption {
  font-size: 0.85rem;
  color: #888;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-body a {
  color: var(--color-teal);
  text-decoration: underline;
  text-decoration-color: rgba(42, 157, 143, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

.article-body a:hover {
  text-decoration-color: var(--color-teal);
}

.article-sidebar-box {
  background: var(--color-warm-gray);
  border-left: 4px solid var(--color-teal);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  margin: 2rem 0;
}

.article-sidebar-box h4 {
  font-family: var(--font-nav);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-teal);
  margin: 0 0 0.75rem;
}

.related-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(30, 45, 61, 0.06);
  border-top: 4px solid var(--color-teal);
}

.contact-card h3 {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  margin: 0 0 0.75rem;
}

.contact-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-card a {
  color: var(--color-teal);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.site-footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: 3.5rem 1.5rem 1.5rem;
  margin-top: 0;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-sand);
  margin: 0 0 1rem;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.85;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  opacity: 0.85;
}

.footer-links a:hover {
  color: var(--color-sand);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(233, 196, 106, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  padding: 1.25rem 2rem;
  z-index: 11000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  border-radius: 14px 14px 0 0;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-text {
  color: var(--color-light);
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.92rem;
}

.cookie-text a {
  color: var(--color-sand);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.65rem;
}

.cookie-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-nav);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.cookie-accept {
  background: var(--color-teal);
  color: #fff;
}

.cookie-accept:hover {
  background: #238578;
}

.cookie-reject {
  background: transparent;
  color: var(--color-sand);
  border: 2px solid var(--color-sand);
}

.cookie-reject:hover {
  background: var(--color-sand);
  color: var(--color-dark);
}

.about-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  border-left: 5px solid var(--color-teal);
  box-shadow: 0 4px 20px rgba(30, 45, 61, 0.06);
}

.team-card h3 {
  font-family: var(--font-nav);
  font-size: 1.1rem;
  color: var(--color-dark);
  margin: 0 0 0.3rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.update-strip {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: #888;
  font-family: var(--font-nav);
}

.policy-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.policy-body h1 {
  margin-bottom: 2rem;
}

.policy-body h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-teal);
}

.policy-body p, .policy-body li {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
}

.policy-body ul {
  padding-left: 1.5rem;
}

.policy-body a {
  color: var(--color-teal);
}

.asymmetric-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.asymmetric-row.reverse {
  grid-template-columns: 0.6fr 1.4fr;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-sand);
  display: block;
  margin-bottom: 0.3rem;
}

.stat-item .stat-label {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(30, 45, 61, 0.08);
  object-fit: cover;
}

.main-content {
  min-height: 60vh;
}

@media (max-width: 1024px) {
  .card-grid,
  .related-articles {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .asymmetric-row,
  .asymmetric-row.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .burger-toggle {
    display: block;
  }

  .card-grid,
  .contact-grid,
  .related-articles {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 400px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .burger-content a {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    min-height: 320px;
  }

  .hero-banner h1 {
    font-size: 1.6rem;
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-item .stat-number {
    font-size: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}
