*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1D3A5C;
  --navy2: #152d47;
  --yellow: #F5B800;
  --yellow2: #e0a900;
  --white: #FFFFFF;
  --light: #F7F6F4;
  --text: #1a2a3a;
  --muted: #5a6a7a;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(29, 58, 92, 0.12);
  --shadow-lg: 0 12px 48px rgba(29, 58, 92, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  transition: box-shadow .3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  height: 72px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu>li {
  position: relative;
}

.nav-menu>li>a {
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu>li>a:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.07);
}

.nav-menu>li>a.has-sub::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  opacity: .7;
}

/* Dropdown */

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  /* bridge gap so mouse doesn't lose hover */
  background: transparent;
  min-width: 256px;
}

.dropdown-menu-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border-top: 3px solid var(--yellow);
}

.dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeDown .2s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy) !important;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  border-bottom: 1px solid #f0eff0;
  transition: background .15s, padding-left .15s;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--light) !important;
  padding-left: 26px;
}

.dropdown-menu a.current {
  background: #EAF2FB !important;
}

.dm-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #EAF2FB, #D4E9F7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  /* Above the side menu */
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-origin: center;
}

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

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

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

/* ========== HERO ========== */
.hero {
  height: 70vh;
  min-height: 460px;
  max-height: 600px;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg_image_1.jpg');
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(10, 25, 45, 0.62) 0%, rgba(10, 25, 45, 0.35) 45%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 52px;
  right: 6%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--yellow);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-btns {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn-primary:hover {
  background: var(--yellow2);
  border-color: var(--yellow2);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.hero-scroll {
  display: none;
}

.hero-company {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.6rem, 7.5vw, 6.4rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  margin: 0 0 10px 0;
  line-height: 1;
}

.hero-slogan {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700;
  color: #F5B800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.hero-slogan .slogan-dot {
  vertical-align: -0.15em;
  top: 0;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

/* ========== SECTIONS ========== */
section {
  padding: 90px 5%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ========== O FIRMIE ========== */
.about {
  background: var(--white);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-text p:last-of-type {
  margin-bottom: 32px;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.about-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(29, 58, 92, 0.18);
}

.fact-card {
  display: none;
}

.fact-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.fact-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.fact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ========== USŁUGI PREVIEW ========== */
.services {
  background: var(--light);
}

.services-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(29, 58, 92, 0.07);
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform .25s;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #EAF2FB, #D4E9F7);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background .25s;
  padding: 14px;
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, #FFF3CC, #FFE580);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex: 1;
}

.btn-card {
  font-size: 0.82rem;
  padding: 9px 20px;
  border-radius: 6px;
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
  cursor: pointer;
}

.service-card:hover .btn-card {
  background: var(--navy);
  color: var(--white);
}

/* ========== STATS ========== */
.stats {
  background: var(--navy);
  padding: 60px 5%;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== CTA ========== */
.cta-strip {
  background: var(--yellow);
  padding: 60px 5%;
  text-align: center;
}

.cta-strip h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.cta-strip p {
  color: rgba(29, 58, 92, 0.75);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-navy:hover {
  background: var(--navy2);
  border-color: var(--navy2);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  text-transform: none !important;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.btn-outline-navy:hover {
  background: rgba(29, 58, 92, 0.1);
}

/* ========== FOOTER ========== */
footer {
  background: #0f1e30;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 5% 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo-img {
  height: 150px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color .2s;
}

.footer-col ul li a:hover {
  color: var(--yellow);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .7;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  transition: color .2s;
}

.footer-contact a:hover {
  color: var(--yellow);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== MOBILE ========== */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo {
    order: 2;
  }

  .about-text {
    order: 1;
  }

  .about-photo {
    order: 2;
    width: 80%;
    margin: 0 auto;
  }

  .about-text .btn {
    display: none;
  }

  .about-cta-mobile {
    display: block !important;
    order: 3;
  }

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

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    max-width: 320px;
    bottom: 0;
    background: var(--navy);
    padding: 96px 5% 40px;
    gap: 12px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0);
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
    box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.6);
  }

  .nav-menu.open .dropdown-menu {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    border-left: 3px solid var(--yellow);
    margin: 4px 0 0 16px;
  }

  .nav-menu.open .dropdown-menu .dropdown-menu-inner {
    background: transparent;
    border-top: none;
  }

  .nav-menu.open .dropdown-menu a {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    padding-left: 20px !important;
    transition: background .15s !important;
  }

  .nav-menu.open .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    padding-left: 20px !important;
  }

  .nav-menu.open .dropdown-menu a.current {
    background: rgba(245, 184, 0, 0.12) !important;
  }

  .nav-menu.open .dropdown-menu a .dm-icon {
    background: linear-gradient(135deg, #EAF2FB, #D4E9F7);
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 60px 5%;
  }

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

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

@media (max-width: 420px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SECTION LABEL (lines left+right) ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 36px;
  height: 2.5px;
  background: var(--yellow);
  border-radius: 2px;
  flex-shrink: 0;
}

.footer-social {
  margin-top: 16px;
}

.footer-fb {
  color: rgba(255, 255, 255, 0.5);
  transition: color .2s;
  display: inline-block;
}

.footer-fb:hover {
  color: #1877F2;
}

/* Counter animation */
.stat-num {
  cursor: default;
}

.slogan-dot {
  font-size: 1.6em;
  line-height: 0;
  vertical-align: middle;
  color: var(--yellow);
}

.page-hero-content .slogan-dot {
  font-size: 0;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 2px;
}

@media (max-width: 640px) {
  .hero-slogan {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-slogan .slogan-dot {
    display: none;
  }

  .hero-slogan .sw {
    display: block;
    line-height: 1.2;
  }
}

.sd-pair {
  white-space: nowrap;
}

/* ========== OFFER PAGE (oferta.html) ========== */

.page-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 86px;
  /* below navbar */
  max-width: 100vw;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 55, 0.6);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 5%;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.page-hero-content h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-hero-content p {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--yellow);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Sticky Offer Nav */
.offer-nav {
  position: sticky;
  top: 86px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  z-index: 900;
  border-bottom: 1px solid #eaeaea;
}

.offer-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.offer-nav-inner::-webkit-scrollbar {
  display: none;
}

@media (max-width: 640px) {
  .offer-nav {
    top: 86px;
  }

  .offer-nav-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding: 0 8px;
  }

  .offer-nav-inner a {
    padding: 12px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.offer-nav-inner a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  color: var(--navy);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.offer-nav-inner a:hover {
  background: var(--light);
}

.offer-nav-inner a.active {
  border-bottom-color: var(--yellow);
  background: var(--light);
}

/* Service Sections */
.service-section {
  padding: 100px 5%;
  background: var(--white);
}

.service-section:nth-child(even) {
  background: var(--light);
}

.service-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-section:nth-child(even) .service-inner .service-text {
  order: 2;
}

.service-section:nth-child(even) .service-inner .service-img-wrap {
  order: 1;
}

.service-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.service-desc {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.scope-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.benefit-check {
  width: 24px;
  height: 24px;
  background: rgba(245, 184, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.scope-list {
  list-style: none;
  margin-bottom: 32px;
}

.scope-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.scope-list li::before {
  content: "•";
  color: var(--yellow);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -6px;
}

.service-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.service-img-wrap:hover .service-photo {
  transform: scale(1.03);
}

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

  .service-section:nth-child(even) .service-inner .service-text {
    order: 1;
  }

  .service-section:nth-child(even) .service-inner .service-img-wrap {
    order: 2;
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== REALIZACJE PAGE (realizacje.html) ========== */

.gallery-section {
  padding: 80px 5%;
  background: var(--light);
}

.gallery-intro {
  max-width: 1200px;
  margin: 0 auto 60px;
  text-align: left;
}

.gallery-intro h2 {
  font-size: clamp(1.3rem, 3.2vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .gallery-intro h2 {
    white-space: normal !important;
  }
}



.gallery-intro p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: none;
  margin: 0;
}

.scroll-nav {
  position: sticky;
  top: 86px;
  z-index: 900;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 5%;
  background: rgba(247, 246, 244, 0.95);
  backdrop-filter: blur(10px);
  margin-bottom: 60px;
  border-bottom: 1px solid #e5e5e5;
}

.scroll-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.scroll-nav-btn:hover {
  border-color: var(--yellow);
  box-shadow: 0 4px 12px rgba(245, 184, 0, 0.15);
}

.scroll-nav-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.scroll-nav-btn.active svg * {
  stroke: var(--yellow);
}

@media (max-width: 640px) {
  .gallery-intro h2 {
    font-size: 1.8rem;
  }

  .gallery-intro {
    margin-bottom: 32px;
  }

  .scroll-nav {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 32px;
  }

  .scroll-nav::-webkit-scrollbar {
    display: none;
  }

  .scroll-nav-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}

.gallery-section-block {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-bottom: 40px;
  border-bottom: 3px solid var(--yellow);
}

.gallery-section-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gallery-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.gallery-section-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.gallery-section-header h2 {
  font-size: 2.4rem;
  color: var(--navy);
  margin: 0;
}

.gallery-section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 800px;
  margin-bottom: 32px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy2);
}

.gallery-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.9;
}

.gallery-img-wrap:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-zoom-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 48px;
  height: 48px;
  background: rgba(29, 58, 92, 0.8);
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-img-wrap:hover .gallery-zoom-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-zoom-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 30, 55, 0.9));
  color: var(--white);
  padding: 30px 20px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-img-wrap:hover .gallery-caption {
  transform: translateY(0);
}

/* Mobile scroll-reveal for gallery items */
@media (max-width: 640px) {
  .gallery-item {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  }

  .gallery-item.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .gallery-img-wrap {
    height: 200px;
  }

  /* Touch-active state: lift + show caption + zoom */
  .gallery-item.touch-active {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(29, 58, 92, 0.2);
  }

  .gallery-item.touch-active .gallery-img-wrap img {
    transform: scale(1.05);
    opacity: 1;
  }

  .gallery-item.touch-active .gallery-caption {
    transform: translateY(0);
  }

  .gallery-item.touch-active .gallery-zoom-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
  color: var(--yellow);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  font-size: 3rem;
  padding: 20px 30px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--yellow);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    padding: 10px 15px;
    font-size: 2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .gallery-caption {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(15, 30, 55, 0.8));
  }
}

/* ========== CONTACT PAGE (kontakt.html) ========== */

.kontakt-section {
  padding: 80px 5%;
  background: var(--white);
  overflow-x: hidden;
}

.kontakt-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-card {
  background: #f7f6f4;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 48px rgba(29, 58, 92, 0.14);
}

.contact-card h2 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f0eff0;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8e7e5;
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.c-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(29, 58, 92, 0.2);
}

.c-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}

.c-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.c-value a {
  transition: color 0.2s;
}

.c-value a:hover {
  color: var(--yellow);
}

.c-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.contact-box {
  width: 100%;
}

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  transform: translateZ(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  /* Safari border radius bug */
}

.map-wrap:hover {
  transform: scale(1.015);
  box-shadow: 0 16px 48px rgba(29, 58, 92, 0.14);
}

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

.map-note {
  padding: 16px 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-note svg {
  color: var(--yellow);
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section {
  padding: 70px 5%;
  background: var(--light);
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.faq-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.open {
  border-color: var(--yellow);
  box-shadow: 0 8px 25px rgba(29, 58, 92, 0.08);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 22px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  width: 30px;
  height: 30px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-item.open .faq-icon {
  background: var(--yellow);
}

.faq-item.open .faq-icon svg path {
  stroke: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-a-inner {
  padding: 0 24px 24px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

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

@media (max-width: 600px) {
  .contact-card {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .contact-card h2 {
    font-size: 1.6rem;
    word-break: break-word;
  }

  .c-value {
    font-size: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .contact-items {
    gap: 24px;
  }

  .contact-item {
    gap: 14px;
  }

  .c-icon {
    width: 40px;
    height: 40px;
  }

  .map-wrap iframe {
    height: 300px;
  }

  .map-note {
    padding: 12px 16px;
    font-size: 0.82rem;
  }

  .faq-q {
    padding: 18px 16px;
    font-size: 1rem;
  }

  .faq-a-inner {
    padding: 0 16px 18px;
    font-size: 0.95rem;
  }

  .page-hero-content h1 {
    font-size: 2.5rem;
  }
}

/* ========== COOKIE BANNER ========== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  z-index: 100000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cookie-text {
  flex: 1;
}

.cookie-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.cookie-desc a {
  color: var(--yellow);
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-desc a:hover {
  color: var(--white);
}

.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn-cookie {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-cookie-accept {
  background: var(--yellow);
  color: var(--navy);
}

.btn-cookie-accept:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 20px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .btn-cookie {
    width: 100%;
    text-align: center;
  }
}