:root {
  /* Paleta dopasowana do logo BUD-MAT: granat, czerwień, żółty, błękit */
  --color-navy: #0a111f;
  --color-navy-mid: #151f32;
  --color-bg: #f0f4fa;
  --color-bg-muted: #e4ecf5;
  --color-surface: #ffffff;
  --color-text: #0a111f;
  --color-muted: #4a5568;
  --color-accent: #e31e24;
  --color-accent-hover: #b9171e;
  --color-link: #0072bc;
  --color-link-hover: #005a94;
  --color-highlight: #ffd700;
  --color-highlight-soft: #ffe566;
  --color-border: #c5d0e0;
  /* Jasna belka pod logo — granatowy napis i obrys maskotki są wtedy wyraźne */
  --color-header-bg: rgba(255, 255, 255, 0.97);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(10, 17, 31, 0.1);
  --header-h: 92px;
  --page-pad-x: clamp(1rem, 4vw, 1.25rem);
}

@media (max-width: 768px) {
  :root {
    --header-h: 82px;
  }
}

@media (max-width: 380px) {
  :root {
    --header-h: 78px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

/* Zapobiega wyciekaniu treści w poziomie w układach z szerokością w % / grid / masonry */
main.main {
  min-width: 0;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--color-link-hover);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: max(var(--page-pad-x), env(safe-area-inset-left, 0px))
    max(var(--page-pad-x), env(safe-area-inset-right, 0px));
}

/* Header — zawsze widoczny nad treścią */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
  align-items: center;
  column-gap: clamp(0.5rem, 1.2vw, 1.1rem);
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: max(var(--page-pad-x), env(safe-area-inset-left, 0px))
    max(var(--page-pad-x), env(safe-area-inset-right, 0px));
}

.header__inner .logo {
  grid-column: 1;
  justify-self: start;
  align-self: center;
  min-width: 0;
}

.header__inner .header__end {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

.header__inner .header__lang {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  /* Odsunięcie flag od bloku z numerem telefonu, przyklejenie do prawej krawędzi paska */
  margin-left: clamp(0.5rem, 2.2vw, 1.75rem);
}

/* Przełącznik języka — flagi (SVG) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.lang-switch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch__flags {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem;
  background: var(--color-surface);
  border: 1.5px solid color-mix(in srgb, var(--color-link) 35%, var(--color-border));
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(10, 17, 31, 0.06);
}

.lang-switch__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.2rem 0.28rem;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.lang-switch__btn:hover {
  background: color-mix(in srgb, var(--color-link) 8%, var(--color-surface));
  border-color: color-mix(in srgb, var(--color-link) 22%, transparent);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 1px;
}

.lang-switch__btn.is-active {
  background: color-mix(in srgb, var(--color-link) 14%, var(--color-surface));
  border-color: color-mix(in srgb, var(--color-link) 45%, var(--color-border));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

img.lang-switch__flag {
  display: block;
  width: 1.5rem;
  height: 1rem;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 0 0 0.5px rgba(10, 17, 31, 0.18);
  pointer-events: none;
}

/* Desktop: menu w środkowej kolumnie | telefon i flagi w osobnych kolumnach (flagi skrajnie w prawo) */
@media (min-width: 769px) {
  .header__inner .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .header__inner .nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    min-width: 0;
  }
}

/* Tablet: ciaśniejsze linki, żeby zmieściły się obok telefonu */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav__list {
    gap: 0.2rem 0.45rem;
  }

  .nav a {
    font-size: 0.82rem;
    padding: 0.4rem 0.5rem;
  }
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  background: var(--color-surface);
  border: 1.5px solid color-mix(in srgb, var(--color-link) 42%, var(--color-border));
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(10, 17, 31, 0.04);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.header-call__icon {
  flex-shrink: 0;
  width: 0.95em;
  height: 0.95em;
  display: block;
  color: var(--color-link);
  transition: transform 0.22s ease, color 0.22s ease;
}

