:root {
  --black: #0a0a0a;
  --dark: #11100f;
  --dark-2: #1a1715;
  --cream: #f7f1e8;
  --paper: #fffaf3;
  --muted: #726a62;
  --line: rgba(20, 16, 12, 0.12);
  --gold: #c79b52;
  --gold-light: #e7c27c;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(20, 14, 9, 0.12);
  --radius: 28px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font: 700 2.1rem var(--serif);
  animation: loaderPulse 1.2s ease infinite alternate;
}

@keyframes loaderPulse {
  to {
    transform: scale(1.06);
    box-shadow: 0 0 45px rgba(199, 155, 82, 0.32);
  }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 22px 0;
  color: var(--white);
  transition: padding 0.28s ease, background 0.28s ease, border 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(8, 8, 8, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand img {
  width: 220px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  opacity: 0.86;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--gold-light);
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-cta,
.btn,
.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.header-cta {
  padding: 14px 22px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  box-shadow: 0 18px 36px rgba(199, 155, 82, 0.22);
}

.header-cta::before {
  content: '⚖';
  font-size: 0.95rem;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  font-size: 0.78rem;
}

.btn::after,
.footer-btn::after {
  content: '›';
  font-size: 1.35em;
  line-height: 0;
}

.btn-primary,
.footer-btn {
  background: linear-gradient(135deg, var(--gold), #b4853e);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(199, 155, 82, 0.22);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(199, 155, 82, 0.55);
}

.btn:hover,
.header-cta:hover,
.footer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(199, 155, 82, 0.28);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.section-dark {
  background: var(--black);
  color: var(--white);
}

.hero {
  min-height: 880px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.86) 34%, rgba(0, 0, 0, 0.50) 70%, rgba(0, 0, 0, 0.72) 100%),
    url('assets/hero-background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
  padding-top: 70px;
}

.hero-content {
  max-width: 620px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1,
.about h2,
.section-heading h2,
.practice-title h2,
.cta-box h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.6rem, 7vw, 7.3rem);
  margin-bottom: 26px;
}

.hero-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}


.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 99px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

.about {
  padding: 120px 0 64px;
  background:
    radial-gradient(circle at 11% 5%, rgba(199, 155, 82, 0.13), transparent 28%),
    var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 86px;
  align-items: center;
}

.image-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: calc(var(--radius) - 12px);
  pointer-events: none;
}

.about-content h2,
.practice-title h2,
.cta-box h2 {
  font-size: clamp(2.6rem, 4vw, 4.35rem);
  margin-bottom: 22px;
}

.about-content p,
.practice-title p,
.cta-box p {
  color: var(--muted);
  max-width: 570px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 34px;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3f3934;
  font-weight: 650;
}

.feature-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(199, 155, 82, 0.55);
  border-radius: 50%;
  font-size: 0.78rem;
}

.stats-section {
  padding: 20px 0 78px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 38px 32px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 16, 12, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-item {
  padding: 4px 28px;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-icon {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-item span:not([data-counter]) {
  display: block;
  margin-top: 6px;
  color: #2c2825;
  font-weight: 800;
}

.stat-item p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.team {
  padding: 68px 0 120px;
  background: var(--paper);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.lawyer-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--dark);
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.14);
  isolation: isolate;
}

.lawyer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.9) 100%);
}

.lawyer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}

.lawyer-card:hover img {
  transform: scale(1.06);
}

.lawyer-info {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
}

.lawyer-info h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: 5px;
}

.lawyer-info p {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

.lawyer-info a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-light);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.lawyer-info a::after {
  content: 'in';
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  text-transform: none;
}

.practice {
  padding: 104px 0;
  background: #fffdf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-layout {
  display: grid;
  gap: 34px;
}

.practice-header {
  max-width: 760px;
}

.practice-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.practice-header p {
  color: var(--muted);
  max-width: 680px;
}

.practice-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.practice-feature,
.practice-mini {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 232, 0.85));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.practice-feature:hover,
.practice-mini:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 155, 82, 0.38);
  box-shadow: 0 22px 46px rgba(22, 16, 10, 0.1);
}

.practice-feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(199, 155, 82, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 232, 0.9));
}

.practice-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.practice-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(199, 155, 82, 0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.practice-feature-icon,
.practice-mini-icon {
  display: inline-grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(199, 155, 82, 0.34);
  background: rgba(255, 255, 255, 0.74);
}

.practice-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1.6rem;
}

.practice-feature h3,
.practice-mini h3 {
  font-family: var(--serif);
  line-height: 1.05;
}

.practice-feature h3 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  margin-bottom: 16px;
}

.practice-feature p {
  color: var(--muted);
  max-width: 430px;
}

.practice-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.practice-points li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
}

.practice-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.practice-feature a,
.practice-mini a {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.practice-feature a {
  margin-top: auto;
}

.practice-mini {
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.practice-mini-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.45rem;
}

.practice-mini div {
  min-width: 0;
}

.practice-mini h3 {
  font-size: 1.52rem;
  margin-bottom: 10px;
}

.practice-mini p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.practice-mini a {
  grid-column: 2;
}

.testimonial {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.78)),
    radial-gradient(circle at 34% 12%, rgba(199, 155, 82, 0.28), transparent 30%),
    var(--black);
}

.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/justice.svg');
  background-repeat: no-repeat;
  background-size: 540px;
  background-position: 42% 36%;
  opacity: 0.16;
}

.testimonial-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.quote {
  max-width: 610px;
}

