/* practice-area.css — Shared CSS for practice areas */

/* OVERVIEW (single-column max 800) */
.section-overview {
  padding: 120px 0;
}

.section-overview--dark {
  background: var(--navy-dark);
}

.section-overview--navy {
  background: var(--navy);
}

.overview-content {
  max-width: 800px;
}

.overview-h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
}

.overview-body {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: rgba(245, 245, 243, 0.65);
  line-height: 1.85;
}

.overview-body+.overview-body {
  margin-top: 24px;
}

/* SERVICES (2-col) */
.section-services {
  background: var(--navy);
  padding: 120px 0;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.services-h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  max-width: 440px;
}

.services-intro {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(245, 245, 243, 0.6);
  line-height: 1.85;
  margin-top: 24px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: service-counter;
}

.services-list li {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 245, 243, 0.75);
  line-height: 1.6;
  padding: 24px 32px;
  background: var(--navy-dark);
  border: 1px solid rgba(200, 167, 90, 0.15);
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  counter-increment: service-counter;
}

.services-list li::before {
  content: counter(service-counter, decimal-leading-zero);
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.services-list li:hover {
  border-color: rgba(200, 167, 90, 0.5);
  background: rgba(200, 167, 90, 0.04);
  transform: translateY(-2px);
  color: var(--ivory);
}

@media (max-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

/* CLIENTS (4-col cards) */
.section-clients {
  padding: 120px 0;
}

.section-clients--dark {
  background: var(--navy-dark);
}

.section-clients--navy {
  background: var(--navy);
}

.clients-h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  max-width: 700px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.client-card {
  border: 1px solid rgba(200, 167, 90, 0.2);
  padding: 32px 24px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.client-card:hover {
  border-color: rgba(200, 167, 90, 0.6);
  background: rgba(200, 167, 90, 0.04);
}

.client-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ivory);
  display: block;
  margin-bottom: 12px;
}

.client-body {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 245, 243, 0.55);
  line-height: 1.8;
}

/* PRACTICE GRID */
.section-practice {
  background: var(--navy);
  padding: 120px 0;
}

.practice-header {
  margin-bottom: 64px;
}

.practice-h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 52px;
  font-weight: 500;
  color: var(--ivory);
  max-width: 640px;
  line-height: 1.1;
  margin-top: 12px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy-dark);
  border-top: 1px solid rgba(200, 167, 90, 0.15);
  border-left: 1px solid rgba(200, 167, 90, 0.15);
}

.practice-card {
  background: var(--navy);
  padding: 64px 40px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid rgba(200, 167, 90, 0.15);
  border-bottom: 1px solid rgba(200, 167, 90, 0.15);
}

.practice-card:hover {
  background: #111630;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-number {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
  opacity: 0.6;
}

.card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.practice-card:hover .card-title {
  color: var(--gold);
}

.card-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 245, 243, 0.6);
  line-height: 1.6;
  margin-top: auto;
}

.card-arrow {
  margin-top: 32px;
  color: var(--gold);
  font-size: 18px;
  transition: transform 0.3s ease;
}

.practice-card:hover .card-arrow {
  transform: translateX(6px);
}

.practice-grid .practice-card:last-child:nth-child(7) {
  grid-column: 1 / -1;
}


@media (max-width: 1024px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

@media (max-width: 768px) {
  .practice-grid {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    gap: 24px;
  }

  .practice-card {
    padding: 48px 32px;
    border: 1px solid rgba(200, 167, 90, 0.15);
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

}