.header-call:hover {
  background: color-mix(in srgb, var(--color-link) 7%, var(--color-surface));
  color: var(--color-link-hover);
  border-color: var(--color-link);
  box-shadow: 0 6px 16px rgba(0, 114, 188, 0.18);
  transform: translateY(-2px);
}

.header-call:hover .header-call__icon {
  color: var(--color-link-hover);
  transform: scale(1.12) rotate(-6deg);
}

.header-call:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .header-call,
  .header-call__icon {
    transition-duration: 0.01ms;
  }

  .header-call:hover {
    transform: none;
  }

  .header-call:hover .header-call__icon {
    transform: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.logo:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 3px;
  border-radius: 4px;
}

.logo__img {
  display: block;
  height: 76px;
  width: auto;
  max-width: min(300px, max(11.5rem, calc(100vw - 20rem)));
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 1024px) {
  .logo__img {
    height: 68px;
    max-width: min(270px, max(10rem, calc(100vw - 17rem)));
  }
}

@media (max-width: 768px) {
  .logo__img {
    height: 56px;
    max-width: min(220px, calc(100% - 3.25rem));
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-navy);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav__list {
  display: flex;
  gap: 0.35rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border-bottom: none;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--color-navy);
  background: rgba(10, 17, 31, 0.05);
}

.nav a[aria-current="page"] {
  color: var(--color-navy);
  font-weight: 600;
  background: rgba(10, 17, 31, 0.07);
}

.main--subpage {
  padding-top: var(--header-h);
}

.main--subpage > .section.section--category:first-child {
  border-top: none;
}

.main--has-hero > .hero + .section.section--category {
  border-top: none;
}

@media (max-width: 768px) {
  /* Blokuje przewijanie tła, gdy otwarte jest menu mobilne (script.js: klasa .nav-menu-open) */
  body.nav-menu-open {
    overflow: hidden;
    width: 100%;
  }

  .header__inner {
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    column-gap: 0.4rem;
    row-gap: 0;
  }

  .header__inner .logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .header__inner .header__end {
    grid-column: 2;
    grid-row: 1;
    flex-shrink: 0;
  }

  .header__inner .header__lang {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: clamp(0.4rem, 1.5vw, 1rem);
  }

  .lang-switch__flags {
    gap: 0.1rem;
    padding: 0.1rem 0.12rem;
  }

  .lang-switch__btn {
    padding: 0.16rem 0.22rem;
  }

  img.lang-switch__flag {
    width: 1.35rem;
    height: 0.9rem;
  }

  .nav-toggle {
    display: flex;
  }

  .header-call {
    padding: 0.42rem 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    gap: 0.3rem;
  }

  .header-call__icon {
    width: 0.88em;
    height: 0.88em;
  }

  .header__inner .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transform: none;
    width: auto;
    max-width: none;
    z-index: 10;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 8px 20px rgba(10, 17, 31, 0.06);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav.is-open {
    max-height: min(420px, 70vh);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
  }

  .nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 360px) {
  .header-call .header-call__text {
    display: none;
  }

  .header-call {
    padding: 0.5rem;
  }
}

/* Hero — tylko zdjęcia, zmiana przez crossfade */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  padding-top: var(--header-h);
  scroll-margin-top: var(--header-h);
  background: var(--color-navy);
}

.main--home .hero {
  min-height: 100vh;
  min-height: 100dvh;
}

.main--subpage.main--has-hero {
  padding-top: 0;
}

/* Kompaktowy baner zdjęć na podstronach (spójny ze stroną główną) */
.hero--sub {
  min-height: clamp(268px, 36vh, 380px);
}

@media (max-width: 768px) {
  .hero--sub {
    min-height: clamp(220px, 34vh, 320px);
  }
}

.hero--sub .hero__dim {
  background: linear-gradient(
    to top,
    rgba(5, 12, 24, 0.85) 0%,
    rgba(10, 17, 31, 0.45) 48%,
    rgba(10, 17, 31, 0.22) 100%
  );
}