.quote-mark {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 6rem;
  height: 54px;
  line-height: 0.8;
}

.quote p {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  font-family: var(--serif);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
}

.stars {
  color: var(--gold-light);
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.quote small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
}

.cta-box {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.cta-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  color: var(--gold-light);
  border: 1px solid rgba(231, 194, 124, 0.35);
  border-radius: 18px;
  font-size: 1.75rem;
}

.cta-box h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 3vw, 3.4rem);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 28px;
}

.footer {
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.72);
  padding: 74px 0 24px;
  border-top: 2px solid rgba(199, 155, 82, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.85fr 1fr;
  gap: 54px;
}

.footer-brand img {
  width: 230px;
  margin-bottom: 20px;
}

.footer h3 {
  color: var(--white);
  font-family: var(--serif);
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.footer a:not(.footer-btn),
.footer p {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.64);
  transition: color 0.22s ease;
}

.footer a:hover {
  color: var(--gold-light);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-weight: 800;
}

.footer-btn {
  margin-top: 12px;
  padding: 14px 20px;
  color: var(--white) !important;
  font-size: 0.76rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 32px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  cursor: pointer;
  transition: all 0.26s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.28s; }

@media (max-width: 1160px) {
  .header-cta {
    display: none;
  }

  .brand img {
    width: 190px;
  }

  .main-nav {
    gap: 20px;
  }

  .practice-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .practice-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

}

@media (max-width: 920px) {
  .container {
    width: min(100% - 30px, 720px);
  }

  .site-header {
    padding: 16px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 0 38px;
    background:
      radial-gradient(circle at 80% 12%, rgba(199, 155, 82, 0.18), transparent 32%),
      rgba(8, 8, 8, 0.96);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(.77,0,.175,1);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav a {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 9vw, 4.6rem);
    line-height: 1;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding: 144px 0 74px;
  }

  .hero-grid,
  .about-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .hero-visual {
    transform: translate(12%, 30px);
    margin-top: 6px;
  }

  .hero-visual img {
    width: min(760px, 112vw);
  }

  .hero-scroll {
    display: none;
  }

  .about {
    padding-top: 82px;
  }

  .about-grid {
    gap: 42px;
  }

  .stats-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: 0;
  }

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


  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 168px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-bg {
    background-position: 74% center;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.72rem;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 18px;
  }

  .about-content h2,
  .practice-header h2,
  .section-heading h2 {
    font-size: clamp(2.6rem, 13vw, 3.4rem);
  }

  .stats-card,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .practice-showcase {
    grid-template-columns: 1fr;
  }

  .practice-feature,
  .practice-mini {
    padding: 24px 20px;
  }

  .practice-feature-top {
    align-items: flex-start;
  }

  .practice-feature-icon,
  .practice-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.2rem;
  }

  .practice-mini {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .stats-card {
    padding: 10px;
  }

  .stat-item,
  .stat-item:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .lawyer-card {
    min-height: 520px;
  }

  .practice,
  .team {
    padding: 78px 0;
  }

  .testimonial {
    padding: 72px 0;
  }

  .cta-box {
    padding: 30px 24px;
  }

  .footer-grid {
    gap: 32px;
  }
}


/* Ajustes finais: retratos e menu mobile premium */
.lawyer-card img {
  object-position: center top;
}

@media (max-width: 920px) {
  .site-header {
    z-index: 3000;
  }

  .site-header.menu-active,
  .site-header.menu-active.is-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
  }

  .site-header .brand,
  .site-header .menu-toggle {
    position: relative;
    z-index: 3003;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 3001;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 116px 26px 44px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(10, 8, 7, 0.97)),
      radial-gradient(circle at 82% 12%, rgba(199, 155, 82, 0.25), transparent 36%),
      radial-gradient(circle at 5% 82%, rgba(199, 155, 82, 0.12), transparent 34%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px) scale(1.015);
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease,
      transform 0.46s cubic-bezier(.22,1,.36,1);
  }

  .main-nav::before {
    content: 'Menu';
    width: min(560px, 100%);
    margin: 0 auto 18px;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 900;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav a {
    width: min(560px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--serif);
    font-size: clamp(2.05rem, 8.5vw, 3.65rem);
    font-weight: 500;
    line-height: 1;
    color: var(--white);
    opacity: 0;
    transform: translateX(22px);
    transition:
      opacity 0.38s ease,
      transform 0.42s cubic-bezier(.22,1,.36,1),
      color 0.22s ease;
  }

  .main-nav.is-open a {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.is-open a:nth-child(1) { transition-delay: 0.08s; }
  .main-nav.is-open a:nth-child(2) { transition-delay: 0.12s; }
  .main-nav.is-open a:nth-child(3) { transition-delay: 0.16s; }
  .main-nav.is-open a:nth-child(4) { transition-delay: 0.20s; }
  .main-nav.is-open a:nth-child(5) { transition-delay: 0.24s; }
  .main-nav.is-open a:nth-child(6) { transition-delay: 0.28s; }

  .main-nav a::after {
    content: '→';
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: 1.15rem;
    opacity: 0.9;
  }

  .main-nav a:hover::after,
  .main-nav a.is-active::after {
    width: auto;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    color: var(--gold-light);
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.menu-open .back-to-top {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 620px) {
  .main-nav {
    padding: 108px 22px 36px;
  }

  .main-nav a {
    padding: 16px 0;
    font-size: clamp(1.9rem, 10vw, 3.05rem);
  }

  .lawyer-card {
    min-height: 560px;
  }
}
