:root {
  --ink: #1a1f2b;
  --ink-soft: #444b5a;
  --paper: #f7f5f1;
  --paper-alt: #eeebe4;
  --primary: #14342f;
  --primary-light: #1f4e45;
  --accent: #d97757;
  --accent-light: #f0a984;
  --gold: #c9a35d;
  --white: #fffdfa;
  --border: rgba(26,31,43,0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(20,52,47,0.08), 0 1px 1px rgba(20,52,47,0.04);
  --shadow-md: 0 4px 10px rgba(20,52,47,0.08), 0 2px 4px rgba(20,52,47,0.06);
  --shadow-lg: 0 20px 40px rgba(20,52,47,0.12), 0 8px 16px rgba(20,52,47,0.08);
  --shadow-xl: 0 30px 60px rgba(20,52,47,0.18), 0 12px 24px rgba(20,52,47,0.1);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-fill {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-fill:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: rgba(20,52,47,0.05); border-color: var(--primary); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn.lg { padding: 17px 32px; font-size: 1.02rem; }
.btn.full { width: 100%; justify-content: center; }


.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.hdr.solid {
  background: rgba(247,245,241,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.hdr-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hdr-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); flex-shrink: 0; }
.hdr-logo-mark {
  width: 38px; height: 38px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.hdr-logo-text em { font-style: normal; color: var(--accent); font-weight: 500; }
.hdr-nav { display: flex; gap: 6px; }
.hdr-nav a {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.hdr-nav a:hover, .hdr-nav a.active { color: var(--primary); background: rgba(20,52,47,0.06); }
.hdr-cta { display: flex; gap: 10px; flex-shrink: 0; }
.hdr-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hdr-burger span { width: 22px; height: 2px; background: var(--ink); transition: all 0.3s var(--ease); }
.hdr-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr-burger.open span:nth-child(2) { opacity: 0; }
.hdr-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hdr-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background: var(--paper);
  border-bottom: 1px solid transparent;
}
.hdr-mobile.open { max-height: 500px; border-color: var(--border); }
.hdr-mobile a {
  display: block;
  padding: 14px 24px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.hdr-mobile-cta { padding: 16px 24px; }


.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  background: linear-gradient(160deg, #14342f 0%, #1f4e45 55%, #2a5c50 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero-inner { max-width: 880px; text-align: center; position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
  color: var(--accent-light);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title span { color: var(--accent-light); }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  z-index: 2;
}
.hero-scroll-line { width: 1px; height: 48px; background: linear-gradient(rgba(255,255,255,0.7), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }


.sec { padding: 100px 0; position: relative; }
.sec-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sec-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.sec-title { font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--ink); }
.sec-desc { font-size: 1.1rem; color: var(--ink-soft); max-width: 460px; }
.sec-head { margin-bottom: 56px; }
.sec-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-body { max-width: 760px; }
.sec-body.narrow { max-width: 680px; }
.lead { font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 20px; line-height: 1.6; }
.sec-body p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.02rem; }


.sec-intro { background: var(--white); border-bottom: 1px solid var(--border); }
.sec-mechanisms { background: var(--paper); }
.sec-topics { background: var(--white); }
.sec-gallery { background: var(--paper); }
.sec-map { background: var(--white); }
.sec-cta { background: var(--paper-alt); }


.crd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@container (min-width: 700px) {
  .crd-grid { grid-template-columns: repeat(2, 1fr); }
  .crd-featured { grid-column: span 2; }
}
@container (min-width: 1000px) {
  .crd-grid { grid-template-columns: repeat(3, 1fr); }
  .crd-featured { grid-column: span 3; }
}
.crd {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.crd:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.crd-featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
}
@container (min-width: 700px) {
  .crd-featured { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
}
.crd-featured .crd-ico { background: rgba(255,255,255,0.15); color: var(--accent-light); }
.crd-featured .crd-txt p { color: rgba(255,255,255,0.85); }
.crd-featured img { border-radius: var(--radius-md); margin-top: 20px; box-shadow: var(--shadow-lg); }
.crd-ico {
  width: 52px; height: 52px;
  background: rgba(20,52,47,0.08);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.crd-txt h3 { font-size: 1.3rem; margin-bottom: 12px; }
.crd-txt p { color: var(--ink-soft); font-size: 0.98rem; }


.sec-invert {
  background: var(--ink);
  color: var(--white);
  padding: 110px 0;
}
.sec-invert .sec-title { color: var(--white); }
.sec-invert .lead { color: var(--white); }
.sec-invert p:not(.lead) { color: rgba(255,255,255,0.72); }
.sec-invert .sec-num { color: var(--accent-light); }
.invert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .invert-grid { grid-template-columns: 1.1fr 0.9fr; }
  .invert-grid.reverse { grid-template-columns: 0.9fr 1.1fr; }
  .invert-grid.reverse .invert-image { order: -1; }
}
.invert-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); width: 100%; aspect-ratio: 4/3; object-fit: cover; }


.topics-list { display: flex; flex-direction: column; }
.topic-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease);
}
.topic-row:hover { padding-left: 12px; }
.topic-row:first-child { border-top: 1px solid var(--border); }
.topic-index { font-size: 1.5rem; font-weight: 800; color: var(--accent); opacity: 0.5; }
.topic-content h3 { font-size: 1.25rem; margin-bottom: 8px; }
.topic-content p { color: var(--ink-soft); max-width: 560px; }
.topic-icon { font-size: 1.6rem; color: var(--primary); opacity: 0.35; justify-self: end; }


.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.large { grid-column: span 2; }
}
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.4s var(--ease); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery-item.large img { aspect-ratio: 16/9; }


