@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #F7F5F2;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F0EDE8;
  --color-border: #E2DDD8;
  --color-text: #1C1917;
  --color-text-muted: #6B6560;
  --color-text-light: #9C9490;
  --color-accent: #2D5A4E;
  --color-accent-light: #3D7A6A;
  --color-accent-pale: #E8F0EE;
  --color-gold: #B8974A;
  --color-gold-light: #D4B06A;
  --color-header-bg: #1C1917;
  --color-header-text: #F7F5F2;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.06);
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.25; font-weight: 700; }

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 300;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }

.section__header {
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title { margin-bottom: 16px; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin: 20px 0;
}

.divider--center { margin: 20px auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(45,90,78,0.25);
}
.btn--primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 6px 20px rgba(45,90,78,0.35);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-pale);
}

.btn--ghost {
  background: transparent;
  color: var(--color-header-text);
  border: 1.5px solid rgba(247,245,242,0.3);
  padding: 12px 24px;
}
.btn--ghost:hover {
  background: rgba(247,245,242,0.1);
  border-color: rgba(247,245,242,0.6);
}

.btn--gold {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184,151,74,0.3);
}
.btn--gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}

.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  height: var(--nav-height);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav__logo-placeholder {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__site-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-header-text);
  letter-spacing: -0.01em;
}

.nav__site-name span {
  color: var(--color-gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  color: rgba(247,245,242,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-header-text);
  background: rgba(255,255,255,0.08);
}

.nav__cta {
  margin-left: 16px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-header-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-header-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nav__mobile-menu.open { display: block; }

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.nav__mobile-link {
  color: rgba(247,245,242,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav__mobile-link:hover { 
  color: var(--color-header-text);
  background: rgba(255,255,255,0.07);
}

.page-wrapper { padding-top: var(--nav-height); }

.hero {
  position: relative;
  background: var(--color-header-bg);
  color: var(--color-header-text);
  overflow: hidden;
}

.hero--home {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
}

.hero--page {
  padding: 80px 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,25,23,0.95) 0%, rgba(28,25,23,0.75) 60%, rgba(45,90,78,0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(247,245,242,0.75);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(247,245,242,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body { padding: 28px; }

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-item__icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.feature-item__content h4 { margin-bottom: 6px; }
.feature-item__content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .split__image img { height: 300px; }
}

.accordion { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }

.accordion__item { border-bottom: 1px solid var(--color-border); }
.accordion__item:last-child { border-bottom: none; }

.accordion__trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--color-surface);
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  color: var(--color-text);
}

.accordion__trigger:hover { background: var(--color-surface-alt); }

.accordion__trigger.active { background: var(--color-accent-pale); color: var(--color-accent); }

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-text-muted);
}

.accordion__trigger.active .accordion__icon { transform: rotate(180deg); color: var(--color-accent); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__body.open { max-height: 600px; }

.accordion__content {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45,90,78,0.12);
}

.form-control::placeholder { color: var(--color-text-light); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B6560' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] { 
  width: 18px; 
  height: 18px; 
  accent-color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 6px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-info-item__title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.contact-info-item__value {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

.stats-bar {
  background: var(--color-header-bg);
  padding: 48px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.stats-bar__item {
  background: var(--color-header-bg);
  padding: 32px 24px;
  text-align: center;
}

.stats-bar__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.stats-bar__label {
  font-size: 0.8rem;
  color: rgba(247,245,242,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(247,245,242,0.5);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(247,245,242,0.6);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--color-gold); }

.breadcrumb__sep { opacity: 0.4; }

.breadcrumb__current { color: rgba(247,245,242,0.85); }

.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.toc__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.toc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc__link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}

.toc__link:hover,
.toc__link.active {
  color: var(--color-accent);
  background: var(--color-accent-pale);
  border-left-color: var(--color-accent);
}

.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-layout .toc { position: static; }
}

.article-content h2 {
  font-size: 1.8rem;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 14px;
}

.article-content p {
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 0;
}

.article-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
}

.article-content ol { counter-reset: ol-counter; }
.article-content ol li { counter-increment: ol-counter; }
.article-content ol li::before {
  content: counter(ol-counter) ".";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8rem;
}

.article-content .highlight-box {
  background: var(--color-accent-pale);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.article-content .highlight-box p {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.data-table th {
  background: var(--color-accent);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--color-surface-alt); }
.data-table tr:hover td { background: var(--color-accent-pale); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tag--green {
  background: rgba(45,90,78,0.1);
  color: var(--color-accent);
}

.tag--gold {
  background: rgba(184,151,74,0.12);
  color: var(--color-gold);
}

.tag--neutral {
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
}

.timeline { position: relative; }

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 36px;
}

.timeline__dot {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent);
  z-index: 1;
}

.timeline__date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 6px;
}

