:root {
  --brown-950: #120804;
  --brown-900: #1d0f08;
  --brown-850: #27150b;
  --brown-800: #351d10;
  --coffee-700: #4a2b17;
  --coffee-650: #5c361c;
  --coffee-600: #6c4726;
  --gold-500: #d9aa4e;
  --gold-450: #e5bd67;
  --gold-400: #f0cf83;
  --old-gold: #ad772d;
  --warm-light: #f3a23b;
  --cream: #fff3dc;
  --muted: #d2b98e;
  --line: rgba(240, 207, 131, 0.22);
  --dark-glass: rgba(18, 8, 4, 0.76);
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 84% 8%, rgba(243, 162, 59, 0.28), transparent 26rem),
    radial-gradient(circle at 14% 18%, rgba(217, 170, 78, 0.12), transparent 30rem),
    linear-gradient(135deg, var(--brown-950), var(--brown-900) 34%, var(--brown-850) 66%, var(--brown-950));
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    repeating-linear-gradient(90deg, rgba(106, 71, 38, 0.08) 0 22px, rgba(18, 8, 4, 0.08) 22px 44px);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  opacity: 0.8;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 78% 14%, rgba(255, 184, 76, 0.18), transparent 24rem);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold-400);
  color: var(--brown-950);
  border-radius: 999px;
}

.skip-link:focus {
  top: 14px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(18, 8, 4, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-emblem {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 207, 131, 0.72);
  border-radius: 50%;
  color: var(--gold-400);
  background: linear-gradient(145deg, rgba(240, 207, 131, 0.16), rgba(18, 8, 4, 0.82));
  box-shadow: 0 14px 35px rgba(0,0,0,0.26), inset 0 0 24px rgba(240, 207, 131, 0.10);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name {
  max-width: 340px;
  color: var(--gold-400);
  font-size: clamp(0.86rem, 2vw, 1.02rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  transition: 0.25s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--gold-400);
  background: rgba(240, 207, 131, 0.1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(240, 207, 131, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--gold-400);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 84px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 28px -5vw 36px;
  z-index: -1;
  border: 1px solid rgba(240, 207, 131, 0.12);
  border-radius: 38px;
  background:
    linear-gradient(125deg, rgba(217, 170, 78, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(53, 29, 16, 0.96), rgba(18, 8, 4, 0.58));
  box-shadow: 0 30px 90px var(--shadow);
}

.hero::after {
  content: '';
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: 26px;
  height: 176px;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(108, 71, 38, 0.28) 0 18px, rgba(39, 21, 11, 0.32) 18px 36px);
  opacity: 0.36;
  transform: perspective(720px) rotateX(56deg);
  transform-origin: bottom;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 34px;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.light-glow {
  position: absolute;
  right: -110px;
  top: -120px;
  width: min(590px, 55vw);
  height: min(590px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 194, 91, 0.58), rgba(243, 162, 59, 0.22) 34%, transparent 68%);
  filter: blur(8px);
}

.justice-scale {
  position: absolute;
  right: -48px;
  top: 20px;
  width: min(540px, 52vw);
  opacity: 0.15;
  filter: drop-shadow(0 0 34px rgba(240, 207, 131, 0.34));
}

.gavel {
  position: absolute;
  right: 4vw;
  bottom: 30px;
  width: min(420px, 42vw);
  opacity: 0.12;
  transform: rotate(-8deg);
}

.justice-scale path,
.justice-scale circle,
.gavel path {
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-400);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold-400);
  opacity: 0.9;
}

h1,
h2,
h3 {
  color: var(--gold-400);
  font-weight: 700;
  line-height: 1.06;
}

h1 {
  max-width: 830px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  letter-spacing: -0.06em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.42), 0 0 26px rgba(217, 170, 78, 0.14);
}

.hero-slogan {
  max-width: 720px;
  margin-top: 22px;
  color: var(--gold-400);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.3;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--brown-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 58%, var(--old-gold));
  box-shadow: 0 18px 38px rgba(0,0,0,0.26), 0 0 22px rgba(217, 170, 78, 0.18);
}

.btn.secondary {
  color: var(--gold-400);
  background: rgba(18, 8, 4, 0.54);
}

