* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #0b1730;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

.site-header {
  min-height: 92px;
  background: #061f3f;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.3fr 1.6fr 0.8fr;
  align-items: center;
  gap: 24px;
  padding: 16px 46px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brand {
  border-right: 1px solid rgba(255,255,255,0.25);
  padding-right: 30px;
}

.brand-main {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.brand-sub {
  margin-top: 8px;
  font-family: Georgia, 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 14px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 3px solid transparent;
}

.nav a.active,
.nav a:hover {
  border-color: #c8a24e;
}

.header-phone {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.header-phone span {
  color: #c8a24e;
  margin-right: 8px;
}

.hero {
  min-height: 410px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3,20,42,0.98) 0%, rgba(3,20,42,0.88) 37%, rgba(3,20,42,0.22) 67%, rgba(3,20,42,0.10) 100%),
    url("hero-courthouse.svg") center right / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-left: 8%;
  padding-top: 20px;
  padding-bottom: 30px;
  color: #ffffff;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.gold-line {
  width: 78px;
  height: 4px;
  background: #c8a24e;
  margin: 24px 0;
}

.gold-line.small {
  width: 42px;
  height: 3px;
  margin: 12px 0 22px;
}

.hero p {
  font-size: 19px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 28px;
}

.button {
  display: inline-block;
  background: #c8a24e;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}

.practice {
  background: #f8f8f6;
  padding: 36px 7% 50px;
  text-align: center;
}

.practice h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
}

.center-line {
  width: 54px;
  height: 2px;
  background: #c8a24e;
  margin: 12px auto 24px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.practice-card {
  padding: 12px 32px 10px;
  border-right: 1px solid #d5d5d5;
}

.practice-card:last-child {
  border-right: none;
}

.icon {
  height: 70px;
  margin-bottom: 12px;
}

.icon svg {
  width: 66px;
  height: 66px;
  stroke: #061f3f;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.2;
}

.practice-card p {
  margin: 0;
  color: #303847;
  line-height: 1.55;
  font-size: 15px;
}

.dark-section {
  background: radial-gradient(circle at top left, #0e345e 0%, #061f3f 52%, #031428 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding: 52px 10%;
}

.dark-section p {
  font-size: 16px;
  line-height: 1.7;
}

.contact a {
  color: #ffffff;
}

.contact .button {
  margin-top: 12px;
  color: #ffffff;
}

footer {
  background: #031428;
  color: rgba(255,255,255,0.78);
  text-align: center;
  padding: 18px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }

  .brand {
    border-right: none;
    padding-right: 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .header-phone {
    text-align: center;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .practice-grid,
  .dark-section {
    grid-template-columns: 1fr;
  }

  .practice-card {
    border-right: none;
    border-bottom: 1px solid #d5d5d5;
    padding: 28px 10px;
  }

  .practice-card:last-child {
    border-bottom: none;
  }
}
