:root {
  --white: #ffffff;
  --bg-soft: #f7f7f6;
  --bg-muted: #efefed;
  --charcoal: #2b2d31;
  --charcoal-soft: #44474d;
  --text: #2b2d31;
  --text-muted: #686b72;
  --border: #e3e3e0;
  --border-strong: #d3d3cf;
  --accent: #8a8d93;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.04);
  --shadow: 0 6px 24px rgba(20, 22, 26, 0.06);
  --shadow-lg: 0 16px 40px rgba(20, 22, 26, 0.10);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p {
  margin: 0 0 1.1em;
}

ul {
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background: #17181b;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--charcoal);
  background: var(--bg-soft);
}

.btn-light {
  background: var(--white);
  color: var(--charcoal);
}

.btn-light:hover {
  background: var(--bg-muted);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

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

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

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

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  white-space: nowrap;
  line-height: 1;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--charcoal);
  background: var(--bg-soft);
}

.main-nav a.active {
  color: var(--charcoal);
  background: var(--bg-muted);
}

.nav-cta-mobile {
  display: none;
}

.header-action {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.hero {
  position: relative;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 24, 27, 0.62) 0%, rgba(23, 24, 27, 0.72) 100%);
}

.hero-content {
  position: relative;
  max-width: 860px;
  padding: 96px 24px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 660px;
  margin: 0 auto 36px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  padding: 120px 0 104px;
  text-align: center;
  color: var(--white);
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 24, 27, 0.68);
}

.page-hero .container {
  position: relative;
  max-width: 820px;
}

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

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

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

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

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.media-badge {
  position: absolute;
  left: -24px;
  bottom: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.media-badge i {
  font-size: 1.8rem;
  color: var(--charcoal);
}

.media-badge strong {
  display: block;
  font-size: 1rem;
}

.media-badge span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  margin: 26px 0 32px;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list i {
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-top: 2px;
  flex-shrink: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}

.stat {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.split > *,
.legal > *,
.service-detail > *,
.contact-layout > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.footer-grid > *,
.form-grid > * {
  min-width: 0;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

.card p {
  color: var(--text-muted);
}

.icon-box {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.service-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px;
}

.service-card-body .icon-box {
  margin-top: -56px;
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 4px 0 28px;
}

.service-card li {
  display: flex;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--charcoal-soft);
}

.service-card li i {
  margin-top: 4px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.process {
  counter-reset: step;
}

.process-step {
  position: relative;
}

.step-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.quote-card {
  display: flex;
  flex-direction: column;
}

.quote-card > i {
  font-size: 2rem;
  color: var(--border-strong);
  margin-bottom: 14px;
}

.quote-card blockquote {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--charcoal-soft);
  flex: 1;
}

.quote-author strong {
  display: block;
  font-size: 0.95rem;
}

.quote-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: var(--white);
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 24, 27, 0.78);
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-band .hero-actions {
  justify-content: center;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

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

.service-detail:nth-child(even) .service-detail-media {
  order: 2;
}

.service-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.service-detail h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  list-style: none;
}

.benefit-tags li {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--charcoal-soft);
}

.subnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  background: var(--white);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.subnav a:hover {
  border-color: var(--charcoal);
  background: var(--bg-soft);
}

.team-card {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.team-card .avatar {
  width: 88px;
  height: 88px;
  margin: 36px auto 18px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}

.team-card .team-body {
  padding: 0 24px 32px;
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.team-card p {
  font-size: 0.92rem;
  margin: 0;
}

.timeline {
  list-style: none;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border-strong);
}

.timeline li {
  position: relative;
  padding: 0 0 36px 44px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--charcoal);
}

.timeline .year {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.timeline h3 {
  margin: 4px 0 6px;
}

.timeline p {
  color: var(--text-muted);
  margin: 0;
}

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

.form-card {
  padding: 44px;
}

.form-card:hover {
  transform: none;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
}

.form-group label .req {
  color: var(--accent);
}

.form-control {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

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

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

.form-control:focus {
  outline: none;
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(43, 45, 49, 0.08);
}

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

.field-error {
  font-size: 0.8rem;
  color: #a5483f;
  min-height: 0;
  display: none;
}

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

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.checkbox a {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.form-success.show {
  display: block;
}

.form-success i {
  font-size: 3rem;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.form-success p {
  color: var(--text-muted);
}

.info-list {
  list-style: none;
  display: grid;
  gap: 22px;
}

.info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

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

.info-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.info-list a:hover {
  color: var(--text-muted);
}

.hours {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.93rem;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.hours li:last-child {
  border-bottom: 0;
}

.hours span:last-child {
  color: var(--text-muted);
}

.map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 8;
  background: var(--bg-muted);
}

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

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s var(--ease);
}

.faq-item.open {
  border-color: var(--border-strong);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font: inherit;
  font-weight: 500;
  color: var(--charcoal);
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.faq-q i {
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-muted);
}

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

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-soft);
}

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

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

.legal-content .updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 28px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

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

.legal-content p,
.legal-content li {
  color: var(--charcoal-soft);
}

.legal-content ul {
  padding-left: 22px;
  margin: 0 0 1.1em;
  display: grid;
  gap: 6px;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal-content th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--charcoal);
}

.legal-content tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
  font-size: 0.93rem;
}

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

.footer-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-about p {
  color: var(--text-muted);
  max-width: 340px;
}

.site-footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--charcoal);
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
}

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

.footer-contact a:hover {
  color: var(--charcoal);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover,
.footer-bottom-links button:hover {
  color: var(--charcoal);
}

.link-button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 300;
  width: calc(100% - 48px);
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-head i {
  font-size: 1.5rem;
  color: var(--charcoal);
}

.cookie-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cookie-banner p a {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-prefs {
  display: none;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 16px;
  gap: 12px;
}

.cookie-prefs.show {
  display: grid;
}

.cookie-pref {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}

.cookie-pref small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

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

.switch span {
  position: absolute;
  inset: 0;
  background: var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.switch span::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s var(--ease);
}

.switch input:checked + span {
  background: var(--charcoal);
}

.switch input:checked + span::after {
  transform: translateX(18px);
}

.switch input:disabled + span {
  opacity: 0.55;
  cursor: not-allowed;
}

.switch input:focus-visible + span {
  outline: 2px solid var(--charcoal);
  outline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  flex: 1;
}

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

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--charcoal);
  color: var(--white);
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .main-nav a {
    padding: 8px 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-action .btn {
    display: none;
  }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .main-nav.open {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-cta-mobile {
    display: block;
    margin-top: 20px;
  }
  .nav-cta-mobile .btn {
    width: 100%;
    color: var(--white);
    padding: 15px 24px;
    border-radius: var(--radius-sm);
    border-bottom: 0;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .service-detail,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .service-detail:nth-child(even) .service-detail-media {
    order: 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
  .legal {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .legal-toc {
    position: static;
  }
  .media-badge {
    left: 16px;
  }
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }
  .grid-3,
  .grid-2,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .hero-content {
    padding: 72px 18px;
  }
  .hero p {
    font-size: 1.02rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .page-hero {
    padding: 84px 0 72px;
  }
  .cta-band {
    padding: 52px 24px;
  }
  .form-card {
    padding: 28px 22px;
  }
  .card {
    padding: 26px;
  }
  .service-card {
    padding: 0;
  }
  .service-card-body {
    padding: 26px;
  }
  .brand-name {
    font-size: 0.86rem;
    letter-spacing: 0.04em;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .brand {
    gap: 10px;
  }
  .map-wrap {
    aspect-ratio: 4 / 3;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 380px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .stat:last-child {
    border-bottom: 0;
  }
}
