:root {
  color-scheme: light;
  --navy: #243b5a;
  --navy-light: #314d73;
  --red: #d53932;
  --bg: #f4f6f9;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --line: #dbe2ea;
  --shadow: 0 12px 30px rgba(23, 35, 55, 0.08);
  --radius: 18px;
}

/* Blokada wymuszanego dark mode */
html {
  scroll-behavior: smooth;
  background: var(--bg) !important;
  color: var(--text) !important;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg) !important;
  color: var(--text) !important;
}

body,
.topbar,
.main-nav,
.hero,
.section,
.section-alt,
.card,
.contact-card,
.form-card,
.legal-card,
.link-card,
.table-card,
.cta-box,
.footer,
.footer-bottom,
.stat,
.promo-box,
.promo-item,
.map-card,
.office-note,
.promo-strip,
.hero-features li,
.btn-secondary,
.gallery-preview img,
.brand-text,
.nav-link,
.price-table th,
.price-table td {
  forced-color-adjust: none;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }

  html,
  body {
    background: #f4f6f9 !important;
    color: #1f2937 !important;
  }

  .topbar,
  .hero,
  .section,
  .section-alt,
  .card,
  .contact-card,
  .form-card,
  .legal-card,
  .link-card,
  .table-card,
  .stat,
  .promo-box,
  .promo-item,
  .map-card,
  .office-note,
  .promo-strip,
  .hero-features li {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-color: #dbe2ea !important;
  }

  .main-nav {
    background: #243b5a !important;
  }

  .footer,
  .footer-bottom {
    background: #1e3049 !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .brand-text h1,
.brand-text .site-title,
.section-head h3,
.hero-copy h2,
.about-grid h3,
.cta-box h3,
.legal-card h3,
.legal-card h4,
.link-card h3,
.card h4,
.stat strong,
.hero-small h2,
.price-table th,
.promo-strip strong,
.promo-strip span,
.map-block h4 {
  color: #243b5a !important;
}

  .brand-text p,
  .section-head p,
  .hero-copy p,
  .contact-row p,
  .contact-row a,
  .legal-card p,
  .legal-card li,
  .link-card p,
  .card p,
  .stat span,
  .footer p,
  .hero-lead,
  .offer-list,
  .promo-note,
  .office-note p,
  .form-note,
  .price-table td,
  .map-block p {
    color: #64748b !important;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .btn-primary {
    background: #243b5a !important;
    color: #ffffff !important;
  }

  .btn-secondary {
    background: #ffffff !important;
    color: #243b5a !important;
    border-color: #dbe2ea !important;
  }

  .cta-box {
    background: linear-gradient(135deg, #243b5a 0%, #314d73 100%) !important;
  }

  .cta-box h3,
  .cta-box p,
  .cta-box .eyebrow {
    color: #ffffff !important;
  }

  .cta .btn-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
  }

  .topbar {
    background: rgba(255, 255, 255, 0.96) !important;
  }
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
}

.brand-text h1,
.brand-text .site-title {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 800;
}

