/* =====================================================
   RESET STYLÓW GLOBALNYCH
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* płynny scroll */
}

body {
  font-family: 'Lora', serif;
  background: radial-gradient(circle at top,
      #1e293b 0,
      #020617 55%,
      #000000 100%);
  color: #ffffff;
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
  color-scheme: dark;
}

.section-divider2 {
  width: 60px;
  height: 3px;
  background: #000000;
  margin: -20px auto 50px auto;
  border-radius: 2px;
  opacity: 0.15;
}

/* ===============================
   TYPOGRAFIA
   =============================== */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  text-wrap: balance;
}

p,
li {
  font-family: 'Lora', serif;
  text-wrap: pretty;
}

/* ===============================
   ANIMACJE / EFEKTY
   =============================== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal – bazowy efekt dla wszystkich sekcji */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.is-visible[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* Karty – wolniejsza i bardziej dramatyczna animacja */
.service-item[data-reveal],
.service-card[data-reveal],
.testimonial-card[data-reveal],
.onas-person[data-reveal] {
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Staggered delay – karty wchodzą jedna po drugiej */
.service-item:nth-child(1)[data-reveal],
.service-card:nth-child(1)[data-reveal],
.testimonial-card:nth-child(1)[data-reveal] {
  transition-delay: 0ms;
}

.service-item:nth-child(2)[data-reveal],
.service-card:nth-child(2)[data-reveal],
.testimonial-card:nth-child(2)[data-reveal] {
  transition-delay: 100ms;
}

.service-item:nth-child(3)[data-reveal],
.service-card:nth-child(3)[data-reveal],
.testimonial-card:nth-child(3)[data-reveal] {
  transition-delay: 200ms;
}

.service-item:nth-child(4)[data-reveal],
.service-card:nth-child(4)[data-reveal] {
  transition-delay: 300ms;
}

.service-item:nth-child(5)[data-reveal],
.service-card:nth-child(5)[data-reveal] {
  transition-delay: 400ms;
}

/* ================================================
   MOBILE: wyłącz animacje kart (wyglądają jak
   opóźnione ładowanie strony zamiast efektu)
   ================================================ */
@media (max-width: 768px) {

  .service-item[data-reveal],
  .service-card[data-reveal],
  .testimonial-card[data-reveal],
  .onas-person[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }

  /* Upewnij się że nth-child delays też są wyzerowane */
  .service-item:nth-child(n)[data-reveal],
  .service-card:nth-child(n)[data-reveal],
  .testimonial-card:nth-child(n)[data-reveal] {
    transition-delay: 0ms;
  }
}

/* =====================================================
   GLOBALNE KONTAINERY
   ===================================================== */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  /* navbar zawsze u góry */
  top: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 42px;
  /* możesz zmienić 40–50px */
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Opcjonalnie – delikatny efekt hover */
.logo img:hover {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding-bottom: 4px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #a855f7, #f97316);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #cbd5e1;
  transform: scale(1.02);
}

.nav-links a:hover::after {
  width: 100%;
}

/* =====================================================
   HERO SECTION Z VIDEO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  /* cały ekran */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 20px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15,
      23,
      42,
      0.8);
  /* mocniejsza nakładka, filmik mniej widoczny */
  z-index: 1;
}

/* Treść hero nad wideo */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 2vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.2;
  color: #ffffff;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background-color: #ffffff55;
  /* delikatny biały pasek */
  margin: 20px auto;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.hero-content p {
  font-family: 'Lora', serif;
  font-size: clamp(12px, 1vw, 22px);
  margin-bottom: 30px;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background-color: white;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0));
  transform: skewX(-20deg) translateX(0);
  transition: transform 0.5s ease;
}

.btn-primary:hover {
  background-color: #e2e8f0;
  transform: translateY(-3px) scale(1.03);
}

.btn-primary:hover::after {
  transform: skewX(-20deg) translateX(260%);
}

/* =====================================================
   SEKCJE OGÓLNE
   ===================================================== */
.section {
  padding: 100px 0;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 6vw, 54px);
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
  text-wrap: balance;
}

