/* === ПОДКЛЮЧЕНИЕ ЛОКАЛЬНЫХ ШРИФТОВ === */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/TenorSans-Regular.woff2') format('woff2');
}

:root {
  /* Фирменная палитра (меняете здесь - меняется на всем сайте) */
  --purple-abyss: #16071A;
  --purple-deep: #2A0E33;
  --purple-royal: #46154B;
  --purple-accent: #6E1854;
  --purple-vivid: #8A1E68;
  --purple-soft: #F3EDF5;

  /* Нейтральные и акцентные тона */
  --gold-muted: #C9A97E;
  --bg-page: #F9F8FA;
  --bg-white: #FFFFFF;
  --text-main: #1E1921;
  --text-muted: #5E5463;
  --border-color: #E6DFEA;

  /* Размеры и анимация */
  --container-width: 1240px;
  --transition: all 0.24s ease-in-out;
  --slide-duration: 5000ms;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Tenor Sans', serif;
  font-weight: 400;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === КНОПКИ СО СКОШЕННЫМИ УГЛАМИ === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  background-color: var(--purple-accent);
  color: #FFFFFF !important;
}

.btn-primary span {
  background-color: transparent !important;
  color: #FFFFFF !important;
}

.btn-primary:hover {
  background-color: var(--purple-vivid);
  color: #FFFFFF !important;
}

.btn-primary:active {
  background-color: var(--purple-royal);
  color: #FFFFFF !important;
}

.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited {
  background-color: var(--purple-soft);
  color: var(--purple-deep) !important;
}

.btn-secondary:hover {
  background-color: #E6DCEB;
  color: var(--purple-abyss) !important;
}

.btn-arrow {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* === ШАПКА САЙТА (HEADER) === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(22, 7, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-wrap {
  width: 44px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Tenor Sans', serif;
  font-size: 18px;
  color: var(--bg-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* === НАВИГАЦИЯ НА ПК (5 КНОПОК СО СКОШЕННЫМИ УГЛАМИ) === */
.nav-metro-grid {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metro-tile,
.metro-tile:link,
.metro-tile:visited {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82) !important;
  position: relative;
  padding: 9px 14px 9px 16px;
  background-color: rgba(255, 255, 255, 0.04);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.metro-tile::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background-color: transparent;
  transition: var(--transition);
}

.metro-tile .tile-icon,
.metro-tile .tile-sub {
  display: none;
}

.metro-tile:hover {
  background-color: #2D0F34;
  color: #FFFFFF !important;
}

.metro-tile:hover::before {
  background-color: var(--gold-muted);
}

.metro-tile.active {
  background-color: var(--purple-accent);
  color: #FFFFFF !important;
  font-weight: 600;
}

.metro-tile.active::before {
  background-color: var(--gold-muted);
}

.nav-mobile-contacts {
  display: none;
}

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

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-phone a {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF !important;
}

.header-phone a:hover {
  color: var(--gold-muted) !important;
}

.header-phone span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
}

.burger-line {
  width: 26px;
  height: 2px;
  background-color: var(--bg-white);
  transition: var(--transition);
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-btn.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === ВЕРХНИЙ ЭКРАН (HERO) === */
.page-hero {
  padding: 180px 0 110px;
  background: radial-gradient(circle at 50% 20%, var(--purple-royal) 0%, var(--purple-deep) 52%, var(--purple-abyss) 100%);
  color: var(--bg-white);
  text-align: center;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo-wrap {
  width: 120px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  color: var(--bg-white);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-text p {
  font-size: clamp(15px, 1.35vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
  line-height: 1.65;
}

/* === СЕКЦИИ И ОБЩИЕ КАРТОЧКИ === */
.section-compact {
  padding: 36px 0;
}

.section-tag,
.doc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-accent);
  background-color: var(--purple-soft);
  padding: 5px 12px;
  margin-bottom: 12px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

/* Универсальный блок с фиолетовым обрамлением и скошенными углами */
.styled-card,
.about-preview-block,
.attorneys-preview-block,
.awards-block,
.contacts-section-block {
  position: relative;
  z-index: 1;
  background-color: var(--border-color);
  padding: 40px 44px;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.styled-card::before,
.about-preview-block::before,
.attorneys-preview-block::before,
.awards-block::before,
.contacts-section-block::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 24px;
  background-color: var(--purple-accent);
  z-index: -2;
}

.styled-card::after,
.about-preview-block::after,
.attorneys-preview-block::after,
.awards-block::after,
.contacts-section-block::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 5px;
  background-color: var(--bg-white);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 15px);
  z-index: -1;
}

/* === СТИЛИ ГЛАВНОЙ СТРАНИЦЫ === */
.about-preview-block,
.attorneys-preview-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.about-preview-text,
.attorneys-preview-text {
  max-width: 680px;
}

.about-preview-text h2,
.attorneys-preview-text h2 {
  font-size: 26px;
  color: var(--purple-deep);
  margin-bottom: 8px;
}

.about-preview-text p,
.attorneys-preview-text p {
  font-size: 14.5px;
  color: var(--text-muted);
}

.awards-block {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 36px;
  align-items: center;
}

.doc-preview {
  width: 100%;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 10px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.doc-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.awards-content h2 {
  font-size: 26px;
  color: var(--purple-deep);
  margin-bottom: 12px;
}

.awards-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 700px;
}

.contacts-section-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contacts-info h2 {
  font-size: 28px;
  color: var(--purple-deep);
  margin-top: 0;
  margin-bottom: 12px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-main);
}

.contacts-item strong {
  min-width: 120px;
  color: var(--purple-deep);
  font-weight: 600;
}

.contacts-link,
.contacts-link:link,
.contacts-link:visited {
  color: var(--purple-accent) !important;
  font-weight: 600;
}

.contacts-link:hover {
  color: var(--purple-vivid) !important;
}

.contacts-mobile-actions {
  display: none;
  gap: 12px;
  margin-top: 22px;
}

.contacts-map-wrap {
  width: 100%;
  height: 440px;
  background-color: #EAE6EE;
  border: 1px solid var(--border-color);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.contacts-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* === СТИЛИ СТРАНИЦЫ «О КОЛЛЕГИИ» === */
.origins-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
}

.polaroid-frame {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 14px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.polaroid-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.polaroid-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

.content-prose h2 {
  font-size: 30px;
  color: var(--purple-deep);
  margin-bottom: 18px;
}

.content-prose p {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.lead-paragraph {
  font-size: 16.5px !important;
  font-weight: 500;
  color: var(--purple-deep) !important;
}

.founders-box {
  margin: 24px 0;
  padding: 22px 24px;
  background-color: var(--bg-page);
  border-left: 4px solid var(--purple-accent);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.founders-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-accent);
  margin-bottom: 14px;
  display: block;
}

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

.founder-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--gold-muted);
  font-family: 'Tenor Sans', serif;
  font-size: 16px;
  color: var(--purple-deep);
  text-align: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.recognition-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: stretch;
}

.triumph-highlight {
  background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple-abyss) 100%);
  color: var(--bg-white);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  border-left: 4px solid var(--gold-muted);
}

