/*
Theme Name: Jarex24
Theme URI: https://jarex24.pl
Author: Jarex24
Author URI: https://jarex24.pl
Description: Profesjonalny motyw dla firmy Jarex24 - pomoc drogowa, transport, warsztat samochodowy Trzebnica / Wrocław.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: jarex24
*/

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

:root {
  --c-primary:   #1a3a5c;   /* granatowy */
  --c-secondary: #f28c00;   /* pomarańczowy */
  --c-accent:    #e63c2f;   /* czerwień – alerty, CTA */
  --c-light:     #f4f7fa;
  --c-text:      #222831;
  --c-muted:     #6c757d;
  --c-white:     #ffffff;
  --c-border:    #dde3ea;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.16);
  --transition:  .25s ease;
  --font-main:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-head:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-width:   1200px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--c-secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-accent); }
ul, ol { padding-left: 1.4em; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--c-primary);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section--gray { background: var(--c-light); }
.section--dark { background: var(--c-primary); color: var(--c-white); }
.section--dark h2, .section--dark h3 { color: var(--c-white); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { color: var(--c-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-header .section-line {
  width: 60px; height: 4px;
  background: var(--c-secondary);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: .02em;
  text-decoration: none;
}
.btn-primary {
  background: var(--c-secondary);
  color: var(--c-white);
  border-color: var(--c-secondary);
}
.btn-primary:hover {
  background: #d97a00;
  border-color: #d97a00;
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,140,0,.35);
}
.btn-outline {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}
.btn-outline:hover {
  background: var(--c-white);
  color: var(--c-primary);
}
.btn-danger {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
  font-size: 1.1rem;
  padding: .9rem 2rem;
  white-space: nowrap;
}
.btn-danger:hover {
  background: #c0392b;
  border-color: #c0392b;
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,60,47,.4);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ─── TOPBAR ─────────────────────────────────────────────────────────────────── */
#topbar {
  background: var(--c-primary);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  padding: .4rem 0;
}
#topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
#topbar a {
  color: rgba(255,255,255,.82);
}
#topbar a:hover { color: var(--c-secondary); }
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.topbar-item svg { width: 14px; height: 14px; fill: var(--c-secondary); flex-shrink: 0; }
.topbar-item .bi { font-size: .82rem; color: var(--c-secondary); flex-shrink: 0; }
.topbar-phone { font-weight: 600; color: var(--c-secondary) !important; }
.topbar-phone:hover { color: var(--c-white) !important; }
.topbar-phone-cta {
  font-weight: 600;
  color: #fff !important;
  background: var(--c-secondary);
  padding: .2rem .65rem;
  border-radius: 4px;
  gap: .4rem;
  letter-spacing: .01em;
}
.topbar-phone-cta:hover { background: #c0392b; color: #fff !important; }
.topbar-phone-label { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.topbar-phone-cta svg { fill: #fff; width: 14px; height: 14px; }

/* ─── HEADER / NAV ───────────────────────────────────────────────────────────── */
#site-header {
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* ─── NAV ────────────────────────────────────────────────────────────────────── */
#primary-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}
#primary-nav > ul {
  list-style: none;
  display: flex;
  gap: .1rem;
  margin: 0;
  padding: 0;
}
#primary-nav > ul > li {
  position: relative;
}
#primary-nav > ul > li > a {
  display: block;
  padding: .45rem .55rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--c-primary);
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
#primary-nav > ul > li > a:hover {
  color: var(--c-secondary);
  background: rgba(242,140,0,.08);
}
#primary-nav > ul > li.current-menu-item > a,
#primary-nav > ul > li.current-menu-ancestor > a {
  color: var(--c-secondary);
  background: rgba(242,140,0,.1);
}
/* Dropdown */
#primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--c-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  border-top: 3px solid var(--c-secondary);
  list-style: none;
  padding: .4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 999;
}
#primary-nav > ul > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#primary-nav .sub-menu li a {
  display: block;
  padding: .5rem 1rem;
  font-size: .8rem;
  color: var(--c-text);
  font-weight: 500;
  transition: all var(--transition);
}
#primary-nav .sub-menu li a:hover {
  color: var(--c-secondary);
  background: var(--c-light);
  padding-left: 1.3rem;
}
/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── EMERGENCY PHONE CTA ────────────────────────────────────────────────────── */
.header-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}
.header-phone .phone-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--c-muted);
}
.header-phone .phone-number {
  font-size: .95rem;
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: -.01em;
}
.header-phone .phone-number:hover { color: var(--c-primary); }

