:root {
  --navy: #0f172a;
  --red: #c1121f;
  --gold: #d6a84f;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #f6f7fb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

/* RESET I PODSTAWY */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* NAGŁÓWEK */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: auto;
}

.logo img.header-logo-img {
  width: 68px !important;
  height: 68px !important;
  max-width: 68px !important;
  max-height: 68px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 68px;
}

.logo-text {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.main-nav a {
  opacity: 0.82;
}

.main-nav a:hover,
.main-nav a.active-page {
  opacity: 1;
  color: var(--red);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  font-size: 13px;
  font-weight: 800;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--navy);
  background: var(--white);
  transition: 0.2s ease;
}

.language-switch a:hover,
.language-switch a.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  padding: 96px 0 110px;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.94) 34%, rgba(248, 250, 252, 0.42) 61%, rgba(248, 250, 252, 0.08) 100%),
    url("../img/hero-polska-chiny.png") center right / cover no-repeat;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.hero-lead {
  max-width: 700px;
  margin: 26px 0 0;
  font-size: 20px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 26px;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero-card li:last-child {
  border-bottom: 0;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

/* PRZYCISKI */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(193, 18, 31, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(193, 18, 31, 0.28);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 38%;
  height: 180%;
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(-120%) skewX(-18deg);
  animation: buttonShine 4.8s ease-in-out infinite;
}

.btn-primary:hover::after {
  animation-duration: 1.8s;
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.info-card .btn {
  margin-top: 16px;
}

/* SEKCJE OGÓLNE */

.section {
  padding: 86px 0;
}

.section-light {
  background: var(--light);
}

.two-columns,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.section p {
  font-size: 17px;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

/* KARTY */

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

.info-card,
.news-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.info-card span {
  color: var(--red);
  font-weight: 900;
}

.info-card h3,
.news-card h3 {
  margin: 12px 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.news-card .date {
  margin: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.news-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
}

.info-card,
.news-card,
.contact-card,
.hero-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.info-card:hover,
.news-card:hover,
.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.11);
  border-color: rgba(193, 18, 31, 0.22);
}

/* BLOK POLSKA - CHINY */

.cooperation-strip {
  padding: 0 0 72px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.cooperation-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: 38px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(214, 168, 79, 0.22), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #2b1015 100%);
  background-size: 180% 180%;
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  position: relative;
  animation: fadeUpSoft 0.75s ease both, softGradientMove 14s ease-in-out infinite;
}

.cooperation-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(193, 18, 31, 0.35);
  animation: floatOrbOne 9s ease-in-out infinite;
}

.cooperation-card::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(214, 168, 79, 0.18);
  animation: floatOrbTwo 11s ease-in-out infinite;
}

.cooperation-main,
.cooperation-points {
  position: relative;
  z-index: 1;
}

.cooperation-main .section-label {
  color: #f3c766;
}

.cooperation-main h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cooperation-main p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  margin: 0;
}

.cooperation-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cooperation-points div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cooperation-points div:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.26);
}

.cooperation-points span {
  display: block;
  color: #f3c766;
  font-weight: 900;
  margin-bottom: 12px;
}

.cooperation-points strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 8px;
}

.cooperation-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

/* CZŁONKOSTWO */

.membership-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 46px;
  background: var(--navy);
  border-radius: 32px;
  color: var(--white);
}

.membership-box h2,
.membership-box p {
  color: var(--white);
}

.membership-box p {
  opacity: 0.82;
}

/* KONTAKT */

.contact-section {
  background: linear-gradient(135deg, var(--navy), #1e293b);
}

.contact-section h2,
.contact-section p,
.contact-section .section-label {
  color: var(--white);
}

.contact-section p {
  opacity: 0.86;
}

.contact-card {
  background: var(--white);
}

.contact-card p,
.contact-card a {
  color: var(--text);
}

.contact-card a {
  color: var(--red);
  font-weight: 800;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.contact-info-box h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 23px;
}

.contact-info-box p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 17px;
}

