/*
Theme Name: Trener Premium
Theme URI: https://trener-personalny.smmtesting.pl
Author: Premium Web Studio
Description: Premium Personal Trainer WordPress Theme — dark luxury fitness
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: trener-premium
*/

/* ===================================================================
   CUSTOM PROPERTIES
=================================================================== */
:root {
  --bg:          #080808;
  --surface:     #111111;
  --surface-2:   #1a1a1a;
  --border:      #242424;
  --text:        #f0ede8;
  --text-muted:  #888888;
  --text-dim:    #444444;
  --accent:      #c6f135;
  --accent-dark: #a8d41b;
  --white:       #ffffff;

  --font-h: 'Barlow Condensed', sans-serif;
  --font-b: 'Inter', sans-serif;

  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);

  --max-w: 1320px;
  --gut:   clamp(1rem, 4vw, 2rem);
  --r:     4px;
  --r-md:  10px;
  --r-lg:  18px;
}

/* ===================================================================
   RESET
=================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===================================================================
   TYPOGRAPHY
=================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  line-height: 1.0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(3.5rem, 9vw, 9.5rem); }
h2 { font-size: clamp(2.5rem, 5.5vw, 6rem);  }
h3 { font-size: clamp(1.8rem, 3vw, 3.25rem); }
h4 { font-size: clamp(1.4rem, 2vw, 2.25rem); }
h5 { font-size: 1.25rem; }

p { line-height: 1.75; color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-b);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 2.25rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow--center {
  display: flex;
  justify-content: center;
}
.eyebrow--center::before { display: none; }
.eyebrow--center::after {
  content: '';
  display: block;
  width: 2.25rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ===================================================================
   LAYOUT
=================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.container--narrow { max-width: 860px; }

.section      { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--sm  { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--surface); }

/* ===================================================================
   BUTTONS
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9375rem 2rem;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--r);
  transition: all 0.25s var(--ease-fast);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198,241,53,.25);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(240,237,232,.25);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(240,237,232,.05);
}
.btn--dark {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--dark:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 1.125rem 2.5rem; font-size: 0.8125rem; }
.btn svg, .btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===================================================================
   NAVIGATION
=================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.75rem 0;
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,8,8,.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 0;
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--font-h);
  font-size: 1.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo em { font-style: normal; color: var(--accent); }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}
.nav__menu a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240,237,232,0.92);
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__menu a:hover,
.nav__menu a.current-menu-item { color: var(--text); }
.nav__menu a:hover::after,
.nav__menu a.current-menu-item::after { transform: scaleX(1); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

.nav__mobile {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
  padding: 6rem 2.75rem 3rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav__mobile.open { opacity: 1; pointer-events: all; transform: translateX(0); }
.nav__mobile > a {
  font-family: var(--font-h);
  font-size: clamp(1.875rem, 6.5vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  padding: 0.6rem 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
  opacity: 0;
  transform: translateX(24px);
}
.nav__mobile.open > a { opacity: 1; transform: translateX(0); }
.nav__mobile.open > a:nth-child(1) { transition: color .2s, border-color .2s, opacity .35s .08s var(--ease), transform .35s .08s var(--ease); }
.nav__mobile.open > a:nth-child(2) { transition: color .2s, border-color .2s, opacity .35s .14s var(--ease), transform .35s .14s var(--ease); }
.nav__mobile.open > a:nth-child(3) { transition: color .2s, border-color .2s, opacity .35s .20s var(--ease), transform .35s .20s var(--ease); }
.nav__mobile.open > a:nth-child(4) { transition: color .2s, border-color .2s, opacity .35s .26s var(--ease), transform .35s .26s var(--ease); }
.nav__mobile.open > a:nth-child(5) { transition: color .2s, border-color .2s, opacity .35s .32s var(--ease), transform .35s .32s var(--ease); }
.nav__mobile.open > a:nth-child(6) { transition: color .2s, border-color .2s, opacity .35s .38s var(--ease), transform .35s .38s var(--ease); }
.nav__mobile.open > a:nth-child(7) { transition: color .2s, border-color .2s, opacity .35s .44s var(--ease), transform .35s .44s var(--ease); }
.nav__mobile > a:hover { color: var(--accent); border-bottom-color: rgba(198,241,53,.25); transform: translateX(6px); }
.nav__mobile .nav__mobile-cta {
  margin-top: 2.5rem;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s .5s var(--ease), transform 0.35s .5s var(--ease);
}
.nav__mobile.open .nav__mobile-cta { opacity: 1; transform: none; }
.nav__mobile .btn { white-space: nowrap; width: 100%; justify-content: center; }

@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__cta-desktop { display: none; }
  .nav__hamburger { display: flex; }
}

/* ===================================================================
   HERO
=================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 0;
}
.hero__photo {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 52%;
  z-index: 1;
  overflow: hidden;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 50%);
  z-index: 2;
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 40%);
  z-index: 2;
}
.hero__photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #141414 0%, #0d1a02 60%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__photo-placeholder span {
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-style: italic;
  z-index: 3;
  position: relative;
  text-align: center;
  max-width: 200px;
  line-height: 1.6;
}
.hero__content {
  position: relative;
  z-index: 3;
  padding: 14rem 0 7rem;
  max-width: 62%;
}
.hero__eyebrow { margin-bottom: 2.25rem; }
.hero__headline {
  line-height: 0.92;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
}
.hero__headline em { font-style: normal; color: var(--accent); }
.hero__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 44ch;
  line-height: 1.7;
}
.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 3rem; left: var(--gut);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero__scroll-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  writing-mode: vertical-rl;
}
.hero__scroll-track {
  width: 1px; height: 50px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.hero__scroll-track::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollDrop 2s ease infinite;
}
@keyframes scrollDrop {
  0%   { top: -100%; }
  100% { top: 200%; }
}

.hero__number-tag {
  position: absolute;
  right: 6%; bottom: 10%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.hero__number-tag strong {
  font-family: var(--font-h);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.hero__number-tag strong em { font-style: normal; color: var(--accent); }
.hero__number-tag span {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .hero__photo { width: 100%; opacity: 0.18; }
  .hero__photo::before { background: linear-gradient(to top, var(--bg) 0%, transparent 100%); }
  .hero__content { max-width: 100%; padding: 11rem 0 5rem; }
  .hero__number-tag { display: none; }
}
@media (max-width: 480px) {
  .hero__content { padding: 9rem 0 4rem; }
}

/* ===================================================================
   STATS BAR
=================================================================== */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 3rem 0;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-family: var(--font-h);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  display: block;
}
.stat-item__num .accent { color: var(--accent); }
.stat-item__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 0.625rem;
  display: block;
}
@media (max-width: 640px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; }
}

