/* ADGAZ modern theme – navy / cherry / white */
:root {
    --navy: #00205B;
    --navy-deep: #00143a;
    --navy-soft: #0a2a6e;
    --cherry: #8B1E2D;
    --cherry-dark: #6B1522;
    --cherry-soft: #A33A4A;
    --white: #ffffff;
    --off-white: #f7f8fb;
    --mist: #eef1f7;
    --text: #1a2332;
    --muted: #5c6b7a;
    --shadow: 0 12px 40px rgba(0, 32, 91, 0.08);
    --shadow-lg: 0 24px 60px rgba(0, 32, 91, 0.14);
    --radius: 1rem;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
  }

  /* —— Top bar —— */
  .topbar {
    background: var(--navy-deep);
    color: rgba(255,255,255,.92);
    font-size: .875rem;
    padding: .55rem 0;
  }
  .topbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
  }
  .topbar a:hover { color: rgba(255,255,255,.85); }
  .topbar .divider {
    width: 1px;
    height: 1rem;
    background: rgba(255,255,255,.25);
    display: inline-block;
    margin: 0 .75rem;
  }
  .topbar .badge-pulse {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-weight: 600;
  }
  

  /* —— Navbar —— */
  .navbar-adgaz {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0,32,91,.06);
    box-shadow: 0 4px 24px rgba(0,32,91,.04);
    padding: .75rem 0;
  }
  .navbar-adgaz .navbar-brand img {
    height: 80px;
    width: auto;
    max-width: min(280px, 55vw);
    object-fit: contain;
    transition: transform .25s ease;
  }
  .navbar-adgaz .navbar-brand:hover img { transform: scale(1.03); }
  .navbar-adgaz .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .01em;
    padding: .5rem .9rem !important;
    border-radius: .6rem;
    transition: all .2s ease;
  }
  .navbar-adgaz .nav-link:hover,
  .navbar-adgaz .nav-link.active {
    color: var(--navy) !important;
    background: var(--mist);
  }
  /* Kontakt – zawsze ciemny granat + biały tekst (nadpisuje .active / .hover) */
  .navbar-adgaz .nav-link.btn-cta,
  .navbar-adgaz .nav-link.btn-cta:hover,
  .navbar-adgaz .nav-link.btn-cta:focus,
  .navbar-adgaz .nav-link.btn-cta.active {
    background: var(--navy-deep) !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
    padding: .55rem 1.2rem !important;
    border-radius: .5rem;
    box-shadow: none;
    transition: background .2s;
  }
  .navbar-adgaz .nav-link.btn-cta:hover,
  .navbar-adgaz .nav-link.btn-cta.active {
    background: #000d28 !important;
    color: #fff !important;
  }
  .navbar-toggler {
    border: 2px solid var(--navy);
    padding: .4rem .55rem;
  }
  .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(0,32,91,.15); }

  /* —— Hero carousel —— */
  .hero-wrap { position: relative; }
  .hero-carousel .carousel-item {
    height: min(88vh, 780px);
    min-height: 560px;
  }
  .hero-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: none;
  }
  .hero-overlay {
    display: none;
  }
  .hero-carousel .carousel-caption {
    z-index: 2;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    text-align: left;
    padding: 0;
    display: flex;
    align-items: center;
  }
  .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    margin-bottom: 1rem;
  }
  .hero-title {
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,.25);
    max-width: 18ch;
  }
  .hero-sub {
    color: rgba(255,255,255,.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    margin: .85rem 0 1.4rem;
    max-width: 36ch;
  }
  .btn-hero-primary {
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: .75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    transition: transform .2s, background .2s;
  }
  .btn-hero-primary:hover {
    background: var(--mist);
    color: var(--navy);
    transform: translateY(-2px);
  }
  .btn-hero-ghost {
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 999px;
    padding: .7rem 1.4rem;
    transition: all .2s;
  }
  .btn-hero-ghost:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
  }
  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.5);
    border: none;
  }
  .carousel-indicators .active { background-color: #fff; transform: none; }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0,32,91,.45);
    border-radius: 50%;
    background-size: 50% 50%;
  }

  /* —— Trust strip —— */
  .trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--mist);
    margin-top: 0;
    position: relative;
    z-index: 5;
  }
  .trust-card {
    background: var(--white);
    border: 1.5px solid rgba(0, 32, 91, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 32, 91, 0.06);
    padding: 1.25rem 1.1rem;
    height: 100%;
    transition: transform .25s, box-shadow .25s, border-color .25s;
  }
  .trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 32, 91, 0.1);
    border-color: rgba(0, 32, 91, 0.32);
  }
  .trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0,32,91,.07);
    border: 1px solid rgba(0, 32, 91, 0.12);
    color: var(--navy);
    font-size: 1.35rem;
    margin-bottom: .75rem;
  }
  .trust-card:hover .trust-icon { color: var(--navy); }
  .trust-card--lpg {
    border-color: rgba(139, 30, 45, 0.28);
  }
  .trust-card--lpg .trust-icon {
    background: rgba(139, 30, 45, 0.08);
    border-color: rgba(139, 30, 45, 0.2);
    color: var(--cherry);
  }
  .trust-card--lpg:hover {
    border-color: rgba(139, 30, 45, 0.45);
  }
  .trust-card--lpg:hover .trust-icon {
    background: rgba(139, 30, 45, 0.12);
    color: var(--cherry-dark);
  }

  /* —— Sections —— */
  .section-pad { padding: 4.5rem 0; }
  .section-soft { background: var(--off-white); }
  .section-label {
    display: inline-block;
    color: var(--navy);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .5rem;
  }
  .section-title {
    color: var(--navy);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    letter-spacing: -.02em;
    margin-bottom: 1rem;
  }
  .section-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 52ch;
  }
  .title-accent {
    position: relative;
    display: inline-block;
  }
  .title-accent::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--navy);
    margin-top: .65rem;
  }

  /* —— Service cards —— */
  .service-card {
    background: var(--white);
    border: 1.5px solid rgba(0, 32, 91, 0.18);
    border-radius: 1rem;
    padding: 1.75rem 1.4rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 32, 91, 0.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
    text-decoration: none;
    color: inherit;
    display: block;
  }
  .service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--navy);
    opacity: 0;
    transition: opacity .25s;
  }
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 32, 91, 0.1);
    border-color: rgba(0, 32, 91, 0.32);
    color: inherit;
  }
  .service-card:hover::before { opacity: 1; }
  .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    background: var(--navy);
    margin-bottom: 1.1rem;
    box-shadow: none;
  }
  .service-card:nth-child(even) .service-icon,
  .service-card.alt .service-icon {
    background: var(--navy-soft);
    box-shadow: none;
  }
  .service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .5rem;
  }
  .service-card p {
    color: var(--muted);
    font-size: .92rem;
    margin: 0;
    line-height: 1.55;
  }
  .service-card .go {
    margin-top: 1rem;
    font-weight: 700;
    font-size: .88rem;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
  }

  /* —— About / parallax panel —— */
  .about-panel {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 32, 91, 0.06);
    background: var(--white);
    border: 1.5px solid rgba(0, 32, 91, 0.16);
  }
  .about-visual {
    min-height: 100%;
    height: 100%;
    background: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .about-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }
  .about-body { padding: 2.25rem 2rem; }
  .brand-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: .78rem;
    padding: .4rem .75rem;
    border-radius: .5rem;
    margin: .2rem;
    border: 1.5px solid rgba(0, 32, 91, 0.2);
    box-shadow: 0 1px 3px rgba(0, 32, 91, 0.04);
  }
  .brand-chip:hover {
    background: rgba(0, 32, 91, 0.04);
    border-color: rgba(0, 32, 91, 0.35);
    color: var(--navy);
  }

  /* —— CTA band —— */
  .cta-band {
    background: var(--navy-deep);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
  }
  .cta-band::after {
    display: none;
  }
  .cta-band h2 { font-weight: 800; }
  .cta-band a.btn-light {
    font-weight: 700;
    border-radius: 999px;
    padding: .7rem 1.4rem;
    color: var(--navy);
  }
  .cta-band a.btn-outline-light {
    font-weight: 600;
    border-radius: 999px;
    padding: .7rem 1.4rem;
    border-width: 2px;
  }

  /* —— Footer —— */
  .footer-adgaz {
    background: linear-gradient(180deg, var(--navy-deep), #000b22);
    color: rgba(255,255,255,.85);
    margin-top: 0;
  }
  .footer-adgaz h5 {
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: .5rem;
  }
  .footer-adgaz h5::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 3px;
    background: rgba(255,255,255,.35);
    border-radius: 2px;
  }
  .footer-adgaz a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    transition: color .2s;
  }
  .footer-adgaz a:hover { color: #fff; }
  .footer-adgaz .list-unstyled li {
    padding: .28rem 0;
    font-size: .9rem;
  }
  .footer-adgaz .list-unstyled i {
    color: rgba(255,255,255,.45);
    margin-right: .4rem;
    width: 1rem;
  }
  .footer-brands {
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
  }
  .footer-brands a {
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-decoration: none;
    margin: .15rem .35rem;
    display: inline-block;
    transition: color .2s;
  }
  .footer-brands a:hover { color: #fff; }
  .footer-note {
    color: rgba(255,255,255,.55);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
  }

  /* —— Float call —— */
  .float-call {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1040;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    text-decoration: none;
    transition: background .2s;
  }
  .float-call:hover { background: var(--navy-soft); color: #fff; transform: none; }

  /* —— Scroll top —— */
  .scroll-top {
    position: fixed;
    left: 1.1rem;
    bottom: 1.1rem;
    z-index: 1040;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: #fff;
    display: none;
    place-items: center;
    box-shadow: var(--shadow);
  }
  .scroll-top.show { display: grid; }

  /* —— Reveal: zawsze widoczne (duże bloki treści nie mogą startować od opacity:0) —— */
  .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal.in { opacity: 1; transform: none; }

  @media (max-width: 991.98px) {
    .hero-carousel .carousel-item { min-height: 560px; height: 85vh; }
    .hero-carousel .carousel-caption { text-align: center; }
    .hero-title, .hero-sub { max-width: none; margin-left: auto; margin-right: auto; }
    .about-body { padding: 1.5rem; }
  }

/* —— Subpage hero / content —— */
.page-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  /* Czyste zdjęcie – bez niebieskiego gradientu */
  background-color: #1a2332;
  background-image: url(../images/main-slider/1.jpg);
  /* Rejestracja ADGAZ.EU wyżej w banerze */
  background-position: center 88%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}
/* Minimalne przyciemnienie tylko pod napisem – zdjęcie czytelne */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.08) 35%,
    transparent 65%
  );
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 4px 16px rgba(0,0,0,.35);
}
.page-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255,255,255,.7);
  margin: 0;
}
.page-hero .breadcrumb-item a {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.page-hero .breadcrumb-item a:hover { color: #fff; text-decoration: underline; }
.page-hero .breadcrumb-item.active {
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.7); }

.content-wrap {
  padding: 3rem 0 4rem;
  background: var(--off-white);
}
.content-card {
  background: var(--white);
  border: 1.5px solid rgba(0, 32, 91, 0.16);
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 32, 91, 0.05);
  padding: 1.75rem 1.5rem;
}
@media (min-width: 768px) {
  .content-card { padding: 2.25rem 2.25rem; }
}
.content-card img {
  max-width: 100%;
  height: auto;
  border-radius: .75rem;
}
.content-card h1, .content-card h2, .content-card h3, .content-card h4 {
  color: var(--navy);
  font-weight: 700;
}
.content-card p, .content-card li { color: var(--text); line-height: 1.7; }
.content-card a:not(.btn) { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0,32,91,.25); text-underline-offset: 2px; }
.content-card a:not(.btn):hover { color: var(--navy); }
.content-card .blog-post,
.content-card .service-block,
.content-card article {
  background: var(--white);
  border: 1.5px solid rgba(0, 32, 91, 0.16);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  height: 100%;
  box-shadow: 0 1px 4px rgba(0, 32, 91, 0.04);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.content-card .blog-post:hover,
.content-card article:hover {
  border-color: rgba(0, 32, 91, 0.28);
}
.content-card .blog-post:hover,
.content-card article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.content-card .post-header img,
.content-card figure img { border-radius: .65rem; }
.content-card .title, .content-card .heading-text { color: var(--navy) !important; }
.content-card .sec-title .em-text { color: var(--navy); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.content-card iframe { border-radius: .75rem; width: 100%; max-width: 100%; }
.content-card .sidebar,
.content-card aside {
  background: var(--off-white);
  border: 1px solid var(--mist);
  border-radius: 1rem;
  padding: 1.25rem;
}
.content-card .sidebar-title h3,
.content-card .widget h3 { color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.content-card table { width: 100%; }
.content-card .btn-thm {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: .5rem;
  text-decoration: none;
  border: none;
}
.content-card .sec-title .em-text {
  color: var(--muted) !important;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* strip old layout leftovers */
.content-card .auto-container { width: 100%; max-width: none; padding: 0; }
.content-card .clearfix::after { content: ""; display: table; clear: both; }
.preloader { display: none !important; }

/* stare klasy z poprzedniego szablonu – nie chowaj treści */
.content-card .parallax-section,
.content-card .theme-overlay,
.content-card .overlay-white {
  background-color: transparent !important;
  background-image: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
}
.content-card .wow {
  visibility: visible !important;
  animation: none !important;
}
.content-card .mt-80,
.content-card .mt-md-50 { margin-top: 0 !important; }
.content-card .container-fluid { padding-left: 0; padding-right: 0; }
.content-card ul { padding-left: 1.15rem; margin-bottom: 1rem; }
.content-card li { margin-bottom: .35rem; }
.content-card h1 { font-size: 1.25rem; margin: 1.25rem 0 .5rem; color: var(--navy); }
/* Nie nadpisuj siatki Bootstrap (3 kolumny etc.) — tylko stare offsety */
.content-card .col-md-offset-0 {
  margin-left: 0;
}
.content-card .mech-grid .mech-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1.5px solid rgba(0, 32, 91, 0.16);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 32, 91, 0.04);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.content-card .mech-grid .mech-card:hover {
  border-color: rgba(0, 32, 91, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.content-card .mech-grid .mech-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.content-card .mech-grid .mech-card .mech-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.content-card .mech-grid .mech-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .45rem;
  text-decoration: none;
}
.content-card .mech-grid .mech-card p {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.content-card .mech-grid .mech-card .mech-more {
  margin-top: .75rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--cherry);
  text-decoration: none;
}