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

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

:root {
  --green: #39df00;
  /* marka: CTA, akcenty, aktywna zakładka */
  --green-alt: #4ddf00;
  /* podkreślenie menu w hover, przycisk Wyślij */
  --dark: #333e42;
  /* pasek zakładek, ciemna karta kontaktu */
  --dark-warm: #334240;
  /* sekcja „Obiekt pełen możliwości” */
  --text: #404040;
  --muted: #81878a;
  --light: #f5f5f5;
  --footer-muted: #c0c5c5;

  --field-bg: #f7f7f7;
  --field-border: #c4c4c4;
  --field-text: #6b6b6b;
  --field-placeholder: #757575;

  --shadow: 0 0 20px 1px rgba(192, 197, 197, .3);
  --shadow-strong: 0 0 20px 1px rgba(192, 197, 197, .5);

  --container: 1300px;
  --gutter: 100px;
}

/* --------------------------------------------------------------- reset --- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Panton', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  /* sekcje nachodzą ujemnym marginesem */
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

h1,
h2 {
  line-height: 1.2;
}

h3 {
  line-height: 1.4;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

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

button {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------ layout ---- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 75px var(--gutter);
}

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

.section {
  width: 100%;
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* zielona kreska pod nagłówkiem — w oryginale obrazek 1000×1 skalowany do 100×3 */
.rule {
  display: block;
  width: 100px;
  height: 3px;
  background: var(--green);
}

.accent {
  color: var(--green);
}

.lede {
  max-width: 800px;
  text-align: center;
  margin-bottom: 50px;
  font-size: 18px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 24px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  text-align: center;
  transition: background-color .2s, border-color .2s;
}

.btn:hover {
  background: var(--green-alt);
  border-color: var(--green-alt);
}

/* ------------------------------------------------------------ header ---- */

.header {
  position: relative;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  padding-right: var(--gutter);
}

.header__logo {
  display: block;
  flex: 0 0 auto;
}

.header__logo img {
  display: block;
  height: 100px;
  width: auto;
}

.header__center {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
}

.nav {
  display: flex;
  align-items: center;
  padding-left: var(--gutter);
}

.nav__list {
  display: flex;
  flex-direction: row;
}

.nav__list a {
  display: block;
  margin: 0 14px;
  padding: 4px 0;
  border-bottom: 2px solid #fff;
  color: rgba(51, 62, 66, .8);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: border-color .2s;
}

.nav__list a:hover {
  border-bottom-color: var(--green-alt);
}

.nav__home {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav__toggle {
  display: none;
  padding: 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav__hamburger {
  display: block;
  position: relative;
  width: 32px;
  height: 24px;
}

.nav__hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(51, 62, 66, .8);
  transition: transform .2s, opacity .2s;
}

.nav__hamburger span:nth-child(1) {
  top: 0;
}

.nav__hamburger span:nth-child(2) {
  top: 10.5px;
}

.nav__hamburger span:nth-child(3) {
  top: 21px;
}

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

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

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

.header__cta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  padding: 14px 24px;
  background: var(--green);
  transition: background-color .3s;
}

.header__cta:hover {
  background: var(--green-alt);
}

.header__cta-icon {
  display: block;
  width: 23px;
  height: auto;
  margin-right: 8px;
  transition: transform .3s;
}

.header__cta:hover .header__cta-icon {
  transform: rotate(180deg);
}

.header__cta-label {
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid #fff;
  color: #fff;
  font-size: 14px;
}

/* ------------------------------------------------- 1. hero / karuzela --- */

.section--hero .container {
  padding-top: 50px;
}

.carousel {
  position: relative;
  width: 100%;
}

.carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: center;
  text-align: center;
}

.section--hero h1 {
  font-size: 55px;
}

.hero__sub {
  font-size: 20px;
  color: var(--muted);
}

.hero__img {
  margin-top: 50px;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  padding: .75em;
  border: 0;
  background: #222;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background-color .4s, color .4s;
}

.carousel__arrow:hover {
  background: #000;
}

.carousel__arrow svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.carousel__arrow--prev {
  left: 0;
}

.carousel__arrow--next {
  right: 0;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  margin-top: 33px;
  margin-bottom: -17px;
  /* kropki wychodzą w dolny padding sekcji, jak w oryginale */
}

.carousel__dots button {
  width: 10px;
  height: 10px;
  margin: 0 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #333;
  opacity: .25;
  cursor: pointer;
}

.carousel__dots button[aria-current="true"] {
  opacity: 1;
}

/* Bez JS karuzela zostaje poziomo przewijalną listą — strzałki i kropki
   nic by nie robiły, więc pokazujemy je tylko gdy JS działa. */
.carousel__arrow,
.carousel__dots {
  display: none;
}

.js .carousel__arrow {
  display: inline-flex;
}

.js .carousel__dots {
  display: flex;
}

/* ------------------------------------------------ 2. Self Storage ------- */

/* Sekcje 2–4 nachodzą na siebie ujemnymi marginesami (patrz --steps,
   --obiekt). Nie ma tu żadnego z-index-u i nie jest potrzebny: tła sekcji
   malują się w kolejności drzewa, a karty — jako elementy flex — malowane są
   atomowo jak inline-block, czyli ponad tłem następnej sekcji. Dokładnie ten
   sam mechanizm rządzi oryginałem (tam z-index:99 nic nie robi, bo
   position:static). */
.section--intro {
  background: var(--light);
}

.section--intro .section__head {
  margin-bottom: 70px;
}

.section--intro h2 {
  font-size: 40px;
}

.features {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.features__col {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.features__col--left {
  align-items: flex-end;
  justify-content: center;
  margin-right: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.features__col--right .card+.card {
  margin-top: 30px;
}

.card__icon {
  display: block;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 20px;
  color: var(--muted);
}

.card p {
  margin-bottom: 16px;
  color: var(--muted);
  text-align: center;
}

/* ---------------------------------------------- 3. Jak to działa? ------- */

.section--steps {
  margin-top: -120px;
  background: #fff;
}

.steps__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.section--steps h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.steps {
  display: flex;
  gap: 50px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  margin-top: 50px;
}

.step {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 33%;
  padding: 0 40px 25px;
  background: #fff;
  box-shadow: var(--shadow);
}

.step--inset {
  box-shadow: inset var(--shadow);
}

.step__img {
  display: block;
  height: 250px;
  width: auto;
  max-width: none;
}

.step__badge {
  position: absolute;
  top: 0;
  padding: 6px 20px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  font-size: 24px;
  font-weight: 700;
}

.step__text {
  margin: 12px 0;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.step__text--narrow {
  width: 70%;
}

/* --------------------------------------- 4. Obiekt pełen możliwości ----- */

.section--obiekt {
  margin-top: -120px;
  background: var(--dark-warm);
  color: #fff;
}

.section--obiekt .container {
  padding-top: 175px;
}

.obiekt {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.obiekt__img {
  display: block;
  min-width: 0;
}

.obiekt__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-left: 5%;
}

.section--obiekt h2 {
  margin-bottom: 20px;
  font-size: 40px;
}

.section--obiekt .rule {
  margin-bottom: 20px;
}

.section--obiekt .obiekt__body>p {
  margin-bottom: 16px;
}

.obiekt__perks {
  display: flex;
  margin-top: 40px;
}

.obiekt__perks li {
  display: flex;
  align-items: center;
}

.obiekt__perks li+li {
  margin-left: 40px;
}

.obiekt__perks img {
  display: block;
  width: 40px;
  height: auto;
}

.obiekt__perks span {
  margin-left: 12px;
  font-size: 18px;
  font-weight: 700;
}

/* -------------------------------------------------------- 5. Galeria --- */

.galeria__head {
  text-align: center;
  margin-bottom: 40px;
}

.galeria__head h1 {
  font-size: 55px;
  margin: 0 0 20px;
}

.galeria__head .rule {
  margin: 0 auto;
}

@media (max-width: 767px) {
  .galeria__head h1 {
    font-size: 34px;
  }
}

.section--galeria .section__head {
  margin-bottom: 40px;
}

.section--galeria h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.tabs__list {
  display: flex;
}

.tabs--bar .tabs__list {
  margin-bottom: 20px;
  background: var(--dark);
}

.tabs__tab {
  padding: 20px;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s;
}

.tabs__list--solid .tabs__tab {
  background: var(--dark);
}

.tabs__tab[aria-selected="true"] {
  background: var(--green);
}

.tabs__panel {
  width: 100%;
  padding: 20px 0;
}

.gallery {
  display: grid;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.gallery--3 {
  grid-template-columns: repeat(3, minmax(200px, 1fr));
}

.gallery--4 {
  grid-template-columns: repeat(4, minmax(200px, 1fr));
}

.gallery a,
.obiekt-gallery a {
  display: block;
  overflow: hidden;
}

.gallery img,
.obiekt-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.obiekt-gallery {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}

.obiekt-gallery__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
  gap: 10px;
}

/* -------------------------------------------------------- 6. Kontakt --- */

.kontakt-main__head {
  text-align: center;
  margin-bottom: 40px;
}

.kontakt-main__head h1 {
  font-size: 55px;
  margin: 0 0 20px;
}

.kontakt-main__head .rule {
  margin: 0 auto;
}

.kontakt-main__cols {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.kontakt-main__info {
  width: 33.33%;
}

.kontakt-main__form {
  width: 66.67%;
  padding-left: 60px;
  margin-bottom: 40px;
}

.kontakt-main__form h2 {
  font-size: 40px;
  margin: 0 0 20px;
}

.kontakt-main__form .rule {
  margin-bottom: 30px;
}

/* karty kontaktowe — strona główna: trzy w rzędzie */
.section--kontakt {
  background: var(--light);
}

.kontakt {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

.kontakt__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32%;
  padding: 60px 0;
  background: #fff;
  box-shadow: 0 0 20px 1px rgba(192, 197, 197, 0.3);
  text-align: center;
}

.kontakt__card img {
  display: block;
}

.kontakt__card p {
  padding-top: 20px;
  color: var(--dark);
  font-weight: 700;
}

.kontakt__card--dark {
  background: var(--dark) url('../img/kontakt-card-bg.png') center / cover;
}

.kontakt__card--dark p {
  color: #fff;
}

.kontakt__links a {
  color: var(--dark);
}

.kontakt__links a:hover {
  color: var(--green);
}

/* podstrona kontakt: karty ułożone w kolumnie obok formularza */
.kontakt-main__info .kontakt__card {
  width: 100%;
  padding: 60px 30px;
  margin-bottom: 20px;
}

.kontakt-main__info .kontakt__card:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .kontakt {
    flex-direction: column;
  }

  .kontakt__card {
    width: 100%;
  }

  .kontakt__card+.kontakt__card {
    margin-top: 20px;
  }

  .kontakt-main__cols {
    flex-direction: column;
  }

  .kontakt-main__info,
  .kontakt-main__form {
    width: 100%;
  }

  .kontakt-main__form {
    padding-left: 0;
  }

  .kontakt-main__form h2 {
    font-size: 34px;
  }

  .kontakt-main__info .kontakt__card {
    padding: 30px 16px;
  }
}

/* ----------------------------------------------------- 7. Zapytanie ---- */

.section--zapytanie .section__head {
  margin-bottom: 20px;
}

.section--zapytanie h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.form {
  width: 100%;
  max-width: 636px;
  margin: 0 auto;
  padding: 5px;
  text-align: center;
}

.field {
  margin-bottom: 25px;
  text-align: left;
}

.field--turnstile {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.input,
.textarea,
.select {
  width: 100%;
  height: 50px;
  padding: 12px;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: var(--field-bg);
  color: var(--field-text);
  font-family: inherit;
  font-size: 16px;
}

.textarea {
  height: 200px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--field-placeholder);
  opacity: 1;
}

.select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23404040'%3E%3Cpath d='M12 16.5 4.5 9l1.4-1.4L12 13.7l6.1-6.1L19.5 9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: #c02a1e;
}

.field__error {
  display: block;
  margin-top: 6px;
  color: #c02a1e;
  font-size: 14px;
}

.form__actions {
  margin-top: 25px;
}

.submit {
  padding: 12px 30px;
  border: 0;
  border-radius: 0;
  background: var(--green-alt);
  color: var(--field-bg);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: background-color .2s;
}

.submit:hover {
  background: var(--green);
}

.submit[disabled] {
  opacity: .6;
  cursor: default;
}

.form__status:empty {
  display: none;
}

.form__status {
  margin-bottom: 20px;
  padding: 14px 16px;
  font-weight: 700;
  text-align: left;
}

.form__status--error {
  background: #fdf3f2;
  color: #c02a1e;
}

.form__status--ok {
  background: #f1faec;
  color: #2a7d10;
}

/* --------------------------------------------------------- 8. stopka --- */

.footer {
  background: var(--light);
}

.footer .container {
  padding-bottom: 25px;
}

.footer__top {
  display: flex;
  width: 100%;
}

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

.footer__brand img {
  display: block;
}

.footer__social {
  display: block;
  margin-top: 40px;
  color: var(--footer-muted);
  transition: color .2s;
}

.footer__social:hover {
  color: var(--muted);
}

.footer__social svg {
  display: block;
  width: 38px;
  height: 38px;
  fill: currentColor;
}

/* Oryginał ustawia tu space-between na pięciu elementach, z których dwa
   ostatnie są puste — stąd kolumny linków w lewej części stopki. Odtwarzamy
   sam efekt, bez pustych divów. */
.footer__nav {
  display: flex;
  flex: 0 0 auto;
  margin-left: 176px;
  gap: 176px;
}

.footer__nav a {
  display: block;
  white-space: nowrap;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .2s;
}

.footer__nav a:hover {
  color: var(--green);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 75px;
  color: var(--footer-muted);
  font-size: 12px;
}

.footer__bottom a {
  color: var(--footer-muted);
}

.footer__bottom a:hover {
  color: var(--green);
}

/* ------------------------------------------------------- lightbox ------ */

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .9);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, .9);
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100% - 120px);
  max-height: calc(100% - 100px);
  margin: auto;
  position: absolute;
  inset: 0;
}