/* ===================================================================
   SECTION HEADER
=================================================================== */
.sec-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.sec-head--c { text-align: center; }
.sec-head__eyebrow { margin-bottom: 1.5rem; }
.sec-head__title { margin-bottom: 1.5rem; }
.sec-head__sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.75;
}
.sec-head--c .sec-head__sub { margin: 0 auto; }

/* ===================================================================
   INTRO / TRAINER PROFILE
=================================================================== */
.intro__inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.intro__media { position: relative; }
.intro__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-md);
}
.intro__img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.875rem;
}
.intro__badge {
  position: absolute;
  bottom: 2rem; right: -2.5rem;
  background: var(--accent);
  color: var(--bg);
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
}
.intro__badge-num {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.intro__badge-lbl {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
  display: block;
}
.intro__eyebrow { margin-bottom: 1.75rem; }
.intro__title { margin-bottom: 1.5rem; }
.intro__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 2rem 0 2.5rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.tag::before { content: '✓'; color: var(--accent); font-size: 0.7rem; font-weight: 700; }
.tag:hover { border-color: var(--accent); color: var(--text); }

@media (max-width: 860px) {
  .intro__inner { grid-template-columns: 1fr; gap: 3rem; }
  .intro__badge { right: 1rem; }
}

/* ===================================================================
   SERVICES GRID (HOME)
=================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__num {
  font-family: var(--font-h);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.svc-card:hover .svc-card__num { color: var(--surface-2); }
.svc-card__title {
  font-family: var(--font-h);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.svc-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 2rem;
}
.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  transition: color 0.2s;
  margin-top: auto;
}
.svc-card__link:hover { color: var(--accent); }
.svc-card__link .arrow { transition: transform 0.2s; }
.svc-card__link:hover .arrow { transform: translateX(5px); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   TRANSFORMATIONS
=================================================================== */
.trans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trans-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.trans-card:hover { transform: translateY(-4px); border-color: rgba(198,241,53,.3); }
.trans-card__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.trans-card__img {
  aspect-ratio: 1/1.3;
  object-fit: cover;
}
.trans-card__ph {
  aspect-ratio: 1/1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
  padding: 1rem;
}
.trans-card__ph--before { background: linear-gradient(160deg, #1a1a1a, #111); }
.trans-card__ph--after  { background: linear-gradient(160deg, #161c06, #111507); }
.trans-card__pill {
  position: absolute;
  bottom: 0;
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.6rem;
  background: rgba(0,0,0,.9);
}
.trans-card__pill--before { left: 0; color: var(--text-muted); }
.trans-card__pill--after  { right: 0; color: var(--accent); }
.trans-card__body { padding: 1.5rem; }
.trans-card__name {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.trans-card__stats { display: flex; gap: 2rem; }
.tstat__val {
  font-family: var(--font-h);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.tstat__lbl {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-top: 0.2rem;
  display: block;
}
@media (max-width: 960px) { .trans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .trans-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   TESTIMONIALS
=================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.testi-card:hover { border-color: rgba(198,241,53,.35); transform: translateY(-3px); }
.testi-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.25rem;
}
.testi-card__stars span { color: var(--accent); font-size: 0.875rem; }
.testi-card__quote {
  font-size: 2.5rem;
  line-height: 0.75;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 1.25rem;
  opacity: 0.5;
}
.testi-card__text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
  flex: 1;
  margin-bottom: 2rem;
}
.testi-card__author { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.testi-card__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}
.testi-card__name { font-weight: 600; font-size: 0.9375rem; display: block; }
.testi-card__role { font-size: 0.8125rem; color: var(--text-dim); display: block; margin-top: 0.15rem; }
@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .testi-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   PROCESS
=================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 2.75rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.proc-step { text-align: center; padding: 0.5rem; position: relative; z-index: 1; }
.proc-step__circle {
  width: 5.5rem; height: 5.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  transition: border-color 0.3s, background 0.3s;
}
.proc-step:hover .proc-step__circle {
  border-color: var(--accent);
  background: rgba(198,241,53,.06);
}
.proc-step__num {
  font-family: var(--font-h);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: color 0.3s;
}
.proc-step:hover .proc-step__num { color: var(--accent); }
.proc-step__title {
  font-family: var(--font-h);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}
.proc-step__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}
@media (max-width: 800px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   CERTS
=================================================================== */
.certs-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 0.2s, transform 0.2s;
}
.cert-pill:hover { border-color: var(--accent); transform: translateY(-2px); }
.cert-pill__icon {
  width: 2.25rem; height: 2.25rem;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--bg);
  font-weight: 800;
  flex-shrink: 0;
  font-family: var(--font-h);
}
.cert-pill__name { font-weight: 600; font-size: 0.9375rem; display: block; }
.cert-pill__org { font-size: 0.75rem; color: var(--text-dim); display: block; margin-top: 0.1rem; }

/* ===================================================================
   FAQ ACCORDION
=================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.625rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  gap: 2rem;
  transition: color 0.2s;
  user-select: none;
}
.faq-q:hover { color: var(--accent); }
.faq-q__icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  line-height: 1;
}
.faq-item.open .faq-q__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease), padding 0.4s;
}
.faq-a-inner {
  padding-bottom: 1.5rem;
}
.faq-a-inner p { font-size: 0.9375rem; line-height: 1.8; color: var(--text-muted); }
.faq-item.open .faq-a { max-height: 400px; }

/* ===================================================================
   CTA BAND
=================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.cta-band__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(198,241,53,.09) 0%, transparent 70%);
}
.cta-band__glow {
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(198,241,53,.12) 0%, transparent 70%);
  filter: blur(40px);
}
.cta-band__content { position: relative; z-index: 1; }
.cta-band__eyebrow { justify-content: center; margin-bottom: 2rem; }
.cta-band__title { margin-bottom: 1.5rem; }
.cta-band__title em { font-style: normal; color: var(--accent); }
.cta-band__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 auto 3rem;
  max-width: 52ch;
}
.cta-band__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===================================================================
   PAGE HERO (inner pages)
=================================================================== */
.pg-hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 0 5rem;
  border-bottom: 1px solid var(--border);
}
.pg-hero__bg {
  position: absolute; inset: 0;
  background: var(--surface);
}
.pg-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(198,241,53,.05) 0%, transparent 60%);
}
.pg-hero__content { position: relative; z-index: 1; }
.pg-hero__eyebrow { margin-bottom: 1.75rem; }
.pg-hero__title { margin-bottom: 1.5rem; }
.pg-hero__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 56ch;
  line-height: 1.75;
}

