/* ═══════════════════════════════════════════
   IIP Biuro Rachunkowe — Global Stylesheet
   Design system: Jost · Mode 1 tokens
   ═══════════════════════════════════════════ */

:root {
  --grey: #323435;
  --blue: #38578f;
  --mid-blue: #5375b2;
  --light-blue: #789cd6;
  --delicate: #aebedd;
  --dark-night: #0c1a33;
  --common-blue: #5576c7;
  --citrus: #e0ee7e;
  --citrus-int: #e4f222;
  --calm-green: #bcd3b0;
  --nice-blue: #6ba9de;
  --white: #ffffff;
  --nav-h: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--white);
  color: var(--grey);
  overflow-x: hidden;
}

/* ───────────── NAV ───────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}
nav.scrolled {
  background: rgba(12, 26, 51, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* SVG logo — height fixed, width auto */
.nav-logo svg {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  opacity: 0.85;
  transition: opacity 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--citrus-int);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover {
  opacity: 1;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ───────────── HERO ───────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    var(--dark-night) 0%,
    var(--blue) 70%,
    #f7f9fc 100%
  );
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 60px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(85, 118, 199, 0.35) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 10%;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(107, 169, 222, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--citrus-int);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-h1 em {
  color: var(--citrus-int);
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--citrus-int);
  color: var(--dark-night);
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.2s;
  box-shadow: 0 8px 32px rgba(228, 242, 34, 0.25);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(228, 242, 34, 0.38);
  background: #eff720;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
  margin-left: 16px;
  transition:
    transform 0.22s ease,
    border-color 0.2s,
    background 0.2s;
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

/* hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}
.hero-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ───────────── SECTION BASE ───────────── */
section {
  padding: 100px 60px;
}

.logo-wrapper {
  position: absolute;
  top: 40%;
  left: 70%;
  transform: translate(-50%, -50%) rotate(-10deg);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  opacity: 0.08; /* Zwiększona widoczność tła */
  pointer-events: none;
  overflow: hidden;
}

.logo-wrapper svg {
  width: 1100px; /* Jeszcze większe logo */
  height: auto;
  max-width: 95vw;
}

.section-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--common-blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--dark-night);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  font-weight: 300;
  color: #6a7280;
  max-width: 540px;
  line-height: 1.7;
}

/* ───────────── FEATURES / CARDS ───────────── */
.features {
  background: #f7f9fc;
}
.features-header {
  margin-bottom: 60px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px 32px;
  border: 1px solid rgba(83, 117, 178, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: default;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
}
.feat-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 24px 56px rgba(56, 87, 143, 0.12);
}
.feat-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease;
}
.feat-card:hover .feat-icon {
  transform: scale(1.08);
}
.feat-icon svg {
  width: 80px;
  height: 80px;
}
.feat-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-night);
}
.feat-desc {
  font-size: 14px;
  font-weight: 300;
  color: #6a7280;
  line-height: 1.65;
}