.triumph-year {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-muted);
  margin-bottom: 10px;
  display: block;
}

.triumph-highlight h3 {
  font-size: 24px;
  color: var(--bg-white);
  margin-bottom: 14px;
}

.triumph-highlight p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  margin-bottom: 14px;
}

.triumph-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.triumph-date-text {
  font-size: 13px;
  color: var(--gold-muted);
  font-weight: 500;
  line-height: 1.55;
}

.booklet-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
}

.booklet-badge-card {
  background-color: var(--purple-soft);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--border-color);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.booklet-badge-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.booklet-year {
  font-family: 'Tenor Sans', serif;
  font-size: 36px;
  color: var(--purple-accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.booklet-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* === ИНТЕРАКТИВНАЯ КАРУСЕЛЬ НАПРАВЛЕНИЙ === */
.directions-carousel {
  margin: 26px 0 30px;
  user-select: none;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.carousel-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
}

.carousel-tab {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 12px 16px 15px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-tab:hover {
  background-color: var(--purple-soft);
}

.carousel-tab.active {
  background-color: var(--bg-white);
  border-color: var(--purple-accent);
}

.tab-num {
  font-family: 'Tenor Sans', serif;
  font-size: 15px;
  color: var(--purple-accent);
  opacity: 0.6;
}

.carousel-tab.active .tab-num {
  opacity: 1;
}

.tab-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(110, 24, 84, 0.12);
}

.tab-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--purple-accent);
}

.carousel-tab.active .tab-progress-fill {
  animation: progressFill var(--slide-duration) linear forwards;
}

