:root {
  --black: #0b0b0b;
  --gold: #d4af37;
  --white: #ffffff;
  --gray: #1a1a1a;
  --silver: #c7ccd4;
  --muted: #a4a7ad;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(18, 18, 18, 0.66);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 10%, rgba(212, 175, 55, 0.16), transparent 25%),
    radial-gradient(circle at 80% 22%, rgba(199, 204, 212, 0.12), transparent 22%),
    linear-gradient(180deg, #050505 0%, #0b0b0b 48%, #111 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  animation: pulseBorder 1.2s ease infinite alternate;
}

.loader-mark span {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--gold), #fff5c1);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.7);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.03));
}

.brand strong,
.footer strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-cta,
.btn-primary {
  color: #090909;
  background: linear-gradient(135deg, var(--gold), #fff1a4);
  box-shadow: 0 12px 38px rgba(212, 175, 55, 0.24);
  font-weight: 700;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-3px);
}

.btn svg,
.nav svg,
.floating-consult svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  position: relative;
  padding: 108px max(24px, calc((100vw - 1180px) / 2));
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 130px;
  overflow: hidden;
}

#heroScene,
.hero-overlay,
.particle-field {
  position: absolute;
  inset: 0;
}

#heroScene {
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0.48) 44%, rgba(5, 5, 5, 0.28) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 32%);
}

.particle-field {
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(212, 175, 55, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.26) 0 1px, transparent 1.5px);
  background-size: 120px 120px, 190px 190px;
  animation: drift 22s linear infinite;
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 70px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 8.8rem);
  max-width: 860px;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
}

h3 {
  line-height: 1.2;
}

.hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.trust-strip {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: min(980px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(15, 15, 15, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-strip div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip svg {
  grid-row: span 2;
  align-self: center;
  color: var(--gold);
}

.trust-strip strong {
  font-size: 1.05rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section-head {
  max-width: 780px;
  margin-bottom: 46px;
}

.icon-grid,
.feature-grid,
.lawyer-grid,
.result-grid,
.blog-grid {
  display: grid;
  gap: 22px;
}

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

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

.lawyer-grid,
.result-grid,
.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon-card,
.feature-card,
.result-card,
.blog-card,
.quote-card,
.step,
.consultation-form,
.contact-panel,
.map-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(26, 26, 26, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.icon-card,
.feature-card,
.result-card,
.blog-card {
  min-height: 210px;
  padding: 28px;
  transform-style: preserve-3d;
}

.icon-card,
.feature-card {
  perspective: 800px;
}

.icon-card:hover,
.feature-card:hover,
.profile-card:hover,
.result-card:hover,
.blog-card:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 22px 80px rgba(212, 175, 55, 0.16), 0 18px 56px rgba(0, 0, 0, 0.36);
  transform: translateY(-8px);
}

.icon-card svg,
.feature-card svg {
  width: 44px;
  height: 44px;
  color: var(--gold);
  filter: drop-shadow(0 10px 16px rgba(212, 175, 55, 0.28));
  animation: iconFloat 3.4s ease-in-out infinite;
}

.icon-card h3,
.feature-card h3,
.blog-card h3,
.result-card h3 {
  margin: 22px 0 10px;
}

.icon-card p,
.feature-card p,
.result-card p,
.blog-card a,
.about-copy p,
.consultation-copy p,
.footer p,
.footer a {
  color: var(--muted);
}

.about,
.consultation,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-visual {
  position: relative;
  min-height: 560px;
}

.lawyer-image {
  position: absolute;
  inset: 0 9% 9% 0;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.03), rgba(11, 11, 11, 0.46)),
    url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1200&q=85") center/cover;
  box-shadow: var(--shadow);
}

.lawyer-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.office-3d {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1 / 0.9;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(255, 255, 255, 0.04)),
    rgba(12, 12, 12, 0.72);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  transform: rotateY(-10deg) rotateX(4deg);
}

.desk,
.book,
.gavel {
  position: absolute;
  display: block;
}

.desk {
  left: 14%;
  right: 14%;
  bottom: 18%;
  height: 16%;
  background: linear-gradient(90deg, #3a2714, #9b7434, #2b1d10);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.45);
}

.book {
  bottom: 37%;
  width: 31%;
  height: 10%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(90deg, #151515, #5b1010, #161616);
}

.book-a {
  left: 18%;
  transform: skewY(-7deg);
}

.book-b {
  left: 28%;
  bottom: 48%;
  background: linear-gradient(90deg, #101010, #26374a, #151515);
}

.gavel {
  width: 44%;
  height: 10%;
  right: 12%;
  bottom: 54%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3a210d, #d4af37, #3a210d);
  transform: rotate(-26deg);
  box-shadow: 0 12px 22px rgba(212, 175, 55, 0.22);
}

.gavel::after {
  content: "";
  position: absolute;
  left: 8%;
  top: -95%;
  width: 28%;
  height: 250%;
  border-radius: 8px;
  background: linear-gradient(90deg, #2b180a, #9b7434, #2b180a);
}

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

.counter-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.counter-grid strong {
  display: block;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.counter-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  background: var(--gray);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.profile-card img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.45s ease;
}

.profile-card:hover img {
  transform: scale(1.08);
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.95), transparent 58%);
}

.profile-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.profile-card p {
  color: var(--gold);
}

.profile-card span,
.socials {
  display: flex;
  gap: 12px;
  color: var(--silver);
}

.result-card {
  min-height: 250px;
}

.result-card strong {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 1;
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 16px;
}

.testimonial-track {
  position: relative;
  min-height: 260px;
}

.quote-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 44px;
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.quote-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.quote-card p {
  color: rgba(255, 255, 255, 0.86);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.quote-card span {
  color: var(--muted);
}

.carousel-btn {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75), transparent);
}

.step {
  position: relative;
  z-index: 1;
  min-height: 180px;
  padding: 28px 18px;
  text-align: center;
}

.step span {
  position: absolute;
  top: 16px;
  right: 16px;
  color: rgba(255, 255, 255, 0.22);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.step svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 22px;
  color: var(--gold);
}

.consultation {
  align-items: start;
}

.consultation-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px;
}

.consultation-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  outline: none;
}

