/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:     #1a4fad;
  --blue-l:   #4d8ef0;
  --blue-d:   #0d2a60;
  --navy:     #0d1b3e;
  --yellow:   #f0a500;
  --yellow-l: #ffbf33;
  --bg-dark:  #0b1530;
  --bg-dark2: #0f1e40;
  --bg-light: #f0f4ff;
  --bg-white: #ffffff;
  --text-d:   #0b1530;
  --text-l:   #e8edf8;
  --muted-d:  #5a6080;
  --muted-l:  #8a9dc5;
  --card-bg:  rgba(255,255,255,0.05);
  --card-bd:  rgba(255,255,255,0.1);
  --shadow:   0 4px 24px rgba(10,20,80,0.08);
  --radius:   6px;
  --radius-sm:4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-light);
  color: var(--text-d);
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-l); }
strong { font-weight: 700; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11,21,48,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link { display: flex; align-items: center; }
.logo {
  height: 46px;
  width: auto;
  border-radius: 4px;
  filter: brightness(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--yellow-l);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.85);
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.07); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,25,60,0.75) 0%,
    rgba(20,50,120,0.4) 50%,
    rgba(5,15,40,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.4);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px rgba(0,0,30,0.6);
  max-width: 780px;
}
.hero h1 .accent { color: var(--yellow); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.2rem;
  max-width: 520px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--blue);
  border-radius: 4px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(26,79,173,0.4);
}
.btn-primary:hover {
  background: var(--blue-l);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,79,173,0.55);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
  transition: border-color 0.2s, color 0.2s;
}
.hero-scroll svg { width: 20px; height: 20px; }
.hero-scroll:hover { border-color: var(--yellow); color: var(--yellow); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTIONS BASE ===== */
.section { padding: 5rem 0; }
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--bg-dark2); }
.section--contact { background: var(--blue-d); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: rgba(26,79,173,0.12);
  border: 1px solid rgba(26,79,173,0.25);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-d);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.section-title.light { color: #fff; }

.section-desc {
  font-size: 1.05rem;
  color: var(--muted-d);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
.section-desc.light { color: rgba(255,255,255,0.65); }

/* ===== SERVICES/PRODUCTS GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,79,173,0.07);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-l));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(10,20,60,0.16);
  border-color: rgba(26,79,173,0.2);
}
.service-card:hover::before { opacity: 1; }

.service-card--highlight {
  border-color: rgba(240,165,0,0.3);
  background: linear-gradient(135deg, #fffcf5 0%, #fff 60%);
}
.service-card--highlight::before {
  background: linear-gradient(90deg, var(--yellow), var(--yellow-l));
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-d);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted-d);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.service-dl {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-l);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.service-card:hover .service-dl { color: var(--blue); }

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text { color: var(--text-d); } /* Zmieniono na ciemny kolor tekstu! */
.about-text p {
  font-size: 1rem;
  color: var(--muted-d);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-text p strong { color: var(--blue); }
.about-text .section-tag {
  background: rgba(240,165,0,0.12);
  border-color: rgba(240,165,0,0.25);
  color: var(--yellow);
}

.about-features {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.about-feat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-d);
}
.about-feat svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== VIDEO GRID ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Click-to-play thumbnail cards */
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(60, 180, 240, 0.15);
  cursor: pointer;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.15) saturate(1.1);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.video-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.95) contrast(1.2) saturate(1.2);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.video-card:hover .video-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  background: rgba(60, 180, 240, 0.85);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.video-card:hover .video-play-btn {
  transform: scale(1.15);
  background: rgba(60, 180, 240, 0.95);
  box-shadow: 0 6px 30px rgba(60, 180, 240, 0.6);
}

.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 1.5rem 1rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  z-index: 5;
}

/* Legacy classes for old video-thumb structure */

.vthumb-img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vthumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) contrast(1.15) saturate(1.1);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.video-thumb:hover .vthumb-img img {
  transform: scale(1.08);
  filter: brightness(0.9) contrast(1.2) saturate(1.2);
}

/* Vignette overlay */
.vthumb-overlay {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}
.video-thumb:hover .vthumb-overlay {
  opacity: 0.5;
}

