:root {
  --navy: #071c3d;
  --blue: #123a66;
  --sky: #eaf2f8;
  --ink: #11243f;
  --muted: #647287;
  --line: #dfe7ef;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --gold: #c7903d;
  --gold-2: #e0b25f;
  --green: #20a65a;
  --telegram: #229ed9;
  --shadow: 0 18px 44px rgba(7, 28, 61, .09);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--soft);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(7, 28, 61, .96), rgba(14, 49, 89, .92)),
    radial-gradient(circle at 70% 30%, rgba(199, 144, 61, .28), transparent 34%);
  transform-origin: top;
  animation: pageCurtain 1.05s cubic-bezier(.77, 0, .18, 1) .12s forwards;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

.section-shell {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 18px 46px;
  border-bottom: 1px solid rgba(223, 231, 239, .9);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  transition: padding .25s ease, box-shadow .25s ease;
  animation: headerDrop .7s ease both;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 12px 28px rgba(7, 28, 61, .08);
}

.brand {
  display: inline-block;
  color: var(--navy);
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-sub {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #263852;
  font-size: 15px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone {
  display: grid;
  gap: 1px;
  color: var(--navy);
  text-align: right;
}

.phone span {
  color: var(--muted);
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: translateX(-180%) rotate(18deg);
  transition: transform .65s ease;
}

.btn:hover::after {
  transform: translateX(520%) rotate(18deg);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(7, 28, 61, .15);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-light {
  border-color: #b9c4d2;
  background: rgba(255, 255, 255, .85);
  color: var(--navy);
}

.btn-sm {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(199, 144, 61, .18), transparent 28%),
    linear-gradient(110deg, #fff 0%, #fff 42%, #e9f3fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(18, 58, 102, .12);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 42px;
  min-height: 710px;
  align-items: center;
  padding: 54px 0 70px;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-actions,
.hero-copy .messengers {
  opacity: 0;
  transform: translateY(24px);
  animation: heroRise .82s cubic-bezier(.2, .8, .2, 1) forwards;
}

.hero-copy h1 {
  animation-delay: .12s;
}

.hero-copy .lead {
  animation-delay: .24s;
}

.hero-actions {
  animation-delay: .36s;
}

.hero-copy .messengers {
  animation-delay: .48s;
}

.hero-stage {
  opacity: 0;
  transform: translateY(28px) scale(.98);
  animation: heroStageIn .95s cubic-bezier(.2, .8, .2, 1) .22s forwards;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: 70px;
}

h2 {
  margin-bottom: 14px;
  font-size: 44px;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.18;
}

.lead {
  max-width: 600px;
  margin-bottom: 32px;
  color: #334762;
  font-size: 20px;
}

.hero-actions,
.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.messengers {
  margin-top: 24px;
}

.messenger {
  display: grid;
  grid-template-columns: 40px auto;
  align-items: center;
  gap: 12px;
  min-width: 182px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 28, 61, .05);
  transition: transform .22s ease, border-color .22s ease;
}

.messenger:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 144, 61, .52);
}

.messenger-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  transition: transform .25s ease, filter .25s ease;
}

.messenger-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.messenger-wa .messenger-icon {
  background: transparent;
}

.messenger-tg .messenger-icon {
  background: transparent;
}

.messenger:hover .messenger-icon {
  transform: rotate(-6deg) scale(1.08);
  filter: drop-shadow(0 8px 12px rgba(7, 28, 61, .16));
}

.messenger b {
  display: block;
  line-height: 1.1;
}

.messenger small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  --mx: 0px;
  --my: 0px;
}

.hero-building {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 540px;
  max-width: 100%;
  filter: drop-shadow(0 22px 34px rgba(7, 28, 61, .18));
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform .18s ease-out;
  animation: buildingDrift 7s ease-in-out infinite;
}

.glass-panel {
  position: absolute;
  top: 78px;
  left: 12px;
  width: 270px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 8px;
  background: rgba(7, 28, 61, .86);
  color: #fff;
  box-shadow: 0 22px 40px rgba(7, 28, 61, .24);
  backdrop-filter: blur(14px);
  animation: floatPanel 5s ease-in-out infinite;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 800;
}

.panel-top span {
  color: rgba(255, 255, 255, .76);
}

.panel-top b {
  color: #86e3a6;
}

.risk-scale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 90px;
  align-items: end;
  gap: 10px;
  margin-bottom: 16px;
}