/* ===================================================================
   SERVICES PAGE (full)
=================================================================== */
.svc-full {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
}
.svc-full:last-child { border-bottom: none; }
.svc-full__inner {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 4rem;
  align-items: start;
}
.svc-full__num {
  font-family: var(--font-h);
  font-size: 8rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  position: sticky;
  top: 8rem;
}
.svc-full__title { font-size: clamp(2rem, 3.5vw, 3.75rem); margin-bottom: 1.5rem; }
.svc-full__desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.svc-full__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.benefit::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
@media (max-width: 860px) {
  .svc-full__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc-full__num { font-size: 4rem; position: static; }
  .svc-full__benefits { grid-template-columns: 1fr; }
}

/* ===================================================================
   ABOUT PAGE
=================================================================== */
.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-story__imgs { position: relative; }
.about-story__img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-md);
}
.about-story__img-main-ph {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-style: italic;
}
.about-story__img-accent {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 48%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 4px solid var(--bg);
}
.about-story__img-accent-ph {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  width: 48%;
  aspect-ratio: 1;
  background: rgba(198,241,53,.12);
  border: 4px solid var(--bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}
.about-story__blockquote {
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2rem 0;
  line-height: 1.7;
}
@media (max-width: 860px) { .about-story__inner { grid-template-columns: 1fr; } }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2.25rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.value-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.value-card__icon { width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.value-card__title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}
.value-card__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 760px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   CONTACT PAGE
=================================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 6rem);
}
.contact-info__title { font-size: clamp(2rem, 3.5vw, 3.5rem); margin-bottom: 1.25rem; }
.contact-info__sub { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 3rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.contact-detail__ic {
  width: 46px; height: 46px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-detail__lbl {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.25rem;
}
.contact-detail__val { font-weight: 500; color: var(--text); }
.contact-socials { display: flex; gap: 0.75rem; margin-top: 2.5rem; }
.soc-btn {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all 0.2s;
  text-decoration: none;
}
.soc-btn:hover { border-color: var(--accent); color: var(--accent); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
}
.contact-form-card h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-form-card > p { font-size: 0.9375rem; margin-bottom: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.125rem; }
.form-group label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.875rem 1.125rem;
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--surface); }
.form-success {
  background: rgba(198,241,53,.1);
  border: 1px solid rgba(198,241,53,.3);
  border-radius: var(--r);
  padding: 1rem 1.5rem;
  color: var(--accent);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  display: none;
}
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ===================================================================
   BLOG / ARCHIVE