.directions-carousel.is-paused .carousel-tab.active .tab-progress-fill {
  animation-play-state: paused;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

.carousel-nav {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--purple-soft);
  color: var(--purple-deep);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.carousel-btn:hover {
  background-color: var(--purple-accent);
  color: var(--bg-white);
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.direction-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
}

.slide-main {
  position: relative;
  z-index: 1;
}

.slide-watermark {
  position: absolute;
  top: -16px;
  right: 10px;
  font-family: 'Tenor Sans', serif;
  font-size: 92px;
  color: rgba(110, 24, 84, 0.05);
  line-height: 1;
  pointer-events: none;
  z-index: -1;
}

.slide-icon {
  width: 48px;
  height: 48px;
  background-color: var(--purple-soft);
  color: var(--purple-accent);
  border-left: 3px solid var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.direction-slide h3 {
  font-size: 24px;
  color: var(--purple-deep);
  margin: 0 0 10px 0;
}

.direction-slide p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.slide-details {
  border-left: 2px solid var(--border-color);
  padding-left: 28px;
}

.details-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.direction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dir-tag {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--gold-muted);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-deep);
  transition: var(--transition);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.dir-tag:hover {
  border-color: var(--purple-accent);
  border-left-color: var(--purple-accent);
  background-color: var(--purple-soft);
}

.credo-banner {
  background-color: var(--purple-soft);
  padding: 24px 28px;
  border-left: 4px solid var(--purple-accent);
  margin-bottom: 28px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--purple-deep);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* === СТИЛИ СТРАНИЦЫ «АДВОКАТЫ» === */
.chairman-section {
  padding: 48px 0 14px;
}

.chairman-card {
  position: relative;
  z-index: 1;
  background-color: var(--border-color);
  padding: 44px 48px 44px 52px;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 48px;
  align-items: center;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.chairman-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 28px;
  background-color: var(--purple-accent);
  z-index: -2;
}

.chairman-card::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 6px;
  background-color: var(--bg-white);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 0 100%, 0 18px);
  z-index: -1;
}

/* Фото Председателя - строго 1:1 */
.chairman-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple-abyss) 100%);
  border-left: 4px solid var(--gold-muted);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.chairman-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}

.avatar-fallback-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.chairman-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chairman-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bg-white);
  background-color: var(--purple-deep);
  border-left: 3px solid var(--gold-muted);
  padding: 6px 14px;
  margin-bottom: 14px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.chairman-name {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--purple-deep);
  margin-bottom: 22px;
  line-height: 1.15;
}

.chairman-titles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}

.chairman-title-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--purple-accent);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.45;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.chairman-title-item::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: var(--gold-muted);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Сетка из 18 кликабельных карточек адвокатов */
.team-section {
  padding: 14px 0 64px;
}

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

.attorney-card,
.attorney-card:link,
.attorney-card:visited {
  position: relative;
  z-index: 1;
  background-color: var(--border-color);
  padding: 22px 24px 22px 26px;
  display: grid;
  grid-template-columns: 124px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 168px;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: background-color 0.25s ease;
}

.attorney-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20px;
  background-color: var(--purple-accent);
  transition: background-color 0.25s ease;
  z-index: -2;
}

.attorney-card::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 5px;
  background-color: var(--bg-white);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 13px);
  z-index: -1;
}

.card-hover-shade {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 58%;
  background: linear-gradient(270deg, var(--purple-accent) 0%, rgba(110, 24, 84, 0.82) 38%, rgba(110, 24, 84, 0) 100%);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 1;
  pointer-events: none;
}

.attorney-card:hover {
  background-color: var(--purple-accent);
}

.attorney-card:hover .card-hover-shade {
  opacity: 1;
  transform: translateX(0);
}

/* Фото адвоката в списке на ПК - строго 1:1 */
.attorney-avatar {
  position: relative;
  width: 124px;
  height: 124px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #2D0F34 0%, #19061E 100%);
  border-left: 3px solid var(--gold-muted);
  overflow: hidden;
  flex-shrink: 0;
  z-index: 2;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.attorney-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}

.attorney-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.attorney-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-accent) !important;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.attorney-surname {
  display: block;
  font-family: 'Tenor Sans', serif;
  font-size: 22px;
  color: var(--purple-deep) !important;
  line-height: 1.15;
  margin-bottom: 5px;
  word-wrap: break-word;
  transition: color 0.25s ease;
}

.attorney-firstname {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted) !important;
  line-height: 1.35;
  transition: color 0.25s ease;
}

/* Стрелка в карточке адвоката */
.card-arrow {
  position: relative;
  z-index: 3;
  font-size: 22px;
  line-height: 1;
  color: #FFFFFF !important;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.26s ease, transform 0.26s ease, color 0.26s ease;
  padding-left: 6px;
  user-select: none;
}