.brand-text p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.top-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-item {
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(20, 35, 60, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.opinie {
  background: #d53932 !important;
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 700;
}

.nav-link.opinie:hover,
.nav-link.opinie.active {
  background: #b92e29 !important;
  color: #ffffff !important;
}

.hero {
  padding: 48px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  color: var(--navy);
  font-weight: 800;
}

.hero-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.hero-media img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 420px;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-features li {
  background: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-light);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.section {
  padding: 36px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.section-head {
  margin-bottom: 26px;
}

.section-head h3,
.about-grid h3,
.cta-box h3,
.hero-small h1,
.hero-small h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 10px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 226, 234, 0.7);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 18px;
}

.card h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.card-link {
  color: var(--red);
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.stats {
  display: grid;
  gap: 16px;
}

.stat {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 18px;
}

.stat span {
  color: var(--muted);
  line-height: 1.6;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-preview img {
  border-radius: 18px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.center-btn {
  text-align: center;
  margin-top: 24px;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: 26px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-box h3,
.cta-box p,
.cta-box .eyebrow {
  color: var(--white);
}

.cta-box p {
  margin: 0;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer {
  margin-top: 36px;
  background: #1e3049;
  color: rgba(255, 255, 255, 0.92);
}

.footer-grid {
  padding: 34px 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer h4 {
  margin: 0 0 10px;
  color: #fff;
}

.footer p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.hero-small {
  padding: 40px 0 10px;
}

.hero-small h1,
.hero-small h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--navy);
  font-weight: 800;
}

.hero-lead {
  max-width: 900px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.table-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 226, 234, 0.7);
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.price-table th,
.price-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.6;
}

.price-table th {
  background: #f8fafc;
  color: var(--navy);
  font-weight: 800;
}

.price-table tbody tr:hover {
  background: #fafcff;
}

.price-table .price {
  color: var(--red);
  font-weight: 800;
  white-space: nowrap;
}

.promo-strip {
  background: linear-gradient(135deg, #fff4f4 0%, #fff 100%);
  border: 1px solid #ffd8d6;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.promo-strip strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--red);
  margin-bottom: 6px;
}

.promo-strip span {
  color: var(--navy);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 800;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-width: 78px;
  min-height: 40px;
  padding: 0 14px;
  background: var(--navy);
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.offer-list {
  margin: 14px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.offer-list li {
  margin-bottom: 6px;
}

.promo-box {
  background: linear-gradient(135deg, #fff4f4 0%, #ffffff 100%);
  border: 1px solid #ffd8d6;
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.promo-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.promo-item {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.promo-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.promo-item span {
  color: var(--red);
  font-weight: 800;
}

.promo-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.map-block {
  margin-top: 30px;
}

.map-block h4 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 20px;
}

.map-block p {
  margin-bottom: 12px;
  color: var(--muted);
}

.map-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.opinie-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Tablet i średnie ekrany */
@media (max-width: 1024px) {
  .container {
    width: min(1180px, calc(100% - 20px));
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
    min-height: auto;
  }

  .brand {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand-text h1,
.brand-text .site-title {
  font-size: 24px;
  line-height: 1.1;
  margin: 0 0 4px;
}

  .brand-text p {
    font-size: 13px;
    line-height: 1.4;
  }

  .top-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
  }

  .contact-item {
    font-size: 13px;
  }

  .hero {
    padding: 24px 0 14px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    align-items: center;
  }

 .hero-copy h1,
.hero-copy h2 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.12;
  margin: 0 0 12px;
}

  .hero-copy p,
  .hero-lead {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .hero-media img {
    min-height: 0;
    max-height: 280px;
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero-features {
    gap: 10px;
  }

  .hero-features li {
    padding: 8px 12px;
    font-size: 12px;
  }

  .section {
    padding: 22px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h3,
  .about-grid h3,
  .cta-box h3,
  .hero-small h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 10px;
  }

  .cards,
  .cards-2,
  .cards-3,
  .gallery-preview,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .card,
  .stat,
  .contact-card,
  .form-card,
  .legal-card,
  .link-card,
  .table-card {
    padding: 18px;
    border-radius: 16px;
  }

  .card h4,
  .link-card h3,
  .legal-card h3 {
    font-size: 19px;
  }

  .card p,
  .stat span,
  .legal-card p,
  .link-card p,
  .price-table td {
    font-size: 14px;
    line-height: 1.65;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .cta-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
    border-radius: 20px;
  }

  .cta-actions {
    gap: 10px;
  }

  .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .price-table {
    min-width: 760px;
  }

  .price-table th,
  .price-table td {
    padding: 14px;
  }

  .promo-box {
    padding: 22px;
    border-radius: 20px;
  }

  .promo-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .promo-item {
    padding: 16px;
  }

  .footer-grid {
    padding: 24px 0 14px;
  }
}

/* Telefon — menu bez przesuwania */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 16px);
  }

  .main-nav {
    position: static !important;
  }

  .nav-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px 0 !important;
    min-height: auto !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 9px 8px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    border-radius: 12px !important;
  }

  .nav-link.opinie {
    width: 100% !important;
    padding: 9px 8px !important;
    background: #d53932 !important;
    color: #ffffff !important;
  }

  .topbar-inner {
    gap: 10px;
  }

  .brand {
    grid-template-columns: 56px 1fr;
    gap: 10px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand-text h1,
.brand-text .site-title {
  font-size: 20px;
}

  .brand-text p {
    font-size: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    max-height: 240px;
  }

  .cards,
  .cards-2,
  .cards-3,
  .gallery-preview,
  .footer-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card,
  .stat,
  .link-card,
  .legal-card,
  .contact-card,
  .form-card {
    padding: 16px;
  }

  .section {
    padding: 18px 0;
  }

  .hero-copy h1,
.hero-copy h2 {
  font-size: 22px;
  line-height: 1.15;
}

  .hero-copy p,
  .hero-lead,
  .section-head p {
    font-size: 14px;
  }

  .offer-list {
    margin: 10px 0 14px;
    padding-left: 16px;
    font-size: 14px;
  }

  .promo-items {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    padding: 18px;
  }

  .footer-grid {
    gap: 12px;
  }
}

/* Bardzo mały telefon */
@media (max-width: 560px) {
  .nav-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cards,
  .cards-2,
  .cards-3,
  .gallery-preview,
  .footer-grid,
  .about-grid,
  .promo-items {
    grid-template-columns: 1fr;
  }

 .hero-copy h1,
.hero-copy h2 {
  font-size: 22px;
  line-height: 1.15;
}

  .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .top-contact {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* Kolory cen */
.price,
.price-table .price,
.promo-item span,
.promo-strip strong {
  color: #d53932 !important;
}

.price-badge {
  color: #ffffff !important;
}

.price-table td strong {
  color: inherit;
}


.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-width: 78px;
  min-height: 40px;
  padding: 0 14px;
  background: var(--navy);
  color: #ffffff !important;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  align-self: flex-start;
}


/* POPRAWKA OBRAZU HERO NA TELEFONIE */
@media (max-width: 768px) {
  .hero-media img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    background: #f4f6f9;
  }
}

/* TELEFON POZIOMO */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 10px;
    background: linear-gradient(180deg, #eef3f8 0%, #f4f6f9 100%);
    border-radius: 18px;
  }

  .hero-media img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 60vh !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: transparent !important;
  }
}

/* HINT DLA TABELI CENNIKA NA TELEFONIE */
.table-scroll-hint {
  display: none;
}

@media (max-width: 768px) and (orientation: portrait) {
  .table-scroll-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff4f4;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #ffd8d6;
    box-shadow: var(--shadow);
    animation: tableHintSlide 1.8s ease-in-out infinite;
  }

  .table-wrap {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .table-wrap::after {
    content: "";
    position: sticky;
    right: 0;
    top: 0;
    display: block;
    width: 24px;
    height: 100%;
    margin-left: auto;
    background: linear-gradient(to left, rgba(244, 246, 249, 1), rgba(244, 246, 249, 0));
    pointer-events: none;
  }
}

@keyframes tableHintSlide {
  0% { transform: translateX(0); }
  20% { transform: translateX(8px); }
  40% { transform: translateX(0); }
  60% { transform: translateX(-8px); }
  80% { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* ===== STICKY SOCIAL ICONS PREMIUM ===== */
.social-floating-premium {
  position: fixed;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.social-float-premium {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(20, 35, 60, 0.18);
  transition: width 0.28s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.social-float-premium:hover {
  width: 156px;
  transform: translateX(-4px);
  box-shadow: 0 18px 34px rgba(20, 35, 60, 0.24);
}

.social-float-premium.fb {
  background: linear-gradient(135deg, #1877f2 0%, #0f5dc7 100%);
}

.social-float-premium.ig {
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 50%, #f77737 100%);
}

.social-float-premium.map {
  background: linear-gradient(135deg, #34a853 0%, #1f8f45 100%);
}

.social-float-label {
  position: absolute;
  left: 16px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.social-float-premium:hover .social-float-label {
  opacity: 1;
  transform: translateX(0);
}

.social-float-icon {
  width: 52px;
  min-width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-float-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

/* telefon */
@media (max-width: 768px) {
  .social-floating-premium {
    top: auto;
    bottom: 14px;
    right: 10px;
    transform: none;
    gap: 8px;
  }

  .social-float-premium {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .social-float-premium:hover {
    width: 44px;
    transform: none;
  }

  .social-float-label {
    display: none;
  }

  .social-float-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .social-float-icon svg {
    width: 18px;
    height: 18px;
  }
}


/* ===== AKTUALNOŚCI ===== */

.news-list {
  display: grid;
  gap: 24px;
}

.news-post {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 226, 234, 0.7);
  align-items: center;
}

.news-post-media {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.news-post-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.4s ease;
}

.news-post-media:hover img {
  transform: scale(1.08);
}

.news-post-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.news-post-media:hover::after {
  background: rgba(0, 0, 0, 0.08);
}

.news-post-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-date {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-post-content h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 800;
}

.news-post-content p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.news-points {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.news-points li {
  margin-bottom: 6px;
}

.news-contact {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  color: var(--navy) !important;
}

.news-contact a {
  color: var(--red);
  font-weight: 800;
}

/* LIGHTBOX */
.news-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 28, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 10000;
}

.news-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.news-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.news-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.news-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* tablet */
@media (max-width: 1024px) {
  .news-post {
    grid-template-columns: 260px 1fr;
    gap: 18px;
    padding: 18px;
  }

  .news-post-media {
    height: 220px;
  }

  .news-post-content p,
  .news-points {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* mobile */
@media (max-width: 768px) {
  .news-post {
    grid-template-columns: 1fr;
  }

  .news-post-media {
    height: 220px;
  }

  .news-post-content h3 {
    font-size: 24px;
  }
}

/* mały telefon */
@media (max-width: 560px) {
  .news-post {
    padding: 16px;
    border-radius: 16px;
  }

  .news-post-media {
    height: 200px;
    border-radius: 14px;
  }

  .news-post-content h3 {
    font-size: 22px;
  }

  .news-post-content p,
  .news-points {
    font-size: 14px;
  }

  .news-lightbox {
    padding: 14px;
  }

  .news-lightbox-close {
    top: 10px;
    right: 10px;
  }
}


.brand-text .site-title {
  color: var(--navy) !important;
}