/* =====================================================
   SEKCJE INDYWIDUALNE
   O NAS / USŁUGI / FINANSOWE / KONTAKT
   ===================================================== */

/* =====================================================
   O NAS
   ===================================================== */
#onas {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  scroll-margin-top: 90px;
}

.onas-intro {
  /* max-width: 720px; */
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  color: #1e293b;
}

.onas-team {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.onas-person {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px;
  border-radius: 16px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: #f3f9ff;
}

.onas-person--reverse {
  grid-template-columns: 1fr 1.6fr;
}

.onas-person-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin-bottom: 12px;
  color: #0f172a;
}

.onas-person-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
}

.onas-person-photo {
  display: flex;
  justify-content: center;
}

.onas-avatar,
.onas-photo-img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent 65%),
    #0f172a;
  border: 4px solid rgba(148, 163, 184, 0.85);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.45);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}



/* =====================================================
   WSPÓLNY STYL KAFELKÓW – USŁUGI + FINANSOWE
   ===================================================== */
.services-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Wspólna baza kart */
.service-item,
.service-card {
  background: radial-gradient(circle at top,
      #f9fafb 0,
      #e5e7eb 55%,
      #cbd5e1 100%);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}



/* Nagłówki */
.service-item h3,
.service-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  margin-bottom: 15px;
  color: #0f172a;
}

/* Teksty */
.service-item p,
.service-item ul,
.service-card p,
.service-card ul {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
}

.service-item ul,
.service-card ul {
  margin-top: 10px;
  list-style: disc inside;
}

/* =====================================================
   SEKCJA USŁUGI
   ===================================================== */
#uslugi {
  background:
    radial-gradient(circle at top left,
      rgba(145, 222, 255, 0.24),
      transparent 55%),
    radial-gradient(circle at bottom right,
      rgba(59, 130, 246, 0.22),
      transparent 55%),
    linear-gradient(145deg,
      #020617 0%,
      #020617 18%,
      #020617 30%,
      #020617 40%,
      #020617 50%,
      #020617 60%,
      #020617 70%,
      #0b1120 82%,
      #020617 100%);
  scroll-margin-top: 90px;
}

/* =====================================================
   MISJA
   ===================================================== */

#misja {
  background:
    radial-gradient(circle at top left,
      rgba(145, 222, 255, 0.24),
      transparent 55%),
    radial-gradient(circle at bottom right,
      rgba(59, 130, 246, 0.22),
      transparent 55%),
    linear-gradient(145deg,
      #020617 0%,
      #020617 18%,
      #020617 30%,
      #020617 40%,
      #020617 50%,
      #020617 60%,
      #020617 70%,
      #0b1120 82%,
      #020617 100%);
  color: rgba(255, 255, 255, 0.95);
  position: relative;
}

.section-divider {
  width: 70px;
  height: 3px;
  background: #d5d7db;
  margin: -20px auto 50px auto;
  border-radius: 2px;
  opacity: 0.15;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.mission-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #cbd5e1;
  margin-bottom: 22px;
}

/* FLAGA */

.mission-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.mission-flag {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  transition: transform 0.4s ease;
  filter: grayscale(20%) contrast(105%);
}

.mission-flag:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Subtelna poświata */
.mission-visual::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.08), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-flag {
    max-width: 100%;
  }
}

/* =====================================================
   SEKCJA FINANSOWE
   ===================================================== */
#finansowe {
  background-color: white;
  color: #0f172a;
  scroll-margin-top: 90px;
}

/* Tekst wprowadzający */
#finansowe .container>p {
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
}

/* =====================================================
   FORMULARZ KONTAKTOWY
   ===================================================== */
#kontakt {
  background:
    radial-gradient(circle at top left,
      rgba(145, 222, 255, 0.24),
      transparent 55%),
    radial-gradient(circle at bottom right,
      rgba(59, 130, 246, 0.22),
      transparent 55%),
    linear-gradient(145deg,
      #020617 0%,
      #020617 18%,
      #020617 30%,
      #020617 40%,
      #020617 50%,
      #020617 60%,
      #020617 70%,
      #0b1120 82%,
      #020617 100%);
  scroll-margin-top: 90px;
}