.attorney-card:hover .card-arrow,
.attorney-card:focus-visible .card-arrow,
.attorney-card:active .card-arrow {
  opacity: 1 !important;
  transform: translateX(0);
  color: #FFFFFF !important;
}

/* === ПОДВАЛ (FOOTER) === */
.footer {
  background-color: var(--purple-abyss);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  font-size: 13px;
  margin-top: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-desc {
  margin-top: 14px;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
}

.footer-title {
  font-family: 'Tenor Sans', serif;
  font-size: 16px;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-links a:hover {
  color: var(--gold-muted) !important;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* === КНОПКА ВОЗВРАТА НАВЕРХ === */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--purple-accent);
  color: #FFFFFF !important;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--purple-vivid);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF !important;
}

/* === АДАПТИВ: ПЛАНШЕТЫ === */
@media (max-width: 1180px) {
  .header-phone span {
    display: none;
  }

  .attorneys-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chairman-card {
    grid-template-columns: 230px 1fr;
    gap: 32px;
    padding: 32px 32px 32px 36px;
  }
}

@media (max-width: 1024px) {
  .contacts-section-block,
  .awards-block,
  .origins-grid,
  .recognition-grid,
  .booklet-grid,
  .direction-slide {
    grid-template-columns: 1fr;
  }

  .direction-slide {
    padding: 26px 24px;
    gap: 22px;
  }

  .slide-details {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 18px;
  }

  .awards-block .doc-preview {
    order: -1;
    max-width: 220px;
    margin: 0 auto;
  }

  .polaroid-frame {
    max-width: 360px;
    margin: 0 auto;
  }

  .booklet-badge-card {
    max-width: 260px;
  }
}

/* === АДАПТИВ: МОБИЛЬНЫЕ УСТРОЙСТВА === */
@media (max-width: 860px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 68px;
  }

  .brand {
    gap: 12px;
    max-width: calc(100% - 56px);
  }

  .brand-title {
    font-size: 13.5px;
    line-height: 1.25;
  }

  .brand-subtitle {
    font-size: 9.5px;
  }

  .brand-logo-wrap {
    width: 36px;
    height: 42px;
  }

  .burger-btn {
    display: flex;
  }

  .header-contacts {
    display: none;
  }

  /* МОБИЛЬНОЕ МЕНЮ (METRO СТИЛЬ С 5 ПЛИТКАМИ) */
  .nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: #19061E;
    padding: 24px 20px;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-metro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 300px;
  }

  .metro-tile,
  .metro-tile:link,
  .metro-tile:visited {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px;
    aspect-ratio: 1 / 0.88;
    width: 100%;
    background-color: #2D0F34;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    opacity: 0;
    transform: translateY(16px);
    transition: background-color 0.18s ease, border-color 0.18s ease;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  }

  .metro-tile:nth-child(5) {
    grid-column: span 2;
    aspect-ratio: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
  }

  .metro-tile::before {
    display: none;
  }

  .nav.active .metro-tile {
    animation: metroTileIn 0.35s ease-out forwards;
  }

  .nav.active .metro-tile:nth-child(1) { animation-delay: 0.04s; }
  .nav.active .metro-tile:nth-child(2) { animation-delay: 0.08s; }
  .nav.active .metro-tile:nth-child(3) { animation-delay: 0.12s; }
  .nav.active .metro-tile:nth-child(4) { animation-delay: 0.16s; }
  .nav.active .metro-tile:nth-child(5) { animation-delay: 0.20s; }

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

  .metro-tile:active {
    background-color: #44144F;
    border-color: var(--gold-muted);
  }

  .metro-tile.active {
    background-color: var(--purple-accent);
    border-color: var(--gold-muted);
  }

  .metro-tile .tile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold-muted);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  }

  .metro-tile.active .tile-icon {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--bg-white);
  }

  .metro-tile .tile-icon svg {
    width: 18px;
    height: 18px;
  }

  .metro-tile .tile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .metro-tile .tile-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #FFFFFF !important;
    line-height: 1.2;
  }

  .metro-tile .tile-sub {
    display: block;
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .metro-tile.active .tile-sub {
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .nav-mobile-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    opacity: 0;
    transform: translateY(16px);
  }

  .nav.active .nav-mobile-contacts {
    animation: metroTileIn 0.35s ease-out forwards;
    animation-delay: 0.24s;
  }

  .nav-action-btn,
  .nav-action-btn:link,
  .nav-action-btn:visited,
  .nav-action-btn:hover,
  .nav-action-btn:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background-color: var(--purple-accent);
    color: #FFFFFF !important;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  }

  .nav-action-btn span {
    background-color: transparent !important;
    color: #FFFFFF !important;
  }

  .nav-action-btn:active {
    background-color: var(--purple-vivid);
  }

  .nav-action-btn svg {
    width: 16px;
    height: 16px;
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
    flex-shrink: 0;
  }

  .page-hero {
    padding: 96px 0 36px;
  }

  .hero-layout {
    gap: 20px;
  }

  .hero-logo-wrap {
    width: 80px;
    height: 88px;
  }

  .hero-text h1 {
    font-size: 25px;
    margin-bottom: 12px;
  }

  .hero-text p {
    font-size: 14px;
    line-height: 1.55;
  }

  .section-compact {
    padding: 18px 0;
  }

  .styled-card,
  .about-preview-block,
  .attorneys-preview-block,
  .awards-block,
  .contacts-section-block {
    padding: 24px 18px 24px 22px;
    gap: 18px;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  }

  .styled-card::after,
  .about-preview-block::after,
  .attorneys-preview-block::after,
  .awards-block::after,
  .contacts-section-block::after {
    clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 11px);
  }

  .founders-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .founder-tag {
    font-size: 14px;
    padding: 10px 8px;
  }

  /* Мобильная адаптация карусели направлений */
  .carousel-header {
    gap: 10px;
  }

  .carousel-tabs {
    gap: 8px;
  }

  .carousel-tab {
    justify-content: center;
    padding: 10px 8px 13px;
  }

  .tab-title {
    display: none;
  }

  .direction-slide {
    padding: 22px 18px;
    gap: 18px;
  }

  .direction-slide h3 {
    font-size: 21px;
  }

  .slide-watermark {
    font-size: 72px;
    top: -10px;
  }

  .triumph-footer .btn {
    width: 100%;
  }

  .doc-preview {
    max-width: 200px;
    margin: 0 auto;
  }

  .contacts-mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contacts-mobile-actions .btn {
    width: 100%;
    padding: 12px 10px;
    font-size: 13px;
  }

  .about-preview-block .btn,
  .attorneys-preview-block .btn,
  .awards-content .btn,
  .card-actions .btn {
    width: 100%;
    padding: 13px;
  }

  .contacts-map-wrap {
    height: 300px;
  }

  /* Мобильная адаптация страницы «Адвокаты» */
  .chairman-section {
    padding: 28px 0 10px;
  }

  .chairman-card {
    grid-template-columns: 1fr;
    padding: 24px 18px 24px 22px;
    gap: 22px;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  }

  .chairman-card::after {
    clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 11px);
  }

  .chairman-photo-wrap {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
  }

  .chairman-name {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .chairman-title-item {
    font-size: 13px;
    padding: 10px 14px;
  }

  .chairman-content .btn {
    width: 100%;
  }

  .team-section {
    padding: 10px 0 44px;
  }

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

  .attorney-card,
  .attorney-card:link,
  .attorney-card:visited {
    padding: 16px 18px 16px 20px;
    grid-template-columns: 104px 1fr auto;
    gap: 16px;
    min-height: 136px;
  }

  /* Фото адвоката в списке на мобилке - строго 1:1 */
  .attorney-avatar {
    width: 104px;
    height: 104px;
    aspect-ratio: 1 / 1;
  }

  .attorney-surname {
    font-size: 20px;
  }

  .attorney-firstname {
    font-size: 13.5px;
  }

  .card-arrow {
    opacity: 0.45;
    transform: translateX(0);
    color: var(--purple-accent) !important;
    font-size: 18px;
  }

  .attorney-card:hover .card-hover-shade,
  .attorney-card:active .card-hover-shade {
    opacity: 1;
    transform: translateX(0);
  }

  .attorney-card:hover .card-arrow,
  .attorney-card:focus-visible .card-arrow,
  .attorney-card:active .card-arrow {
    opacity: 1 !important;
    color: #FFFFFF !important;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .back-to-top {
    bottom: 20px;
    right: 18px;
    width: 44px;
    height: 44px;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* === СТИЛИ СТРАНИЦЫ «НАГРАДЫ» === */
.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--purple-deep);
  margin-bottom: 8px;
}