.lightbox__close,
.lightbox__arrow {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  padding: .75em;
  border: 0;
  background: #222;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.lightbox__close svg,
.lightbox__arrow svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.lightbox__close {
  top: 0;
  right: 0;
}

.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__arrow--prev {
  left: 0;
}

.lightbox__arrow--next {
  right: 0;
}

.lightbox__counter {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  color: var(--footer-muted);
  font-size: 12px;
  text-align: center;
}

/* ===================================================== breakpointy ===== */

@media (max-width: 1300px) {
  .nav {
    padding-left: 0;
  }

  .nav__toggle {
    display: block;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    flex-direction: column;
    width: 100%;
    padding: 0 var(--gutter);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav[data-open] .nav__list {
    display: flex;
  }

  .nav__list a {
    margin: 0;
    padding: 10px 0;
    border-bottom: 0;
  }

  .nav__list a:hover {
    color: var(--green);
  }

  .nav__home {
    width: 16px;
    height: 16px;
  }

  .card {
    width: 80%;
  }

  .step {
    width: 50%;
  }
}

@media (max-width: 1023px) {
  :root {
    --gutter: 40px;
  }

  .step {
    width: 48%;
  }

  .footer__nav {
    margin-left: 60px;
    gap: 60px;
  }
}

@media (max-width: 767px) {

  .section--hero h1,
  .section--intro h2,
  .section--steps h2,
  .section--obiekt h2,
  .section--galeria h2,
  .section--zapytanie h2 {
    font-size: 34px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .features {
    flex-direction: column;
  }

  .features__col {
    width: 100%;
    margin-right: 0;
  }

  .card {
    width: 100%;
  }

  .features__col--right .card:first-child {
    margin-top: 30px;
  }

  .section--steps {
    margin-top: 0;
  }

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

  .btn--hide-mobile {
    display: none;
  }

  /* jak w oryginale */
  .steps {
    flex-direction: column;
  }

  .step {
    width: 100%;
  }

  .obiekt {
    flex-direction: column;
  }

  .obiekt__body {
    padding-left: 0;
    margin-top: 40px;
  }

  .section--obiekt .obiekt__body>p {
    font-size: 14px;
  }

  .tabs__list {
    flex-direction: column;
    width: 100%;
  }

  .gallery--3,
  .gallery--4 {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .kontakt {
    flex-direction: column;
  }

  .kontakt__card {
    width: 100%;
  }

  .kontakt__card+.kontakt__card {
    margin-top: 20px;
  }

  .lede {
    text-align: left;
  }

  .section--zapytanie .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer__nav {
    margin-left: 30px;
    gap: 30px;
  }
}

@media (max-width: 479px) {
  :root {
    --gutter: 20px;
  }

  .section--hero h1 {
    line-height: 1;
  }

  .section--intro .section__head {
    margin-bottom: 40px;
  }

  .lede {
    font-size: 14px;
  }

  .gallery--3,
  .gallery--4 {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
  }

  .obiekt-gallery {
    flex-direction: column;
    gap: 20px;
  }

  .obiekt-gallery__col {
    width: 100%;
    gap: 20px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__nav {
    display: none;
  }

  /* jak w oryginale */
  .footer__brand {
    margin-bottom: 20px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }

  .carousel__track {
    scroll-behavior: auto;
  }
}

/* ----------------------------------------------------------- subpages ---- */

.section--subpage-hero {
  padding-top: 35px;
  padding-bottom: 35px;
  text-align: center;
  background: var(--light);
}

.section--subpage-hero .container {
  padding-top: 0;
  padding-bottom: 0;
}

.subpage-hero__title {
  font-size: 36px;
  margin-bottom: 8px;
}

.subpage-hero__desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 16px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 24px;
}

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

@media (max-width: 550px) {
  .category-cards {
    grid-template-columns: 1fr;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  gap: 12px;
  background: #ffffff;
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  border-top: none;
  border-left: none;
  cursor: pointer;
  font-family: inherit;
}

.category-card:last-child {
  border-right: none;
}

.category-card:hover,
.category-card--active,
.category-card[aria-selected="true"] {
  background: var(--dark);
  color: #ffffff;
}

.category-card img,
.category-card svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* oferta — hero jak na lockbox.pl/oferta/ (Oxygen): tytuł wyśrodkowany, kreska
   nad opisem, osobne białe karty z cieniem zamiast zespawanej siatki */
.section--oferta {
  padding-top: 50px;
  padding-bottom: 75px;
  background: none;
}

.section--oferta .subpage-hero__title {
  font-size: 55px;
  text-align: center;
  margin-bottom: 0;
}

.section--oferta .rule {
  margin: 0 auto 20px;
}

.section--oferta .subpage-hero__desc {
  width: 60%;
  max-width: none;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin: 0 auto;
}

.section--oferta .category-cards {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2%;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin-top: 30px;
}

.section--oferta .category-card {
  width: 32%;
  padding: 60px 16px;
  gap: 0;
  background: #ffffff;
  border: none;
  box-shadow: 0 0 20px 1px rgba(192, 197, 197, 0.3);
  transition: box-shadow .2s ease;
  font-size: 16px;
}

.section--oferta .category-card img {
  width: 46px;
  height: 46px;
}

.section--oferta .category-card span {
  padding-top: 20px;
}

.section--oferta .category-card:hover {
  background: #ffffff;
  color: var(--dark);
  box-shadow: 0 0 25px 2px rgba(192, 197, 197, 0.45);
}

@media (max-width: 767px) {
  .section--oferta .subpage-hero__title {
    font-size: 34px;
  }

  .section--oferta .subpage-hero__desc {
    width: 100%;
    font-size: 16px;
  }

  .section--oferta .category-card {
    padding: 30px 16px;
  }
}

/* o-nas — hero jak na lockbox.pl/o-nas/: 3 karty z tytułem i opisem pod
   opisem strony, sekcja „Jak to działa?" z pogrubionym leadem i dwiema
   kolumnami tekstu zamiast kroków */
.section--onas {
  padding-top: 50px;
  padding-bottom: 75px;
  background: none;
}

.section--onas .subpage-hero__title {
  font-size: 55px;
  text-align: center;
  margin-bottom: 0;
}

.section--onas .rule {
  margin: 0 auto 20px;
}

.section--onas .subpage-hero__desc {
  width: 60%;
  max-width: none;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin: 0 auto;
}

.section--onas .category-cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2%;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin-top: 30px;
}

.section--onas .category-card {
  width: 32%;
  padding: 60px 30px;
  gap: 0;
  background: #ffffff;
  border: none;
  box-shadow: 0 0 20px 1px rgba(192, 197, 197, 0.3);
  cursor: default;
}

.section--onas .category-card span {
  padding-top: 20px;
}

.section--onas .category-card p {
  font-size: 14px;
  text-align: center;
  margin: 12px 0 0;
  color: var(--text);
}

.section--onas .category-card:hover {
  background: #ffffff;
  color: var(--dark);
}

.section--jak {
  background: var(--light);
}

.section--jak .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jak__inner {
  width: 70%;
}

.jak__title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 12px;
}

.section--jak .rule {
  margin: 0 auto 20px;
}

.jak__lead {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  width: 50%;
  margin: 40px auto 30px;
}

.jak__cols {
  display: flex;
  width: 100%;
}

.jak__cols p {
  width: 50%;
  margin: 0;
}

.jak__cols p:first-child {
  margin-right: 30px;
}

.jak__cols p:last-child {
  margin-left: 30px;
}

@media (max-width: 767px) {
  .jak__inner {
    width: 100%;
  }

  .section--onas .subpage-hero__title {
    font-size: 34px;
  }

  .section--onas .subpage-hero__desc {
    width: 100%;
    font-size: 16px;
  }

  .section--onas .category-cards {
    flex-direction: column;
    gap: 0;
  }

  .section--onas .category-card {
    width: 100%;
    padding: 30px 16px;
    margin-bottom: 20px;
  }

  .section--onas .category-card:last-child {
    margin-bottom: 0;
  }

  .jak__lead {
    width: 100%;
    text-align: left;
  }

  .jak__cols {
    flex-direction: column;
  }

  .jak__cols p {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .jak__cols p+p {
    margin-top: 20px;
  }
}

/* oferta — bloki oferty jak na lockbox.pl/oferta/: wąska kolumna treści,
   podtytuły z ikonami, listy ze strzałkami, karty z ikonami SVG i ciemny
   pasek „Zainteresowany?" z CTA i ilustracją */
.offer-section--light {
  background: var(--light);
}

.offer-section__body {
  width: 70%;
  margin: 0 auto;
}

.offer-section__head {
  display: flex;
  align-items: center;
}

.offer-section__head img {
  width: 46px;
  height: 46px;
}

.offer-section__head h2 {
  font-size: 40px;
  margin-left: 20px;
}

.offer-section .rule {
  margin: 20px 0;
}

.offer-section__lede {
  margin: 0 0 40px;
  color: var(--text);
}

.offer-section__lede--tight {
  margin-bottom: 34px;
}

.offer-section__lede--none {
  margin-bottom: 0;
}

.offer-section__subhead {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.offer-section__subhead img {
  width: 46px;
  height: 46px;
}

.offer-section__subhead h3 {
  font-size: 24px;
  margin-left: 20px;
}

.offer-section__subhead--lg {
  margin-bottom: 0;
}

.offer-section__subhead--lg h3 {
  font-size: 30px;
  margin-left: 12px;
}

.offer-section__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.offer-section__list li {
  display: flex;
  align-items: flex-start;
}

.offer-section__list li+li {
  margin-top: 12px;
}

.offer-section__list svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--green);
  margin: 4px 12px 0 0;
}

.offer-section__list svg path,
.offer-section__perk svg path {
  fill: currentColor;
}

.offer-section__list--lg {
  margin: 20px 0 40px;
}

.offer-section__note {
  margin: 0 0 39px;
}

.offer-section__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  margin: 20px 0 40px;
}

.offer-section__perk {
  width: 32%;
  background: #ffffff;
  box-shadow: 0 0 20px 1px rgba(192, 197, 197, 0.3);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.offer-section__perk svg {
  width: 40px;
  height: 40px;
  color: var(--green);
}

.offer-section__perk h3 {
  font-size: 18px;
  color: var(--dark);
  margin: 12px 0 6px;
}

.offer-section__perk p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}

.offer-section__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--dark);
}

