/* ============================================================
   Laweta Lębork TarCar – style.css
   ============================================================ */
:root {
  --navy-900: #0b1220;
  --navy-800: #101a2e;
  --navy-700: #16233d;
  --navy-600: #1f3053;
  --accent: #f5b301;
  --accent-dark: #d99e00;
  --accent-text: #1a1400;
  --text: #1d2433;
  --text-muted: #5b6577;
  --text-invert: #eef2f8;
  --text-invert-muted: #a7b1c4;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --border: #e3e8f0;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(11, 18, 32, .10);
  --shadow-lg: 0 20px 50px rgba(11, 18, 32, .18);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--accent-text); padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: var(--text-invert-muted); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: var(--accent); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 26, 46, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-invert); }
.logo-badge {
  background: var(--accent); color: var(--accent-text);
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.5px;
  padding: 6px 12px; border-radius: 10px;
}
.logo-badge span { color: var(--navy-900); }
.logo-text { font-weight: 700; font-size: 1.05rem; line-height: 1.2; display: flex; flex-direction: column; }
.logo-text small { font-weight: 400; font-size: .68rem; color: var(--text-invert-muted); letter-spacing: .4px; }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--text-invert-muted); text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 8px 13px; border-radius: 8px; transition: .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text-invert); background: rgba(255,255,255,.08); }

.header-phone-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-text);
  font-weight: 800; text-decoration: none; font-size: 1rem;
  padding: 10px 18px; border-radius: 10px; white-space: nowrap;
  transition: .2s; box-shadow: 0 4px 14px rgba(245, 179, 1, .35);
}
.header-phone-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text-invert); margin: 5px 0; border-radius: 2px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 8px 0 16px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text-invert); text-decoration: none; padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.07); font-weight: 600; }
.mobile-nav .mobile-call { background: var(--accent); color: var(--accent-text); border-radius: 10px; text-align: center; margin-top: 12px; border: 0; font-weight: 800; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; text-decoration: none; border-radius: 12px; cursor: pointer;
  padding: 14px 28px; font-size: 1rem; border: 0; transition: .2s;
}
.btn-accent { background: var(--accent); color: var(--accent-text); box-shadow: 0 6px 20px rgba(245,179,1,.35); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,.35); color: var(--text-invert); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: var(--navy-800); color: var(--text-invert); }
.btn-dark:hover { background: var(--navy-600); }
.btn-lg { padding: 17px 34px; font-size: 1.15rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--text-invert);
  background: linear-gradient(rgba(11,18,32,.78), rgba(11,18,32,.88)), url('../images/laweta-lebork-nocna-pomoc-drogowa.jpg') center/cover no-repeat;
  padding: 90px 0 100px;
}
.hero-inner { max-width: 780px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,179,1,.15); border: 1px solid rgba(245,179,1,.4); color: var(--accent);
  font-size: .82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero .pulse { width: 8px; height: 8px; background: #3ddc84; border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(61,220,132,.6);} 50% { box-shadow: 0 0 0 7px rgba(61,220,132,0);} }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.12; font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: var(--text-invert-muted); margin-bottom: 32px; max-width: 640px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badges .badge { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-invert-muted); }
.hero-badges .badge b { color: var(--text-invert); display: block; font-size: 1.05rem; }
.hero-badges .badge .ico { font-size: 1.5rem; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy-900); color: var(--text-invert); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { color: var(--accent-dark); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; }
.section.dark .section-head .kicker { color: var(--accent); }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 8px 0 14px; line-height: 1.2; }
.section-head p { color: var(--text-muted); }
.section.dark .section-head p { color: var(--text-invert-muted); }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(245,179,1,.5); }
.card .ico { font-size: 2rem; width: 58px; height: 58px; display: grid; place-items: center; background: rgba(245,179,1,.14); border-radius: 14px; margin-bottom: 18px; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 28px 24px; }
.step .num { font-size: 2.4rem; font-weight: 800; color: var(--accent); opacity: .9; line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-invert); }
.step p { color: var(--text-invert-muted); font-size: .92rem; }