.section-head p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
}

.pravo-featured-tile {
  position: relative;
  z-index: 1;
  background-color: var(--border-color);
  padding: 36px 40px 36px 44px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.pravo-featured-tile::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 26px;
  background-color: var(--purple-accent);
  z-index: -2;
}

.pravo-featured-tile::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 6px;
  background-color: var(--bg-white);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 19px), calc(100% - 19px) 100%, 0 100%, 0 16px);
  z-index: -1;
}

.pravo-featured-left {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.pravo-year-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 36px;
  border-right: 1px solid var(--border-color);
}

.pravo-status-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg-white);
  background-color: var(--purple-deep);
  border-left: 3px solid var(--gold-muted);
  padding: 4px 12px;
  margin-bottom: 8px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.pravo-year-num {
  font-family: 'Tenor Sans', serif;
  font-size: 44px;
  color: var(--purple-deep);
  line-height: 1;
}

.pravo-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pravo-org-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pravo-org-name {
  font-family: 'Tenor Sans', serif;
  font-size: 22px;
  color: var(--purple-deep);
}

.pravo-region-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--purple-accent);
  background-color: var(--purple-soft);
  padding: 4px 12px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.pravo-nomination-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 8px 16px 8px 10px;
  width: fit-content;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.pravo-roman-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--purple-deep);
  color: var(--gold-muted);
  font-family: 'Tenor Sans', serif;
  font-size: 16px;
  font-weight: 600;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.pravo-group-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.pravo-practice-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple-deep);
  padding-left: 10px;
  border-left: 1px solid var(--border-color);
}