.offer-section__cta-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px;
  border-bottom: 1px solid rgba(192, 197, 197, 0.2);
}

.offer-section__cta-row p {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.offer-section__cta-img {
  display: block;
  height: auto;
  max-width: 100%;
  padding: 50px;
  margin-bottom: -100px;
}

@media (max-width: 1300px) {
  .offer-section__body {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .offer-section__perk {
    width: 48%;
  }

  .offer-section__cta-row {
    flex-direction: column;
  }
}

@media (max-width: 479px) {
  .offer-section__perk {
    width: 100%;
    margin-bottom: 20px;
  }
}

.btn-green {
  display: inline-block;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color .2s ease;
  border: none;
  cursor: pointer;
}

.btn-green:hover {
  background: var(--green-alt);
  color: #ffffff;
}

.office-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.office-gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .office-gallery-grid {
    grid-template-columns: 1fr;
  }

  .office-gallery-grid img {
    height: 220px;
  }
}

.offer-block {
  margin-bottom: 60px;
}

.offer-block__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.offer-block__head h2 {
  font-size: 30px;
}

.offer-block__head img {
  width: 46px;
  height: 42px;
}

.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.perk-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perk-card h3 {
  font-size: 18px;
  color: var(--dark);
}

.perk-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.fee-box {
  background: var(--light);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0 30px;
}

.fee-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--dark);
}