.hero__cta--sub {
  padding-top: clamp(4.25rem, 11vh, 5.75rem);
  padding-bottom: 2.75rem;
  padding-left: max(var(--page-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-pad-x), env(safe-area-inset-right, 0px));
}

@media (min-width: 480px) {
  .hero__cta--sub {
    padding-right: max(4.25rem, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 900px) {
  .hero__cta--sub {
    padding-right: max(5.25rem, env(safe-area-inset-right, 0px));
  }
}

.hero__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-highlight);
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero__eyebrow strong {
  font-weight: 700;
}

.hero__title-sub {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f8fafc;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  max-width: min(36ch, 100%);
}

.hero__lead-sub {
  margin: 0;
  max-width: min(44ch, 100%);
  font-size: clamp(0.88rem, 2vw, 1.02rem);
  color: #cbd5e1;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(5, 12, 24, 0.78) 0%,
    rgba(10, 17, 31, 0.38) 42%,
    rgba(10, 17, 31, 0.2) 100%
  );
}

.hero__cta {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(5.25rem, 13vh, 7rem);
  padding-bottom: max(4rem, env(safe-area-inset-bottom, 0px) + 3rem);
  padding-left: max(var(--page-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-pad-x), env(safe-area-inset-right, 0px));
  pointer-events: none;
}