.map-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 20px; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.map-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.map-regions { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 500px) and (max-width: 899px) { .map-regions { grid-template-columns: 1fr 1fr; } }
.region-item { padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.region-item h4 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; color: var(--primary); }
.region-item p { color: var(--ink-soft); font-size: 0.95rem; }


.cta-inner { text-align: center; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px; color: var(--ink); }
.cta-text { color: var(--ink-soft); max-width: 560px; margin: 0 auto 36px; font-size: 1.08rem; }


.page-hero {
  padding: 160px 24px 80px;
  background: linear-gradient(160deg, #14342f 0%, #1f4e45 70%);
  color: var(--white);
  text-align: center;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 20px 0 20px; }
.page-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.7; }


.sec-team-intro { background: var(--white); padding-top: 90px; }
.sec-team-grid { background: var(--paper); }
.team-list { display: grid; grid-template-columns: 1fr; gap: 28px; }
@container (min-width: 620px) { .team-list { grid-template-columns: 1fr 1fr; } }
.team-crd {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-crd:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-crd-img img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.team-crd-txt { padding: 28px; }
.team-crd-txt h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-role { display: block; color: var(--accent); font-weight: 600; font-size: 0.88rem; margin-bottom: 14px; }
.team-crd-txt p { color: var(--ink-soft); font-size: 0.96rem; }


.sec-articles { background: var(--white); padding-top: 80px; }
.article-list { display: flex; flex-direction: column; gap: 40px; }
.article-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
@container (min-width: 640px) {
  .article-row { grid-template-columns: 320px 1fr; align-items: center; }
}
.article-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 12px; text-transform: uppercase; }
.article-txt h2 { font-size: 1.5rem; margin-bottom: 14px; }
.article-txt p { color: var(--ink-soft); margin-bottom: 16px; }
.article-link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.25s var(--ease); }
.article-link:hover { gap: 14px; }

.sec-categories { background: var(--paper-alt); }
.cat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(5,1fr); } }
.cat-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cat-item:hover { transform: translateY(-4px); border-color: var(--accent); }
.cat-item i { font-size: 1.6rem; color: var(--primary); margin-bottom: 12px; display: block; }
.cat-item span { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }


.sec-map-intro { background: var(--white); padding-top: 90px; }
.thought-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@container (min-width: 620px) { .thought-grid { grid-template-columns: repeat(2,1fr); } }
@container (min-width: 1000px) { .thought-grid { grid-template-columns: repeat(3,1fr); } }
.thought-crd {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.thought-crd:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.thought-label { font-size: 0.78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.04em; }
.thought-crd h3 { font-size: 1.15rem; margin: 12px 0 12px; color: var(--ink); }
.thought-crd p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 16px; }
.thought-tag { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--primary); background: rgba(20,52,47,0.07); padding: 6px 14px; border-radius: 100px; }
.sec-thoughts { background: var(--paper); }


.sec-contact-grid { background: var(--white); padding-top: 90px; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; } }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-crd { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.info-crd i { font-size: 1.3rem; color: var(--accent); margin-top: 4px; }
.info-crd h4 { font-size: 1rem; margin-bottom: 6px; }
.info-crd p { color: var(--ink-soft); font-size: 0.95rem; }
.info-crd a:hover { color: var(--primary); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }


.sec-form { background: var(--paper); }
.frm { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.frm-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 800px) { .frm-row { grid-template-columns: 1fr 1fr 1.6fr; } }
.frm-row-bottom { grid-template-columns: 1fr; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 0; }
.frm-group { display: flex; flex-direction: column; gap: 8px; }
.frm-group label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.frm-group input, .frm-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  resize: vertical;
  min-height: 44px;
}
.frm-group textarea { min-height: 60px; }
.frm-group input:focus, .frm-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20,52,47,0.1);
  background: var(--white);
}
.frm-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); max-width: 520px; cursor: pointer; }
.frm-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--primary); }
.frm-check a { color: var(--primary); font-weight: 600; }