.fee-box ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
  color: var(--text);
}

.boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.box-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  border: 1px solid #eee;
  transition: transform .2s ease, box-shadow .2s ease;
}

.box-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.box-card__img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.box-card__size {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.box-card__meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.box-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.box-card .btn {
  margin-top: auto;
  font-size: 14px;
  padding: 10px 20px;
}

.boxes-footnote {
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* ----------------------------------------------- Spacer Wirtualny --- */

.section--spacer-hero {
  padding-top: 50px;
  padding-bottom: 75px;
  text-align: center;
  background: #ffffff;
}

.section--spacer-hero .container {
  padding-top: 0;
  padding-bottom: 0;
}

.tour-hero__title {
  font-size: 55px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
  line-height: 1.2;
}

.section--spacer-hero .rule {
  margin: 0 auto 20px;
}

.tour-hero__desc {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  width: 45%;
  max-width: none;
  margin: 0 auto;
  line-height: 1.6;
}

.tour-tabs {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tour-tabs__list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 50px;
}

.tour-tab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32%;
  padding: 70px 30px;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: 0 0 20px 1px rgba(192, 197, 197, 0.3);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
  text-align: center;
}

.tour-tab-card:hover {
  transform: none;
  box-shadow: 0 0 20px 1px rgba(192, 197, 197, 0.3);
}

.tour-tab-card[aria-selected="true"] {
  background: var(--dark);
  color: #ffffff;
  box-shadow: 0 0 20px 1px rgba(192, 197, 197, 0.3);
}

.tour-tab-card__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.tour-tab-card__label {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--dark);
  margin-top: 12px;
}

