/* =========================================================
   LUXO WALL DESIGN — style.css
   Brandbook: złoty #D4AF37 / czarny #111111 / szary #6D6D6D
   Typo: Playfair Display (nagłówki) + Montserrat (treść)
   ========================================================= */

/* ---------- 1. Reset & root ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors (z brandbooka klienta) */
  --gold: #D4AF37;
  --gold-soft: #B8941F;
  --gold-glow: rgba(212, 175, 55, 0.18);
  --black: #111111;
  --black-soft: #1a1a1a;
  --black-elev: #222222;
  --gray: #6D6D6D;
  --gray-light: #9a9a9a;
  --cream: #F4F1EC;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container: 1280px;
  --gutter: clamp(1.25rem, 3.5vw, 2.5rem);
  --section-gap: clamp(3.5rem, 8vw, 7rem);

  /* Effects */
  --transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.22);
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-gap); }
.section--dark { background: var(--black); color: var(--cream); }
.section--cream { background: var(--cream); }
.center { text-align: center; }
.flex { display: flex; gap: 1rem; }
.grid { display: grid; gap: 1.5rem; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 2px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: var(--black); }
.btn--primary:hover { background: var(--white); color: var(--black); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn--outline { border-color: currentColor; color: var(--cream); background: transparent; }
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--ghost { color: var(--gold); }
.btn--ghost::after { content: '→'; transition: transform var(--transition); }
.btn--ghost:hover::after { transform: translateX(4px); }

/* ---------- 5. Header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1rem;
  background: rgba(17, 17, 17, 0.0);
  backdrop-filter: blur(0px);
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition);
}
.header.is-scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  padding-block: 0.625rem;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.625rem; color: var(--cream); font-family: var(--font-heading); font-weight: 600; line-height: 1; }
.logo__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 1.125rem;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.logo__text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo__name { font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; }
.logo__sub { font-family: var(--font-body); font-size: 0.625rem; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; list-style: none; gap: 2rem; margin: 0; padding: 0; }
.nav__list li { list-style: none; }
.nav__link,
.nav .nav__link,
.header .nav__link,
.header .nav a,
.nav a {
  color: #F4F1EC !important;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.25rem;
  text-decoration: none;
}
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--gold); transition: width var(--transition); }
.nav__link:hover, .nav__link.is-active,
.nav a:hover, .nav .current-menu-item a { color: var(--gold) !important; }
.nav__link:hover::after, .nav__link.is-active::after,
.nav .current-menu-item > a::after { width: 100%; }
/* WordPress menu fallback — gdy admin nie utworzy menu i WP używa wp_list_pages */
.nav .menu, .nav__list { display: flex; list-style: none; gap: 2rem; margin: 0; padding: 0; }
.nav .menu li, .nav .menu-item { list-style: none; }
.nav .menu a { color: #F4F1EC !important; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; padding-block: 0.25rem; }
.nav .menu a:hover { color: var(--gold) !important; }

.nav__cta { padding: 0.7rem 1.4rem; }

.menu-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--cream); transition: var(--transition); }

@media (max-width: 980px) {
  .nav__list, .nav__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.is-open .nav__list,
  .nav.is-open .nav__cta { display: flex; }
  .nav.is-open {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--black); padding: 2rem var(--gutter); gap: 1.5rem;
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('../images/hero/hero-marmur-glosniki.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.55) saturate(1.05);
  animation: heroZoom 18s ease-out forwards;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,17,17,0.45) 0%, rgba(17,17,17,0.7) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}
.hero__content { text-align: center; max-width: 880px; padding-block: 6rem; padding-inline: var(--gutter); }
.hero__title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero__title .accent { color: var(--gold); font-style: italic; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
}
.hero__cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; }
.hero__scroll::after { content: ''; width: 1px; height: 32px; background: var(--gold); animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:0.4;} 50%{transform:scaleY(1.4);opacity:1;} }