/* ---------- Split (photo + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; line-height: 1.25; }
.split p { color: var(--text-muted); margin-bottom: 14px; }
.check-list { list-style: none; margin: 18px 0 26px; }
.check-list li { padding: 7px 0 7px 34px; position: relative; font-weight: 600; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(245,179,1,.18); color: var(--accent-dark);
  display: grid; place-items: center; font-size: .85rem; font-weight: 800;
}

/* ---------- Cities ---------- */
.city-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city-cloud a {
  text-decoration: none; background: var(--bg); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--text);
  transition: .2s;
}
.city-cloud a:hover { border-color: var(--accent); background: rgba(245,179,1,.1); color: var(--accent-dark); }
.city-cloud a .km { color: var(--text-muted); font-weight: 400; font-size: .8rem; }

.city-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.city-group { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.city-group h3 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid rgba(245,179,1,.4); }
.city-group ul { list-style: none; }
.city-group li a { display: flex; justify-content: space-between; text-decoration: none; padding: 6px 4px; border-radius: 6px; font-size: .93rem; }
.city-group li a:hover { background: var(--bg-soft); color: var(--accent-dark); }
.city-group li .km { color: var(--text-muted); font-size: .82rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 260px; object-fit: cover; transition: .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px; font-size: .85rem; color: #fff;
  background: linear-gradient(transparent, rgba(11,18,32,.85));
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: var(--bg); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--accent-dark); font-weight: 400; transition: .25s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.form-group label .req { color: #d33; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 10px;
  font: inherit; font-size: .96rem; background: var(--bg-soft); transition: .2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(245,179,1,.18); }
.form-status { display: none; padding: 14px 18px; border-radius: 10px; margin-top: 16px; font-weight: 600; }
.form-status.ok { display: block; background: #e7f8ec; color: #176b33; }
.form-status.err { display: block; background: #fdecea; color: #a4271b; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-info-card { background: var(--navy-900); color: var(--text-invert); border-radius: var(--radius); padding: 32px; }
.contact-info-card h3 { margin-bottom: 8px; }
.contact-info-card > p { color: var(--text-invert-muted); margin-bottom: 22px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); }
.contact-line .ico { font-size: 1.3rem; }
.contact-line b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .8px; color: var(--text-invert-muted); }
.contact-line a { color: var(--text-invert); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.contact-line a:hover { color: var(--accent); }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: var(--text-invert); padding: 44px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin-bottom: 6px; }
.cta-strip p { color: var(--text-invert-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-invert-muted); padding: 60px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { font-size: 1.3rem; font-weight: 800; color: var(--text-invert); margin-bottom: 14px; }
.footer-logo span { color: var(--accent); }
.site-footer h3 { color: var(--text-invert); font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-invert-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: .82rem; }

/* ---------- Floating call ---------- */
.floating-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(245,179,1,.5);
  animation: ring 2.4s infinite;
}
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  4% { transform: rotate(-12deg); } 8% { transform: rotate(10deg); }
  12% { transform: rotate(-8deg); } 16% { transform: rotate(6deg); } 20% { transform: rotate(0); }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(rgba(11,18,32,.82), rgba(11,18,32,.9)), url('../images/laweta-lebork-zaladunek-pojazdu.jpg') center/cover no-repeat;
  color: var(--text-invert); padding: 64px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-invert-muted); max-width: 700px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumbs { font-size: .85rem; color: var(--text-invert-muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--accent); text-decoration: none; }

/* ---------- Prose (city pages, o nas) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: #37404f; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-dark); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat { padding: 26px 14px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); }
.stat b { display: block; font-size: 2.2rem; color: var(--accent); font-weight: 800; }
.stat span { color: var(--text-invert-muted); font-size: .9rem; }

/* ---------- Table (cennik) ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--navy-900); color: var(--text-invert); font-size: .9rem; text-transform: uppercase; letter-spacing: .6px; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.price { font-weight: 800; color: var(--accent-dark); white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.price-note { font-size: .88rem; color: var(--text-muted); margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .city-groups { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .hamburger { display: block; margin-left: auto; }
  .header-phone-btn { margin-left: auto; }
  .header-inner { gap: 12px; }
}
@media (max-width: 768px) {
  .section { padding: 54px 0; }
  .hero { padding: 64px 0 70px; }
  .grid-3, .grid-2, .city-groups, .split, .contact-grid, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone-btn span { display: none; }
  .header-phone-btn { padding: 12px; border-radius: 50%; }
  .form-row { grid-template-columns: 1fr; }
  .cta-strip-inner { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