.tour-tab-card[aria-selected="true"] .tour-tab-card__label {
  color: #ffffff;
}

@media (max-width: 767px) {
  .tour-hero__title {
    font-size: 34px;
  }

  .tour-hero__desc {
    width: 100%;
    font-size: 16px;
  }

  .tour-tabs__list {
    flex-direction: column;
  }

  .tour-tab-card {
    width: 100%;
    margin-bottom: 20px;
  }
}

.tour-wrapper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--dark);
}

.tour-frame {
  display: block;
  width: 100%;
  height: 600px;
  max-height: 75vh;
  border: 0;
}

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

@media (max-width: 768px) {
  .tour-frame {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .perk-grid {
    grid-template-columns: 1fr;
  }

  .boxes-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .subpage-hero__title {
    font-size: 28px;
  }
}

/* -------------------------------------------------------- FAQ Page --- */

.section--faq {
  padding-bottom: 60px;
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.faq-nav__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--light);
  border: 1px solid var(--field-border);
  border-radius: 30px;
  color: var(--dark);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-nav__item:hover,
.faq-nav__item:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--dark);
  transform: translateY(-2px);
}

.faq-group {
  margin-bottom: 52px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group__title {
  font-size: 24px;
  font-weight: 700;
  color: #222930;
  margin-bottom: 28px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--green);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 24px;
}