.contact-form {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: #38bdf8;
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.4),
    0 18px 45px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.95);
}

.kontakt-dane {
  margin-top: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
  text-align: center;
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.kontakt-dane>h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.kontakt-dane a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kontakt-dane a:hover {
  color: #C9A84C;
}

/* =====================================================
   SIATKA BIUR
   ===================================================== */
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.office-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.office-card:hover {
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.office-flag {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: -4px;
}

.office-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: #C9A84C;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Kontakt list inside office card */
.office-card .contact-list {
  align-items: flex-start;
}

.office-card .contact-list li {
  font-size: 14px;
  color: #94a3b8;
}

.contact-person {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  font-style: italic;
}

/* =====================================================
   MAPKA GOOGLE
   ===================================================== */
.office-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-top: 4px;
  flex-shrink: 0;
}

.office-map iframe {
  display: block;
  filter: invert(90%) hue-rotate(180deg) brightness(0.85) saturate(0.6);
  transition: filter 0.3s ease;
}

.office-map:hover iframe {
  filter: invert(88%) hue-rotate(180deg) brightness(0.92) saturate(0.75);
}

/* NIP / REGON pod biurami */
.kontakt-nip {
  font-size: 13px;
  color: #475569;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Responsive: jedna kolumna na mobile */
@media (max-width: 720px) {
  .offices-grid {
    grid-template-columns: 1fr;
  }

  .office-card {
    text-align: left;
  }
}

/* =====================================================
   RESPONSYWNOŚĆ STRONY
   ===================================================== */

/* ----- TABLET / DESKTOP 1024px ----- */
@media (max-width: 1024px) {

  /* GRID USŁUG */
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  #uslugi .services-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  #uslugi .service-item {
    max-width: 100%;
  }

  /* HERO */
  .hero-content h1 {
    font-size: clamp(32px, 7vw, 56px);
  }

  .hero-content p {
    font-size: clamp(15px, 3vw, 20px);
  }

  .btn-primary {
    padding: 14px 32px;
    font-size: 15px;
  }
}

/* ----- MOBILE / TABLET 768px ----- */
@media (max-width: 768px) {

  /* NAVBAR */
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* SEKCJE OGÓLNE */
  .section {
    padding: 70px 20px;
  }

  /* HERO */
  .hero {
    padding: 0 15px;
    min-height: 100svh;
    /* dynamiczne dopasowanie do viewportu */
  }

  .hero-content h1 {
    font-size: clamp(28px, 8vw, 48px);
  }

  .hero-content p {
    font-size: clamp(14px, 4vw, 18px);
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 14px;
  }

  /* GRID USŁUG / KAFELKI */
  .service-card {
    padding: 25px;
  }

  /* USŁUGI – pełna szerokość kart */
  #uslugi .services-grid {
    grid-template-columns: 1fr;
  }

  #uslugi .service-item {
    padding: 24px 20px 26px;
  }

  /* O NAS – bio w jednej kolumnie */
  .onas-person,
  .onas-person--reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .onas-person {
    gap: 24px;
  }

  .onas-avatar,
  .onas-photo-img {
    width: 170px;
    height: 170px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-text {
    text-align: center;
  }

  .mission-flag {
    max-width: 100%;
  }
}

/* ----- MOBILE SMALL / 480px ----- */
@media (max-width: 480px) {

  /* NAVBAR */
  .nav-links {
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
  }

  /* HERO */
  .hero-content h1 {
    font-size: clamp(24px, 10vw, 36px);
  }

  .hero-content p {
    font-size: clamp(13px, 4.5vw, 16px);
  }

  .btn-primary {
    padding: 10px 24px;
    font-size: 13px;
  }

  /* SEKCJE */
  .section {
    padding: 60px 15px;
  }
}


/* =====================================================
   NAVBAR – CTA BUTTON + SCROLLED STATE
   ===================================================== */
