:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-alt: #efede8;
  --ink: #1d2124;
  --ink-soft: #464c51;
  --muted: #767c81;
  --line: #dedbd4;
  --accent: #3d4a55;
  --accent-dark: #2a333b;
  --sand: #b9ad99;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(29, 33, 36, 0.04), 0 8px 24px rgba(29, 33, 36, 0.06);
  --max: 1200px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

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

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ink);
}

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

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.1em;
  color: var(--ink-soft);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  font-family: var(--sans);
}

.btn i {
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(29, 33, 36, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.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: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius);
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--surface-alt);
}

.main-nav a.active {
  color: var(--ink);
  background: var(--surface-alt);
}

.main-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  margin-left: 8px;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.active {
  background: var(--accent-dark);
  color: #fff;
}

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

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #2a2f33;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(22, 25, 28, 0.86) 0%, rgba(22, 25, 28, 0.62) 50%, rgba(22, 25, 28, 0.3) 100%);
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  max-width: 760px;
}

.hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  max-width: 600px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.page-hero {
  position: relative;
  padding: 120px 0 90px;
  color: #fff;
  overflow: hidden;
  background: #2a2f33;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 640px;
  font-size: 1.12rem;
  margin: 0;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero.plain {
  background: var(--surface-alt);
  color: var(--ink);
  padding: 90px 0 60px;
}

.page-hero.plain::after {
  display: none;
}

.page-hero.plain h1 {
  color: var(--ink);
}

.page-hero.plain p {
  color: var(--ink-soft);
}

.page-hero.plain .eyebrow {
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero.plain .breadcrumb,
.page-hero.plain .breadcrumb a {
  color: var(--muted);
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .eyebrow {
  color: var(--sand);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.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);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfcbc2;
}

.card p:last-child {
  margin-bottom: 0;
}

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

.card-link {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.card-link i {
  transition: transform 0.2s ease;
}

.card-link:hover i {
  transform: translateX(4px);
}

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

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  aspect-ratio: 4 / 3;
}

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

.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.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.section-dark .check-list li {
  color: rgba(255, 255, 255, 0.8);
}

.section-dark .check-list i {
  color: var(--sand);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.feature {
  padding: 36px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.feature:last-child {
  border-right: none;
}

.feature i {
  font-size: 1.9rem;
  color: var(--sand);
  margin-bottom: 18px;
  display: block;
}

.feature h3 {
  font-size: 1.12rem;
}

.feature p {
  font-size: 0.95rem;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}

.step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  font-size: 0.95rem;
  margin: 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.service-detail:first-child {
  padding-top: 0;
}

.service-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-detail-head .icon-box {
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
}

.service-detail-head .service-num {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.service-detail-body .check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--surface-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.service-nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.sector {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sector i {
  font-size: 1.6rem;
  color: var(--accent);
}

.sector span {
  font-weight: 600;
  color: var(--ink);
}

.value {
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}

.value i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.value h3 {
  font-size: 1.15rem;
}

.quote-block {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-block i {
  font-size: 2.4rem;
  color: var(--sand);
  display: block;
  margin: 0 auto 20px;
}

.cta-band {
  position: relative;
  background: var(--accent-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 560px;
}

.cta-band .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 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);
  padding: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group label .req {
  color: #9a5b4b;
}

.form-control {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61, 74, 85, 0.12);
}

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

select.form-control {
  appearance: none;
  -webkit-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' stroke='%23464c51' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group.has-error .form-control {
  border-color: #9a5b4b;
}

.field-error {
  display: none;
  font-size: 0.82rem;
  color: #9a5b4b;
  margin-top: 6px;
}

.form-group.has-error .field-error {
  display: block;
}

.form-group label.checkbox {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-status i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.form-status.is-visible {
  display: flex;
}

.form-status.success {
  background: #eef1ec;
  border: 1px solid #cdd6c8;
  color: #3c4a37;
}

.form-status.error {
  background: #f5ecea;
  border: 1px solid #e1cdc8;
  color: #7a4537;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-item:first-of-type {
  padding-top: 0;
}

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

.info-item .icon-box {
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  margin: 0;
}

.info-item h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}

.info-item p,
.info-item a {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

.hours-table tr:last-child td {
  border-bottom: none;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.85) contrast(1.02);
}

.legal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 110px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.legal-toc h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
}

.legal-toc li {
  margin-bottom: 8px;
}

.legal-toc a {
  color: var(--ink-soft);
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-content {
  max-width: 780px;
}

.legal-content section {
  margin-bottom: 44px;
  scroll-margin-top: 110px;
}

.legal-content h2 {
  font-size: 1.55rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 22px;
}

.legal-content ul {
  padding-left: 22px;
  color: var(--ink-soft);
  margin: 0 0 1.1em;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 30px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.4em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  background: var(--surface-alt);
  font-weight: 600;
  color: var(--ink);
}

.data-table td {
  color: var(--ink-soft);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table code {
  font-size: 0.85rem;
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 60px;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 18px;
}

.site-footer .brand-logo {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact i {
  font-size: 1.15rem;
  margin-top: 3px;
  color: var(--sand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-bottom ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom li {
  margin: 0;
}

.footer-bottom button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.footer-bottom 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);
  box-shadow: 0 18px 50px rgba(29, 33, 36, 0.18);
  padding: 26px 28px;
  display: none;
  gap: 24px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner .cookie-icon {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.cookie-banner h3 {
  font-family: var(--sans);
  font-size: 1rem;
  margin-bottom: 6px;
}

.cookie-banner p {
  font-size: 0.9rem;
  margin: 0;
}

.cookie-text {
  flex: 1;
}

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

.cookie-actions .btn {
  padding: 11px 18px;
  font-size: 0.88rem;
}

.cookie-prefs {
  display: none;
  width: 100%;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.cookie-banner.show-prefs {
  flex-wrap: wrap;
}

.cookie-banner.show-prefs .cookie-prefs {
  display: block;
}

.cookie-pref {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
}

.cookie-pref strong {
  display: block;
  color: var(--ink);
}

.cookie-pref span {
  color: var(--muted);
  font-size: 0.85rem;
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.switch .slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.switch input:checked + .slider {
  background: var(--accent);
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.switch input:disabled + .slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  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;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-shadow: var(--shadow);
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.img-fallback {
  background: linear-gradient(135deg, #d9d5cc 0%, #b9b3a7 100%);
}

.img-fallback img {
  visibility: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .grid-4,
  .features,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature:nth-child(2) {
    border-right: none;
  }
  .feature:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    display: none;
    box-shadow: 0 12px 24px rgba(29, 33, 36, 0.08);
  }
  .main-nav.is-open {
    display: block;
  }
  .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,
  .contact-grid,
  .legal {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .legal-toc {
    position: static;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 36px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
  .hero {
    min-height: 560px;
  }
  .page-hero {
    padding: 90px 0 64px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .features,
  .steps,
  .form-row,
  .service-detail-body .check-list {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .feature:last-child {
    border-bottom: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-card,
  .info-card {
    padding: 28px 22px;
  }
  .brand-name {
    font-size: 1.12rem;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 22px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