.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--green);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--green);
  box-shadow: none;
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: #556270;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  background-color: transparent;
  color: #222930;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  margin-left: 16px;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #8894a0;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  background: transparent;
  color: var(--green);
}

.faq-item__answer {
  padding: 8px 0 20px 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  border-top: 0;
  margin-top: 0;
}

@media (max-width: 600px) {
  .faq-list {
    padding-left: 12px;
  }
}

.faq-item__answer p {
  margin: 0 0 10px 0;
}

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

.faq-item__answer a {
  color: #279800;
  font-weight: 700;
  text-decoration: underline;
}

.faq-item__answer a:hover {
  color: var(--dark);
}

@media (max-width: 768px) {
  .faq-item__question {
    padding: 14px 18px;
    font-size: 15px;
  }

  .faq-item__answer {
    padding: 0 18px 18px 18px;
    padding-top: 14px;
    font-size: 14px;
  }

  .faq-group__title {
    font-size: 22px;
  }
}

/* ----------------------------------------------------- Kontakt Page --- */

.section--company {
  background: url('../img/kontakt-company-bg.jpg') center / cover;
}

.company {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.company__data {
  width: 50%;
}

.company__data h2 {
  font-size: 40px;
  color: #ffffff;
  margin: 0 0 20px;
}

.company__data .rule {
  margin-bottom: 50px;
}

.company__data-cols {
  display: flex;
}

.company__data-cols p {
  color: #ffffff;
  margin: 0 50px 0 0;
}

.company__map {
  width: 50%;
}

.map-frame {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 767px) {
  .company {
    flex-direction: column;
  }

  .company__data {
    width: 100%;
    margin-bottom: 40px;
  }

  .company__map {
    width: 100%;
  }

  .map-frame {
    height: 350px;
  }
}

/* --------------------------------- Jakiego boxa potrzebujesz (FAQ) --- */

.faq-boxes-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-boxes-head__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}

