/*
Theme Name: Usługi Koparką Tłuszcz
Theme URI: https://twojadomena.pl
Author: Usługi Koparką Tłuszcz
Description: Motyw firmowy dla usług koparkowych w Tłuszczu – roboty ziemne, wykopy, przyłącza wod-kan.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: uslugi-koparka
*/

/* ===================== RESET & BASE ===================== */
:root {
  --bg: #0b1220;
  --bg-2: #101a2d;
  --text: #0f172a;
  --muted: #5b6475;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --card: rgba(255,255,255,0.78);
  --brand: #f59e0b;
  --brand-2: #ea580c;
  --brand-soft: #fff7ed;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --shadow: 0 20px 60px rgba(2, 6, 23, 0.14);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

/* ===================== TOPBAR ===================== */
.topbar {
  background: var(--bg);
  color: #e2e8f0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.topbar strong { color: #fff; }
.topbar a { color: #e2e8f0; }

/* ===================== HEADER / NAV ===================== */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(226,232,240,0.85);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #111827;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 10px 24px rgba(245,158,11,0.28);
}
.logo span:last-child { font-size: 1.05rem; }

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.menu a { color: #334155; font-weight: 700; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #fb923c);
  color: #111827;
  box-shadow: 0 12px 30px rgba(245,158,11,0.28);
}
.btn-dark {
  background: #111827;
  color: #fff;
  box-shadow: 0 12px 30px rgba(15,23,42,0.18);
}
.btn-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(245,158,11,0.26), transparent 34%),
    linear-gradient(135deg, rgba(8,15,28,0.92), rgba(16,26,45,0.82)),
    var(--hero-bg, #0b1220);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: auto -20% -25% auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  padding: 78px 0 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fde68a;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.22rem; }

p.lead {
  font-size: 1.14rem;
  max-width: 760px;
  color: rgba(255,255,255,0.9);
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 24px;
}
.hero-points div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f8fafc;
  font-weight: 600;
}

/* ===================== GLASS CARD ===================== */
.glass-card {
  background: var(--card);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.44);
  color: var(--text);
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.contact-card .contact-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(226,232,240,0.92);
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}
.contact-item small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

/* ===================== SECTIONS ===================== */
section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head p {
  max-width: 720px;
  color: var(--muted);
  margin: 0;
}
.section-kicker {
  display: inline-block;
  color: var(--brand-2);
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

/* ===================== SERVICE CARDS ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(226,232,240,0.92);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(15,23,42,0.06);
}
.card p, .muted { color: var(--muted); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
  border: 1px solid #fed7aa;
  font-size: 22px;
  margin-bottom: 16px;
}

/* ===================== CHECKLIST ===================== */
.checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  color: #334155;
  padding-left: 22px;
  position: relative;
}
.checklist li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-size: 20px;
  top: -1px;
}

/* ===================== ABOUT / SPLIT ===================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.image-stack { position: relative; }
.image-stack img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.floating-stat {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,0.96);
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
  min-width: 230px;
}
.floating-stat strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 22px;
}
.feature-grid .mini {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  font-weight: 700;
}

/* ===================== SERVICES HIGHLIGHT ===================== */
.services-highlight {
  background: linear-gradient(180deg, #fff7ed, rgba(255,247,237,0.55));
  border-top: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
}

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(15,23,42,0.06);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-item div {
  padding: 14px 16px 18px;
}

/* ===================== PROCESS ===================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.process-step::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(245,158,11,0.12);
}
.step-no {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), #fb923c);
  color: #111827;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* ===================== SERVICE AREA ===================== */
.service-area {
  background: linear-gradient(135deg, var(--bg), var(--bg-2));
  color: #fff;
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  box-shadow: var(--shadow);
}
.service-area p { color: rgba(255,255,255,0.82); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 700;
}

/* ===================== SEO BOX ===================== */
.seo-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.05);
}

/* ===================== FAQ ===================== */
.faq-grid { display: grid; gap: 14px; }
details {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}
summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
details p { margin: 12px 0 0; color: var(--muted); }

/* ===================== CONTACT SECTION ===================== */
.contact-section {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.contact-main, .contact-side {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 20px;
}
.contact-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}
.contact-box strong { display: block; margin-bottom: 6px; }
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ===================== FOOTER ===================== */
footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 30px 0 50px;
}
footer .footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
footer a { color: #fff; }
.small { font-size: 14px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .service-area,
  .contact-panel { grid-template-columns: 1fr; }
  .cards,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .menu { display: none; }
  .hero-grid { min-height: auto; padding: 58px 0; }
  .hero-points,
  .cards,
  .feature-grid,
  .gallery-grid,
  .process,
  .contact-boxes { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
  .glass-card, .contact-main, .contact-side { padding: 22px; }
  h1 { font-size: 2.45rem; }
}