.timeline__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.timeline__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.info-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 32px 0;
}

.info-box__item {
  background: var(--color-surface);
  padding: 24px;
  text-align: center;
}

.info-box__value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 4px;
}

.info-box__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer {
  background: var(--color-header-bg);
  color: rgba(247,245,242,0.65);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__logo-placeholder {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__site-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-header-text);
}

.footer__site-name span { color: var(--color-gold); }

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 24px;
  color: rgba(247,245,242,0.5);
}

.footer__disclaimer {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(247,245,242,0.35);
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-gold);
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-header-text);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(247,245,242,0.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__link:hover { color: var(--color-header-text); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(247,245,242,0.35);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-link {
  font-size: 0.8rem;
  color: rgba(247,245,242,0.4);
  transition: color var(--transition);
}

.footer__bottom-link:hover { color: rgba(247,245,242,0.75); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-header-bg);
  border-top: 2px solid var(--color-gold);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.25);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.875rem;
  color: rgba(247,245,242,0.75);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn--cookie-accept {
  padding: 10px 22px;
  background: var(--color-gold);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

.btn--cookie-decline {
  padding: 10px 22px;
  background: transparent;
  color: rgba(247,245,242,0.6);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  font-family: inherit;
}

.btn--cookie-decline:hover {
  color: var(--color-header-text);
  border-color: rgba(255,255,255,0.3);
}

.cta-banner {
  background: var(--color-accent);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.cta-banner__content { position: relative; z-index: 1; }

.cta-banner__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.cta-banner__title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-banner__text {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 32px;
}

.calculator-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.calculator-panel__header {
  background: var(--color-accent);
  padding: 20px 28px;
  color: #fff;
}

.calculator-panel__header h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.calculator-panel__header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.825rem;
  margin-bottom: 0;
}

.calculator-panel__body {
  padding: 28px;
}

.result-box {
  background: var(--color-accent-pale);
  border: 1px solid rgba(45,90,78,0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  margin-top: 20px;
}

.result-box__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.result-box__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.result-box__note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.range-group { margin-bottom: 24px; }

.range-group__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.range-group__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.range-group__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-pale);
  padding: 3px 10px;
  border-radius: 100px;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: var(--color-border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(45,90,78,0.3);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(45,90,78,0.3);
  cursor: pointer;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  padding-left: 0;
}

.legal-content li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
}

.legal-content .last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 36px;
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.team-card__body { padding: 20px; }

.team-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-card__bio {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.value-pill {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  align-items: flex-start;
  transition: all var(--transition);
}

.value-pill:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.value-pill__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.value-pill__title {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-pill__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.success-message {
  display: none;
  background: var(--color-accent-pale);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 16px;
}

.success-message.visible { display: block; }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-gold { color: var(--color-gold); }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.bg-surface { background: var(--color-surface); }
.bg-alt { background: var(--color-surface-alt); }
.bg-dark { background: var(--color-header-bg); }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.hidden { display: none !important; }

@media (max-width: 1024px) {
  :root { --max-width: 960px; }
  .section { padding: 64px 0; }
  .section--lg { padding: 96px 0; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .section { padding: 52px 0; }
  .section--lg { padding: 72px 0; }
  .hero--home { min-height: 80vh; }
  .hero__stats { gap: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .hero__stats { flex-direction: column; gap: 20px; }
  .stats-bar__item { padding: 20px 16px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.6s ease both;
}

.animate-in--delay-1 { animation-delay: 0.1s; }
.animate-in--delay-2 { animation-delay: 0.2s; }
.animate-in--delay-3 { animation-delay: 0.3s; }
.animate-in--delay-4 { animation-delay: 0.4s; }

.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}
