:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-2: #111827;
  --text: #171717;
  --muted: #68625a;
  --line: rgba(23, 23, 23, 0.12);
  --accent: #9b6a35;
  --accent-dark: #6f461e;
  --accent-soft: #eadcc9;
  --shadow: 0 20px 70px rgba(17, 24, 39, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.1rem; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 16px 20px auto 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: transform .25s ease, background .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,0.94); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  letter-spacing: .04em;
}
.brand-text { font-size: 13px; line-height: 1.15; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 10px 14px; color: #2f2b27; font-weight: 600; font-size: 14px; border-radius: 999px; }
.nav a:hover { background: var(--accent-soft); }
.nav-cta { background: var(--surface-2) !important; color: white !important; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); }

.hero { position: relative; min-height: 820px; display: grid; align-items: center; overflow: hidden; padding-top: 120px; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(155, 106, 53, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(17,24,39,0.88), rgba(17,24,39,0.62)),
    url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1800&q=80') center/cover;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; color: white; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.hero .eyebrow { color: #f3d7b2; }
h1, h2, h3 { margin: 0 0 18px; line-height: 1.05; }
h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -.06em; max-width: 900px; }
h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -.045em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
.hero p { max-width: 680px; font-size: 20px; color: rgba(255,255,255,0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: 0 16px 35px rgba(111,70,30,.28); }
.button-secondary { color: white; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); }
.hero-card { justify-self: end; width: min(420px, 100%); padding: 28px; border: 1px solid rgba(255,255,255,0.26); border-radius: var(--radius); background: rgba(255,255,255,0.12); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.stat { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.stat:last-child { border-bottom: 0; }
.stat strong { display: block; font-size: 54px; line-height: 1; }
.stat span { color: rgba(255,255,255,0.78); }

.section { padding: 110px 0; }
.muted { background: #efe8dd; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.centered { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.text-card, .service-card, .lawyer-card, .contact-card, .contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.text-card { padding: 34px; font-size: 18px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 34px; margin: 14px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 28px; position: relative; overflow: hidden; }
.service-card.wide { grid-column: span 2; }
.number { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-dark); font-weight: 900; margin-bottom: 22px; }
.service-card li { margin: 10px 0; color: var(--muted); }
.service-card p, .lawyer-card p, .contact-card p, .section-heading p { color: var(--muted); }
.lawyer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lawyer-card { padding: 28px; display: flex; flex-direction: column; gap: 10px; }

.lawyer-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
  background: #f1eee8;
  box-shadow: 0 14px 34px rgba(33, 29, 25, .10);
}

.lawyer-card {
  overflow: hidden;
}

.lawyer-card .role {
  min-height: 38px;
}

.lawyer-card h3 {
  margin-bottom: 4px;
}

.lawyer-card .avatar {
  display: none;
}

@media (max-width: 980px) {
  .lawyer-photo {
    max-height: 430px;
  }
}

@media (max-width: 680px) {
  .lawyer-card {
    padding: 22px;
  }

  .lawyer-photo {
    aspect-ratio: 3 / 3.6;
    max-height: 420px;
  }

  .lawyer-card .role {
    min-height: auto;
  }
}


.avatar { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--surface-2); color: white; font-size: 32px; font-weight: 900; }
.role { margin: 10px 0 0; color: var(--accent) !important; font-weight: 800; text-transform: lowercase; }
.lawyer-card a, .contact-card a { color: var(--accent-dark); font-weight: 800; word-break: break-word; }
.request-section { background: var(--surface-2); color: white; }
.request-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.request-section p { color: rgba(255,255,255,.72); }
.contact-form { padding: 30px; background: white; color: var(--text); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 15px 16px; font: inherit; background: #fbfaf8; }
input:focus, textarea:focus { outline: 3px solid rgba(155,106,53,.18); border-color: var(--accent); }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: center; font-weight: 500 !important; color: var(--muted); }
.consent input { width: auto; }
.form-status { min-height: 22px; margin: 0; color: var(--accent-dark) !important; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { padding: 28px; }
.site-footer { padding: 30px 0; background: #0b1020; color: rgba(255,255,255,.72); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-inner a { color: white; font-weight: 800; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { border-radius: 28px; align-items: flex-start; }
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 18px; right: 18px; top: 78px; display: none; flex-direction: column; align-items: stretch; padding: 16px; background: white; border-radius: 24px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .hero-grid, .split, .request-grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: stretch; }
  .service-grid, .lawyer-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { inset: 10px; }
  .brand-text { display: none; }
  .hero { min-height: auto; padding: 150px 0 80px; }
  .hero p { font-size: 17px; }
  .section { padding: 70px 0; }
  .service-grid, .lawyer-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-card.wide { grid-column: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.news-accordion {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.news-item {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 48px rgba(33, 29, 25, .07);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(33, 29, 25, .10);
  border-color: rgba(155, 106, 53, .25);
}

.news-item[open] {
  border-color: rgba(155, 106, 53, .30);
  box-shadow: 0 26px 72px rgba(33, 29, 25, .12);
}

.news-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 28px 30px;
}

.news-summary::-webkit-details-marker {
  display: none;
}

.news-summary-main {
  min-width: 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.news-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(155, 106, 53, .10);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.news-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.2;
  color: var(--surface-2);
}

.news-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.news-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(12, 28, 55, .06);
  color: var(--surface-2);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.news-item[open] .news-toggle {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.news-content {
  padding: 0 30px 28px;
  border-top: 1px solid rgba(33, 29, 25, .08);
}

.news-text {
  display: grid;
  gap: 14px;
  padding-top: 22px;
}

.news-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
  font-size: 16px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .news-summary {
    padding: 22px 20px;
    grid-template-columns: 1fr;
  }

  .news-toggle {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .news-content {
    padding: 0 20px 22px;
  }

  .news-title {
    font-size: 22px;
  }

  .news-lead,
  .news-text p {
    font-size: 15px;
  }
}

.clients-section {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(155, 106, 53, .10), transparent 34%),
    linear-gradient(180deg, rgba(248, 245, 241, .9), rgba(255, 255, 255, .98)),
    var(--bg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.client-card {
  position: relative;
  min-height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 34px;
  border: 1px solid rgba(155, 106, 53, .14);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .74));
  box-shadow: 0 18px 52px rgba(33, 29, 25, .08);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.client-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 106, 53, .16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, .35), transparent);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
}

