/* Local area landing pages — distinct from service pages */

.de-local-area {
  --de-local-accent: #e11d48;
  --de-local-glow: rgba(225, 29, 72, 0.15);
}

.de-local-hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, var(--de-local-glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(59, 130, 246, 0.08), transparent 50%),
    linear-gradient(165deg, #0b0f19 0%, #121828 45%, #0f1420 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.de-local-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .de-local-hero__grid {
    grid-template-columns: 1fr min(380px, 38%);
    gap: 48px;
  }
}

.de-local-hero__region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fda4af;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: 999px;
}

.de-local-hero__region i {
  font-size: 0.75rem;
}

.de-local-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--de-heading, #f8fafc);
}

.de-local-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--de-muted, #94a3b8);
  margin-bottom: 20px;
  max-width: 52ch;
}

.de-local-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.de-local-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.de-local-hero__tag i {
  color: var(--de-local-accent);
  font-size: 0.7rem;
}

.de-local-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.de-local-hero__card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.de-local-hero__card h2 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--de-heading);
}

.de-local-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.de-local-hero__stat strong {
  display: block;
  font-size: 1.375rem;
  color: var(--de-local-accent);
}

.de-local-hero__stat span {
  font-size: 0.75rem;
  color: var(--de-muted);
}

.de-local-strip {
  padding: 20px 0;
  background: rgba(225, 29, 72, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.de-local-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  font-size: 0.875rem;
  color: var(--de-muted);
}

.de-local-strip__inner i {
  color: var(--de-local-accent);
}

.de-local-services {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

@media (min-width: 768px) {
  .de-local-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.de-local-service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.de-local-service-card:hover {
  border-color: rgba(225, 29, 72, 0.4);
  background: rgba(225, 29, 72, 0.06);
  transform: translateY(-2px);
  color: inherit;
}

.de-local-service-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--de-local-accent);
  background: rgba(225, 29, 72, 0.12);
  border-radius: 10px;
}

.de-local-service-card strong {
  font-size: 0.9375rem;
  color: var(--de-heading);
}

.de-local-service-card span {
  font-size: 0.8125rem;
  color: var(--de-muted);
  line-height: 1.4;
}

.de-local-split {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 992px) {
  .de-local-split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.de-local-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.de-local-benefits li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
  color: var(--de-muted);
}

.de-local-benefits li i {
  color: #22c55e;
  margin-top: 3px;
}

.de-local-process {
  display: grid;
  gap: 0;
  counter-reset: local-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .de-local-process {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.de-local-process li {
  position: relative;
  padding: 20px 16px 20px 48px;
  font-size: 0.875rem;
  color: var(--de-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  counter-increment: local-step;
}

@media (min-width: 768px) {
  .de-local-process li {
    padding: 48px 16px 20px;
    text-align: center;
  }
}

.de-local-process li::before {
  content: counter(local-step);
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--de-local-accent);
  border-radius: 50%;
}

@media (min-width: 768px) {
  .de-local-process li::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.de-local-nearby {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.de-local-nearby a {
  display: inline-flex;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #e2e8f0;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}

.de-local-nearby a:hover {
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(225, 29, 72, 0.35);
  color: #fff;
}

.de-areas-hub {
  padding: 48px 0;
}

.de-areas-hub__region {
  margin-bottom: 32px;
}

.de-areas-hub__region h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: var(--de-heading);
}

.de-areas-hub__region h3 i {
  color: var(--de-local-accent, #e11d48);
}

.de-areas-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

@media (min-width: 768px) {
  .de-areas-hub__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

.de-areas-hub__link {
  display: block;
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.2s;
}

.de-areas-hub__link:hover {
  color: #fff;
  border-color: rgba(225, 29, 72, 0.4);
  background: rgba(225, 29, 72, 0.08);
}

.de-local-prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--de-muted);
}

.de-local-prose h2 {
  font-size: 1.375rem;
  margin: 2rem 0 1rem;
  color: var(--de-heading);
}

.de-local-prose p {
  margin-bottom: 1rem;
}

.de-local-case {
  padding: 24px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(225, 29, 72, 0.2);
  border-radius: 16px;
}

.de-local-case__tag {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fda4af;
  background: rgba(225, 29, 72, 0.15);
  border-radius: 6px;
}

.de-local-case__metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.de-local-case__metric strong {
  font-size: 1.5rem;
  color: var(--de-local-accent);
}

/* Resource-page layout (not service clone) */
.de-local-area--resource .de-local-hero--resource {
  padding-bottom: 40px;
}

.de-local-section {
  padding: 48px 0;
}

.de-local-section.de-section--alt {
  background: rgba(255, 255, 255, 0.02);
}

.de-local-section__inner {
  max-width: 720px;
}

.de-local-section__inner h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 20px;
  color: var(--de-heading, #f1f5f9);
  line-height: 1.25;
}

.de-local-section__sub {
  color: var(--de-muted);
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.de-local-section--intro {
  padding-top: 32px;
}

.de-local-section__kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fda4af;
  margin-bottom: 12px;
}

.de-local-prose--lead p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.de-local-scenarios {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .de-local-scenarios {
    grid-template-columns: repeat(3, 1fr);
  }
}

.de-local-scenario {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.de-local-scenario h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--de-heading);
}

.de-local-scenario p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--de-muted);
  margin: 0;
}

.de-local-industries {
  display: grid;
  gap: 12px;
}

.de-local-industry-pill {
  padding: 16px 18px;
  border-left: 3px solid var(--de-local-accent);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 10px 10px 0;
}

.de-local-industry-pill strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--de-heading);
  margin-bottom: 6px;
}

.de-local-industry-pill p {
  font-size: 0.875rem;
  color: var(--de-muted);
  margin: 0;
  line-height: 1.55;
}

.de-local-mistakes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.de-local-mistakes li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
  color: var(--de-muted);
}

.de-local-mistakes li i {
  color: #f87171;
  margin-top: 3px;
  flex-shrink: 0;
}

.de-local-cta-block {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(15, 20, 32, 0.95));
  border-top: 1px solid rgba(225, 29, 72, 0.2);
  border-bottom: 1px solid rgba(225, 29, 72, 0.2);
}

.de-local-prose a {
  color: #fda4af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.de-local-prose a:hover {
  color: #fff;
}
