:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-alt: #efede8;
  --ink: #1d2125;
  --ink-soft: #3c4146;
  --muted: #6c7075;
  --line: #e1ded8;
  --accent: #3a4750;
  --accent-dark: #262f35;
  --accent-soft: #e6e8e9;
  --sand: #b8ab96;
  --success: #4a6b57;
  --error: #8a3b34;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(29, 33, 37, .04), 0 8px 24px rgba(29, 33, 37, .06);
  --shadow-lg: 0 20px 48px rgba(29, 33, 37, .14);
  --container: 1200px;
  --header-h: 76px;
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.2em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--accent-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 1000;
}
.skip-link:focus { top: 12px; color: #fff; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(29, 33, 37, .05); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name span { color: var(--sand); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover { background: var(--surface-alt); color: var(--ink); }
.main-nav a.is-active { color: var(--ink); background: var(--accent-soft); }
.main-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  margin-left: 8px;
}
.main-nav .nav-cta:hover, .main-nav .nav-cta.is-active { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface-alt); color: var(--ink); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #2b3238;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(22, 26, 30, .9) 0%, rgba(22, 26, 30, .7) 45%, rgba(22, 26, 30, .3) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { max-width: 620px; font-size: 1.18rem; color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--sand); }

.page-hero {
  position: relative;
  padding: 120px 0 96px;
  color: #fff;
  background-color: #2b3238;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 26, 30, .82), rgba(22, 26, 30, .7));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 680px; font-size: 1.12rem; margin: 0; }
.page-hero.plain { background: var(--accent-dark); padding: 96px 0 72px; }
.page-hero.plain::before { display: none; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .88rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }

.notice-bar {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-soft);
}
.notice-bar .container { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.notice-bar i { font-size: 1.15rem; color: var(--accent); flex-shrink: 0; }

.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--accent-dark); color: rgba(255, 255, 255, .86); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.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); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4d0c8; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: .93rem;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}
.split-media .media-badge {
  position: absolute;
  left: -24px;
  bottom: -24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 280px;
}
.media-badge i { font-size: 2rem; color: var(--accent); }
.media-badge strong { display: block; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.2; }
.media-badge span { font-size: .86rem; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.check-list i { color: var(--accent); font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--accent-dark); padding: 36px 28px; }
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat span { font-size: .93rem; color: rgba(255, 255, 255, .7); }

.process { counter-reset: step; }
.process-step { position: relative; padding-top: 58px; }
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--sand);
  font-weight: 600;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: 0;
  height: 1px;
  background: var(--line);
}
.process-step p { color: var(--muted); font-size: .97rem; margin: 0; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}
.service-block .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: .82rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform .25s ease; color: var(--muted); flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .faq-body { padding: 0 26px 22px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #2b3238;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 72px 64px;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 26, 30, .92), rgba(22, 26, 30, .65));
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 600px; }