/* Na większych ekranach zostaw miejsce na przyklejone ikony FAB po prawej */
@media (min-width: 480px) {
  .hero__cta {
    padding-right: max(4.25rem, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 900px) {
  .hero__cta {
    padding-right: max(5.5rem, env(safe-area-inset-right, 0px));
  }
}

@keyframes hero-home-enter {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__cta-text {
  margin: 0;
  max-width: min(40ch, 100%);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #f8fafc;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  padding-inline: 0.25rem;
}

/* Strona główna — wejście tekstu i przycisku (opóźnienie kaskadowe) */
.main--home .hero__cta-text {
  animation: hero-home-enter 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hero__cta-btn-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.hero__cta-btn-wrap .btn--hero {
  pointer-events: auto;
}

.main--home .hero__cta-btn-wrap {
  animation: hero-home-enter 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn--hero {
  margin-top: 1.5rem;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Fal przy kliknięciu — złoto z palety + biel, punkt startu z JS (--ripple-x / --ripple-y) */
.btn--hero .btn__label {
  position: relative;
  z-index: 2;
}

.btn--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: scale(0);
  transform-origin: var(--ripple-x, 50%) var(--ripple-y, 50%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle closest-side at var(--ripple-x, 50%) var(--ripple-y, 50%),
    rgba(255, 230, 120, 0.65) 0%,
    rgba(255, 255, 255, 0.22) 42%,
    transparent 72%
  );
}

.btn--hero:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.btn--hero:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
  transition-duration: 0.08s;
}

.btn--hero:hover:active {
  transform: translateY(0) scale(0.96);
}

@keyframes btn-hero-pop {
  0% {
    transform: scale(1);
  }
  42% {
    transform: scale(0.9);
  }
  72% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes btn-hero-ripple {
  0% {
    opacity: 0.88;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(2.35);
  }
}

.btn--hero.is-hero-click {
  animation: btn-hero-pop 0.45s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.btn--hero.is-hero-click::after {
  animation: btn-hero-ripple 0.58s ease-out forwards;
}

.btn--hero:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .main--home .hero__cta-text,
  .main--home .hero__cta-btn-wrap {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .btn--hero::after {
    display: none;
  }

  .btn--hero.is-hero-click {
    animation: none;
  }

  .btn--hero:active {
    transform: translateY(0) scale(0.98);
  }
}

@media (max-width: 480px) {
  .btn--hero {
    width: min(100%, 17.5rem);
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: opacity 0.01ms;
  }
}

/* Sections */
.section {
  padding: clamp(2.75rem, 8vw, 4.5rem) 0;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section--category {
  border-top: 1px solid rgba(10, 17, 31, 0.08);
}

.section__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-link);
  margin: 0 0 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.section__intro {
  color: var(--color-muted);
  margin: 0 0 2rem;
  font-size: clamp(0.98rem, 2.8vw, 1.05rem);
}

.section--about {
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

/* O nas — animacja wejścia tekstu (włączana przez script.js + .js-about-animate) */
@keyframes about-text-enter {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about__text {
  position: relative;
  padding: clamp(1.25rem, 3vw, 1.65rem) clamp(1.15rem, 3vw, 1.5rem);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-link) 7%, var(--color-surface)) 0%,
    var(--color-surface) 52%,
    color-mix(in srgb, var(--color-highlight) 12%, var(--color-surface)) 100%
  );
  box-shadow: 0 2px 20px rgba(10, 17, 31, 0.06);
  border: 1px solid color-mix(in srgb, var(--color-link) 18%, var(--color-border));
  border-left: 4px solid var(--color-link);
}

.js-about-animate .about-reveal:not(.about-reveal--visible) .about__text {
  border-left-color: color-mix(in srgb, var(--color-border) 70%, transparent);
}

.js-about-animate .about-reveal.about-reveal--visible .about__text {
  border-left-color: var(--color-link);
  transition: border-left-color 0.65s ease 0.15s;
}

.js-about-animate .about-reveal:not(.about-reveal--visible) .about__text p {
  opacity: 0;
  transform: translateY(1rem);
}

.js-about-animate .about-reveal.about-reveal--visible .about__text p {
  animation: about-text-enter 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js-about-animate .about-reveal.about-reveal--visible .about__text p:nth-child(1) {
  animation-delay: 0.06s;
}

.js-about-animate .about-reveal.about-reveal--visible .about__text p:nth-child(2) {
  animation-delay: 0.16s;
}

.js-about-animate .about-reveal.about-reveal--visible .about__text p:nth-child(3) {
  animation-delay: 0.26s;
}

@media (prefers-reduced-motion: reduce) {
  .js-about-animate .about-reveal:not(.about-reveal--visible) .about__text p {
    opacity: 1;
    transform: none;
  }

  .js-about-animate .about-reveal.about-reveal--visible .about__text p {
    animation: none;
  }

  .js-about-animate .about-reveal:not(.about-reveal--visible) .about__text {
    border-left-color: var(--color-link);
  }
}

.section--gallery {
  background: var(--color-bg-muted);
}

@keyframes gallery-card-reveal {
  from {
    opacity: 0;
    transform: translateY(1.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about__grid--text-only {
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .about__grid:not(.about__grid--text-only) {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about__text p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: clamp(0.97rem, 2.2vw, 1.05rem);
  line-height: 1.65;
}

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

.about__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Gallery: domyślnie grid (bez JS); na Realizacjach skrypt przełącza na masonry */
.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  --gallery-masonry-min: 220px;
  --gallery-masonry-gap: clamp(0.4rem, 1.2vw, 0.55rem);
  display: grid;
  gap: var(--gallery-masonry-gap);
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  align-items: start;
}

.gallery > li {
  animation: gallery-card-reveal 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
  min-width: 0;
}

.gallery > li:nth-child(1) {
  animation-delay: 0.05s;
}

.gallery > li:nth-child(2) {
  animation-delay: 0.11s;
}

.gallery > li:nth-child(3) {
  animation-delay: 0.17s;
}

.gallery > li:nth-child(4) {
  animation-delay: 0.23s;
}

.gallery > li:nth-child(5) {
  animation-delay: 0.29s;
}

.gallery > li:nth-child(6) {
  animation-delay: 0.35s;
}

.gallery > li:nth-child(7) {
  animation-delay: 0.41s;
}

.gallery > li:nth-child(8) {
  animation-delay: 0.47s;
}

.gallery > li:nth-child(9) {
  animation-delay: 0.53s;
}

.gallery > li:nth-child(10) {
  animation-delay: 0.59s;
}

.gallery > li:nth-child(11) {
  animation-delay: 0.65s;
}

.gallery > li:nth-child(12) {
  animation-delay: 0.71s;
}

.gallery > li:nth-child(13) {
  animation-delay: 0.77s;
}

.gallery > li:nth-child(14) {
  animation-delay: 0.83s;
}

.gallery > li:nth-child(15) {
  animation-delay: 0.89s;
}

.gallery > li:nth-child(16) {
  animation-delay: 0.95s;
}

.gallery > li:nth-child(17) {
  animation-delay: 1.01s;
}

.gallery > li:nth-child(18) {
  animation-delay: 1.07s;
}

.gallery > li:nth-child(19) {
  animation-delay: 1.13s;
}

.gallery > li:nth-child(20) {
  animation-delay: 1.19s;
}

.gallery > li:nth-child(21) {
  animation-delay: 1.25s;
}

.gallery > li:nth-child(22) {
  animation-delay: 1.31s;
}

.gallery > li:nth-child(23) {
  animation-delay: 1.37s;
}

.gallery > li:nth-child(24) {
  animation-delay: 1.43s;
}

.gallery > li:nth-child(25) {
  animation-delay: 1.49s;
}

.gallery > li:nth-child(26) {
  animation-delay: 1.55s;
}

.gallery > li:nth-child(27) {
  animation-delay: 1.61s;
}

.gallery > li:nth-child(28) {
  animation-delay: 1.67s;
}

.gallery__item {
  --gallery-frame: 3px;
  position: relative;
  display: block;
  width: 100%;
  padding: var(--gallery-frame);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-sizing: border-box;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-link) 82%, var(--color-navy-mid)) 0%,
    var(--color-navy-mid) 45%,
    color-mix(in srgb, var(--color-accent) 75%, var(--color-navy-mid)) 100%
  );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-link) 32%, var(--color-border)),
    0 6px 24px rgba(10, 17, 31, 0.14);
  transition:
    transform 0.32s cubic-bezier(0.34, 1.15, 0.64, 1),
    box-shadow 0.32s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.gallery__item:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 4px;
}

/* Domyślnie (np. nowe zdjęcie bez klasy) — bezpieczny kafel 3:2 */
.gallery__item:not(.gallery__item--landscape):not(.gallery__item--portrait) {
  aspect-ratio: 3 / 2;
}

.gallery__item:not(.gallery__item--landscape):not(.gallery__item--portrait) img {
  position: absolute;
  inset: var(--gallery-frame);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  object-position: center;
}

.gallery__item.gallery__item--landscape {
  aspect-ratio: 4 / 3;
}

.gallery__item.gallery__item--portrait {
  aspect-ratio: 3 / 4;
}

.gallery__item.gallery__item--landscape img,
.gallery__item.gallery__item--portrait img {
  position: absolute;
  inset: var(--gallery-frame);
  z-index: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius) - var(--gallery-frame));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
}

.gallery__item:not(.gallery__item--landscape):not(.gallery__item--portrait) img {
  border-radius: calc(var(--radius) - var(--gallery-frame));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
}

/* Efekty najechania tylko na urządzeniach z myszką (na telefonie unik „przyklejonego” :hover) */
@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover {
    transform: translateY(-6px);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--color-accent) 55%, var(--color-link)),
      0 0 0 3px color-mix(in srgb, var(--color-highlight) 35%, transparent),
      0 18px 46px rgba(0, 114, 188, 0.22);
  }

  .gallery__item:hover img {
    transform: scale(1.06);
  }

  .gallery__item:hover .gallery__zoom {
    transform: translateY(-2px);
  }
}

