/* Велес — современная лендинг-страница */
:root {
  --bg: #0f1412;
  --bg-elevated: #161d1a;
  --surface: #1c2622;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ebe9;
  --muted: #9aa69f;
  --accent: #3d9b7a;
  --accent-dim: #2d755d;
  --accent-glow: rgba(61, 155, 122, 0.35);
  --gold: #c4a35a;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#allrecords a{
    color: unset;
}

html {
  scroll-behavior: smooth;
  /* Якоря: контент не прячется под фиксированной шапкой */
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: #5fc4a0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 20, 18, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  flex-shrink: 0;
}

a.logo,
a.logo:hover {
  color: var(--text);
}

a.logo:hover {
  opacity: 0.92;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
}

.nav-desktop a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn--ghost {
  display: none;
}

@media (min-width: 480px) {
  .header-actions .btn--ghost {
    display: inline-flex;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(15, 20, 18, 0.97);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  visibility: hidden;
}

.mobile-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-panel a {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.mobile-panel a:hover {
  border-color: var(--border);
  background: var(--surface);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-dim));
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 10px 36px rgba(61, 155, 122, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgba(61, 155, 122, 0.45);
  background: rgba(61, 155, 122, 0.08);
}

.btn--large {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* Layout */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

/* Узкая секция без «перекоса» сверху/снизу (раньше задавался только верх) */
.section.section--tight-top {
  padding-top: clamp(3rem, 5.5vw, 5rem);
  padding-bottom: clamp(3rem, 5.5vw, 5rem);
}

/* Чередование фона с #veles-consult: A = базовый, B = приподнятый */
.section--stripe-a {
  background: var(--bg);
}

.section--stripe-b {
  background: var(--bg-elevated);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Отступ первого блока ниже фиксированной шапки (как у hero) */
.pt-below-header {
  padding-top: calc(var(--header-h) + 2rem);
}

.gallery-preview-wrap {
  max-width: 100%;
  margin-inline: auto;
}

.gallery-grid--preview {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .gallery-grid--preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

.container {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

.section__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section__lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #0a0d0c url("https://static.tildacdn.com/tild3363-6564-4038-a333-363766366262/lori-0044365763-bigw.jpg")
    center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      105deg,
      rgba(15, 20, 18, 0.94) 0%,
      rgba(15, 20, 18, 0.65) 42%,
      rgba(15, 20, 18, 0.35) 100%
    ),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(61, 155, 122, 0.15), transparent 55%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.hero__badge svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.hero__title {
  font-size: clamp(2.25rem, 1.2rem + 4vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.2rem);
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__note strong {
  color: var(--gold);
  font-weight: 700;
}

.consult__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .consult__grid {
    grid-template-columns: 1fr auto;
  }
}

.consult__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* Services grid */
.services-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
  border-color: rgba(61, 155, 122, 0.35);
  transform: translateY(-3px);
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Stats */
.stats__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat__value {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__num {
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.95rem;
  color: var(--muted);
}

.stats__story {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  max-width: 62ch;
  margin-inline: auto;
}

/* Gallery — сетка карточек (фото 1:1 + подписи) */
.gallery-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery-card:hover {
  border-color: rgba(61, 155, 122, 0.35);
}

.gallery-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.03);
}

.gallery-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gallery-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.25;
}

.gallery-card__descr {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.gallery__footer {
  margin-top: 2rem;
  text-align: center;
}

.page-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 2rem;
}

/* Fence types */
.types-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .types-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.type-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}

.type-pill:hover {
  border-color: rgba(61, 155, 122, 0.4);
  background: rgba(61, 155, 122, 0.06);
}

.type-pill span {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.9;
}

/* Foundations */
.found-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .found-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.found-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.found-card__img {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #243028, #1a221e);
}

.found-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.found-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.found-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.found-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contacts */
.contacts-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  background: var(--surface);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-list .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  display: block;
}

.contact-list a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--bg-elevated);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-grid__row--top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-grid__row--bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-meta--main {
  flex: 1;
  min-width: 0;
}

.footer-meta--policy {
  flex: 0 0 auto;
  text-align: right;
}

.footer-meta--policy a {
  color: inherit;
  text-decoration: none;
}

.footer-meta--policy a:hover {
  color: var(--accent);
}

.footer-copy {
  display: block;
}

.footer-tagline {
  margin: 0.45rem 0 0;
  max-width: 28rem;
}

@media (max-width: 640px) {
  .footer-meta--policy {
    flex-basis: 100%;
    text-align: left;
  }

  .footer-grid__row--bottom {
    flex-direction: column;
    align-items: stretch;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--text);
}

/* Текущая страница (aria-current / .nav-link — ставит velesMarkNavByPath) */
.nav-desktop a[aria-current="page"],
.nav-desktop a.nav-link--current {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(
    145deg,
    rgba(61, 155, 122, 0.32),
    rgba(61, 155, 122, 0.14)
  );
  box-shadow: inset 0 0 0 1px rgba(61, 155, 122, 0.5);
}

.nav-desktop a[aria-current="page"]:hover,
.nav-desktop a.nav-link--current:hover {
  color: #fff;
  background: linear-gradient(
    145deg,
    rgba(61, 155, 122, 0.4),
    rgba(61, 155, 122, 0.22)
  );
}

.mobile-panel a[aria-current="page"],
.mobile-panel a.nav-link--current {
  color: #dff5ee;
  font-weight: 700;
  border-color: rgba(61, 155, 122, 0.6);
  background: rgba(61, 155, 122, 0.16);
  box-shadow: 0 0 24px rgba(61, 155, 122, 0.12);
}

.mobile-panel a[aria-current="page"]:hover,
.mobile-panel a.nav-link--current:hover {
  border-color: rgba(61, 155, 122, 0.75);
  background: rgba(61, 155, 122, 0.22);
  color: #fff;
}

.footer-nav a[aria-current="page"],
.footer-nav a.nav-link--current {
  color: var(--accent);
  font-weight: 700;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--accent);
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-credit {
  margin-top: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-credit__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease);
}

.footer-credit__logo {
  display: block;
  flex-shrink: 0;
  max-width: 120px;
  width: auto;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

.footer-credit__link:hover {
  color: var(--accent);
}

/* Модалка: способ связи (Telegram) */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  appearance: none;
  font: inherit;
  display: block;
}

.contact-modal__box {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 1.75rem 1.5rem 1.5rem;
  animation: contact-modal-in 0.35s var(--ease);
}

@keyframes contact-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.contact-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.contact-modal__close:hover {
  color: var(--text);
  border-color: rgba(61, 155, 122, 0.35);
  background: rgba(61, 155, 122, 0.08);
}

.contact-modal__title {
  margin: 0 2.5rem 1.25rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.contact-modal__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-modal__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease), background 0.2s;
}

.contact-modal__card:hover {
  border-color: rgba(61, 155, 122, 0.45);
  background: rgba(61, 155, 122, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact-modal__tg-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #2aabee 0%, #229ed9 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35);
}

.contact-modal__tg-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.contact-modal__card-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.contact-modal__card-role {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.contact-modal-open {
  overflow: hidden;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  max-width: 420px;
  margin-inline: auto;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}