/* ─── HERO SLIDER ───────────────────────────────────────────────────────────── */
#hero-slider {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  background: var(--c-primary);
}
.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .7s ease;
  display: flex;
  align-items: center;
  z-index: 1;
}
#hero-slider > .slide {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  opacity: 0 !important;
}
#hero-slider > .slide.active { opacity: 1 !important; z-index: 2 !important; }
.slide-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(
    100deg,
    rgba(26,58,92,.82) 0%,
    rgba(26,58,92,.52) 55%,
    rgba(26,58,92,.18) 100%
  );
}
.slide-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 680px;
  padding: 0 1rem;
}
.slide-content h1, .slide-content .slide-title {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  line-height: 1.2;
}
.slide-content h1 span { color: var(--c-secondary); }
.slide-content .hero-lead {
  color: rgba(255,255,255,.88);
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,.4); }
.slider-dots {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .7rem;
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.75);
  background: transparent;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.dot.active {
  background: var(--c-secondary);
  border-color: var(--c-secondary);
  transform: scale(1.25);
}
@media (max-width: 768px) {
  #hero-slider { height: 520px; }
  .slider-prev, .slider-next { display: none; }
  .slide-content { max-width: 100%; }
}

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, #0f2540 60%, #1e4a7c 100%);
  color: var(--c-white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/img/hero-pattern.svg') center/cover no-repeat;
  opacity: .06;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 {
  color: var(--c-white);
  margin-bottom: 1.25rem;
}
.hero-text h1 span { color: var(--c-secondary); }
.hero-text .hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .85rem;
  backdrop-filter: blur(4px);
}
.hero-badge svg { width: 22px; height: 22px; fill: var(--c-secondary); flex-shrink: 0; }
.hero-badge span { font-weight: 600; }
.hero-badge small { display: block; font-size: .72rem; color: rgba(255,255,255,.65); }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform var(--transition);
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.hero-card-icon {
  width: 44px; height: 44px;
  background: var(--c-secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 24px; height: 24px; fill: white; }
.hero-card h3 { color: var(--c-white); font-size: 1rem; margin: 0; }
.hero-card p  { color: rgba(255,255,255,.72); font-size: .88rem; margin: 0; }

/* ─── SERVICES GRID ──────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-secondary);
}
.service-card:hover .service-icon { background: var(--c-secondary); }
.service-card:hover .service-icon svg { fill: white; }
.service-icon {
  width: 72px; height: 72px;
  background: rgba(242,140,0,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-icon svg { width: 36px; height: 36px; fill: var(--c-secondary); transition: fill var(--transition); }
.service-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.service-card p { font-size: .9rem; color: var(--c-muted); flex-grow: 1; margin-bottom: 1.25rem; }
.service-card .btn { margin-top: auto; }

/* ─── WHY US ─────────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 2px solid rgba(255,255,255,.2);
}
.feature-icon svg { width: 30px; height: 30px; fill: var(--c-secondary); }
.section--dark .feature-item h3 { color: var(--c-white); font-size: 1.05rem; }
.section--dark .feature-item p  { color: rgba(255,255,255,.72); font-size: .9rem; }

/* ─── STATS STRIP ────────────────────────────────────────────────────────────── */
#stats-strip {
  background: var(--c-secondary);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  margin-top: .25rem;
  font-weight: 500;
}

/* ─── TABOR / FLEET ──────────────────────────────────────────────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.fleet-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.fleet-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--c-primary), #1e4a7c);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fleet-card-img svg { width: 80px; height: 80px; fill: rgba(255,255,255,.25); }
.fleet-card-body { padding: 1.25rem; }
.fleet-card-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.fleet-card-body p  { font-size: .875rem; color: var(--c-muted); margin: 0; }

/* ─── CTA BANNER ─────────────────────────────────────────────────────────────── */
#cta-banner {
  background: linear-gradient(135deg, var(--c-accent) 0%, #b52d22 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--c-white);
}
#cta-banner h2 { color: var(--c-white); font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: .75rem; }
#cta-banner p  { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2rem; }

/* ─── CONTACT SECTION ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(242,140,0,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 22px; height: 22px; fill: var(--c-secondary); }
.ci-text strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin-bottom: .15rem; }
.ci-text a, .ci-text span { font-size: 1.05rem; font-weight: 600; color: var(--c-primary); }
.ci-text a:hover { color: var(--c-secondary); }

/* Contact form wrapper */
.contact-form-wrap {
  background: var(--c-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }

/* ─── WPCF7 / FORM STYLES ────────────────────────────────────────────────────── */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font-main);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 1rem;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--c-secondary);
  box-shadow: 0 0 0 3px rgba(242,140,0,.15);
}
.wpcf7-form textarea { height: 130px; resize: vertical; }
.wpcf7-form label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .3rem; color: var(--c-text); }
.wpcf7-form input[type="submit"] {
  background: var(--c-secondary);
  color: var(--c-white);
  border: none;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  margin-bottom: 0;
}
.wpcf7-form input[type="submit"]:hover {
  background: #d97a00;
  transform: translateY(-1px);
}