/* Znak wodny — logo BUD-MAT na zdjęciach realizacji */
.gallery__item::after {
  content: "";
  position: absolute;
  inset: var(--gallery-frame);
  z-index: 1;
  border-radius: calc(var(--radius) - var(--gallery-frame));
  pointer-events: none;
  background:
    url("images/logo-budmat.png") center / min(38%, 6.25rem) auto no-repeat;
  opacity: 0.17;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.gallery__zoom {
  position: absolute;
  z-index: 2;
  bottom: calc(0.75rem + var(--gallery-frame));
  right: calc(0.75rem + var(--gallery-frame));
  padding: 0.35rem 0.65rem;
  background: rgba(10, 17, 31, 0.88);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--color-link) 40%, transparent);
  transition: opacity 0.2s, transform 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .gallery > li {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .gallery__item,
  .gallery__item img,
  .gallery__zoom {
    transition-duration: 0.01ms;
  }

  .gallery__item:hover {
    transform: none;
  }

  .gallery__item:hover img {
    transform: none;
  }

  .gallery__item:hover .gallery__zoom {
    transform: none;
  }
}

/* Contact */
.section--contact {
  background: var(--color-surface);
  box-shadow: 0 -4px 24px rgba(10, 17, 31, 0.07);
}

@keyframes contact-field-enter {
  from {
    opacity: 0;
    transform: translateY(1.35rem) scale(0.97);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes contact-card-shell-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact__simple {
  display: flex;
  justify-content: center;
}

.contact__card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 4.5vw, 2rem);
  box-shadow: var(--shadow);
  max-width: 480px;
  width: 100%;
}

