/* ------------------------------------------------------------------
   Kanzlei Allaferdov – Stylesheet
   Editorial design system, self-hosted fonts, no external requests.
------------------------------------------------------------------- */

/* Fonts */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Tokens */
:root {
  --paper: #f6f3ed;
  --paper-deep: #ede8de;
  --ink: #14110f;
  --ink-soft: #3a342e;
  --muted: #6e655c;
  --line: #d9d2c6;
  --line-dark: #37312b;
  --red: #c80815;
  --red-deep: #a3050f;
  --serif: "Bodoni Moda", "Times New Roman", Times, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1340px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

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

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Typography */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  hyphens: auto;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 7rem);
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

h4 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: none;
  vertical-align: -0.08em;
  overflow: visible;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--red);
}

.eyebrow--light {
  color: #c9c1b8;
}

.eyebrow--light::before {
  background: #fff;
}

/* Buttons & links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn .ico {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .ico {
  transform: translateX(3px);
}

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

.btn--red:hover {
  background: var(--red-deep);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light-outline {
  border-color: #554c43;
  background: transparent;
  color: var(--paper);
}

.btn--light-outline:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.btn--sm {
  padding: 13px 20px;
  font-size: 10px;
}

.btn--block {
  width: 100%;
  margin-top: 22px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow .ico {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

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

.link-arrow:hover .ico {
  transform: translateX(3px);
}

/* Topbar */
.topbar {
  background: var(--ink);
  color: #bdb5ac;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 9.5px;
  white-space: nowrap;
}

.topbar__mark {
  width: 5px;
  height: 5px;
  background: var(--red);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__links > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s var(--ease);
}

.topbar__links > a:hover {
  color: #fff;
}

.topbar .ico {
  width: 12px;
  height: 12px;
}

.topbar__divider {
  width: 1px;
  height: 14px;
  background: #3a342e;
}

.topbar__social {
  opacity: 0.72;
}

.topbar__social:hover {
  opacity: 1;
}