.risk-scale span {
  display: block;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(#e6bd6b, #c7903d);
  animation: barPulse 3s ease-in-out infinite;
}

.risk-scale span:nth-child(2) {
  animation-delay: .25s;
}

.risk-scale span:nth-child(3) {
  animation-delay: .5s;
}

.risk-scale span:nth-child(4) {
  animation-delay: .75s;
}

.glass-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.metric {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid rgba(223, 231, 239, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
  animation: metricFloat 4.8s ease-in-out infinite;
}

.metric-two {
  animation-delay: .45s;
}

.metric-three {
  animation-delay: .9s;
}

.metric b {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.metric-one {
  right: 18px;
  top: 36px;
}

.metric-two {
  right: 40px;
  bottom: 116px;
}

.metric-three {
  left: 0;
  bottom: 58px;
}

section:not(.hero) {
  padding: 64px 0;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
  animation: quickBarIn .86s cubic-bezier(.2, .8, .2, 1) .68s both;
}

.quick-bar div {
  display: grid;
  gap: 4px;
  padding: 24px;
  background: #fff;
}

.quick-bar b {
  color: var(--navy);
}

.quick-bar span {
  color: var(--muted);
  font-size: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-title p:last-child,
.section-head p:last-child {
  margin-bottom: 0;
}

.link-arrow {
  align-self: center;
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.link-arrow:hover {
  color: var(--gold);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 20px;
}

.intro-card,
.practice-card,
.case-card,
.price-card,
.person-card,
.docs-panel,
.request-form,
.faq,
.materials,
.contact-card,
.map-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.intro-card {
  padding: 28px;
}

.intro-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.intro-card p,
.practice-card p,
.case-card p,
.price-card p,
.request-copy p,
.docs-panel p {
  color: var(--muted);
}

.practice-grid,
.case-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.practice-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease;
}

.practice-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(199, 144, 61, .28);
  border-radius: 50%;
  transition: transform .35s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 144, 61, .45);
}

.practice-card:hover::after {
  transform: scale(1.25);
}

.practice-card:hover .line-icon {
  animation: iconNudge .55s ease;
}

.line-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  color: var(--gold);
}

.line-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.practice-card a {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--gold);
  font-weight: 800;
}

.case-card {
  display: grid;
  min-height: 320px;
  align-content: start;
  padding: 30px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 144, 61, .45);
  box-shadow: 0 24px 54px rgba(7, 28, 61, .12);
}