.contact__card--solo {
  max-width: 36rem;
  padding: clamp(1.35rem, 4.5vw, 2rem) clamp(1rem, 3.5vw, 1.75rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: color-mix(in srgb, var(--color-bg-muted) 42%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-link) 14%, var(--color-border));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 14px 44px rgba(10, 17, 31, 0.09);
}

.contact__card--solo .contact__value--action {
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  word-break: break-word;
}

/* Ramka jak w galerii — granat / niebieski / akcent */
.contact__field {
  --cf-frame: 3px;
  padding: var(--cf-frame);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--color-link) 82%, var(--color-navy-mid)) 0%,
    var(--color-navy-mid) 45%,
    color-mix(in srgb, var(--color-accent) 72%, var(--color-navy-mid)) 100%
  );
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-link) 30%, var(--color-border)),
    0 6px 22px rgba(10, 17, 31, 0.11);
  transition: transform 0.28s cubic-bezier(0.34, 1.12, 0.64, 1), box-shadow 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact__field:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--color-accent) 48%, var(--color-link)),
      0 0 0 3px color-mix(in srgb, var(--color-highlight) 28%, transparent),
      0 14px 40px rgba(0, 114, 188, 0.16);
  }
}

.contact__field-inner {
  background: var(--color-surface);
  border-radius: calc(var(--radius) - var(--cf-frame));
  padding: clamp(1.15rem, 3.5vw, 1.45rem) clamp(1rem, 3vw, 1.35rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

/* Kontakt — wejście karty i kafelków (kaskada) */
.section--contact .contact__card--solo {
  animation: contact-card-shell-enter 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.section--contact .contact__field {
  animation: contact-field-enter 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section--contact .contact__field:nth-of-type(1) {
  animation-delay: 0.16s;
}

.section--contact .contact__field:nth-of-type(2) {
  animation-delay: 0.36s;
}

.contact__hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 500;
  max-width: min(32ch, 100%);
  line-height: 1.45;
}

.contact__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.contact__row:last-child {
  margin-bottom: 0;
}

.contact__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--color-link) 55%, var(--color-muted));
  font-weight: 700;
}

.contact__value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact__value--action {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--color-link) 55%, transparent);
  border-radius: 4px;
  padding: 0.2rem 0.35rem;
  margin: -0.2rem -0.35rem;
  transition: color 0.2s, text-decoration-color 0.2s, background 0.2s;
}

.contact__value--action:hover {
  color: var(--color-link-hover);
  text-decoration-color: var(--color-link-hover);
  background: color-mix(in srgb, var(--color-link) 7%, transparent);
}

