:root {
  --ink: #142337;
  --deep: #17324d;
  --deep-2: #0e2237;
  --steel: #49718f;
  --accent: #c98136;
  --accent-2: #f2b35b;
  --paper: #f7f3ea;
  --mist: #eef3f3;
  --surface: #ffffff;
  --text: #233043;
  --muted: #627083;
  --line: #d9dedc;
  --shadow: 0 18px 42px rgba(20, 35, 55, .12);
  --soft-shadow: 0 8px 22px rgba(20, 35, 55, .08);
  --radius: 8px;
  --radius-lg: 18px;
  --container: 1220px;
  --header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 1rem;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); }
h3 { font-size: 1.25rem; }
.wrap { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
  margin-bottom: .85rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .78rem 1.05rem;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #a96a29; transform: translateY(-1px); }
.btn.secondary { background: #fff; color: var(--deep); border-color: var(--line); }
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  background: rgba(247, 243, 234, .93);
  border-bottom: 1px solid rgba(217, 222, 220, .75);
  backdrop-filter: blur(14px);
}
.site-header.scrolled { box-shadow: var(--soft-shadow); }
.nav-shell { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 900; color: var(--deep); }
.brand img { width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  padding: .65rem .8rem;
  border-radius: var(--radius);
  color: #334056;
  font-weight: 750;
}
.nav-links a:hover, .nav-links a.active { background: #fff; color: var(--deep); }
.nav-cta { background: var(--deep); color: #fff !important; margin-left: .35rem; }
.nav-cta:hover { background: var(--deep-2) !important; color: #fff !important; }
.menu-toggle { display: none; border: 0; background: var(--deep); color: #fff; width: 44px; height: 44px; border-radius: var(--radius); font-size: 1.1rem; }
.mobile-panel { display: none; }
.hero {
  padding: 84px 0 70px;
  background: linear-gradient(115deg, #f7f3ea 0%, #eef3f3 72%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .88fr); gap: 54px; align-items: center; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: 2rem; }
.point, .mini-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(217,222,220,.9);
  border-radius: var(--radius);
  padding: .9rem;
  box-shadow: var(--soft-shadow);
}
.point i { color: var(--accent); margin-right: .4rem; }
.visual-frame { position: relative; }
.visual-frame img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.floating-note {
  position: absolute;
  left: -26px;
  bottom: 28px;
  width: min(290px, 82%);
  background: #fff;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  font-weight: 750;
}
.intro-grid, .split { display: grid; grid-template-columns: .78fr 1.22fr; gap: 46px; align-items: start; }
.notice {
  background: var(--deep);
  color: #dfeaf0;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.notice h3, .notice strong { color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--soft-shadow);
}
.info-card.featured { background: var(--deep); color: #e8f0f3; }
.info-card.featured h3, .info-card.featured .tag { color: #fff; }
.icon-tile {
  width: 46px; height: 46px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: #f5e4ce; color: var(--accent);
  margin-bottom: 1rem;
}
.tag { color: var(--steel); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step-num { color: var(--accent); font-weight: 900; font-size: 1.55rem; }
.image-band { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.image-band img { border-radius: var(--radius-lg); aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow); }
.check-list { display: grid; gap: .65rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list i { color: var(--accent); margin-top: .28rem; }
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--soft-shadow); }
.tab-buttons { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab-buttons button {
  border: 1px solid var(--line);
  background: var(--mist);
  border-radius: var(--radius);
  padding: .7rem .9rem;
  font-weight: 850;
  cursor: pointer;
}
.tab-buttons button.active { background: var(--deep); color: #fff; border-color: var(--deep); }
.tab-panel { display: none; padding: .5rem; }
.tab-panel.active { display: block; }
.accordion { display: grid; gap: .75rem; }
.accordion-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 850;
  color: var(--ink);
  cursor: pointer;
}
.accordion-body { display: none; padding: 0 1.1rem 1.1rem; color: var(--muted); }
.accordion-item.open .accordion-body { display: block; }
.resource-grid, .team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.dark-cta {
  background: var(--deep);
  color: #eaf0f2;
  border-radius: 24px;
  padding: 2.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.dark-cta h2 { color: #fff; }
.breadcrumbs { padding: 22px 0 0; color: var(--muted); font-size: .92rem; }
.breadcrumbs a { color: var(--steel); font-weight: 800; }
.page-hero { padding: 52px 0 40px; }
.page-hero .lead { max-width: 850px; }
.legal-content, .form-card, .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--soft-shadow);
}
.legal-content h2 { font-size: 1.65rem; margin-top: 1.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
label { font-weight: 800; color: var(--ink); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .82rem .9rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 145px; resize: vertical; }
.full { grid-column: 1 / -1; }
.form-error { color: #a33b24; font-size: .9rem; display: none; }
.field.invalid .form-error { display: block; }
.map-placeholder {
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e2e8e8, #f5eadb);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--deep);
  font-weight: 900;
}
.site-footer {
  margin-top: 70px;
  background: #101f31;
  color: #d7e1e7;
  padding: 54px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 28px; }
.site-footer h3, .site-footer strong { color: #fff; }
.site-footer a { color: #d7e1e7; display: block; margin: .32rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #aebbc6; font-size: .92rem; }
.cookie-box {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: none;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.cookie-box.show { display: block; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.cookie-prefs { display: none; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: .75rem; }
.cookie-prefs.open { display: grid; }
.cookie-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 75;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.back-top {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: none;
  cursor: pointer;
}
.back-top.show { display: block; }

@media (max-width: 1024px) {
  .hero-grid, .intro-grid, .split, .image-band { grid-template-columns: 1fr; }
  .card-grid, .resource-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; }
  .mobile-panel {
    display: block;
    position: fixed;
    inset: var(--header) 0 auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: .25s ease;
    padding: 1rem;
  }
  .mobile-panel.open { transform: translateY(0); }
  .mobile-panel a { display: block; padding: .85rem; border-radius: var(--radius); font-weight: 850; }
  .hero { padding-top: 48px; }
  .floating-note { position: static; margin: -38px 18px 0; width: auto; }
  .dark-cta { display: block; }
}
@media (max-width: 620px) {
  h1 { font-size: 2.35rem; }
  .section { padding: 62px 0; }
  .hero-points, .card-grid, .resource-grid, .team-grid, .steps, .form-grid, .footer-grid, .cookie-prefs { grid-template-columns: 1fr; }
  .brand img { width: 142px; }
  .page-hero { padding-top: 36px; }
}