.disclaimer-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sand);
  border-radius: var(--radius);
  padding: 24px 28px;
  color: var(--ink-soft);
  font-size: .95rem;
}
.disclaimer-box i { font-size: 1.6rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.disclaimer-box p:last-child { margin: 0; }

.team-card { text-align: left; }
.team-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.team-card .role { font-size: .88rem; color: var(--sand); font-weight: 600; margin-bottom: 12px; display: block; }

.timeline { position: relative; max-width: 820px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}
.timeline-item { position: relative; padding-left: 48px; margin-bottom: 36px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline-item .year { font-weight: 700; color: var(--accent); font-size: .9rem; letter-spacing: .06em; }
.timeline-item h4 { margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.form-group label .req { color: var(--error); }
.form-control {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(58, 71, 80, .12);
}
textarea.form-control { min-height: 160px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236c7075' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
.form-group.has-error .form-control { border-color: var(--error); }
.field-error { display: none; color: var(--error); font-size: .84rem; margin-top: 6px; }
.form-group.has-error .field-error { display: block; }

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 400;
}
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  display: none;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  font-size: .95rem;
}
.form-status.is-visible { display: flex; }
.form-status.success { background: #e8efea; color: var(--success); border: 1px solid #c9d8ce; }
.form-status.error { background: #f5e9e7; color: var(--error); border: 1px solid #e6cdc9; }
.form-status i { font-size: 1.3rem; flex-shrink: 0; }

.contact-info {
  background: var(--accent-dark);
  color: rgba(255, 255, 255, .82);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.contact-info h3 { color: #fff; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item i {
  font-size: 1.4rem;
  color: var(--sand);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item small { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); margin-bottom: 4px; }
.contact-item a, .contact-item address { color: #fff; font-style: normal; }
.contact-item a:hover { color: var(--sand); }

.hours { margin-top: 24px; font-size: .92rem; }
.hours div { display: flex; justify-content: space-between; padding: 6px 0; }

.map-frame {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.map-placeholder {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 40px 24px;
  background-color: var(--surface-alt);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-placeholder i { font-size: 2.6rem; color: var(--accent); }
.map-placeholder p { margin: 0; color: var(--ink-soft); }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.legal-toc h4 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc ol { margin: 0; padding-left: 1.1em; font-size: .9rem; }
.legal-toc li { margin-bottom: 8px; }
.legal-toc a { color: var(--ink-soft); }
.legal-toc a:hover { color: var(--accent-dark); }

.prose { max-width: 780px; }
.prose h2 {
  font-size: 1.55rem;
  margin-top: 48px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose .meta { color: var(--muted); font-size: .92rem; margin-bottom: 32px; }

.table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--surface); }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-alt); font-weight: 600; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

.site-footer {
  background: #1a1f23;
  color: rgba(255, 255, 255, .68);
  padding: 80px 0 0;
  font-size: .94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.site-footer h4 {
  font-family: var(--font-sans);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .68); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 16px; }
.footer-brand span { color: var(--sand); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--sand); font-size: 1.1rem; margin-top: 3px; }
.footer-contact address { font-style: normal; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 26px 0;
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}
.footer-disclaimer p { margin: 0; max-width: 980px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .86rem;
}
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, .68);
  cursor: pointer;
}
.link-button:hover { color: #fff; }

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  max-width: 980px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s ease, opacity .4s ease, visibility .4s;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-banner .cookie-icon {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-banner > div:nth-child(2) { flex: 1; }
.cookie-banner h4 { font-family: var(--font-sans); font-size: 1rem; margin: 0 0 4px; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 18px; font-size: .9rem; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(22, 26, 30, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform .25s ease;
}
.modal.is-open .modal-dialog { transform: translateY(0); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal-head h3 { margin: 0; }
.modal-close {
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
}
.modal-close:hover { background: var(--surface-alt); color: var(--ink); }
.modal-intro { color: var(--muted); font-size: .93rem; }
.consent-option {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.consent-option strong { display: block; margin-bottom: 4px; }
.consent-option p { margin: 0; font-size: .88rem; color: var(--muted); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #cfcbc4;
  border-radius: 999px;
  transition: background .2s ease;
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
}
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { opacity: .55; cursor: not-allowed; }
.switch input:focus-visible + .slider { outline: 2px solid var(--accent); outline-offset: 2px; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.mt-0 { margin-top: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 48px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(29, 33, 37, .08);
    padding: 12px 16px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .split-media .media-badge { left: 16px; bottom: -20px; }
  .section { padding: 80px 0; }
  .hero { min-height: 560px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 56px 36px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .stats, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .page-hero { padding: 88px 0 64px; }
  .form-card { padding: 30px 22px; }
  .contact-info { padding: 32px 24px; }
  .cta-band { padding: 44px 24px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 22px 20px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
  .brand { font-size: 1.2rem; }
  .brand-logo { width: 34px; height: 34px; }
  .process-step::after { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