/* ─── BREADCRUMB ─────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, #0f2540 100%);
  padding: 3.5rem 0 3rem;
  color: var(--c-white);
}
.page-hero h1 { color: var(--c-white); margin-bottom: .5rem; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  list-style: none;
  padding: 0; margin: 0;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--c-secondary); }
.breadcrumb li::after { content: '›'; margin: 0 .2rem; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb li:last-child { color: var(--c-secondary); }

/* ─── CONTENT AREA ───────────────────────────────────────────────────────────── */
.page-content-wrap {
  padding: 4rem 0;
}
.content-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.content-layout.no-sidebar { grid-template-columns: 1fr; }
.entry-content h2 { margin: 2rem 0 .75rem; color: var(--c-primary); }
.entry-content h2 i { color: var(--c-secondary); margin-right: .4rem; }
.entry-content h3 { margin: 1.5rem 0 .6rem; color: var(--c-primary); }
.entry-content ul  { margin-bottom: 1rem; }
.entry-content li  { margin-bottom: .35rem; }
.entry-content p   { margin-bottom: 1rem; line-height: 1.75; }
.entry-content a   { color: var(--c-secondary); font-weight: 500; }
.entry-content a:hover { color: var(--c-accent); }
.entry-intro p { font-size: 1.1rem; color: var(--c-muted); line-height: 1.8; margin-bottom: 1.5rem; }

/* Styled bullet list */
.styled-list { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.styled-list li {
  padding: .6rem 0 .6rem 2rem;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  line-height: 1.6;
}
.styled-list li:last-child { border-bottom: none; }
.styled-list li::before {
  content: '\F270';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: .65rem;
  color: var(--c-secondary);
  font-size: 1rem;
}

/* WP gallery in content */
.wp-block-gallery, .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
  margin: 1.5rem 0 2rem;
}
.gallery-item { overflow: hidden; border-radius: var(--radius); }
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition);
  display: block;
}
.gallery-item img:hover { transform: scale(1.05); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) {
  .gallery-columns-4, .gallery-columns-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-item img { height: 150px; }
}

/* Sidebar */
.sidebar .widget {
  background: var(--c-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar .widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--c-secondary);
}
.sidebar .widget ul { padding: 0; list-style: none; }
.sidebar .widget ul li { padding: .45rem 0; border-bottom: 1px solid var(--c-border); font-size: .9rem; }
.sidebar .widget ul li:last-child { border-bottom: none; }
.sidebar .widget ul li a { color: var(--c-text); font-weight: 500; }
.sidebar .widget ul li a:hover { color: var(--c-secondary); }

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--c-primary), #1e4a7c) !important;
  color: var(--c-white);
  text-align: center;
}
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1rem; }
.sidebar-cta .phone-big {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-secondary);
  display: block;
  margin-bottom: 1.25rem;
}
.sidebar-cta .btn { width: 100%; justify-content: center; }

/* ─── BLOG / POSTS ───────────────────────────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.post-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--c-primary), #1e4a7c);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-thumb svg { width: 60px; height: 60px; fill: rgba(255,255,255,.2); }
.post-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: .78rem; color: var(--c-muted); margin-bottom: .5rem; }
.post-card-body h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.post-card-body h3 a { color: var(--c-primary); }
.post-card-body h3 a:hover { color: var(--c-secondary); }
.post-card-body p { font-size: .88rem; color: var(--c-muted); flex: 1; }
.post-card-body .btn { margin-top: 1rem; align-self: flex-start; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
#site-footer {
  background: #0e2238;
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo .logo-name { color: var(--c-white); font-size: 1.5rem; font-weight: 800; display: block; margin-bottom: .3rem; }
.footer-logo .logo-name span { color: var(--c-secondary); }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.6); margin: .6rem 0 1.25rem; line-height: 1.6; }
.footer-phones { display: flex; flex-direction: column; gap: .4rem; }
.footer-phones a { color: var(--c-secondary); font-weight: 700; font-size: 1.1rem; }
.footer-phones a:hover { color: var(--c-white); }
.footer-phones small { display: block; color: rgba(255,255,255,.5); font-size: .75rem; margin-top: -.2rem; }

.footer-title {
  color: var(--c-white);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .5rem; }
.footer-nav a { font-size: .88rem; color: rgba(255,255,255,.65); transition: all var(--transition); }
.footer-nav a:hover { color: var(--c-secondary); padding-left: .25rem; }

.footer-contact p {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .75rem;
}
.footer-contact svg { width: 16px; height: 16px; fill: var(--c-secondary); flex-shrink: 0; margin-top: .15rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--c-secondary); }

/* ─── FLOATING PHONE BUTTON ──────────────────────────────────────────────────── */
#float-phone {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--c-accent);
  color: var(--c-white);
  padding: .8rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(230,60,47,.45);
  animation: pulse 2s infinite;
  text-decoration: none;
}
#float-phone svg { width: 22px; height: 22px; fill: white; }
#float-phone:hover { background: #c0392b; color: white; animation: none; transform: scale(1.05); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(230,60,47,.45); }
  50% { box-shadow: 0 6px 32px rgba(230,60,47,.7); }
}

