.local-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.16), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(209, 196, 233, 0.28), transparent 34%),
    linear-gradient(180deg, #f9f7fb 0%, #eee9f5 48%, #ffffff 100%);
}

.local-hero {
  min-height: 78svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 128px 0 72px;
  background: #192027;
}

.local-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 27, 0.88) 0%, rgba(14, 20, 27, 0.68) 46%, rgba(14, 20, 27, 0.24) 100%),
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.18), transparent 38%);
  z-index: 1;
}

.local-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.86;
}

.local-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .7fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: end;
}

.local-hero-copy {
  color: #fff;
  max-width: 720px;
}

.local-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: var(--glass-dark-bg);
  color: rgba(255, 255, 255, 0.88);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.local-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.45rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: 0;
  max-width: 10.5ch;
  margin-bottom: 24px;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.local-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
  margin-bottom: 28px;
}

.local-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.local-hero-card {
  padding: 7px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.local-hero-card-inner {
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), inset 0 -1px 0 rgba(82, 70, 119, 0.08);
}

.local-hero-card h2 {
  font-family: var(--font-head);
  color: var(--bg-dark);
  font-size: 1.32rem;
  line-height: 1.25;
  margin-bottom: 14px;
}

.local-hero-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.local-hero-card li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: .95rem;
}

.local-hero-card i {
  color: var(--brand);
  margin-top: 5px;
}

.local-section {
  padding: 92px 0;
}

.local-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.local-panel {
  padding: 7px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-shadow);
}

.local-panel-inner {
  border-radius: 22px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.local-panel h2,
.local-faq h2 {
  font-family: var(--font-head);
  color: var(--bg-dark);
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.local-panel p,
.local-panel li,
.local-faq p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.local-panel ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.local-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.local-service-card {
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  box-shadow: 0 18px 36px rgba(82, 70, 119, 0.18);
}

.local-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--liquid-ease);
  z-index: -2;
}

.local-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 30, 0.08), rgba(20, 24, 30, 0.74));
  z-index: -1;
}

.local-service-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.2;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

.local-service-card:hover img {
  transform: scale(1.045);
}

.local-faq {
  background: #fff;
}

.local-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.local-faq-card {
  padding: 24px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.local-faq-card h3 {
  font-family: var(--font-head);
  color: var(--bg-dark);
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.local-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  max-width: 900px;
}

.local-footer-links a {
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  font-size: .84rem;
  transition: color .22s var(--liquid-ease);
}

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

.legal-main {
  padding: 126px 0 78px;
  min-height: 100svh;
}

.legal-shell {
  width: min(920px, 92vw);
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 26px;
  color: var(--bg-dark);
}

.legal-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  margin: 14px 0 16px;
}

.legal-header p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-card {
  padding: 7px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--glass-shadow);
}

.legal-card-inner {
  border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.legal-section + .legal-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(107, 91, 149, 0.14);
}

.legal-section h2 {
  font-family: var(--font-head);
  color: var(--bg-dark);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.78;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 20px;
}

.legal-updated {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(82, 70, 119, 0.08);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .local-hero-grid,
  .local-split {
    grid-template-columns: 1fr;
  }

  .local-service-grid,
  .local-faq-grid {
    grid-template-columns: 1fr;
  }

  .local-hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .local-hero h1 {
    max-width: 11ch;
  }
}

@media (max-width: 760px) {
  .local-page .topbar .nav {
    display: flex;
    position: static;
    flex-direction: row;
    overflow-x: auto;
    max-width: 58vw;
    padding: 7px 10px;
    gap: 14px;
  }

  .local-page .topbar .nav a {
    white-space: nowrap;
    font-size: .82rem;
  }

  .local-section {
    padding: 60px 0;
  }

  .local-hero p {
    font-size: .96rem;
  }

  .local-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