/* ---------- 7. USP / wartości marki ---------- */
.values {
  background: var(--black);
  color: var(--cream);
  padding-block: 4rem;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.value {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.value:last-child { border-right: 0; }
.value:hover { background: var(--black-elev); }
.value__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin: 0 auto 1rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: var(--transition);
}
.value:hover .value__icon { background: var(--gold); color: var(--black); }
.value__icon svg { width: 22px; height: 22px; }
.value__title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.value__text { font-size: 0.875rem; color: var(--gray-light); line-height: 1.5; }

@media (max-width: 980px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value { border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .value:nth-child(2n) { border-right: 0; }
  .value:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
}

/* ---------- 8. Section heading ---------- */
.section__head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section__head h2 { margin-bottom: 1rem; }
.section__head p { color: var(--gray); font-size: 1.05rem; }
.section--dark .section__head p { color: var(--gray-light); }

/* ---------- 9. Galeria realizacji ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gallery--featured {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1.25rem;
}
.gallery--featured .card:nth-child(1) { grid-row: 1 / 3; }
@media (max-width: 880px) {
  .gallery--featured { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; }
  .gallery--featured .card:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 540px) {
  .gallery--featured { grid-template-columns: 1fr; grid-template-rows: repeat(6, 240px); }
  .gallery--featured .card:nth-child(1) { grid-column: auto; grid-row: auto; }
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  isolation: isolate;
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.card:hover img { transform: scale(1.06); }
.card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17,17,17,0.85) 100%);
  opacity: 0.7; transition: opacity var(--transition);
}
.card:hover::after { opacity: 1; }
.card__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.5rem;
  color: var(--cream);
  z-index: 2;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.card:hover .card__overlay { transform: translateY(0); }
.card__title { font-family: var(--font-heading); font-size: 1.125rem; margin-bottom: 0.25rem; }
.card__meta { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- 10. Sekcja "Dlaczego" ---------- */
.why { background: var(--cream); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 880px) { .why__grid { grid-template-columns: 1fr; } }
.why__card { background: var(--white); padding: 2.5rem 2rem; border-top: 2px solid var(--gold); transition: transform var(--transition), box-shadow var(--transition); }
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why__num { font-family: var(--font-heading); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 1rem; }
.why__title { margin-bottom: 0.75rem; font-size: 1.5rem; }
.why__text { color: var(--gray); font-size: 0.95rem; }

/* ---------- 11. 3 kroki / proces ---------- */
.process { background: var(--black); color: var(--cream); }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.process__grid::before {
  content: ''; position: absolute; top: 32px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 0;
}
@media (max-width: 880px) { .process__grid { grid-template-columns: 1fr; } .process__grid::before { display: none; } }
.step { text-align: center; position: relative; z-index: 1; }
.step__num {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--black);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  transition: var(--transition);
}
.step:hover .step__num { background: var(--gold); color: var(--black); transform: rotate(8deg) scale(1.05); }
.step__title { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.75rem; }
.step__text { color: var(--gray-light); font-size: 0.95rem; max-width: 320px; margin-inline: auto; }

.process__cta { text-align: center; margin-top: 4rem; }

/* ---------- 12. Systemy LUXO ---------- */
.systems { background: var(--cream); }
.systems__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.system {
  background: var(--white);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.system:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.system__name { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 0.75rem; }
.system__name .lv { color: var(--gold); font-style: italic; }
.system__desc { color: var(--gray); font-size: 0.85rem; margin-bottom: 1.5rem; min-height: 60px; }
.system__link { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.system__link::after { content: ' →'; }

/* ---------- 13. Dekory ---------- */
.decors { background: var(--black); color: var(--cream); }
.decors__row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.decor {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 1.5rem 1.25rem;
  background: var(--black-elev);
  border: 1px solid rgba(255,255,255,0.08);
  flex: 1 1 180px; max-width: 220px;
  transition: var(--transition);
  cursor: pointer;
}
.decor:hover { border-color: var(--gold); transform: translateY(-4px); }
.decor__swatch {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.decor__swatch.is-wood { background: linear-gradient(135deg, #8b5a3c, #5a3a25); }
.decor__swatch.is-marble { background: linear-gradient(135deg, #f0ece5, #cbc5b8); }
.decor__swatch.is-concrete { background: linear-gradient(135deg, #6e6c68, #3a3936); }
.decor__swatch.is-stone { background: linear-gradient(135deg, #8a7d6c, #4d4339); }
.decor__swatch.is-color { background: linear-gradient(135deg, #c4a575, #8a6f44); }
.decor__name { font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; }
.decor__count { font-size: 0.75rem; color: var(--gray-light); }

/* ---------- 14. FAQ ---------- */
.faq { background: var(--cream); }
.faq__list { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.faq__item { background: var(--white); border-left: 2px solid transparent; transition: border-color var(--transition); }
.faq__item.is-open { border-left-color: var(--gold); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--black);
}
.faq__q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq__item.is-open .faq__q::after { content: '−'; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  padding-inline: 1.5rem;
  color: var(--gray);
  font-size: 0.95rem;
}
.faq__item.is-open .faq__a { max-height: 500px; padding-bottom: 1.25rem; }

/* ---------- 15. CTA banner ---------- */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(17,17,17,0.92), rgba(17,17,17,0.72)),
    url('../images/realizacje/realizacja-02.jpg') center/cover;
  color: var(--cream);
  padding-block: var(--section-gap);
  text-align: center;
}
.cta-banner h2 { color: var(--cream); margin-bottom: 1rem; max-width: 760px; margin-inline: auto; }
.cta-banner h2 .accent { color: var(--gold); font-style: italic; }
.cta-banner p { color: var(--gray-light); margin-bottom: 2rem; max-width: 560px; margin-inline: auto; }

/* ---------- 16. Footer ---------- */
.footer { background: var(--black); color: var(--gray-light); padding-block: 4rem 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .logo { margin-bottom: 1rem; }
.footer__about { font-size: 0.875rem; line-height: 1.6; max-width: 320px; }
.footer__col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.footer__col a:hover { color: var(--gold); }
.footer__newsletter input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--black-elev);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.footer__newsletter input:focus { outline: 0; border-color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; }
.footer__social { display: flex; gap: 1rem; }
.footer__social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; transition: var(--transition); }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- 17. Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 640px; margin-inline: auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--black); margin-bottom: 0.5rem; }
.form__field input, .form__field select, .form__field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form__field textarea { min-height: 120px; resize: vertical; }
.form__check { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.85rem; color: var(--gray); }
.form__check input { margin-top: 4px; flex-shrink: 0; }

/* ---------- 18. Page hero (subpages) ---------- */
.page-hero {
  background: var(--black);
  color: var(--cream);
  padding-block: 9rem 5rem;
  text-align: center;
}
.page-hero__title { color: var(--cream); margin-bottom: 1rem; }
.page-hero__title .accent { color: var(--gold); font-style: italic; }
.page-hero__sub { color: var(--gray-light); max-width: 640px; margin-inline: auto; }
.breadcrumb { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.breadcrumb span { color: var(--gray); }

/* ---------- 19. Animations on scroll ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- 20. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(17,17,17,0.95); display: none; align-items: center; justify-content: center; z-index: 200; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; }
.lightbox__close:hover { background: var(--gold); color: var(--black); }

/* ---------- 21. Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-4 { margin-top: 4rem; }
.mb-4 { margin-bottom: 4rem; }

/* ---------- 22. Print ---------- */
@media print { .header, .footer, .hero__scroll, .lightbox { display: none !important; } body { color: #000; background: #fff; } }

/* =========================================================
   v2 ADDITIONS: 5-col values, vertical timeline, blog cards
   ========================================================= */

/* ---------- Section subtitle / lead paragraph ---------- */
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  color: var(--gray);
  max-width: 760px;
  margin-inline: auto;
}
.section--dark .lead { color: var(--gray-light); }

/* ---------- 5-COLUMN VALUES ROW (force jedna linia) ---------- */
.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.values-row .value-card {
  background: var(--white);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-top: 2px solid var(--gold);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  isolation: isolate;
  overflow: hidden;
}
.values-row .value-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--gold-glow) 0%, transparent 50%);
  opacity: 0; transition: opacity var(--transition);
  z-index: -1;
}
.values-row .value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.values-row .value-card:hover::before { opacity: 1; }

.values-row .value-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  margin-bottom: 1rem;
}
.values-row .value-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.75rem;
}
.values-row .value-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1100px) {
  .values-row { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
  .values-row .value-card { padding: 2rem 1rem 1.5rem; }
  .values-row .value-num { font-size: 2rem; }
  .values-row .value-card h3 { font-size: 0.75rem; letter-spacing: 0.16em; }
  .values-row .value-card p { font-size: 0.8rem; }
}
@media (max-width: 760px) {
  .values-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .values-row .value-card { padding: 1.5rem; text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: center; }
  .values-row .value-num { margin-bottom: 0; font-size: 2.2rem; }
  .values-row .value-card > div { display: contents; }
  .values-row .value-card h3 { margin-bottom: 0.25rem; grid-column: 2; }
  .values-row .value-card p { grid-column: 2; }
}

/* ---------- TIMELINE (vertical process) ---------- */
.timeline {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding-block: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 8%, var(--gold) 92%, transparent 100%);
  transform: translateX(-50%);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 3rem;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__dot {
  grid-column: 2;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}
.section--dark .timeline__dot { background: var(--black); }
.timeline__item:hover .timeline__dot {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 0 0 6px var(--gold-glow);
}

.timeline__content {
  padding: 1.75rem 2rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  position: relative;
  transition: var(--transition);
}
.section--dark .timeline__content { background: var(--black-elev); border-left-color: var(--gold); }

.timeline__item:nth-child(odd) .timeline__content {
  grid-column: 1;
  text-align: right;
  border-left: 0;
  border-right: 3px solid var(--gold);
}
.timeline__item:nth-child(even) .timeline__content {
  grid-column: 3;
  text-align: left;
}

.timeline__content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.timeline__content p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}
.section--dark .timeline__content p { color: var(--gray-light); }

.timeline__meta {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}

@media (max-width: 760px) {
  .timeline::before { left: 28px; transform: none; }
  .timeline__item {
    grid-template-columns: 56px 1fr;
    gap: 1rem;
  }
  .timeline__dot { grid-column: 1; }
  .timeline__item:nth-child(odd) .timeline__content,
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 2;
    text-align: left;
    border-left: 3px solid var(--gold);
    border-right: 0;
  }
  .timeline__content { padding: 1.25rem 1.5rem; }
  .timeline__content h3 { font-size: 1.15rem; }
}

/* ---------- BLOG / NEWS cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  isolation: isolate;
}
.section--dark .blog-card { background: var(--black-elev); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.blog-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  position: relative;
}
.blog-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.blog-card:hover .blog-card__media img { transform: scale(1.06); }

.blog-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}

.blog-card__body {
  padding: 1.75rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__meta {
  display: flex; gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.blog-card__meta span { color: var(--gray); }

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.blog-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}
.section--dark .blog-card p { color: var(--gray-light); }
.blog-card__more {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: flex-start;
}
.blog-card__more::after { content: ' →'; transition: var(--transition); }
.blog-card:hover .blog-card__more::after { margin-left: 6px; }

/* ---------- ARTICLE (single post layout) ---------- */
.article {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--black);
}
.article p { margin-bottom: 1.25rem; color: var(--gray); }
.article h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--black);
}
.article h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article ul, .article ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--gray); }
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--black);
  background: var(--cream);
}
.article img {
  width: 100%;
  margin: 2rem 0;
}
.article__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.article__meta span:not(:first-child) { color: var(--gray); }