.contact__value--action:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .contact__field {
    transition: none;
  }

  .contact__field:hover {
    transform: none;
  }

  .section--contact .contact__card--solo,
  .section--contact .contact__field {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Footer — wyśrodkowany copyright */
.footer {
  background: var(--color-navy);
  padding: 1.75rem 0 max(1.75rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(248, 250, 252, 0.08);
}

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8125rem;
  color: #94a3b8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Regulamin */
.section--legal {
  background: var(--color-surface);
  padding-bottom: 3rem;
}

.legal {
  max-width: 720px;
  width: 100%;
}

.legal__meta {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.legal__block {
  margin-bottom: 2rem;
}

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

.legal__h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.legal__block p {
  margin: 0 0 0.85rem;
  color: var(--color-muted);
  font-size: 0.98rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.legal__note {
  padding: 1rem 1.1rem;
  background: #eef4fb;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-link);
  font-size: 0.9rem !important;
}

/* Okno cookies — modal na środku ekranu (cała strona przyciemniona); nad lightboxem i nagłówkiem */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  background: rgba(10, 17, 31, 0.52);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner:not([hidden]) {
  display: flex !important;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner__inner {
  width: min(26rem, 100%);
  max-height: min(32rem, calc(100dvh - 2.5rem));
  margin: 0;
  padding: 1.35rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 28px 56px rgba(10, 17, 31, 0.2);
  border: 1px solid var(--color-border);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cookie-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.3;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.cookie-banner__text a {
  color: var(--color-link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--color-link-hover);
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 0.15rem;
}

.cookie-banner__reg {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--color-link) 35%, transparent);
  padding-bottom: 0.1rem;
  align-self: center;
}

.cookie-banner__reg:hover {
  color: var(--color-link);
  border-bottom-color: var(--color-link);
}

.btn-cookie {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--color-accent);
  color: #fff;
  transition: background 0.2s, transform 0.15s;
}

.btn-cookie:hover {
  background: var(--color-accent-hover);
}

.btn-cookie:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .btn-cookie:hover {
    transform: none;
  }

  .cookie-banner {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(5, 10, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top, 0px)) max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.75rem, env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-left, 0px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__inner {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: min(90vh, 100dvh - 2rem);
  border-radius: var(--radius);
}

.lightbox__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    url("images/logo-budmat.png") center / min(36%, 9rem) auto no-repeat;
  opacity: 0.16;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.lightbox__img {
  position: relative;
  z-index: 0;
  width: 100%;
  max-height: min(90vh, 100dvh - 2rem);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Realizacje: natychmiastowy powrót na górę (prawy dolny róg) */
.back-to-top {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: var(--color-navy);
  background: var(--color-surface);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(10, 17, 31, 0.14);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.35rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.back-to-top:hover {
  background: var(--color-highlight-soft);
  color: var(--color-navy);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(10, 17, 31, 0.18);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 3px;
}

.back-to-top__icon {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .back-to-top {
    bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.15s ease, visibility 0.15s ease, background 0.2s ease;
    transform: none;
  }

  .back-to-top.is-visible {
    transform: none;
  }
}

/* Przyklejone ikony po prawej — telefon + Facebook */
.fab-stack {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .fab-stack {
    top: auto;
    bottom: max(5.75rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
    transform: none;
  }
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.fab:hover {
  transform: scale(1.07);
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.fab:focus-visible {
  outline: 2px solid var(--color-highlight);
  outline-offset: 3px;
}

.fab__icon {
  display: block;
  flex-shrink: 0;
}

.fab--phone {
  background: var(--color-accent);
}

.fab--phone:hover {
  background: var(--color-accent-hover);
}

.fab--facebook {
  background: var(--color-link);
}

.fab--facebook:hover {
  background: var(--color-link-hover);
}

@media (prefers-reduced-motion: reduce) {
  .fab:hover {
    transform: none;
  }
}