.faq-boxes-head__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.faq-boxes-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 36px;
  max-width: 100%;
}

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

.box-row-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: #ffffff;
  border: 1px solid #d0d8e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.box-row-card:hover {
  border-color: var(--green);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.box-row-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid #d0d8e0;
  background: #ffffff;
}

.box-row-card__img {
  width: 120px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.box-row-card__content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.box-row-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.box-row-card__size {
  color: #279800;
  margin-left: 6px;
}

.box-row-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

@media (max-width: 900px) {
  .boxes-row-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .box-row-card {
    grid-template-columns: 1fr;
  }

  .box-row-card__img-wrap {
    border-right: 0;
    border-bottom: 1px solid #d0d8e0;
    padding: 20px;
  }
}

/* -------------------------------------------------------- Sklep Page --- */

.section--sklep {
  padding: 0;
  text-align: center;
  background: none;
}

.section--sklep .subpage-hero__title {
  font-size: 55px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
}

.section--sklep .rule {
  margin: 0 auto 20px;
}

.section--sklep .subpage-hero__desc {
  width: 60%;
  max-width: none;
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .section--sklep .subpage-hero__title {
    font-size: 34px;
  }

  .section--sklep .subpage-hero__desc {
    width: 100%;
    font-size: 16px;
  }
}

.shop-section {
  padding-top: 75px;
  padding-bottom: 75px;
  background: linear-gradient(#f5f5f5, #ffffff);
}

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

@media (max-width: 991px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 479px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
  transition: transform .2s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.shop-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.shop-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.shop-card:hover .shop-card__img {
  transform: scale(1.03);
}

.shop-card__img-placeholder {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 0 0 0;
}

.shop-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.shop-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.shop-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

.shop-card__unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

.shop-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 4px 0 0 0;
  flex-grow: 1;
}

.shop-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--light);
  border-radius: 8px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

/* -------------------------------------------------------- Blog Page --- */

.section--blog {
  padding: 0;
  text-align: center;
  background: none;
}

.section--blog .subpage-hero__title {
  font-size: 55px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
}

.section--blog .rule {
  margin: 0 auto 20px;
}

.section--blog .subpage-hero__desc {
  width: 60%;
  max-width: none;
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .section--blog .subpage-hero__title {
    font-size: 34px;
  }

  .section--blog .subpage-hero__desc {
    width: 100%;
    font-size: 16px;
  }
}

.blog-section {
  padding-top: 75px;
  padding-bottom: 75px;
  background: linear-gradient(#f5f5f5, #ffffff);
}

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

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

@media (max-width: 479px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: visible;
  text-decoration: none;
  transition: transform .2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.blog-card__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.03);
}

.blog-card__img-placeholder {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 0 0 0;
}

.blog-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.blog-card__more {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  margin-top: auto;
}

.blog-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--light);
  border-radius: 8px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