.client-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(155, 106, 53, .08);
  pointer-events: none;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(155, 106, 53, .34);
  box-shadow: 0 26px 72px rgba(33, 29, 25, .14);
}

.client-card:hover::before {
  opacity: 1;
}

.client-logo-img {
  display: block;
  width: 100%;
  max-width: 230px;
  max-height: 88px;
  height: auto;
  object-fit: contain;
  filter: saturate(.96) contrast(1.02);
  transition:
    transform .25s ease,
    filter .25s ease,
    opacity .25s ease;
}

.client-card:hover .client-logo-img {
  transform: scale(1.04);
  filter: saturate(1.06) contrast(1.04);
}

.client-logo-wide {
  max-width: 280px;
  max-height: 96px;
}

.client-logo-round {
  max-width: 126px;
  max-height: 126px;
}

/* Если у PNG есть белые поля, эти классы помогут визуально выровнять разные логотипы */
.client-card:nth-child(1) .client-logo-img,
.client-card:nth-child(4) .client-logo-img {
  max-width: 210px;
}

.client-card:nth-child(2) .client-logo-img,
.client-card:nth-child(5) .client-logo-img,
.client-card:nth-child(8) .client-logo-img {
  max-width: 300px;
}

.client-card:nth-child(9) .client-logo-img {
  max-width: 132px;
  max-height: 132px;
}

@media (max-width: 1100px) {
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-card {
    min-height: 156px;
  }
}

@media (max-width: 680px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .client-card {
    min-height: 132px;
    padding: 24px 28px;
    border-radius: 24px;
  }

  .client-card::after {
    inset: 10px;
    border-radius: 18px;
  }

  .client-logo-img {
    max-width: 220px;
    max-height: 78px;
  }

  .client-logo-wide {
    max-width: 260px;
    max-height: 86px;
  }

  .client-logo-round {
    max-width: 112px;
    max-height: 112px;
  }
}

@media (max-width: 420px) {
  .client-card {
    min-height: 120px;
    padding: 22px;
  }

  .client-logo-img {
    max-width: 190px;
    max-height: 72px;
  }

  .client-logo-wide {
    max-width: 220px;
  }

  .client-logo-round {
    max-width: 100px;
    max-height: 100px;
  }
}

.projects-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(155, 106, 53, 0.12), transparent 32%),
    var(--bg);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.project-card-large {
  grid-row: span 2;
}
.project-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: var(--surface-2);
  color: white;
  font-weight: 900;
  letter-spacing: -.04em;
}
.project-area {
  margin: 0 0 12px;
  color: var(--accent) !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}
.project-card p {
  color: var(--muted);
  margin: 0;
}
.project-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-list li {
  position: relative;
  margin: 13px 0;
  padding-left: 28px;
  color: var(--muted);
}
.project-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(155, 106, 53, .12);
}

@media (max-width: 980px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card-large { grid-row: auto; }
}
@media (max-width: 680px) {
  .project-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px;
  }
}


/* Правильная мобильная версия */
@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 0;
    border: 0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 28px rgba(17, 24, 39, .10);
    backdrop-filter: blur(14px);
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 14px;
  }

  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: block;
    padding: 6px;
  }

  .nav {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(17, 24, 39, .18);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 14px;
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 56px;
    display: block;
    overflow: hidden;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(17, 24, 39, .78), rgba(17, 24, 39, .90)),
      url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1200&q=80") center/cover;
  }

  .hero-grid {
    display: block;
    color: #fff;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
    color: #f3d7b2;
    font-size: 11px;
  }

  h1 {
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.055em;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.55;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card {
    display: none;
  }

  .section {
    padding: 64px 0;
  }
}


/* Fixed mobile header */
@media (max-width: 680px) {
  .site-header {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    inset: 10px 10px auto 10px;
    width: auto;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(17, 24, 39, .14);
    backdrop-filter: blur(16px);
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    font-size: 14px;
    flex: 0 0 44px;
  }

  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: block;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 50%;
    background: transparent;
    flex: 0 0 44px;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    margin: 5px auto;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 10px;
    right: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 70px rgba(17, 24, 39, .22);
    backdrop-filter: blur(16px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 15px;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    padding-top: 132px;
  }

  html {
    scroll-padding-top: 96px;
  }
}

/* Mobile: clean floating hamburger */
@media (max-width: 680px) {
  .site-header {
    position: fixed;
    top: 14px;
    right: 14px;
    left: auto;
    bottom: auto;
    inset: 14px 14px auto auto;
    z-index: 1000;

    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;

    display: block;

    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header.scrolled {
    background: transparent !important;
    box-shadow: none !important;
  }

  .brand {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;
    gap: 4px;

    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(17, 24, 39, .88) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 !important;
    border-radius: 999px;
    background: #ffffff !important;
    opacity: 1 !important;
  }

  .nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(17, 24, 39, .96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    font-weight: 700;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, .08);
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    color: #fff !important;
  }

  .hero {
    padding-top: 72px;
  }

  html {
    scroll-padding-top: 82px;
  }
}