.case-card > span {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card div {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.case-card b {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.case-card small {
  color: var(--muted);
}

.partners {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 32px;
  align-items: center;
}

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

.partner-logo {
  display: grid;
  min-height: 145px;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 22px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .22s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo img {
  width: min(150px, 100%);
  height: 76px;
  object-fit: contain;
  filter: saturate(.95);
}

.partner-logo small {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.price-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 32px;
}

.price-card.is-featured {
  border-color: var(--gold);
  transform: translateY(-12px);
}

.badge {
  position: absolute;
  top: -16px;
  left: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.price-card strong {
  margin: 8px 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 14px 0 28px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.price-card .btn {
  margin-top: auto;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 26px;
}

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

.person-card {
  display: grid;
  grid-template-rows: 260px auto auto;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.person-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  background: #f5f7fa;
  filter: saturate(.96) contrast(1.02);
  transition: transform .45s ease;
}

.person-card:hover {
  transform: translateY(-7px);
  border-color: rgba(199, 144, 61, .46);
  box-shadow: 0 24px 54px rgba(7, 28, 61, .13);
}

.person-card:hover img {
  transform: scale(1.035);
}

.person-card div {
  padding: 20px 20px 8px;
}

.person-card p {
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 800;
}

.person-card small {
  color: var(--muted);
}

.person-card b {
  padding: 0 20px 20px;
  color: var(--gold);
  font-size: 20px;
}

.docs-panel {
  padding: 26px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.doc-grid button {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: zoom-in;
  text-align: left;
  transition: transform .22s ease, border-color .22s ease;
}

.doc-grid button:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 144, 61, .58);
}

.doc-grid img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(7, 28, 61, .1);
}

.doc-grid span {
  font-weight: 800;
}

.request {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.request-note {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 22px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.request-note span {
  color: var(--muted);
}

.request-form {
  display: grid;
  gap: 14px;
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(199, 144, 61, .8);
  box-shadow: 0 0 0 4px rgba(199, 144, 61, .12);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.faq-materials {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 26px;
}

.faq,
.materials {
  padding: 28px;
}

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

.accordion-item {
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 8px;
  width: 100%;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.accordion-item span {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.accordion-item b {
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  transition: transform .2s ease;
}

.accordion-item p {
  grid-column: 1 / -1;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height .25s ease, margin .25s ease;
}

.accordion-item.is-open p {
  max-height: 160px;
  margin-top: 6px;
}

.accordion-item.is-open b {
  transform: rotate(45deg);
}

.materials {
  display: grid;
  gap: 12px;
}

.materials a {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .22s ease, border-color .22s ease;
}

.materials a:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 144, 61, .45);
}

.materials img {
  width: 112px;
  height: 74px;
  object-fit: cover;
  border-radius: 7px;
}

.materials b {
  display: block;
  color: var(--navy);
  line-height: 1.25;
}

.materials small {
  color: var(--gold);
  font-weight: 900;
}

.contacts {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 26px;
}

.contact-card {
  padding: 30px;
}

.contact-card ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.contact-card span {
  display: block;
  color: var(--muted);
}

.map-frame {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  background: #e8edf2;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
  opacity: .72;
  filter: saturate(.9);
}

.map-fallback {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.72) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(rgba(255,255,255,.72) 1px, transparent 1px) 0 0 / 70px 70px,
    #dbe4ec;
}

.map-river {
  position: absolute;
  left: -12%;
  top: 58%;
  width: 128%;
  height: 92px;
  border-radius: 999px;
  background: #b8d1e4;
  transform: rotate(-8deg);
}

.road {
  position: absolute;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 0 0 1px rgba(176, 188, 201, .5);
}

.road-one {
  left: 12%;
  top: 28%;
  width: 78%;
  transform: rotate(12deg);
}

.road-two {
  left: 4%;
  top: 46%;
  width: 92%;
  transform: rotate(-16deg);
}

.road-three {
  left: 44%;
  top: 8%;
  width: 18px;
  height: 84%;
  transform: rotate(24deg);
}

.map-pin {
  position: absolute;
  left: 49%;
  top: 42%;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 8px 8px 8px 0;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(7, 28, 61, .22);
}

.map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  padding: 46px clamp(24px, 5vw, 70px) 24px;
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
}

.brand-footer {
  color: #fff;
}

.footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
}

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

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
}

.doc-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 28, 61, .78);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.doc-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.doc-modal-card {
  width: min(780px, 100%);
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  transform: translateY(18px) scale(.98);
  transition: transform .22s ease;
}

.doc-modal.is-open .doc-modal-card {
  transform: translateY(0) scale(1);
}

.doc-modal-card img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(46px) scale(.985);
  filter: blur(8px);
  transition: opacity .85s cubic-bezier(.2, .8, .2, 1), transform .85s cubic-bezier(.2, .8, .2, 1), filter .85s ease;
}

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

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pageCurtain {
  0% {
    opacity: 1;
    transform: scaleY(1);
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scaleY(0);
  }
}

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

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

@keyframes heroStageIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes quickBarIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buildingDrift {
  0%,
  100% {
    filter: drop-shadow(0 22px 34px rgba(7, 28, 61, .18));
  }
  50% {
    filter: drop-shadow(0 30px 42px rgba(7, 28, 61, .23));
  }
}

@keyframes metricFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

@keyframes iconNudge {
  0%,
  100% {
    transform: rotate(0) scale(1);
  }
  40% {
    transform: rotate(-8deg) scale(1.12);
  }
}

@keyframes barPulse {
  0%,
  100% {
    opacity: .72;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-building,
  .glass-panel,
  .metric,
  .risk-scale span {
    animation: none;
  }

  .reveal {
    transform: translateY(24px);
    filter: none;
    transition-duration: .45s;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding-inline: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 14px;
  }

  .site-header.is-open .phone {
    text-align: left;
  }

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

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

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

  .hero-inner,
  .intro-grid,
  .partners,
  .team-layout,
  .request,
  .faq-materials,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 20px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .quick-bar,
  .practice-grid,
  .case-grid,
  .price-grid,
  .team-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .price-card.is-featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .section-shell {
    width: min(100% - 28px, var(--container));
  }

  .brand-name {
    font-size: 31px;
  }

  .brand-sub {
    font-size: 10px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 23px;
  }

  .hero-inner {
    padding-top: 38px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .messengers {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn,
  .messenger {
    width: 100%;
  }

  .hero-stage {
    min-height: 470px;
  }

  .hero-building {
    right: -70px;
    width: 520px;
  }

  .glass-panel {
    left: 0;
    top: 70px;
    width: 245px;
  }

  .metric {
    min-width: 134px;
    padding: 13px;
  }

  .metric b {
    font-size: 26px;
  }

  .metric-one {
    right: 0;
    top: 24px;
  }

  .metric-two {
    right: 0;
    bottom: 58px;
  }

  .metric-three {
    left: 0;
    bottom: 12px;
  }

  section:not(.hero) {
    padding: 46px 0;
  }

  .quick-bar,
  .practice-grid,
  .case-grid,
  .price-grid,
  .team-list,
  .partner-grid,
  .form-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .quick-bar {
    margin-top: 0;
  }

  .section-head {
    display: grid;
  }

  .price-card,
  .practice-card,
  .case-card,
  .request-form,
  .faq,
  .materials,
  .contact-card {
    padding: 22px;
  }

  .person-card {
    grid-template-rows: auto auto auto;
  }

  .person-card img {
    height: 260px;
  }

  .materials a {
    grid-template-columns: 96px 1fr;
  }

  .materials img {
    width: 96px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }

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

@media (max-width: 430px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 29px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .glass-panel {
    width: 228px;
  }

  .hero-building {
    right: -118px;
    bottom: 20px;
  }
}
