:root {
  --burgundy: #6d1b34;
  --burgundy-deep: #4a1022;
  --ink: #1d1a17;
  --muted: #5c564e;
  --nav: #2a2e33;
  --nav-hover: #3a4046;
  --paper: #f4f1ec;
  --card: #ffffff;
  --line: #e3ddd4;
  --gold: #8d6b3a;
  --dir: #0b3a66;
  --ok: #1f6b45;
  --shadow: 0 12px 32px rgba(40, 24, 16, 0.08);
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--burgundy); }
a:hover { color: var(--burgundy-deep); }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 14px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 168px; height: auto; display: block; }
.tag {
  display: block;
  max-width: 240px;
  color: #3a3a3a;
  font-size: 15px;
  font-style: italic;
  line-height: 1.35;
}
.contact-block { text-align: right; color: #3d3d3d; font-size: 14.5px; line-height: 1.45; }
.contact-block a { color: #1d4f86; text-decoration: none; font-weight: 650; }
.contact-block a:hover { text-decoration: underline; }
.search { margin-top: 8px; display: flex; justify-content: flex-end; gap: 6px; }
.search input {
  width: min(260px, 46vw);
  border: 1px solid #cfc8be;
  background: #fff;
  padding: 7px 10px;
  font: inherit;
  font-size: 14px;
}
.search button, .btn, button.btn {
  background: var(--burgundy);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.search button:hover, .btn:hover { background: var(--burgundy-deep); color: #fff; }
.btn.secondary { background: var(--dir); }
.btn.secondary:hover { background: #072844; }
.btn.ghost { background: transparent; color: var(--burgundy); border: 1px solid var(--burgundy); }

.nav-wrap { background: var(--nav); }
.nav-bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: 0 12px;
}
.menu-toggle {
  display: none;
  margin: 8px 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 12px;
  font: inherit;
}
.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}
.crumbs.dark, .crumbs.dark a { color: var(--muted); }
.crumbs-wrap { padding-bottom: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button.nav-link {
  display: block;
  color: #f3f3f3;
  text-decoration: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  padding: 13px 11px;
  cursor: pointer;
  white-space: nowrap;
}
.menu > li > a:hover, .menu > li > button.nav-link:hover,
.menu > li > a[aria-current="page"], .menu > li.active > a, .menu > li.active > button.nav-link {
  color: #fff;
  background: #1b1e22;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 5;
}
.menu > li:hover > .submenu, .menu > li:focus-within > .submenu, .menu > li.open > .submenu { display: block; }
.submenu a {
  display: block;
  padding: 8px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: #f7f1ea; color: var(--burgundy); }

.hero { position: relative; background: #1a1c1f; color: #fff; overflow: hidden; min-height: 420px; }
.slide {
  display: none;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slide.active { display: block; }
.hero:has(.slide-art.active) { min-height: 0; }
.slide-art { min-height: 0; background: #e7f0f8; }
.slide-art::after { display: none; }
.slide-art img { display: block; width: 100%; height: auto; max-width: none; max-height: none; object-fit: fill; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,12,14,.62), rgba(18,12,14,.18) 70%);
}
.slide-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px 80px;
}
.kicker {
  display: inline-block;
  background: rgba(255,255,255,.92);
  color: #222;
  font-weight: 750;
  padding: 8px 14px;
  margin-bottom: 8px;
}
.slide-copy p {
  margin: 0;
  max-width: 560px;
  background: rgba(255,255,255,.88);
  color: #222;
  padding: 10px 14px;
}
.hero-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}
.hero-nav button {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.9);
  color: #222;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.hero-nav button[data-hero="prev"] { margin-left: 14px; }
.hero-nav button[data-hero="next"] { margin-right: 14px; }
.dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer;
}
.dots button[aria-current="true"] { background: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 36px 20px 64px; }
.lede { font-size: 18px; }
.principles { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.principles span {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--burgundy);
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow);
}
.card h2, .card h3 { margin: 0 0 8px; font-size: 22px; }
.card ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.card li { padding: 6px 0 6px 22px; position: relative; border-bottom: 1px dotted #ece7e0; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 750; }
.page-hero {
  background: linear-gradient(120deg, var(--burgundy-deep), #7a3148 55%, #3d2a24);
  color: #fff;
  padding: 34px 0 28px;
}
.page-hero .wrap { padding: 0 20px; }
.page-hero h1 { margin: 0 0 6px; font-size: 40px; letter-spacing: -0.03em; }
.crumbs { color: rgba(255,255,255,.82); font-size: 14px; }
.crumbs a { color: #fff; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 26px; }
.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); padding: 18px 20px; }
.panel h2 { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 7px 0 7px 24px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 750; }

.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
}
.logo-tile img { max-height: 72px; width: auto; max-width: 180px; object-fit: contain; }
.logo-tile:hover { border-color: var(--burgundy); }

.wrap:has(+ .partner-band) { padding-bottom: 8px; }
.partner-band {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 22px 0 18px;
  margin: 0;
}
.partner-band h2 {
  max-width: var(--max);
  margin: 0 auto 12px;
  padding: 0 20px;
  font-size: 22px;
}
.logo-slider { overflow: hidden; }
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-slide 42s linear infinite;
}
.logo-slider:hover .logo-track,
.logo-slider:focus-within .logo-track { animation-play-state: paused; }
.logo-slide {
  flex: 0 0 200px;
  width: 200px;
  height: 96px;
  margin: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 14px;
}
.logo-slide img { max-height: 64px; max-width: 160px; width: auto; object-fit: contain; }
@keyframes logo-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; max-width: var(--max); margin: 0 auto; }
}