=================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(198,241,53,.3); }
.blog-card__thumb {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-card__thumb-ph {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.875rem;
}
.blog-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__cat {
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.875rem;
  display: block;
}
.blog-card__title {
  font-family: var(--font-h);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}
.blog-card__title a { text-decoration: none; transition: color 0.2s; }
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.blog-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.blog-card__foot a { color: var(--accent); font-weight: 700; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ===================================================================
   SINGLE POST
=================================================================== */
.single-header { padding: 10rem 0 4rem; border-bottom: 1px solid var(--border); }
.single-cat {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}
.single-title { font-size: clamp(2.5rem,5.5vw,5.5rem); margin-bottom: 1.5rem; }
.single-meta { font-size: 0.8125rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.single-content {
  max-width: 740px;
  padding: clamp(3rem,6vw,5rem) 0;
}
.single-content h2, .single-content h3 { margin: 3rem 0 1.5rem; }
.single-content p { font-size: 1.0625rem; line-height: 1.85; color: var(--text-muted); margin-bottom: 1.5rem; }
.single-content ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.single-content ul li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  list-style: disc;
}
.single-content ul li::marker { color: var(--accent); }

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(4rem,8vw,6rem) 0 2.5rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.footer-brand__logo {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.footer-brand__logo em { font-style: normal; color: var(--accent); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 28ch; }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.footer-col__title {
  font-family: var(--font-h);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}
.footer-col__nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col__nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col__nav a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.8125rem; color: var(--text-dim); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8125rem; color: var(--text-dim); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ===================================================================
   ANIMATIONS
=================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ===================================================================
   UTILITIES
=================================================================== */
.flex-c { display: flex; align-items: center; justify-content: center; }
.flex-sb { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }
.divider { width: 100%; height: 1px; background: var(--border); margin: 3rem 0; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* WordPress core classes */
.aligncenter { text-align: center; margin: 0 auto; }
.alignleft { float: left; margin-right: 2rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 2rem; margin-bottom: 1rem; }
.wp-caption { max-width: 100%; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute !important; }

/* ===================================================================
   MOBILE OVERRIDES
=================================================================== */

/* Reduce h1 minimum so long Polish words don't overflow narrow phones */
@media (max-width: 480px) {
  h1 { font-size: clamp(2.5rem, 10vw, 9.5rem); }
  h2 { font-size: clamp(2rem, 8vw, 6rem); }
  h3 { font-size: clamp(1.5rem, 6vw, 3.25rem); }
}

/* Inner page hero — fix excessive top padding */
@media (max-width: 768px) {
  .pg-hero { padding: 7rem 0 3.5rem; }
  .single-header { padding: 7rem 0 3rem; }
}
@media (max-width: 480px) {
  .pg-hero { padding: 6rem 0 2.75rem; }
  .pg-hero__sub { font-size: 1rem; max-width: 100%; }
  .single-header { padding: 6rem 0 2.5rem; }
}

/* Buttons — allow wrap + stack on small screens */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding: 1rem 1.5rem; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero__actions .btn { justify-content: center; }
  .cta-band__actions { flex-direction: column; align-items: center; gap: 0.75rem; }
  .cta-band__actions .btn { width: 100%; max-width: 400px; justify-content: center; }
}

/* About story accent badge — fix right overflow + add space below for badge */
@media (max-width: 860px) {
  .about-story__imgs { padding-bottom: 3rem; }
  .about-story__img-accent-ph,
  .about-story__img-accent { right: 0.75rem; bottom: -2rem; }
}
@media (max-width: 480px) {
  .about-story__img-accent-ph,
  .about-story__img-accent { width: 35%; }
}

/* Intro badge overflow fix on small screens */
@media (max-width: 480px) {
  .intro__badge { right: 0.5rem; bottom: 1rem; padding: 1.25rem 1rem; }
  .intro__badge-num { font-size: 2.25rem; }
  .intro__badge-lbl { font-size: 0.625rem; }
}

/* Section vertical padding — less cramped but still airy */
@media (max-width: 480px) {
  .section { padding: clamp(3.5rem, 10vw, 9rem) 0; }
  .section--sm { padding: clamp(2.5rem, 7vw, 5rem) 0; }
}

/* Service cards — less inner padding on mobile */
@media (max-width: 480px) {
  .svc-card { padding: 1.75rem 1.5rem; }
  .svc-card__num { font-size: 3rem; margin-bottom: 1rem; }
}

/* Transformation grid — single column earlier on narrow phones */
@media (max-width: 480px) {
  .trans-grid { grid-template-columns: 1fr; }
  .trans-card__img { aspect-ratio: 4/3; }
}

/* Testimonials — single column at medium mobile */
@media (max-width: 640px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* Process steps */
@media (max-width: 480px) {
  .proc-step { padding: 0 0.25rem; }
}

/* FAQ */
@media (max-width: 480px) {
  .faq-q { font-size: 0.9375rem; gap: 0.75rem; padding: 1.25rem 0; }
}

/* Values grid */
@media (max-width: 480px) {
  .value-card { padding: 1.75rem 1.5rem; }
}

/* Contact info */
@media (max-width: 480px) {
  .contact-info__sub { font-size: 0.9375rem; margin-bottom: 2rem; }
}

/* Cert pills */
@media (max-width: 480px) {
  .cert-pill { padding: 0.75rem 1rem; }
  .cert-pill__name { font-size: 0.875rem; }
  .cert-pill__org { font-size: 0.6875rem; }
}

/* Stats — tighter numbers on very small phones */
@media (max-width: 390px) {
  .stat-item__num { font-size: 2.25rem; }
}

/* Footer */
@media (max-width: 480px) {
  .footer-brand p { max-width: 100%; }
  .footer-socials { flex-wrap: wrap; }
}

/* Scrollbar — hide on mobile to avoid layout shift */
@media (max-width: 768px) {
  .sec-head__sub { max-width: 100%; }
}