/* ---------- Modern accent: gradient border on hover ---------- */
.glow-border {
  position: relative;
  isolation: isolate;
}
.glow-border::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold), transparent 50%, var(--gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 1;
  pointer-events: none;
}
.glow-border:hover::before { opacity: 1; }

/* ---------- Stats / counter row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-block: 1px solid rgba(255,255,255,0.08);
  margin-block: 4rem;
}
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--black);
}
.stat__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* ---------- Glass card (modern subtle) ---------- */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---------- Section divider ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
  margin: 2rem auto;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider span { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; }


/* ---------- v3: Real logo image (white-text version on dark) ---------- */
.logo__img {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}
.header { padding-block: 1.25rem; }
.header.is-scrolled { padding-block: 0.75rem; }
.header.is-scrolled .logo__img { height: 52px; }
.footer .logo__img { height: 84px; }

/* Reset spuriousness from old logo styles */
.logo__mark, .logo__text, .logo__name, .logo__sub { display: none !important; }
.logo { gap: 0; }

@media (max-width: 540px) {
  .logo__img { height: 48px; }
  .header.is-scrolled .logo__img { height: 42px; }
  .footer .logo__img { height: 64px; }
}

/* Hero — push down a bit so logo + header don't crash into title on tall headers */
.hero__content { padding-block: 7rem 6rem; }