.sec-newsletter { background: var(--primary); color: var(--white); }
.newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.newsletter-txt h3 { font-size: 1.4rem; margin-bottom: 10px; }
.newsletter-txt p { color: rgba(255,255,255,0.75); max-width: 460px; font-size: 0.95rem; }
.newsletter-frm { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-frm input {
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  min-width: 240px;
  font-family: inherit;
  min-height: 44px;
}
.newsletter-frm input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-frm input:focus { outline: none; border-color: var(--accent-light); background: rgba(255,255,255,0.12); }
.newsletter-frm .btn-outline { color: var(--white); border-color: var(--white); }
.newsletter-frm .btn-outline:hover { background: var(--white); color: var(--primary); }


.thanks-hero {
  min-height: calc(100vh - 90px);
  margin-top: 90px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--accent) 140%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.thanks-inner { max-width: 620px; }
.thanks-icon {
  width: 80px; height: 80px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 32px;
}
.thanks-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.thanks-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 40px; line-height: 1.7; }


.legal-page { padding-top: 130px; padding-bottom: 100px; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.legal-hero { margin-bottom: 50px; max-width: 700px; }
.legal-hero .hero-tag { background: rgba(20,52,47,0.08); color: var(--primary); border: none; margin-bottom: 16px; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .legal-layout { grid-template-columns: 280px 1fr; align-items: start; } }
.legal-toc {
  position: relative;
}
@media (min-width: 900px) {
  .legal-toc { position: sticky; top: 110px; }
}
.legal-toc-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-bottom: 12px;
}
@media (min-width: 900px) { .legal-toc-toggle { display: none; } }
.legal-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.legal-toc-nav.open { max-height: 700px; }
@media (min-width: 900px) { .legal-toc-nav { max-height: none; overflow: visible; } }
.toc-link {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.toc-link:hover { background: var(--paper); color: var(--ink); }
.toc-link.active { background: var(--primary); color: var(--white); font-weight: 600; }
.legal-content section { margin-bottom: 40px; scroll-margin-top: 110px; }
.legal-content h2 { font-size: 1.4rem; margin-bottom: 16px; color: var(--ink); }
.legal-content p { color: var(--ink-soft); margin-bottom: 14px; font-size: 0.98rem; line-height: 1.75; }


.ftr {
  background: linear-gradient(160deg, #14342f 0%, #1a3d36 50%, #26493f 100%);
  color: rgba(255,255,255,0.85);
  padding-top: 80px;
  margin-top: auto;
}
.ftr-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 700px) { .ftr-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.ftr-brand p { margin-top: 18px; color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 300px; }
.ftr-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.03em; text-transform: uppercase; }
.ftr-col a, .ftr-col span { display: block; color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.2s var(--ease); }
.ftr-col a:hover { color: var(--accent-light); }
.ftr-col i { width: 18px; margin-right: 6px; }
.ftr-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}


.cookie-card {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 480px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 24px;
  z-index: 3000;
  transition: all 0.4s var(--ease);
}
.cookie-card.expanded { width: min(94vw, 640px); }
.cookie-card.hidden { opacity: 0; transform: translateX(-50%) translateY(20px); pointer-events: none; }
.cookie-msg { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.6; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-settings-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.cookie-settings-panel.open { max-height: 600px; margin-top: 20px; }
.cookie-cat { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--border); gap: 16px; }
.cookie-cat-txt h5 { font-size: 0.92rem; margin-bottom: 4px; }
.cookie-cat-txt p { font-size: 0.82rem; color: var(--ink-soft); }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; inset: 0; background: #ccc; border-radius: 100px; transition: background 0.25s var(--ease); cursor: pointer; }
.switch-slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: transform 0.25s var(--ease); box-shadow: var(--shadow-sm); }
.switch input:checked + .switch-slider { background: var(--primary); }
.switch input:checked + .switch-slider::before { transform: translateX(18px); }
.switch input:disabled + .switch-slider { opacity: 0.5; cursor: not-allowed; }
.cookie-save { margin-top: 18px; width: 100%; }


@media (max-width: 1024px) {
  .hdr-nav, .hdr-cta { display: none; }
  .hdr-burger { display: flex; }
}

@media (max-width: 640px) {
  .sec { padding: 70px 0; }
  .sec-inner { padding: 0 20px; }
  .hero { padding: 120px 20px 70px; }
  .frm { padding: 24px; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}