/* ------------------------------------------------- Blog Article Page --- */

.section--post {
  padding: 60px 0 90px;
  background: linear-gradient(#f5f5f5, #ffffff);
}

.post-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}

.post-crumbs a {
  color: var(--green);
  text-decoration: none;
}

.post-crumbs a:hover {
  text-decoration: underline;
}

.post-crumbs__sep {
  color: var(--muted);
}

.post-crumbs__current {
  color: var(--text);
}

.post-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .post-title {
    font-size: 30px;
  }
}

.section--post .rule {
  width: 100%;
  max-width: 780px;
  margin: 0 auto 18px;
  background: linear-gradient(var(--green), var(--green)) 0 0 / 100px 100% no-repeat;
}

.post-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
}

/* The article header shares the content's 780px column, so the breadcrumbs,
   title and date line up with the text and the photo instead of spanning the
   full container. */
.section--post .post-crumbs,
.post-title,
.post-date {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.post-hero__img {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  margin: 0 auto 36px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.post-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.post-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.post-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
  line-height: 1.3;
}

.post-content p {
  margin: 0 0 18px;
}

.post-content ul {
  margin: 0 0 18px;
  padding-left: 26px;
  list-style: disc;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}

.post-content a:hover {
  text-decoration: none;
}

.post-content strong {
  font-weight: 700;
}

/* ----------------------------------------------------------- post-toc ---- */
/* The boxed, numbered menu an article's headings add up to, inserted before
   the first heading — the same shape the live blog articles open with. */

.post-toc {
  background: #f8f8f8;
  border: 1px solid #e6e8e8;
  padding: 18px 24px;
  margin: 0 0 30px;
}

.post-toc__list {
  margin: 0;
  padding-left: 24px;
  list-style: decimal;
}

.post-toc__item {
  margin-bottom: 8px;
}

.post-toc__item:last-child {
  margin-bottom: 0;
}

.post-toc__item a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}

.post-toc__item a:hover {
  text-decoration: none;
}

.post-content h2[id],
.post-content h3[id] {
  scroll-margin-top: 24px;
}