select option {
  background: #111;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.accordion {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.blog-card {
  min-height: 250px;
}

.blog-card span {
  color: var(--gold);
  font-weight: 700;
}

.blog-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--silver);
}

.contact {
  align-items: stretch;
}

.contact-panel {
  padding: 38px;
}

.contact-panel address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
}

.map-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: -40px;
  background:
    linear-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 60% 45%, rgba(212, 175, 55, 0.22), transparent 20%),
    #101010;
  background-size: 54px 54px, 54px 54px, auto, auto;
  transform: perspective(700px) rotateX(58deg) translateY(40px);
}

.map-pin {
  position: absolute;
  left: 55%;
  top: 42%;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #090909;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(212, 175, 55, 0.12), 0 20px 60px rgba(212, 175, 55, 0.4);
  animation: pinPulse 1.6s ease-in-out infinite alternate;
}

.floating-consult {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 18;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #090909;
  background: var(--gold);
  box-shadow: 0 18px 48px rgba(212, 175, 55, 0.35);
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding: 62px max(24px, calc((100vw - 1180px) / 2)) 30px;
  border-top: 1px solid var(--line);
  background: #070707;
}

.footer h3 {
  margin-bottom: 16px;
  color: var(--gold);
}

.footer a {
  display: block;
  margin: 9px 0;
}

.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes pulseBorder {
  from { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  to { box-shadow: 0 0 48px rgba(212, 175, 55, 0.35); }
}

@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 240px 120px, -190px 190px; }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateY(18deg); }
}

@keyframes pinPulse {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-8px) scale(1.04); }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav.open .nav-links {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(6, 6, 6, 0.94);
    backdrop-filter: blur(18px);
  }

  .nav.open .nav-links a {
    padding: 14px;
  }

  .icon-grid,
  .feature-grid,
  .lawyer-grid,
  .result-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .consultation,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .timeline::before {
    display: none;
  }

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

@media (max-width: 680px) {
  .section {
    padding: 78px 18px;
  }

  .hero {
    min-height: 920px;
    padding-top: 112px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
  }

  .icon-grid,
  .feature-grid,
  .lawyer-grid,
  .result-grid,
  .blog-grid,
  .counter-grid,
  .consultation-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 430px;
  }

  .office-3d {
    width: 68%;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .quote-card {
    padding: 28px;
  }

  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}