.btn-nav-cta {
  display: inline-block;
  padding: 9px 22px;
  background: linear-gradient(135deg, #C9A84C, #e6c76b);
  color: #0f172a;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.45);
  background: linear-gradient(135deg, #e6c76b, #C9A84C);
}

.navbar.scrolled {
  background-color: rgba(10, 15, 30, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
}

/* =====================================================
   HAMBURGER MENU
   ===================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   SEKCJA STATYSTYKI
   ===================================================== */
.stats-section {
  background: linear-gradient(135deg, #0f1c2e 0%, #1a2a44 100%);
  padding: 60px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

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

.stat-item {
  padding: 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(201, 168, 76, 0.25);
}

.stat-number {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  color: #C9A84C;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #C9A84C;
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  font-size: 14px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Lora', serif;
}

/* =====================================================
   SEKCJA "JAK DZIAŁAMY"
   ===================================================== */
.process-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #0f172a;
}

.process-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.process-step {
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C, #e6c76b);
  color: #0f172a;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.5);
}

.step-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.8;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #C9A84C, transparent);
  margin-top: 32px;
  flex-shrink: 0;
  opacity: 0.5;
}

/* =====================================================
   TESTIMONIAŁY
   ===================================================== */
.testimonials-section {
  background:
    radial-gradient(circle at top left, rgba(145, 222, 255, 0.2), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 55%),
    linear-gradient(145deg, #020617 0%, #0b1120 100%);
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: #C9A84C;
  line-height: 0.6;
  margin-bottom: 16px;
  opacity: 0.7;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C, #e6c76b);
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* =====================================================
   KONTAKT – LAYOUT DWUKOLUMNOWY + LISTA DANYCH
   ===================================================== */
.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-error {
  font-size: 12px;
  color: #f87171;
  min-height: 16px;
  padding-left: 4px;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: rgba(248, 113, 113, 0.6);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.3), 0 10px 25px rgba(15, 23, 42, 0.6);
}

.form-success {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  display: none;
  text-align: center;
}

.form-success.show-success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.form-success.show-error {
  display: block;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}



.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
}

.contact-list li svg {
  color: #C9A84C;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-list a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #C9A84C;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #05080f;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.8;
  max-width: 280px;
}

.footer-links h4 {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  color: #C9A84C;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a,
.footer-links ul li {
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: #C9A84C;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #475569;
}

.footer-legal a {
  color: #475569;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #C9A84C;
}

/* =====================================================
   FLOATING CALL BUTTON (mobile only)
   ===================================================== */
.floating-call-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: linear-gradient(135deg, #C9A84C, #e6c76b);
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.5);
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: 'Lora', serif;
}

.floating-call-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.65);
}

/* =====================================================
   SCROLL TO TOP BUTTON
   ===================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 90px;
  right: 26px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 28, 46, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: #C9A84C;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.8);
  transform: translateY(-3px);
}

.footer-author {
  color: inherit;
  /* dziedziczy kolor z rodzica */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-author:hover {
  color: #555;
  /* ustaw jaśniejszy od bazowego */
}


/* =====================================================
   RESPONSYWNOŚĆ – NOWE SEKCJE
   ===================================================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {

  /* Hamburger widoczny – po prawej stronie */
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .btn-nav-cta {
    display: none;
  }

  /* Nav mobile overlay */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100dvh;
    width: min(300px, 80vw);
    background: rgba(8, 14, 28, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 18px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(201, 168, 76, 0.15);
    z-index: 1050;
  }

  .nav-links.is-open {
    right: 0;
  }

  /* Floating call button visible on mobile */
  .floating-call-btn {
    display: flex;
  }

  .scroll-top-btn {
    bottom: 88px;
    right: 24px;
  }

  /* Process steps vertical */
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .process-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, #C9A84C, transparent);
    margin: 0;
  }

  .process-step {
    max-width: 400px;
    width: 100%;
  }

  /* Testimonials 1 kolumna */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Kontakt full width */
  .contact-layout {
    gap: 40px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .footer-links ul {
    align-items: center;
  }
}

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

  .stat-item:not(:last-child)::after {
    display: none;
  }
}