/* Play button */
.vthumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 5;
  width: 64px;
  height: 64px;
  background: rgba(26,79,173,0.85);
  border: 3px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.vthumb-play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px; /* optical center for play triangle */
}
.video-thumb:hover .vthumb-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(60,180,240,0.9);
  border-color: #fff;
  box-shadow: 0 6px 30px rgba(60,180,240,0.5);
}

/* YouTube badge */
.vthumb-yt-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  background: rgba(0,0,0,0.7);
  color: rgba(255,255,255,0.8);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  pointer-events: none;
}

/* Video title */
.vthumb-title {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  text-align: left;
  padding: 0 0.25rem;
}

/* Iframe container (injected on click) */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,79,173,0.1);
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ===== TESTIMONIALS MARQUEE ===== */
.testimonials {
  padding: 4rem 0;
  background: var(--bg-white);
  border-top: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
}
.testimonials-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-d);
}
.marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-wrapper:hover {
  animation-play-state: paused;
}
.testimonial-card {
  width: 320px;
  margin: 0 1rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border: 1px solid rgba(26,79,173,0.05);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  white-space: normal;
}
.testimonial-card p {
  font-size: 0.92rem;
  color: var(--muted-d);
  font-style: italic;
  line-height: 1.6;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: auto;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  transition: background 0.25s, transform 0.2s;
}
.contact-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-3px);
}
.contact-card--main {
  border-color: rgba(240,165,0,0.3);
  background: rgba(240,165,0,0.07);
}

.contact-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--yellow);
}
.contact-icon svg { width: 100%; height: 100%; }

.contact-card h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.7rem;
}
.contact-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}
.nip { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 0.5rem; }

.phone-link {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  text-align: left;
  transition: color 0.2s;
}
.phone-link:hover { color: var(--yellow); }

.email-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.8rem;
  transition: color 0.2s;
}
.email-link:hover { color: var(--yellow); }

.contact-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-d);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s, color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--blue);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item:hover summary { background: rgba(0,0,0,0.02); }
.faq-item[open] summary { border-bottom: 1px solid rgba(0,0,0,0.05); }
.faq-content {
  padding: 1.2rem 1.4rem;
  color: var(--muted-d);
  font-size: 0.85rem;
  line-height: 1.6;
  background: var(--bg-white);
}

/* ===== BUBBLE PARTICLES ===== */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.bubble {
  position: absolute;
  bottom: -20px;
  background: rgba(100, 180, 255, 0.3);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: float-bubble 10s infinite ease-in;
}
@keyframes float-bubble {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-100vh) scale(1.5); opacity: 0; }
}

/* REGION TAGS */
.regions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
}
.region-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}
.region-tag:hover {
  background: rgba(240,165,0,0.2);
  color: var(--yellow);
  border-color: rgba(240,165,0,0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.8rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.8;
  border-radius: 4px;
}
.footer p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-back {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-back:hover { color: var(--yellow); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(11,21,48,0.97); padding: 1rem; gap: 0.2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav.nav--open { display: flex; }
  .nav a { padding: 0.7rem 1rem; border-radius: 4px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 1.2rem; }
  .stat-num { font-size: 1.5rem; }

  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.5rem; }

  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-content { padding: 2rem 1rem 5rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 0.98rem; }
  .btn-primary, .btn-outline { padding: 0.8rem 1.6rem; font-size: 0.88rem; }
  .hero-stats { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }
}



/* ===== VIDEO CARDS ===== */
.video-card {
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.video-thumb-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
}

.video-thumb-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.04);
  opacity: 0.85;
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
  transition: background 0.2s ease;
}

.video-card:hover .video-thumb-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 60%);
}

.yt-play-btn {
  width: 68px;
  height: 48px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.video-card:hover .yt-play-btn {
  opacity: 1;
  transform: scale(1.1);
}

.yt-play-btn__bg {
  transition: fill-opacity 0.2s ease;
}

.video-card:hover .yt-play-btn__bg {
  fill: #ff0000;
  fill-opacity: 1;
}

.video-duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-family: sans-serif;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.video-card-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px 14px;
}

.video-card-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255,0.4);
}

.video-card-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aktywna karta z iframe */
.video-card.is-playing .video-thumb-wrap {
  padding-bottom: 56.25%;
}

.video-card.is-playing iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}