.topbar__social .ico {
  width: 13px;
  height: 13px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 36px rgba(20, 17, 15, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 92px;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .header__inner {
  min-height: 76px;
}

.brand {
  display: block;
  flex: none;
}

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

.site-header.is-scrolled .brand img {
  height: 40px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after,
.has-sub.is-active .nav__link::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--red);
}

.nav__toggle .ico {
  width: 11px;
  height: 11px;
  transition: transform 0.25s var(--ease);
}

.has-sub.is-open .nav__toggle .ico,
.has-sub:hover .nav__toggle .ico {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 24px);
  left: -22px;
  min-width: 260px;
  margin: 0;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  background: var(--paper);
  box-shadow: 0 22px 40px rgba(20, 17, 15, 0.09);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.has-sub:hover .submenu,
.has-sub.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.submenu a {
  display: block;
  padding: 12px 22px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  background: var(--paper-deep);
  color: var(--red);
}

.header__cta {
  flex: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile navigation */
.mobile-nav {
  position: fixed;
  top: var(--menu-top, 108px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 55;
  background: var(--paper);
  padding: 26px 0 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s;
}

body.menu-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.mobile-nav__list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  line-height: 1.15;
}

.mobile-nav__link .ico {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.mobile-nav__link[aria-current="page"],
.mobile-nav__group a[aria-current="page"] {
  color: var(--red);
}

.mobile-nav__group {
  padding: 16px 0 10px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav__label {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  line-height: 1.15;
}

.mobile-nav__group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--red);
}

.mobile-nav__group li a {
  display: block;
  padding: 4px 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.mobile-nav__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.mobile-nav__contact .eyebrow {
  margin-bottom: 4px;
}

.mobile-nav__phone {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
}

.mobile-nav__contact > a:not(.mobile-nav__phone) {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.mobile-nav__contact p:last-child {
  color: var(--muted);
  margin-top: 4px;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 0;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 6vw, 92px);
  align-items: end;
}

.hero__title {
  margin: 22px 0 0;
  font-size: clamp(3.5rem, 7.4vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__dot {
  color: var(--red);
}

.hero__lead {
  max-width: 34ch;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 4px;
}

.hero__mark {
  position: relative;
  width: min(100%, 250px);
  margin-left: auto;
}

.hero__mark::before {
  content: "";
  position: absolute;
  inset: -13px 13px 13px -13px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.hero__mark img {
  position: relative;
  width: 100%;
  height: auto;
}

.hero__facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}

.hero__facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.hero__facts dt {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__facts dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: right;
}

.hero__facts a:hover {
  color: var(--red);
}

.hero__claims {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(46px, 6vw, 78px) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.hero__claims li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 24px;
  border-left: 1px solid var(--line);
}

.hero__claims li:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero__claims strong {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--red);
  white-space: nowrap;
}

.hero__claims span {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sections */
.section {
  padding: clamp(72px, 8.5vw, 124px) 0;
}

.section--deep {
  background: var(--paper-deep);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.6vw, 4.3rem);
  line-height: 0.98;
}

.section-head__text {
  max-width: 42ch;
  justify-self: end;
  padding-bottom: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.section-head--light h2 {
  color: var(--paper);
}

.section-head--light .section-head__text {
  color: #b6ada4;
}

/* Areas */
.areas-section {
  padding-top: clamp(56px, 6.5vw, 90px);
}

.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.area {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: clamp(26px, 3.4vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.area:hover {
  background: var(--ink);
  color: var(--paper);
}

.area__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
}

.area h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1;
}

.area p {
  max-width: 38ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}

.area:hover p {
  color: #b8afa6;
}

.area__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.35s var(--ease);
}

.area__link .ico {
  width: 14px;
  height: 14px;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}

.area:hover .area__link {
  border-color: var(--line-dark);
}

.area:hover .area__link .ico {
  transform: translateX(4px);
}

.area:focus-visible {
  outline-offset: -4px;
}

/* Kanzlei */
.kanzlei__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: start;
}

.kanzlei__side h2 {
  margin: 18px 0 24px;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 0.96;
}

.kanzlei__note {
  margin: 0 0 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  color: var(--muted);
}

.kanzlei__intro {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.kanzlei__intro::first-letter {
  float: left;
  padding: 0.06em 0.14em 0 0;
  font-family: var(--serif);
  font-size: 4.7em;
  line-height: 0.76;
  color: var(--red);
}

.signature {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 31px;
  line-height: 1.1;
}

.signature span {
  display: block;
  margin-top: 7px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Process */
.process {
  background: var(--ink);
  color: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 5vw, 64px) !important;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.step {
  padding: 32px clamp(20px, 3vw, 42px) 6px;
  border-left: 1px solid var(--line-dark);
}

.step:first-child {
  padding-left: 0;
  border-left: 0;
}

.step__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 0.9;
  color: var(--red);
}

.step h3 {
  margin: 20px 0 10px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--paper);
}

.step p {
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: #b5aca3;
}

.process__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 42px;
}

/* Dossier */
.dossier {
  border-top: 1px solid var(--line);
}

.dossier__item {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(38px, 4.8vw, 62px) 0;
  border-bottom: 1px solid var(--line);
}

.dossier__sticky {
  position: sticky;
  top: 120px;
}

.dossier__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
}

.dossier__side h3 {
  margin: 10px 0 22px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.98;
}

/* Prose */
.prose p {
  max-width: 68ch;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--page h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  line-height: 1.05;
}

.prose--page h2:not(:first-child) {
  margin-top: clamp(44px, 5vw, 64px);
}

.prose__lead {
  max-width: 66ch;
  margin: 0 0 32px !important;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.55vw, 1.4rem) !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
}

.prose--page .prose__lead + h2 {
  margin-top: 16px;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 26px 0 clamp(38px, 5vw, 58px);
  border-top: 1px solid var(--line);
  list-style: none;
}

.services li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 13px 22px 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.services li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--red);
  transform: translateY(-1px);
}

.services li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.services li:nth-child(even) {
  padding-left: 22px;
}

.notice {
  margin-top: 40px;
  padding: 24px 26px;
  border-left: 3px solid var(--red);
  background: var(--paper-deep);
}

.notice p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Detail layout */
.detail {
  padding: clamp(52px, 6.5vw, 96px) 0;
}

.detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 3.5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* Sidebar */
.sidebar__inner {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.side-card {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.side-card__title {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink);
}

.side-list {
  list-style: none;
}

.side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  transition: color 0.2s var(--ease);
}

.side-list a:hover {
  color: var(--red);
}

.side-list .ico {
  width: 13px;
  height: 13px;
  color: var(--red);
}

.side-card--dark {
  padding: 26px;
  border-top: 2px solid var(--red);
  background: var(--ink);
  color: var(--paper);
}

.side-card--dark .eyebrow {
  color: #b8afa6;
}

.side-card__claim {
  margin: 14px 0 16px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.3;
}

.side-card__phone {
  display: block;
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  transition: color 0.2s var(--ease);
}

.side-card__phone:hover {
  color: var(--red);
}

.side-card__mail {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  color: #b8afa6;
  border-bottom: 1px solid #4a423a;
  transition: color 0.2s var(--ease);
}

.side-card__mail:hover {
  color: #fff;
}