/* ─── GALLERY ────────────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: var(--c-light);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 40px; height: 40px; fill: white; }

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--c-light); }
.faq-question.open { background: var(--c-primary); color: var(--c-white); }
.faq-chevron {
  width: 18px; height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 1.25rem;
}
.faq-answer.open {
  max-height: 600px;
  padding: 1rem 1.25rem 1.25rem;
}
.faq-answer p { font-size: .95rem; color: var(--c-text); margin: 0; }

/* ─── OPINIE / REVIEWS ───────────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: -.5rem;
  left: 1rem;
  font-size: 5rem;
  color: var(--c-secondary);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: .3;
}
.review-stars { color: var(--c-secondary); font-size: 1.1rem; margin-bottom: .75rem; }
.review-text { font-size: .92rem; color: var(--c-text); font-style: italic; margin-bottom: 1rem; }
.reviewer-name { font-weight: 700; font-size: .88rem; color: var(--c-primary); }
.reviewer-date { font-size: .78rem; color: var(--c-muted); }

/* ─── PAGE SPECIFIC: KONTAKT ─────────────────────────────────────────────────── */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ─── UTILITY ────────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--c-muted); }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: 2rem; }
.gap-1 { gap: 1rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(242,140,0,.1);
  color: var(--c-secondary);
  font-size: .78rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.alert-box {
  background: rgba(230,60,47,.08);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  margin-bottom: 1.5rem;
}
.alert-box svg { width: 22px; height: 22px; fill: var(--c-accent); flex-shrink: 0; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .content-layout .sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  #primary-nav {
    position: fixed;
    inset: 0;
    background: var(--c-white);
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1000;
  }
  #primary-nav.open { transform: translateX(0); }
  #primary-nav > ul { flex-direction: column; gap: 0; }
  #primary-nav > ul > li > a {
    padding: .8rem 0;
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
  }
  #primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--c-light);
    padding: .25rem 0 .25rem 1rem;
    display: none;
    border-radius: 0;
  }
  #primary-nav .sub-menu.open { display: block; }
  .header-cta .header-phone { display: none; }
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  #topbar .topbar-left { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  #float-phone span { display: none; }
  #float-phone { padding: .9rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}

/* ─── TABOR SLIDER ───────────────────────────────────────────────────────────── */
.tabor-slider {
  position: relative;
  width: 100%;
  height: 500px;          /* większy slider jak na oryginalnej stronie */
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-primary);
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}
.tabor-slider .tslide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
  z-index: 1;
}
.tabor-slider .tslide::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(26,58,92,.15) 0%, rgba(26,58,92,.35) 100%);
  z-index: 1;
}
.tabor-slider .tslide.active {
  opacity: 1;
  z-index: 2;
}
.tabor-slider .tslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  max-width: none;
}
/* Prev / Next buttons */
.tslider-prev,
.tslider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(26,58,92,.65);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.tslider-prev { left: 1rem; }
.tslider-next { right: 1rem; }
.tslider-prev:hover,
.tslider-next:hover { background: rgba(242,140,0,.8); border-color: var(--c-secondary); }
/* Dots */
.tslider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90%;
}
.tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.tdot.active {
  background: var(--c-secondary);
  border-color: var(--c-secondary);
  transform: scale(1.3);
}
@media (max-width: 768px) {
  .tabor-slider { height: 380px; }
  .tslider-prev,
  .tslider-next { display: none; }
}

/* ─── TABOR GALLERY (akcje) ──────────────────────────────────────────────────── */
.tabor-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.tabor-gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  aspect-ratio: 4/3;
}
.tabor-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tabor-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
  transition: transform .4s ease;
}
.tabor-gallery-item:hover img {
  transform: scale(1.04);
}
@media (max-width: 640px) {
  .tabor-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .tabor-gallery { grid-template-columns: 1fr; }
}
