:root {
  --bg: #070b0a;
  --bg-2: #0d1412;
  --panel: rgba(18, 27, 24, 0.94);
  --panel-2: rgba(31, 47, 42, 0.78);
  --text: #f3f6f5;
  --muted: #b8c2bf;
  --silver: #d7dfde;
  --steel: #80908d;
  --green: #1e3731;
  --line: rgba(215, 223, 222, 0.18);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1160px;
}

* {
  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(--text);
  background:
    radial-gradient(circle at 14% 0%, rgba(77, 104, 98, 0.45), transparent 29rem),
    radial-gradient(circle at 88% 18%, rgba(214, 223, 222, 0.18), transparent 23rem),
    linear-gradient(135deg, var(--bg), #0a100e 50%, var(--bg-2));
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10% -22% -10%;
  height: 45vh;
  background: radial-gradient(circle, rgba(107, 126, 122, 0.18), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

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

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

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

.container {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 10, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.top-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 38px;
  padding: 8px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.top-strip a {
  color: var(--silver);
  font-weight: 700;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
  padding: 4px;
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
}

.brand span {
  white-space: nowrap;
}

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

.nav-menu a {
  padding: 11px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  display: flex;
  align-items: center;
  padding: 92px 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-shape-one {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 58px;
  background: radial-gradient(circle, rgba(215, 223, 222, 0.14), transparent 68%);
}

.hero-shape-two {
  width: 360px;
  height: 360px;
  left: -130px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(49, 88, 78, 0.38), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.hero-content {
  animation: rise 0.75s ease both;
}

.kicker,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before,
.section-tag::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver));
}

h1,
h2,
h3 {
  line-height: 1.08;
  color: var(--text);
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.65rem, 7vw, 6.9rem);
  letter-spacing: -0.06em;
  max-width: 820px;
}

h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 1.45rem;
}

.hero-text {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.035em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #09100e;
  background: linear-gradient(135deg, #ffffff, #b6c3c0 52%, #7c8c88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.btn-outline {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08);
}

.logo-card {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(11, 17, 15, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise 0.75s ease 0.12s both;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(215, 223, 222, 0.16);
  border-radius: 26px;
}

.logo-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -55px;
  top: -55px;
  background: radial-gradient(circle, rgba(215, 223, 222, 0.16), transparent 70%);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.55));
}

.section {
  padding: 92px 0;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 34px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.text-panel {
  padding: 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.text-panel p + p {
  margin-top: 18px;
}

.section-center {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-center .section-tag {
  justify-content: center;
}

.section-center .section-tag::after {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--silver), transparent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.018)),
    rgba(15, 23, 20, 0.9);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -60px -70px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(215, 223, 222, 0.08);
}

.card-number {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--silver);
  background: rgba(255,255,255,0.06);
  font-weight: 900;
}

.card p {
  margin-top: 14px;
  color: var(--muted);
}

.specialty-box {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(215, 223, 222, 0.12), rgba(29, 57, 50, 0.22)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.specialty-box p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.law-symbol {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  color: var(--silver);
  background: rgba(255,255,255,0.06);
  font-size: 4.8rem;
  line-height: 1;
}

.office-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.office-info {
  padding: 36px;
}

.office-info address {
  margin: 24px 0 28px;
  color: var(--muted);
  font-style: normal;
  font-size: 1.12rem;
}

.office-summary {
  display: grid;
  gap: 16px;
}

.summary-item {
  min-height: 142px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-2);
}

.summary-item span,
.contact-row span {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-item strong {
  font-size: 1.22rem;
}

.contact-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-panel {
  padding: 30px;
}

.contact-row {
  display: grid;
  gap: 7px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row a,
.contact-row strong {
  color: var(--text);
  font-size: 1.05rem;
  word-break: break-word;
}

.footer {
  padding: 30px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 10, 0.7);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer a {
  color: var(--silver);
  font-weight: 800;
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #09100e;
  background: linear-gradient(135deg, #ffffff, #b7c5c2 56%, #7e908c);
  box-shadow: 0 16px 42px rgba(0,0,0,0.48);
  font-size: 1.35rem;
  font-weight: 900;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .brand span {
    font-size: 0.92rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(9, 14, 13, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    border-radius: 14px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 58px;
  }

  .hero-grid,
  .two-columns,
  .office-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .logo-card {
    min-height: 420px;
  }

  .hero-logo {
    width: min(100%, 300px);
    max-height: 360px;
  }

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

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

  .top-strip {
    flex-direction: column;
    gap: 2px;
    font-size: 0.78rem;
  }

  .nav {
    min-height: 70px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand span {
    max-width: 180px;
    white-space: normal;
    line-height: 1.15;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions,
  .contact-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo-card {
    min-height: 360px;
    padding: 22px;
    border-radius: 24px;
  }

  .hero-logo {
    width: min(100%, 250px);
    max-height: 310px;
  }

  .section {
    padding: 64px 0;
  }

  .text-panel,
  .office-info,
  .contact-panel,
  .specialty-box,
  .card,
  .summary-item {
    padding: 24px;
  }

  .specialty-box {
    grid-template-columns: 1fr;
  }

  .law-symbol {
    width: 88px;
    height: 88px;
    font-size: 3.8rem;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .floating-call {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
}