/* =========================================================
   v4 MOBILE FIXES — pełna poprawka responsywności
   ========================================================= */

/* ---------- TABLET 980px ---------- */
@media (max-width: 980px) {
  :root {
    --section-gap: clamp(3rem, 8vw, 5rem);
    --gutter: 1.25rem;
  }
  .header__inner { gap: 1rem; }
  .nav { gap: 1rem; }

  /* Mobile menu — większy kontrast i proper nadpisanie */
  .nav.is-open .nav__cta {
    display: inline-flex !important;
    width: 100%;
    justify-content: center;
  }

  /* Page hero */
  .page-hero { padding-block: 7rem 3rem; }

  /* Sekcje na full container */
  .section { padding-block: 3.5rem; }

  /* Inline grids na podstronach — wymuszamy 1 kolumna */
  section[class] > .container > div[style*="grid-template-columns: 1fr 1fr"],
  .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  /* Oferta — karty systemów */
  .why__card > div[style*="grid-template-columns: 1fr 1.5fr"],
  .why__card > div[style*="grid-template-columns: 1fr 1.5fr"]:not([style*="!important"]) {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .why__card > div[style*="grid-template-columns: 1fr 1.5fr"] img {
    height: 200px !important;
  }

  /* Hero */
  .hero__content { padding-block: 6rem 4rem; padding-inline: 1.25rem; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 1rem; }
  .hero__sub { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero__cta-row { gap: 0.75rem; }
  .hero__cta-row .btn { padding: 0.875rem 1.5rem; font-size: 0.78rem; flex: 1; min-width: 140px; }

  /* Buttons mniejsze na mobile */
  .btn { padding: 0.875rem 1.5rem; font-size: 0.78rem; }

  /* Section heading */
  .section__head { margin-bottom: 2.5rem; }
  .section__head h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
  .lead { font-size: 0.95rem; }

  /* CTA banner */
  .cta-banner { padding-block: 4rem 3.5rem; }

  /* Footer */
  .footer { padding-block: 3rem 1.5rem; }
  .footer__grid { gap: 2rem; padding-bottom: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ---------- MOBILE 760px ---------- */
@media (max-width: 760px) {
  :root {
    --section-gap: 2.75rem;
    --gutter: 1rem;
  }

  /* Header / logo */
  .header { padding-block: 0.75rem; }
  .header.is-scrolled { padding-block: 0.5rem; }
  .logo__img { height: 48px !important; }
  .header.is-scrolled .logo__img { height: 42px !important; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero__content { padding-block: 5rem 3rem; }
  .hero__title { font-size: clamp(1.85rem, 9vw, 2.6rem); line-height: 1.15; }
  .hero__title br { display: none; }
  .hero__sub { font-size: 0.95rem; line-height: 1.55; }
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn { width: 100%; flex: none; }
  .hero__scroll { display: none; }

  /* USP wartości — przejście na 2 kolumny lub 1 */
  .values { padding-block: 2.5rem; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .value { padding: 1.5rem 0.75rem; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .value:nth-child(2n) { border-right: 0; }
  .value:nth-child(5) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .value__icon { width: 44px; height: 44px; margin-bottom: 0.625rem; }
  .value__icon svg { width: 18px; height: 18px; }
  .value__title { font-size: 0.72rem; letter-spacing: 0.16em; }
  .value__text { font-size: 0.78rem; }

  /* 5 wartości w O nas — wracamy do listy z numerami obok */
  .values-row {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .values-row .value-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem 1.25rem;
    text-align: left;
  }
  .values-row .value-num { margin-bottom: 0; font-size: 2rem; grid-row: 1 / 3; align-self: center; }
  .values-row .value-card h3 { font-size: 0.78rem; letter-spacing: 0.16em; margin-bottom: 0.25rem; }
  .values-row .value-card p { font-size: 0.82rem; line-height: 1.5; }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; margin-block: 2.5rem; }
  .stat { padding: 1.5rem 0.75rem; }
  .stat__num { font-size: 1.75rem; }
  .stat__label { font-size: 0.7rem; letter-spacing: 0.14em; }

  /* Why cards */
  .why__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .why__card { padding: 1.75rem 1.5rem; }
  .why__num { font-size: 2.25rem; margin-bottom: 0.75rem; }
  .why__title { font-size: 1.2rem; }
  .why__text { font-size: 0.875rem; }

  /* Process kroki — pionowo */
  .process__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process__grid::before { display: none; }
  .step__num { width: 52px; height: 52px; font-size: 1.2rem; margin-bottom: 1rem; }
  .step__title { font-size: 1.15rem; }
  .step__text { font-size: 0.875rem; }

  /* Timeline mobile — już dopracowane wcześniej, doprecyzowanie */
  .timeline::before { left: 24px; transform: none; }
  .timeline__item {
    grid-template-columns: 48px 1fr !important;
    gap: 0.875rem !important;
    margin-bottom: 1.75rem;
  }
  .timeline__dot { width: 48px !important; height: 48px !important; font-size: 1rem; }
  .timeline__item:nth-child(odd) .timeline__content,
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 2 !important;
    text-align: left !important;
    border-left: 3px solid var(--gold) !important;
    border-right: 0 !important;
    padding: 1rem 1.25rem;
  }
  .timeline__content h3 { font-size: 1.05rem; }
  .timeline__content p { font-size: 0.85rem; }
  .timeline__meta { font-size: 0.65rem; letter-spacing: 0.16em; }

  /* Systems */
  .systems__grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .system { padding: 1.5rem 1rem; }
  .system__name { font-size: 1.15rem; }
  .system__desc { font-size: 0.78rem; min-height: 0; }

  /* Decors */
  .decors__row { gap: 0.5rem; }
  .decor { flex: 1 1 130px; padding: 1rem 0.75rem; max-width: none; }
  .decor__swatch { width: 56px; height: 56px; }
  .decor__name { font-size: 0.78rem; letter-spacing: 0.1em; }
  .decor__count { font-size: 0.7rem; }

  /* Gallery */
  .gallery,
  .gallery--featured {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    grid-auto-rows: 280px !important;
    gap: 1rem;
  }
  .gallery--featured .card:nth-child(1) {
    grid-row: auto !important;
    grid-column: auto !important;
  }
  .card__overlay { padding: 1rem 1.25rem; }
  .card__title { font-size: 1rem; }
  .card__meta { font-size: 0.65rem; }

  /* FAQ */
  .faq__list { gap: 0.5rem; }
  .faq__q { padding: 1rem 1.25rem; font-size: 0.95rem; }
  .faq__q::after { font-size: 1.2rem; }
  .faq__a { padding-inline: 1.25rem; font-size: 0.85rem; }

  /* CTA banner */
  .cta-banner { padding-block: 3rem; }
  .cta-banner h2 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .cta-banner p { font-size: 0.9rem; }

  /* Page hero */
  .page-hero { padding-block: 6rem 2.5rem; }
  .page-hero__title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .page-hero__sub { font-size: 0.95rem; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr !important; gap: 1.25rem; }
  .blog-card__body { padding: 1.5rem 1.5rem 1.75rem; }
  .blog-card__body h3 { font-size: 1.15rem; }
  .blog-card__body p { font-size: 0.85rem; }
  .blog-card__meta { gap: 0.5rem; font-size: 0.65rem; }

  /* Featured post (blog.html) */
  article.blog-card[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  article.blog-card[style*="grid-template-columns: 1.2fr 1fr"] .blog-card__media {
    aspect-ratio: 16 / 10 !important;
  }
  article.blog-card[style*="grid-template-columns: 1.2fr 1fr"] .blog-card__body {
    padding: 1.75rem 1.5rem !important;
  }

  /* Article (single blog post) */
  .article { font-size: 0.95rem; line-height: 1.75; }
  .article h2 { font-size: 1.5rem; margin-top: 2rem; }
  .article h3 { font-size: 1.15rem; margin-top: 1.5rem; }
  .article blockquote { font-size: 1rem; padding: 0.875rem 1.25rem; }
  .article ul, .article ol { padding-left: 1.25rem; }

  /* Forms */
  .form { gap: 1rem; }
  .form__row { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .form__field input, .form__field select, .form__field textarea {
    padding: 0.75rem 0.875rem;
    font-size: 1rem; /* iOS auto-zoom prevention */
  }
  .form__field label { font-size: 0.7rem; letter-spacing: 0.14em; }
  .form__check { font-size: 0.8rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .footer__col h4 { font-size: 0.72rem; letter-spacing: 0.18em; margin-bottom: 0.875rem; }
  .footer__col ul { font-size: 0.85rem; }
  .footer__about { font-size: 0.82rem; }
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.7rem;
  }
  .footer__social { justify-content: center; }
  .footer__social a { width: 32px; height: 32px; }

  /* Lightbox */
  .lightbox { padding: 1rem; }
  .lightbox__close { width: 40px; height: 40px; top: 1rem; right: 1rem; }

  /* Eyebrow tighter */
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; margin-bottom: 0.625rem; }

  /* Buttons full-width gdy są same */
  .process__cta .btn,
  .center > .btn { width: auto; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.65rem; letter-spacing: 0.14em; gap: 0.4rem; }
}

/* ---------- SMALL MOBILE 480px ---------- */
@media (max-width: 480px) {
  :root { --gutter: 1rem; --section-gap: 2.25rem; }

  .logo__img { height: 42px !important; }
  .header.is-scrolled .logo__img { height: 38px !important; }

  .hero__title { font-size: 1.85rem; }
  .hero__cta-row .btn { font-size: 0.72rem; padding: 0.875rem 1rem; }

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

  .values__grid { grid-template-columns: 1fr; }
  .value { border-right: 0 !important; }

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

  .why__num { font-size: 2rem; }

  /* Article meta */
  .article__meta { flex-wrap: wrap; gap: 0.5rem; font-size: 0.65rem; }

  /* Section head smaller */
  .section__head h2 { font-size: 1.5rem; }

  /* Footer single column always */
  .footer__col { text-align: center; }
  .footer__col ul { align-items: center; }
}

/* ---------- LANDSCAPE PHONE FIX ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding-block: 5rem 3rem; }
  .hero__content { padding-block: 1rem; }
  .page-hero { padding-block: 5rem 2rem; }
}