.pravo-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pravo-archive-tile {
  position: relative;
  z-index: 1;
  background-color: var(--border-color);
  padding: 26px 28px 26px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.pravo-archive-tile::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20px;
  background-color: var(--purple-accent);
  z-index: -2;
}

.pravo-archive-tile::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 5px;
  background-color: var(--bg-white);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 13px);
  z-index: -1;
}

.archive-tile-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.archive-top-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.archive-year {
  font-family: 'Tenor Sans', serif;
  font-size: 30px;
  color: var(--purple-deep);
  line-height: 1.1;
}

.archive-type {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.archive-download-link,
.archive-download-link:link,
.archive-download-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-accent) !important;
  margin-top: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.archive-download-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--purple-accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.archive-download-link:hover {
  color: var(--purple-vivid) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.archive-download-link:hover svg {
  stroke: var(--purple-vivid);
  transform: translateY(2px);
}

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

.diploma-tile {
  position: relative;
  z-index: 1;
  background-color: var(--border-color);
  padding: 26px 24px 26px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.diploma-tile::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 22px;
  background-color: var(--purple-accent);
  z-index: -2;
}

.diploma-tile::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 5px;
  background-color: var(--bg-white);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 17px), calc(100% - 17px) 100%, 0 100%, 0 15px);
  z-index: -1;
}

.diploma-preview-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.1;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.diploma-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}

.diploma-fallback {
  position: absolute;
  inset: 14px;
  border: 2px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  z-index: 1;
}

.diploma-fallback svg {
  width: 42px;
  height: 42px;
  stroke: var(--gold-muted);
  margin-bottom: 10px;
}

.diploma-fallback span {
  font-family: 'Tenor Sans', serif;
  font-size: 15px;
  color: var(--purple-deep);
}

.diploma-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.diploma-tag {
  display: inline-block;
  width: fit-content;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-accent);
  background-color: var(--purple-soft);
  padding: 4px 10px;
  margin-bottom: 10px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.diploma-title {
  font-family: 'Tenor Sans', serif;
  font-size: 20px;
  color: var(--purple-deep);
  margin-bottom: 8px;
  line-height: 1.25;
}

.diploma-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .diplomas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .pravo-archive-grid {
    grid-template-columns: 1fr;
  }

  .pravo-year-block {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 860px) {
  .pravo-featured-tile {
    padding: 24px 18px 24px 22px;
    gap: 20px;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  }

  .pravo-featured-tile::after {
    clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 11px);
  }

  .pravo-featured-left {
    gap: 16px;
  }

  .pravo-year-num {
    font-size: 34px;
  }

  .pravo-featured-tile .btn {
    width: 100%;
  }

  .pravo-archive-grid {
    gap: 16px;
  }

  .pravo-archive-tile {
    padding: 20px 18px 20px 22px;
  }

  .diplomas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* === УВЕЛИЧЕННАЯ КАРТА НА СТРАНИЦЕ КОНТАКТОВ === */
.contacts-map-large {
  height: 560px;
}

@media (max-width: 1024px) {
  .contacts-map-large {
    height: 400px;
  }
}

@media (max-width: 860px) {
  .contacts-map-large {
    height: 340px;
  }
}