.side-card--plain .side-card__address {
  margin: 2px 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* Page hero */
.page-hero {
  padding: clamp(38px, 5vw, 64px) 0 clamp(38px, 4.5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 48px);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb span[aria-current] {
  color: var(--ink);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.page-hero__title h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

.page-hero__lead {
  max-width: 46ch;
  padding-left: 24px;
  border-left: 2px solid var(--red);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.page-hero--legal .page-hero__grid {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.page-hero--legal .page-hero__title h1 {
  font-size: clamp(2.7rem, 4.7vw, 4.5rem);
  letter-spacing: -0.025em;
}

.page-hero--wide .page-hero__grid {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.page-hero--wide .page-hero__title h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.page-hero--long .page-hero__grid {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}

.page-hero--long .page-hero__title h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
}

/* CTA */
.cta {
  background: var(--red);
  color: #fff;
  padding: clamp(58px, 7.5vw, 96px) 0;
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.cta h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.7vw, 4.6rem);
  line-height: 0.98;
  max-width: 14ch;
}

.cta__body p {
  max-width: 40ch;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: #f4d6d8;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: border-color 0.2s var(--ease);
}

.cta--contact h2 {
  max-width: 12ch;
}

.cta__phone:hover {
  border-color: #fff;
}

.cta__phone .ico {
  width: 16px;
  height: 16px;
}

/* Contact page */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: start;
}

.contact__info h2,
.contact__form-wrap h2 {
  margin: 16px 0 20px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.contact__address {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.5;
}

.contact__list {
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}

.contact__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact__list dt {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__list dd {
  margin: 0;
  font-size: 14px;
  text-align: right;
}

.contact__list a:hover {
  color: var(--red);
}

.contact__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.contact__socials-label {
  margin-right: 8px;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__socials a,
.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.contact__socials a:hover,
.footer__socials a:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.contact__socials .ico,
.footer__socials .ico {
  width: 15px;
  height: 15px;
}

.contact__form-wrap {
  padding: clamp(24px, 4vw, 44px);
  background: var(--paper-deep);
}

.contact__form-intro {
  max-width: 48ch;
  margin: 0 0 30px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.field label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label span[aria-hidden] {
  color: var(--red);
}

.field__optional {
  margin-left: 5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid #a89f93;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
  box-shadow: 0 1px 0 var(--red);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 26px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--red);
}

.checkbox a {
  border-bottom: 1px solid currentColor;
}

.checkbox a:hover {
  color: var(--red);
}

.form__submit {
  width: 100%;
}

.form__note {
  margin-top: 16px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.form__note a {
  border-bottom: 1px solid currentColor;
}

.form__status {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--red-deep);
}

.form__status.is-success {
  color: #245c3a;
}

/* Kanzlei facts */
.signature--page {
  margin-top: 44px;
}

.kanzlei-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.kanzlei-facts__label {
  display: block;
  margin-bottom: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kanzlei-facts p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.kanzlei-facts a:hover {
  color: var(--red);
}

/* Legal pages */
.legal-section {
  padding-bottom: clamp(64px, 8vw, 110px);
}

.legal {
  max-width: 840px;
}

.legal__stand {
  margin-bottom: 34px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal__block {
  padding-top: 30px;
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
}

.legal__block h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.legal__block h3 {
  margin: 22px 0 10px;
  font-size: 1.15rem;
}

.legal__block p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.legal__block p:last-child {
  margin-bottom: 0;
}

.legal a {
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.legal a:hover {
  color: var(--red);
  border-color: var(--red);
}

.legal__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.legal__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--red);
}

/* AMB document */
.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.doc-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 26px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.doc-card__badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 82px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.doc-card__badge::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 18px;
  height: 18px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.doc-card__badge span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--red);
}

.doc-card__body h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.04;
}

.doc-card__sub {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.doc-card__meta {
  margin-top: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-card__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.doc-aside {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.doc-aside__title {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink);
}

.doc-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: doc;
}

.doc-list li {
  counter-increment: doc;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.5;
}

.doc-list li::before {
  content: counter(doc, decimal-leading-zero);
  flex: none;
  padding-top: 2px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.doc-aside__note {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* PDF */
.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.pdf-frame {
  height: min(78vh, 900px);
  min-height: 520px;
  border: 1px solid var(--line);
  background: #fff;
}

.pdf-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.pdf-hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* 404 */
.error-page {
  padding: clamp(90px, 12vw, 170px) 0 clamp(110px, 14vw, 190px);
}

.error-page h1 {
  margin: 20px 0 24px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.96;
}

.error-page__text {
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

/* Footer */
.site-footer {
  padding-top: clamp(54px, 6.5vw, 82px);
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(44px, 5vw, 62px);
}

.footer__brand img {
  width: auto;
  height: 48px;
}

.footer__brand > p {
  max-width: 30ch;
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.footer__title {
  margin: 0 0 15px;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.footer__col li a {
  font-size: 13.5px;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

.footer__col li a:hover {
  color: var(--red);
}

.footer__contact address {
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.8;
}

.footer__contact > a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13.5px;
  transition: color 0.2s var(--ease);
}

.footer__contact > a:hover {
  color: var(--red);
}

.footer__contact .ico {
  width: 13px;
  height: 13px;
  color: var(--red);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__top .ico {
  width: 13px;
  height: 13px;
  transform: rotate(180deg);
  transition: transform 0.2s var(--ease);
}

.footer__top:hover {
  color: var(--red);
}

.footer__top:hover .ico {
  transform: rotate(180deg) translateY(3px);
}

/* Reveal animation (JS adds .js) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1120px) {
  .nav__list {
    gap: 18px;
  }

  .header__inner {
    gap: 22px;
  }

  .topbar__mail {
    display: none !important;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 48px;
  }

  .hero__mark {
    max-width: 220px;
  }
}

@media (max-width: 980px) {
  .nav,
  .header__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header__inner {
    min-height: 78px;
  }

  .site-header.is-scrolled .header__inner {
    min-height: 68px;
  }

  .brand img {
    height: 40px;
  }

  .site-header.is-scrolled .brand img {
    height: 36px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero__aside {
    flex-direction: row;
    align-items: flex-end;
    gap: 32px;
  }

  .hero__mark {
    width: 170px;
    margin-left: 0;
  }

  .hero__facts {
    flex: 1;
    max-width: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-head__text {
    justify-self: start;
    padding-bottom: 0;
  }

  .kanzlei__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kanzlei__note {
    max-width: 28ch;
  }

  .dossier__item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .dossier__sticky {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 16px;
  }

  .dossier__side h3 {
    margin: 0;
  }

  .dossier__side .link-arrow {
    justify-self: end;
  }

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

  .sidebar__inner {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
  }

  .side-card--plain {
    grid-column: 1 / -1;
  }

  .page-hero__grid,
  .page-hero--legal .page-hero__grid,
  .page-hero--wide .page-hero__grid,
  .page-hero--long .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .page-hero__lead {
    max-width: 58ch;
  }

  .doc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .contact__form-wrap {
    max-width: 720px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 760px) {
  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .hero {
    padding-top: 40px;
  }

  .hero__title {
    font-size: clamp(3rem, 12vw, 4.6rem);
  }

  .hero__aside {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__mark {
    width: 150px;
  }

  .hero__facts {
    width: 100%;
    max-width: none;
  }

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

  .hero__claims li {
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero__claims li:first-child {
    border-top: 0;
  }

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

  .area {
    min-height: 0;
  }

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

  .step {
    padding: 26px 0 6px;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .step:first-child {
    border-top: 0;
  }

  .process__footer {
    justify-content: flex-start;
  }

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

  .services li:nth-child(odd) {
    border-right: 0;
  }

  .services li:nth-child(even) {
    padding-left: 0;
  }

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

  .cta h2 {
    max-width: 12ch;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kanzlei-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__signature {
    display: none;
  }

  .pdf-frame {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .topbar {
    font-size: 10px;
  }

  .topbar__links {
    gap: 14px;
  }

  .topbar__divider,
  .topbar__social {
    display: none;
  }

  .brand img {
    height: 34px;
  }

  .header__inner {
    min-height: 70px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .kanzlei__intro::first-letter {
    font-size: 3.8em;
  }

  .dossier__sticky {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dossier__side .link-arrow {
    justify-self: start;
    margin-top: 4px;
  }

  .page-hero__title h1,
  .page-hero--legal .page-hero__title h1,
  .page-hero--wide .page-hero__title h1 {
    font-size: clamp(2.5rem, 11vw, 3.6rem);
  }

  .page-hero--long .page-hero__title h1 {
    font-size: clamp(1.8rem, 8vw, 3.2rem);
  }

  .contact__list > div {
    flex-direction: column;
    gap: 2px;
  }

  .contact__list dd {
    text-align: left;
  }

  .contact__form-wrap {
    padding: 24px 20px;
  }

  .cta__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta__actions .btn {
    width: 100%;
  }

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

  .footer__brand > p {
    max-width: 34ch;
  }

  .footer__top {
    display: none;
  }

  .pdf-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .pdf-actions .btn {
    width: 100%;
  }

  .doc-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .doc-card__badge {
    width: 52px;
    height: 66px;
  }

  .doc-card__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .doc-card__actions .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Print */
@media print {
  .topbar,
  .site-header,
  .mobile-nav,
  .cta,
  .site-footer,
  .sidebar,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .detail,
  .page-hero {
    padding: 0;
  }

  .page-hero {
    border-bottom: 0;
  }

  a {
    text-decoration: underline;
  }
}
