* {
  box-sizing: border-box;
}

:root {
  --bg: #070a0f;
  --panel: #111827;
  --text: #f8fafc;
  --muted: #b9c3d1;
  --orange: #ff7a18;
  --gold: #ffbd35;
  --border: rgba(255, 255, 255, .11);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 122, 24, .20), transparent 30%),
    radial-gradient(circle at 88% 15%, rgba(255, 196, 0, .12), transparent 28%),
    linear-gradient(135deg, #070a0f 0%, #0f1724 48%, #080b10 100%);
  min-height: 100vh;
}

.page-bg-logo {
  position: fixed;
  inset: 0;
  background: url('/assets/osp-folwarki.png') center 55% / 650px auto no-repeat;
  opacity: .04;
  pointer-events: none;
}

/* LAYOUT */

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 12, 18, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: transform .3s ease, opacity .3s ease;
}

.site-header.topbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* NAV */

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: #edf2f7;
  text-decoration: none;
  font-weight: 800;
  padding: 11px 13px;
  border-radius: 13px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, .07);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #111 !important;
}

/* HERO */

.hero {
  padding: 74px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 122, 24, .14);
  color: #ffc46b;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 122, 24, .25);
}

h1 {
  font-size: clamp(40px, 6vw, 74px);
  line-height: .98;
  margin: 18px 0;
  letter-spacing: -2px;
}

.hero-copy p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 730px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 19px;
  border-radius: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 1000;
  border: 1px solid var(--border);
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #111;
  border: 0;
}

.btn.ghost {
  background: rgba(255, 255, 255, .06);
}

/* HERO CARD */

.hero-card {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .27);
  text-align: center;
}

.hero-card img {
  width: 190px;
  max-width: 70%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .42));
}

.hero-card h2 {
  font-size: 25px;
  margin: 22px 0 10px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.55;
}

/* SECTIONS */

.section {
  padding: 54px 0;
}

.section.muted {
  background: rgba(255, 255, 255, .03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.section-title.left {
  text-align: left;
  margin: 0;
}

.section-title span {
  color: #ffc46b;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 36px;
  margin: 7px 0 0;
}

/* CARDS */

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

.info-card,
.news-card,
.contact-box {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .17);
}

.info-card h3,
.news-card h3 {
  margin: 0 0 9px;
  font-size: 22px;
}

.info-card p,
.news-card p,
.contact-box p {
  color: var(--muted);
  line-height: 1.6;
}

/* NEWS */

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.date {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 24, .14);
  color: #ffc46b;
  font-weight: 1000;
  font-size: 12px;
}

.news-card a {
  color: #ffc46b;
  font-weight: 1000;
  text-decoration: none;
}

/* CONTACT */

.contact-box {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 20px;
  align-items: center;
}

.contact-data {
  background: rgba(0, 0, 0, .18);
  border-radius: 18px;
  padding: 18px;
}

.contact-data p {
  margin: 8px 0;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, .18);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  color: var(--muted);
}

.footer-inner a {
  color: #ffc46b;
  text-decoration: none;
  font-weight: 1000;
}

/* MOBILE */

@media (max-width: 900px) {
  .header-inner,
  .contact-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .cards,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }
}
/* =========================
   LICZNIK WYJAZDÓW / CMS
========================= */

.stats-section {
  padding-top: 20px;
}

.calls-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 189, 53, .16), rgba(255, 122, 24, .07));
  border: 1px solid rgba(255, 189, 53, .22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.calls-box h2 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
}

.calls-box p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.calls-number {
  min-width: 230px;
  padding: 24px;
  border-radius: 24px;
  text-align: center;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .1);
}

.calls-number strong {
  display: block;
  font-size: clamp(58px, 9vw, 104px);
  line-height: .9;
  color: #ffbd35;
  text-shadow: 0 12px 34px rgba(255, 122, 24, .22);
}

.calls-number span {
  display: block;
  margin-top: 10px;
  color: #f8fafc;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
}

.news-card-with-image {
  overflow: hidden;
}

.news-image {
  display: block;
  width: calc(100% + 48px);
  height: 220px;
  margin: -24px -24px 18px;
  object-fit: cover;
  background: rgba(0, 0, 0, .24);
  border-bottom: 1px solid var(--border);
}

.empty-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--border);
  text-align: center;
}

.empty-box h3 {
  margin: 0 0 8px;
}

.empty-box p {
  margin: 0;
  color: var(--muted);
}

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

  .calls-number {
    min-width: 0;
    width: 100%;
  }
}