/* === СТРАНИЦА 404 === */
body.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.page-404 main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-hero-404 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: radial-gradient(circle at 50% 50%, var(--purple-royal) 0%, var(--purple-deep) 52%, var(--purple-abyss) 100%);
  color: var(--bg-white);
  text-align: center;
}

.hero-layout-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-layout-404 h1 {
  font-size: clamp(38px, 6vw, 80px);
  color: var(--bg-white);
  margin-bottom: 12px;
}

.hero-layout-404 p {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.btn-white,
.btn-white:link,
.btn-white:visited {
  background-color: #FFFFFF !important;
  color: var(--purple-deep) !important;
}

.btn-white:hover {
  background-color: var(--purple-soft) !important;
  color: var(--purple-abyss) !important;
}

.page-404 .section-404-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 56px 0;
}

@media (max-width: 860px) {
  .page-404 .section-404-wrap {
    padding: 24px 0;
  }
}

/* === СТРАНИЦА ПРОФИЛЯ АДВОКАТА === */
.attorney-profile-page {
  padding: 118px 0 64px;
}

.profile-back-bar {
  margin-bottom: 24px;
}

.profile-back-link,
.profile-back-link:link,
.profile-back-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-accent);
  background-color: var(--purple-soft);
  padding: 8px 16px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.profile-back-link:hover {
  background-color: var(--purple-accent);
  color: #FFFFFF !important;
}

.back-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

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

/* Двухколоночная сетка профиля */
.attorney-profile-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 32px;
  align-items: start;
}

/* Левая плавающая колонка (компактная, полностью помещается в экран) */
.attorney-sidebar {
  position: sticky;
  top: 96px;
  z-index: 10;
}

.sidebar-card {
  padding: 20px 22px 20px 26px;
  display: flex;
  flex-direction: column;
}

/* Фото адвоката в профиле (ПК и мобилка) - строго 1:1 */
.sidebar-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple-abyss) 100%);
  border-left: 4px solid var(--gold-muted);
  overflow: hidden;
  margin-bottom: 12px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.sidebar-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  position: relative;
  z-index: 2;
  display: block;
}

.sidebar-role-badge {
  width: fit-content;
  padding: 4px 10px;
  font-size: 10px;
  margin-bottom: 6px;
}

.sidebar-name {
  font-family: 'Tenor Sans', serif;
  font-size: 22px;
  color: var(--purple-deep);
  line-height: 1.15;
  margin-bottom: 12px;
}

.sidebar-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.sidebar-meta-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.meta-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-deep);
  text-align: right;
}

.meta-link,
.meta-link:link,
.meta-link:visited {
  color: var(--purple-accent) !important;
}

.meta-link:hover {
  color: var(--purple-vivid) !important;
}

/* Кнопки Позвонить и Почта */
.sidebar-primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.sidebar-btn {
  padding: 10px 8px;
  font-size: 12.5px;
  gap: 6px;
  width: 100%;
}

.sidebar-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Кнопки мессенджеров (Telegram, WhatsApp, Max) */
.sidebar-messengers-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sidebar-messengers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.messenger-btn,
.messenger-btn:link,
.messenger-btn:visited {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-deep) !important;
  transition: var(--transition);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.messenger-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--purple-accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.messenger-btn:hover {
  background-color: var(--purple-deep);
  border-color: var(--purple-deep);
  color: #FFFFFF !important;
}

.messenger-btn:hover svg {
  stroke: var(--gold-muted);
}

/* Правая широкая колонка */
.attorney-main-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile-section-card h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--purple-deep);
  margin-bottom: 20px;
}

.profile-section-card h3 {
  font-size: 22px;
  color: var(--purple-deep);
  margin: 26px 0 12px;
}

.profile-key-roles {
  margin-bottom: 24px;
}

/* Плашки со специализациями */
.specialization-block {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.specialization-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.specialization-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background-color: var(--purple-soft);
  color: var(--purple-deep);
  font-size: 13.5px;
  font-weight: 600;
  border-left: 3px solid var(--purple-accent);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.spec-tag-primary {
  background-color: var(--purple-deep);
  color: #FFFFFF;
  border-left-color: var(--gold-muted);
}

/* Список этапов биографии */
.profile-highlight-box {
  margin: 24px 0;
}

.profile-milestone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-milestone-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.55;
}

.profile-milestone-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: var(--purple-accent);
  transform: rotate(45deg);
}

.profile-milestone-list li strong {
  color: var(--purple-deep);
}