/* ───────────── PRICING ───────────── */
.pricing {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.pricing-header {
  margin-bottom: 60px;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.plan {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 40px 36px;
  border: 1.5px solid rgba(83, 117, 178, 0.15);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
}
.plan:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 56px rgba(56, 87, 143, 0.13);
}
.plan.basic {
  background: #f7f9fc;
}
.plan.extended {
  background: var(--dark-night);
  border-color: var(--mid-blue);
}
.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.plan.basic .plan-badge {
  background: rgba(83, 117, 178, 0.12);
  color: var(--mid-blue);
}
.plan.extended .plan-badge {
  background: var(--citrus-int);
  color: var(--dark-night);
}
.plan-price {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.plan.basic .plan-price {
  color: var(--dark-night);
}
.plan.extended .plan-price {
  color: var(--white);
}
.plan-period {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 28px;
}
.plan.basic .plan-period {
  color: #8a93a0;
}
.plan.extended .plan-period {
  color: rgba(255, 255, 255, 0.5);
}
.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
  flex-grow: 1;
}
.plan-list li {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.plan.basic .plan-list li {
  color: #4a5568;
}
.plan.extended .plan-list li {
  color: rgba(255, 255, 255, 0.8);
}
.plan-list li::before {
  content: "✓";
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan.basic .plan-list li::before {
  color: var(--mid-blue);
}
.plan.extended .plan-list li::before {
  color: var(--citrus-int);
}
.plan .btn-primary {
  width: 100%;
  justify-content: center;
}
.plan.basic .btn-primary {
  background: var(--mid-blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(83, 117, 178, 0.25);
}
.plan.basic .btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 14px 36px rgba(83, 117, 178, 0.35);
}

/* ───────────── CUSTOMERS / OPINIE ───────────── */
.customers {
  position: relative;
  background: #f7f9fc;
  padding-top: 100px;
  padding-bottom: 90px;
  overflow: hidden;
}
.customers .section-inner {
  padding: 0 60px;
  margin-bottom: 70px;
}

/* ── Ticker wrapper — maska fadeout po bokach ── */
.ticker-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* dodatkowy padding-top żeby avatar wychodził poza kartę */
  padding-top: 44px;
  margin-bottom: 44px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}
.ticker-wrap:last-child {
  margin-bottom: 0;
}

/* ── Ticker strip ── */
.ticker {
  display: flex;
  gap: 24px;
  width: max-content;
  /* wyrównanie do dołu — karty mogą mieć różną wysokość */
  align-items: flex-start;
}
.ticker--fwd {
  animation: tickerFwd 80s linear infinite;
}
.ticker--rev {
  animation: tickerRev 60s linear infinite;
}
.ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

@keyframes tickerFwd {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes tickerRev {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* ── Pojedyncza karta klienta ── */
.cust-card {
  flex-shrink: 0;
  width: 264px;
  background: var(--dark-night);
  border: 1px solid rgba(83, 117, 178, 0.25);
  border-radius: 20px;
  /* góra karty zaczyna się od połowy avatara */
  padding-top: 0;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.cust-card:hover {
  box-shadow: 0 16px 44px rgba(12, 26, 51, 0.28);
  border-color: rgba(83, 117, 178, 0.5);
}

/* ── Nagłówek karty (ciemniejszy pasek z imieniem) ── */
.cust-header {
  background: linear-gradient(135deg, var(--blue), #1a3260);
  border-radius: 20px 20px 0 0;
  padding: 50px 20px 16px; /* padding-top robi miejsce na avatar */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

/* ── Avatar — wystający ponad header ── */
.cust-avatar-wrap {
  position: absolute;
  top: -40px; /* wychodzi 40px ponad header */
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light-blue), var(--mid-blue));
  border: 3px solid #f7f9fc;
  box-shadow: 0 4px 18px rgba(12, 26, 51, 0.3);
  flex-shrink: 0;
}
.cust-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Imię i branża */
.cust-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}
.cust-subtitle {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--citrus-int);
  text-align: center;
}

/* ── Treść karty (biała/jasna dolna część) ── */
.cust-body {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 0 20px 20px;
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cust-stars {
  color: var(--citrus-int);
  font-size: 14px;
  letter-spacing: 3px;
}
.cust-quote {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
}

/* ───────────── ABOUT ───────────── */
.about {
  position: relative;
  background: var(--dark-night);
  overflow: hidden;
}
.about .logo-wrapper {
  left: 20%;
  top: 50%;
  opacity: 0.05;
  color: var(--white);
}
.about .section-h2 {
  color: var(--white);
}
.about .section-sub {
  color: rgba(255, 255, 255, 0.55);
}
.about .section-label {
  color: var(--citrus-int);
}

/* ── Team grid ── */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

/* ── Member card — split layout: info left · business card right ── */
.member-card {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

/* Left column: name, bio, contact */
.member-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.member-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.member-bio {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.member-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.member-contact a {
  font-size: 14px;
  color: var(--light-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.member-contact a:hover {
  color: var(--citrus-int);
}
.member-contact .contact-icon {
  font-size: 13px;
  opacity: 0.7;
}

/* Right column: flip business card */
.member-bizcard-wrap {
  flex-shrink: 0;
  width: 160px;
  perspective: 800px;
  cursor: pointer;
}

.member-bizcard {
  width: 100%;
  aspect-ratio: 9 / 14; /* portrait card */
  min-height: 250px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
}

/* subtle idle tilt so the card looks 3-D even before hover */
.member-bizcard-wrap:not(:hover) .member-bizcard {
  transform: rotateY(-8deg) rotateX(3deg);
}
.member-bizcard-wrap:hover .member-bizcard {
  transform: rotateY(180deg) rotateX(0deg);
}

/* shared face styles */
.bizcard-front,
.bizcard-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 8px;
  overflow: hidden;
}

/* FRONT */
.bizcard-front {
  background: linear-gradient(145deg, var(--mid-blue), var(--dark-night));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    4px 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.bizcard-front::before {
  /* decorative corner circle */
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(
    circle,
    rgba(107, 169, 222, 0.4),
    transparent 70%
  );
  border-radius: 50%;
}
.bizcard-logo {
  width: 80%;
  opacity: 0.95;
}
.bizcard-logo svg {
  width: 100%;
  height: auto;
}

.bizcard-stripe {
  width: 40px;
  height: 2px;
  background: var(--citrus-int);
  border-radius: 2px;
  margin: 4px 0;
}
.bizcard-role {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* BACK */
.bizcard-back {
  background: linear-gradient(145deg, var(--dark-night), #162444);
  border: 1px solid rgba(83, 117, 178, 0.3);
  transform: rotateY(180deg);
  box-shadow:
    -4px 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  gap: 10px;
}
.bizcard-back-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}
.bizcard-back-mail,
.bizcard-back-tel {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.5;
}
.bizcard-back-accent {
  width: 30px;
  height: 2px;
  background: var(--citrus-int);
  border-radius: 2px;
}

/* ───────────── FOOTER ───────────── */
footer {
  background: #060d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Główna siatka footera ── */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 60px 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* ── Kolumna 1: brand ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo svg {
  height: 44px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-logo:hover svg {
  opacity: 1;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 240px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item:hover {
  color: var(--citrus-int);
}
.footer-contact-icon {
  font-size: 13px;
  color: var(--light-blue);
  opacity: 0.7;
  flex-shrink: 0;
}

/* ── Kolumny środkowe: linki ── */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--citrus-int);
  margin-bottom: 4px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
  display: inline-block;
  position: relative;
}
.footer-links a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  width: 6px;
  height: 1.5px;
  background: var(--citrus-int);
  transition: transform 0.22s ease;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 12px;
}
.footer-links a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

/* ── Kolumna CTA ── */
.footer-col--cta {
  gap: 18px;
}

.footer-cta-text {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: -4px 0 0;
}

.footer-btn {
  font-size: 13.5px;
  padding: 13px 24px;
  width: fit-content;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  margin-top: -4px;
}
.footer-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--calm-green);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(188, 211, 176, 0.6);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

/* ── Pasek dolny ── */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 60px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.22);
}

.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.55);
}

/* ───────────── FAQ ───────────── */
.faq {
  background: #f7f9fc;
}
.faq-header {
  margin-bottom: 50px;
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(83, 117, 178, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover {
  box-shadow: 0 12px 32px rgba(56, 87, 143, 0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}
.faq-question span {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-night);
  line-height: 1.4;
}
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--mid-blue);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
}
.faq-answer p {
  padding: 0 32px 28px;
  font-size: 15px;
  font-weight: 300;
  color: #6a7280;
  line-height: 1.7;
}

/* ───────────── MOBILE NAV DRAWER ───────────── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(12, 26, 51, 0.97);
  backdrop-filter: blur(18px);
  padding: 24px 40px 36px;
  z-index: 99;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--citrus-int);
}
.mobile-menu .btn-primary {
  margin-top: 20px;
  text-align: center;
  justify-content: center;
}

/* ───────────── SCROLL REVEAL ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 960px) {
  nav {
    padding: 0 32px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  section {
    padding: 80px 32px;
  }
  .hero {
    padding: calc(var(--nav-h) + 32px) 32px 70px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual {
    justify-content: center;
  }
  .hero-img {
    width: 100%;
    max-width: 480px;
  }
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .team {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 0;
  }
  /* customers */
  .customers .section-inner {
    padding: 0 32px;
  }
  .cust-card {
    width: 248px;
  }
  /* footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 32px 44px;
  }
  .footer-bottom {
    padding: 18px 32px 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-col--cta {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .logo-wrapper svg {
    width: 200%;
  }
  .logo-wrapper {
    opacity: 0.12; /* Jeszcze większa widoczność na mobile */
  }
  nav {
    padding: 0 20px;
  }
  section {
    padding: 64px 20px;
  }
  .hero {
    padding: calc(var(--nav-h) + 24px) 20px 60px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .btn-ghost {
    margin-left: 0;
    margin-top: 12px;
  }
  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  footer {
    padding: 0;
  }
  /* collapse biz-card below bio on very small screens */
  .member-card {
    flex-direction: column;
  }
  .member-bizcard-wrap {
    width: 140px;
    align-self: flex-start;
  }
  /* customers — statyczne na mobile, przewijalne ręcznie */
  .customers .section-inner {
    padding: 0 20px;
    margin-bottom: 36px;
  }
  .ticker-wrap {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
    margin-bottom: 20px;
    padding-top: 44px;
  }
  .ticker-wrap::-webkit-scrollbar {
    display: none;
  }
  .ticker--fwd,
  .ticker--rev {
    animation: none;
    transform: none !important;
  }
  .cust-card {
    width: 240px;
  }
  /* footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 20px 36px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-col--cta {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px 28px;
  }
}