.people { display: grid; gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); padding: 22px 24px; }
.person h2 { margin-top: 0; }
.role { color: var(--gold); font-weight: 750; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }

form.stack { display: grid; gap: 12px; }
label { font-weight: 650; font-size: 14px; display: grid; gap: 4px; }
input, textarea, select {
  font: inherit;
  padding: 9px 10px;
  border: 1px solid #cfc8be;
  background: #fff;
  width: 100%;
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { color: var(--muted); font-size: 14.5px; }
.form-status { min-height: 1.2em; font-weight: 650; }

.sheet {
  background: #fff;
  border: 1px solid #cfd6de;
  padding: 28px 32px 36px;
  max-width: 900px;
  color: #1a1a1a;
}
.sheet h1 { margin: 0 0 4px; font-size: 32px; color: var(--dir); letter-spacing: 0; }
.sheet .contract-name { margin: 0 0 16px; font-size: 18px; }
.meta { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.meta th, .meta td, .price th, .price td { border: 1px solid #b7c2cc; padding: 8px 10px; text-align: left; vertical-align: top; }
.meta th { width: 180px; background: #f3f6f9; color: var(--dir); }
.price { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.price th { background: var(--dir); color: #fff; }
.price tr:nth-child(even) td { background: #f7f9fb; }
.sheet h2, .sheet h3 { color: var(--dir); border-bottom: 1px solid #d5dee6; padding-bottom: 4px; }
.sheet .contact-card { background: #f4f7fa; border: 1px solid #d5dee6; padding: 12px 14px; }
.pdf-frame { width: 100%; height: 820px; border: 1px solid #cfd6de; background: #fff; }
.file-link { font-weight: 750; }

.site-footer { background: #1c1f23; color: #ddd; padding: 28px 0 18px; }
.site-footer a { color: #fff; }
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.site-footer h2 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.motto { margin-top: 18px; color: #f0e6d8; font-style: italic; }
.legal { max-width: var(--max); margin: 14px auto 0; padding: 10px 20px 0; border-top: 1px solid #34383d; color: #aaa; font-size: 13px; }

.results { display: grid; gap: 10px; }
.result { background: #fff; border: 1px solid var(--line); padding: 12px 14px; text-decoration: none; color: inherit; }
.result strong { color: var(--burgundy); }

@media (max-width: 900px) {
  .top, .split, .foot, .grid, .logos { display: block; }
  .grid, .logos, .foot { display: grid; }
  .grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; }
  .contact-block, .search { text-align: left; justify-content: flex-start; }
  .brand { align-items: flex-start; }
  .menu-toggle { display: inline-block; }
  .menu { display: none; flex-direction: column; padding-bottom: 10px; }
  .menu.open { display: flex; }
  .submenu { position: static; box-shadow: none; border: 0; background: #1b1e22; min-width: 0; display: none; }
  .menu > li.open > .submenu, .menu > li:focus-within > .submenu { display: block; }
  .menu > li:hover > .submenu { display: none; }
  .menu > li.open:hover > .submenu { display: block; }
  .submenu a { color: #eee; }
  .row2 { grid-template-columns: 1fr; }
  .sheet { padding: 18px 14px; }
  .slide { min-height: 360px; }
  .slide-art { min-height: 0; }
  .slide-copy { padding: 56px 18px 70px; }
  .page-hero h1 { font-size: 32px; }
}
@media print {
  .site-header, .site-footer, .hero-nav, .dots, .menu-toggle, .search { display: none !important; }
  body { background: #fff; }
  .sheet { border: 0; max-width: none; }
}