/* Выделенный баннер Золотой медали им. Ф.Н. Плевако */
.plevako-banner {
  background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple-abyss) 100%);
  color: var(--bg-white);
  padding: 26px 30px;
  border-left: 4px solid var(--gold-muted);
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.plevako-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(201, 169, 126, 0.14);
  border: 1px solid rgba(201, 169, 126, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.plevako-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold-muted);
}

.plevako-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-muted);
  margin-bottom: 4px;
}

.plevako-text h3 {
  font-size: 22px;
  color: #FFFFFF;
  margin: 0 0 6px;
}

.plevako-text p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.5;
}

/* Список остальных наград */
.awards-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.award-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--gold-muted);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.award-item-year {
  font-family: 'Tenor Sans', serif;
  font-size: 15px;
  color: var(--gold-muted);
  background-color: var(--purple-deep);
  padding: 3px 10px;
  flex-shrink: 0;
  line-height: 1.3;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.award-item-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.45;
}

/* Адаптив профиля для планшетов и смартфонов */
@media (max-width: 1024px) {
  .attorney-profile-grid {
    grid-template-columns: 310px 1fr;
    gap: 24px;
  }

  .awards-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .attorney-profile-page {
    padding: 88px 0 40px;
  }

  .attorney-profile-grid {
    grid-template-columns: 1fr;
  }

  .attorney-sidebar {
    position: static;
  }

  .sidebar-photo-wrap {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto 18px;
  }

  .plevako-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 14px;
  }
}

/* === УВЕДОМЛЕНИЕ О COOKIE И МОДАЛЬНОЕ ОКНО ПОЛИТИКИ ПДН === */
.footer-privacy-trigger {
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
}

.footer-privacy-trigger:hover {
  color: var(--gold-muted) !important;
  border-bottom-color: var(--gold-muted);
}

/* Нижний плавающий баннер при первом входе */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 540px;
  width: calc(100% - 48px);
  background: linear-gradient(145deg, var(--purple-deep) 0%, var(--purple-abyss) 100%);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--gold-muted);
  padding: 20px 24px;
  z-index: 1005;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 18px 42px rgba(14, 4, 18, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.cookie-banner-link {
  color: var(--gold-muted) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-banner-link:hover {
  color: #FFFFFF !important;
}

.cookie-banner-btn {
  padding: 10px 22px;
  font-size: 13px;
  flex-shrink: 0;
}

/* Затемнение фона и модальное окно с полным текстом Политики */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(22, 7, 26, 0.78);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.privacy-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.privacy-modal {
  position: relative;
  width: 100%;
  max-width: 780px;
  max-height: 86vh;
  background-color: var(--bg-white);
  border-left: 5px solid var(--purple-accent);
  display: flex;
  flex-direction: column;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.privacy-modal-overlay.active .privacy-modal {
  transform: translateY(0) scale(1);
}

.privacy-modal-header {
  padding: 24px 32px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background-color: var(--bg-page);
}

.privacy-modal-header h3 {
  font-family: 'Tenor Sans', serif;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--purple-deep);
  margin: 4px 0 0;
}

.privacy-modal-close {
  background-color: var(--purple-soft);
  color: var(--purple-deep);
  border: none;
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.privacy-modal-close:hover {
  background-color: var(--purple-accent);
  color: #FFFFFF;
}

.privacy-modal-body {
  padding: 26px 32px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-main);
}

.privacy-modal-body h4 {
  font-family: 'Tenor Sans', serif;
  font-size: 18px;
  color: var(--purple-deep);
  margin: 22px 0 8px;
}

.privacy-modal-body h4:first-child {
  margin-top: 0;
}

.privacy-modal-body p {
  margin-bottom: 12px;
}

.privacy-modal-body ul {
  margin: 8px 0 14px;
  padding-left: 18px;
}

.privacy-modal-body li {
  position: relative;
  margin-bottom: 6px;
}

.privacy-modal-body li::before {
  content: '•';
  color: var(--purple-accent);
  font-weight: 700;
  display: inline-block;
  width: 14px;
  margin-left: -14px;
}

.privacy-modal-footer {
  padding: 16px 32px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-page);
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 14px;
  }

  .cookie-banner-btn {
    width: 100%;
  }

  .privacy-modal-header {
    padding: 18px 20px 14px;
  }

  .privacy-modal-body {
    padding: 20px;
    font-size: 13.5px;
  }

  .privacy-modal-footer {
    padding: 14px 20px;
  }

  .privacy-modal-footer .btn {
    width: 100%;
  }
}