.contact-info-box a {
  color: var(--red);
  font-weight: 800;
}

/* MAPA */

.map-section {
  padding: 0 0 86px;
  background: var(--white);
}

.map-box {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  background: var(--white);
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.map-caption {
  padding: 18px 22px;
  color: var(--muted);
  font-size: 15px;
  background: #fff;
}

.map-caption a {
  color: var(--red);
  font-weight: 800;
}

/* PODSTRONY */

.page-hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(circle at top right, rgba(193, 18, 31, 0.12), transparent 34%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 60%, #f7f1e8 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 860px;
}

.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -1.4px;
}

.page-hero p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  max-width: 760px;
}

.content-section {
  padding: 82px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: start;
}

.content-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.content-box h2,
.content-text h2 {
  margin-bottom: 22px;
}

.content-text p {
  margin: 0 0 20px;
  font-size: 17px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-item {
  padding: 22px;
  border-radius: 20px;
  background: var(--light);
  border: 1px solid var(--border);
}

.feature-item h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

/* CTA */

.simple-cta {
  padding: 58px 0 86px;
}

.simple-cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 32px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.simple-cta-box h2,
.simple-cta-box p {
  color: var(--white);
}

.simple-cta-box p {
  opacity: 0.84;
}

/* STOPKA */

.site-footer {
  padding: 0;
  background: #070b16;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main {
  padding: 54px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 44px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand h3,
.footer-links h3,
.footer-contact h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.footer-brand p,
.footer-contact p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-languages {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-languages a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.footer-languages a:hover {
  background: #ffffff;
  color: #070b16;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-bottom-inner p {
  margin: 0;
}

/* ANIMACJE */

@keyframes fadeUpSoft {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrbOne {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-18px, 22px) scale(1.06);
  }
}

@keyframes floatOrbTwo {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(22px, -18px) scale(1.08);
  }
}

@keyframes softGradientMove {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes buttonShine {
  0% {
    transform: translateX(-120%) skewX(-18deg);
  }

  45%,
  100% {
    transform: translateX(220%) skewX(-18deg);
  }
}

.hero-content,
.hero-card,
.cooperation-card,
.info-card,
.membership-box,
.news-card,
.contact-grid {
  animation: fadeUpSoft 0.75s ease both;
}

.hero-card {
  animation-delay: 0.12s;
}

.cooperation-card {
  animation-delay: 0.18s;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    padding: 68px 0;
  }

  .hero-grid,
  .two-columns,
  .membership-box,
  .contact-grid,
  .content-grid,
  .simple-cta-box,
  .cooperation-card {
    grid-template-columns: 1fr;
  }

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

  .cooperation-points {
    grid-template-columns: 1fr;
  }

  .membership-box {
    padding: 32px;
  }

  .page-hero {
    padding: 64px 0 48px;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .logo-text {
    display: none;
  }

  .logo img.header-logo-img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  flex: 0 0 52px;
}

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .cooperation-strip {
    margin-top: 0;
    padding: 42px 0;
  }

  .cooperation-card {
    padding: 28px;
    border-radius: 26px;
  }

  .map-box iframe {
    height: 320px;
  }
}

/* OGRANICZENIE ANIMACJI */

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-card,
  .cooperation-card,
  .info-card,
  .membership-box,
  .news-card,
  .contact-grid,
  .cooperation-card::before,
  .cooperation-card::after,
  .btn-primary::after {
    animation: none !important;
  }

  .info-card,
  .news-card,
  .hero-card,
  .cooperation-points div {
    transition: none !important;
  }
}
.hero {
  position: relative;
  padding: 82px 0;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.92) 36%, rgba(248, 250, 252, 0.35) 68%, rgba(248, 250, 252, 0.15) 100%),
    url("../img/hero-polska-chiny.png") center right / cover no-repeat;
  overflow: hidden;
}