.hero-card,
.feature-card,
.area-card,
.forensic-card,
.contact-card,
.location-card,
.service-box {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(74, 43, 23, 0.70), rgba(18, 8, 4, 0.76));
  box-shadow: 0 20px 60px rgba(0,0,0,0.24);
  backdrop-filter: blur(12px);
}

.hero-card {
  position: relative;
  z-index: 2;
  padding: 30px;
  border-radius: 28px;
  overflow: hidden;
}

.hero-card::before,
.service-box::before,
.location-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 86% 0%, rgba(240, 207, 131, 0.18), transparent 18rem);
}

.card-kicker,
.mini-title,
.contact-card span,
.feature-number {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.hero-card p {
  margin-top: 14px;
  color: var(--cream);
  font-size: 1.08rem;
  line-height: 1.6;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.phone-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold-400);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
}

.intro,
.service-panel,
.forensic,
.location,
.contact,
#areas {
  padding: 82px 0;
}

.section-title {
  max-width: 780px;
}

.section-title.center {
  margin: 0 auto 34px;
  text-align: center;
}

.section-title.center .eyebrow {
  justify-content: center;
}

.section-title.center .eyebrow::after {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold-400);
}

.section-title h2,
.forensic h2,
.location h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.04em;
}

.section-title p,
.forensic p,
.location p,
.large-text {
  margin-top: 14px;
  color: var(--cream);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.7;
}

.feature-grid,
.areas-grid,
.contact-grid,
.forensic-cards {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 26px;
}

.feature-card h3,
.area-card h3,
.forensic-card h3 {
  margin-top: 16px;
  font-size: 1.55rem;
}

.feature-card p {
  margin-top: 12px;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.65;
}

.service-box {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(30px, 6vw, 62px);
}

.service-box .btn {
  margin-top: 26px;
}

.areas-grid {
  grid-template-columns: repeat(5, 1fr);
}

.area-card {
  min-height: 164px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  inset: auto 18px 18px auto;
  width: 46px;
  height: 46px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.forensic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 28px;
}

.forensic-cards {
  grid-template-columns: repeat(2, 1fr);
}

.forensic-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-radius: 28px;
}

.forensic-card span {
  color: var(--gold-400);
  font-size: 2.1rem;
}

.location-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 50px);
  border-radius: 32px;
}

.contact-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-card {
  min-height: 155px;
  padding: 26px;
  border-radius: 24px;
}

.contact-card.wide {
  grid-column: span 4;
}

.contact-card a,
.contact-card p {
  display: block;
  margin-top: 12px;
  color: var(--gold-400);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(18, 8, 4, 0.84);
}

.footer-inner {
  padding: 34px 0 94px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

.footer-title {
  color: var(--gold-400);
  font-size: 1.35rem;
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  color: var(--brown-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 16px 36px rgba(0,0,0,0.30);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(18, 8, 4, 0.98);
    box-shadow: 0 22px 60px rgba(0,0,0,0.40);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 14px 16px;
  }

  .hero-grid,
  .forensic-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
  }

  .areas-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .section,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .brand-name {
    max-width: 190px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .hero::before {
    inset: 18px -2px 22px;
    border-radius: 28px;
  }

  .justice-scale {
    right: -150px;
    width: 520px;
    opacity: 0.10;
  }

  .gavel {
    right: -90px;
    width: 390px;
    opacity: 0.10;
  }

  .hero-actions,
  .location-card {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .intro,
  .service-panel,
  .forensic,
  .location,
  .contact,
  #areas {
    padding: 58px 0;
  }

  .feature-grid,
  .areas-grid,
  .contact-grid,
  .forensic-cards {
    grid-template-columns: 1fr;
  }

  .contact-card.wide {
    grid-column: auto;
  }

  .feature-card,
  .forensic-card {
    min-height: 180px;
  }
}

@media (max-width: 430px) {
  .brand-emblem {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-name {
    max-width: 160px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.72rem, 16vw, 4.2rem);
  }

  .hero-slogan {
    font-size: 1.25rem;
  }

  .hero-card,
  .feature-card,
  .area-card,
  .forensic-card,
  .contact-card,
  .location-card,
  .service-box {
    border-radius: 20px;
  }

  .phone-link {
    font-size: 1.65rem;
  }
}
