:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --bg-muted: #eef0f2;
  --text: #1f2328;
  --text-soft: #4a5058;
  --text-muted: #6b7178;
  --border: #e3e5e8;
  --border-strong: #cfd3d8;
  --accent: #1f2328;
  --accent-hover: #3a4048;
  --gray: #b8bcc2;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(31, 35, 40, 0.05);
  --shadow: 0 6px 24px rgba(31, 35, 40, 0.07);
  --shadow-lg: 0 16px 40px rgba(31, 35, 40, 0.1);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul {
  padding-left: 1.2em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  z-index: 200;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background 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:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

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

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

.btn-light:hover {
  background: var(--bg-muted);
  border-color: var(--bg-muted);
}

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

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

.btn-block {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  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;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

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

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

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

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

.header-cta {
  padding: 11px 20px;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background 0.2s var(--ease);
}

.nav-toggle:hover {
  background: var(--bg-soft);
}

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #2a2e33 center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0.72) 0%, rgba(20, 22, 26, 0.62) 50%, rgba(20, 22, 26, 0.8) 100%);
}

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

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

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 680px;
  margin: 0 auto 36px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  margin-bottom: 24px;
}

.page-hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  color: #fff;
  background: #2a2e33 center / cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.7);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

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

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

.page-hero.plain {
  background: var(--bg-soft);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 64px;
}

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

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

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

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

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.section {
  padding: 100px 0;
}

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

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

.section-head p {
  font-size: 1.06rem;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  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);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-muted);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.card:hover .icon-box {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card p {
  flex-grow: 1;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.service-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-soft);
  padding: 6px 0;
  border-top: 1px solid var(--border);
}

.service-card li:first-child {
  border-top: none;
}

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

.service-card .btn {
  margin-top: auto;
}

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

.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature .icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature h3 {
  margin-bottom: 6px;
}

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

.feature-list {
  display: grid;
  gap: 28px;
}

.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--bg-muted);
}

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

.media:hover img {
  transform: scale(1.03);
}

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

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

.stat:first-child {
  border-left: none;
}

.stat-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
}

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

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

.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

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

.sector-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  border: 1px solid var(--border);
  background: #2a2e33;
}

.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0.05) 20%, rgba(20, 22, 26, 0.85) 100%);
}

.sector-card:hover img {
  transform: scale(1.05);
}

.sector-body {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.sector-body h3 {
  color: #fff;
  margin-bottom: 6px;
}

.sector-body p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 0.93rem;
}

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

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

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

.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.quote {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.3s var(--ease);
}

.quote:hover {
  box-shadow: var(--shadow);
}

.quote > i {
  font-size: 2rem;
  color: var(--gray);
}

.quote p {
  margin: 0;
  color: var(--text);
  flex-grow: 1;
}

.quote-author {
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}

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

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

.faq-q i {
  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 20px;
  margin: 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.service-detail:first-of-type {
  border-top: none;
}

.service-detail .media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.service-detail h3 {
  font-size: 1.15rem;
  margin-top: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-soft);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.service-item.hidden {
  display: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 32px;
  padding-left: 32px;
  border-left: 1px solid var(--border-strong);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--text);
}

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

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

.timeline-item p {
  margin: 0;
}

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

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.contact-item .icon-box {
  margin: 0;
  width: 46px;
  height: 46px;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-item h4 {
  margin: 0 0 4px;
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.contact-item a:hover {
  color: var(--text);
  text-decoration: underline;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

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

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

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

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

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

.form-control:hover {
  border-color: #aeb3b9;
}

.form-control:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(31, 35, 40, 0.1);
}

textarea.form-control {
  min-height: 140px;
  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='12' viewBox='0 0 256 256'%3E%3Cpath fill='%234a5058' 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: 40px;
}

.form-group.invalid .form-control {
  border-color: #8a2b2b;
}

.error-msg {
  font-size: 0.8rem;
  color: #8a2b2b;
  min-height: 0;
  display: none;
}

.form-group.invalid .error-msg {
  display: block;
}

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

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

.checkbox a {
  text-decoration: underline;
  color: var(--text);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

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

.form-success .icon-box {
  width: 64px;
  height: 64px;
  font-size: 2rem;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
  background: var(--bg-muted);
}

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

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

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

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

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

.legal > *,
.grid-2 > *,
.contact-grid > *,
.service-detail > * {
  min-width: 0;
}

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

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

.legal-toc ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

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

.legal-toc a:hover {
  color: var(--text);
  text-decoration: underline;
}

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

.legal-content section {
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-content section:last-child {
  border-bottom: none;
}

.legal-content h2 {
  font-size: 1.4rem;
}

.legal-content li {
  color: var(--text-soft);
  margin-bottom: 6px;
}

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

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 36px;
}

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

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

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

.data-table th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--text);
}

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

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

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

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

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  display: inline-block;
}

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

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-soft);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
}

.footer-contact i {
  margin-top: 4px;
  color: var(--text);
}

.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;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.footer-bottom a:hover,
.link-btn:hover {
  color: var(--text);
}

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

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 560px;
  z-index: 300;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
}

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

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

.cookie-head i {
  font-size: 1.5rem;
}

.cookie-head h4 {
  margin: 0;
}

.cookie-banner p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

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

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

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

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

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

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

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

.slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}

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

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

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

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

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

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

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

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

.back-to-top:hover {
  background: var(--accent);
  color: #fff;
}

.toast {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  left: 50%;
  transform: translate(-50%, -20px);
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 400;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: calc(100% - 32px);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

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

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.mt-48 { margin-top: 48px; }

@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) {
  .main-nav a { padding: 8px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: #fff;
    padding: 24px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .main-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .main-nav .mobile-cta {
    display: flex;
    color: #fff;
    border-radius: var(--radius);
    border-bottom: none;
    margin-top: 24px;
    width: 100%;
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail .media { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .section { padding: 80px 0; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand-tag { display: none; }
  .brand-logo { width: 36px; height: 36px; }
  .grid-3, .grid-4, .steps, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--border); }
  .stat:first-child { border-top: none; }
  .hero { min-height: 560px; }
  .hero-content { padding: 90px 16px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .card, .form-card { padding: 24px; }
  .cta-band { padding: 36px 24px; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .footer-grid { gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; padding: 20px; }
  .back-to-top { right: 16px; bottom: 16px; }
  .page-hero { padding: 80px 0 64px; }
}
