/*
Theme Name: Złomowanie Aut Lublin Clean
Theme URI: https://zlomowanie-aut-lublin.pl/
Author: Rebiarz.pl
Description: Czysty, responsywny motyw przygotowany podczas migracji witryny.
Version: 1.0.0
Text Domain: zlomowanie-clean
*/

:root {
  --ink: #101824;
  --muted: #586576;
  --blue: #0878bd;
  --blue-dark: #075b91;
  --yellow: #f5c518;
  --paper: #ffffff;
  --soft: #f2f6f9;
  --line: #dbe4eb;
  --shadow: 0 18px 48px rgba(16, 24, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; background: #fff; padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(16,24,36,.1); backdrop-filter: blur(10px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 170px; max-height: 72px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 750; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.main-nav a:hover, .main-nav a:focus { color: var(--blue); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; background: var(--blue); padding: 11px 16px; border-radius: 8px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px 13px; font: inherit; font-weight: 750; }

.hero { min-height: 650px; display: grid; align-items: center; position: relative; color: #fff; background: linear-gradient(90deg, rgba(5,14,24,.88), rgba(5,14,24,.35)), var(--hero) center/cover no-repeat; }
.hero-content { width: min(720px, 100%); padding-block: 92px; }
.eyebrow { margin: 0 0 12px; color: var(--yellow); text-transform: uppercase; font-weight: 800; letter-spacing: .14em; font-size: 13px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
.hero p { max-width: 660px; margin: 0 0 30px; font-size: clamp(19px, 2vw, 24px); line-height: 1.55; color: rgba(255,255,255,.9); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 22px; border: 2px solid var(--yellow); border-radius: 8px; background: var(--yellow); color: #111; text-decoration: none; font-weight: 850; cursor: pointer; }
.button:hover, .button:focus { filter: brightness(.95); transform: translateY(-1px); }
.button-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.button-blue { background: var(--blue); border-color: var(--blue); color: #fff; }

.trust-strip { background: var(--yellow); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 20px 26px; display: flex; gap: 12px; align-items: center; justify-content: center; font-weight: 800; text-align: center; border-right: 1px solid rgba(0,0,0,.14); }
.trust-item:last-child { border: 0; }
.trust-icon { font-size: 24px; }

.section { padding: 86px 0; }
.section-soft { background: var(--soft); }
.section-blue { background: var(--blue-dark); color: #fff; }
.section-yellow { background: var(--yellow); }
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section h2, .page-hero h1 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -.03em; }
.section h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; }
.lead { font-size: 20px; color: var(--muted); }
.section-blue .lead { color: rgba(255,255,255,.82); }
.content-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.media-card { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(16,24,36,.06); }
.number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 18px; background: var(--yellow); font-weight: 900; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 7px 0 7px 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: #111; font-weight: 900; }
.notice { padding: 22px 24px; border-left: 5px solid var(--yellow); background: rgba(255,255,255,.1); border-radius: 0 10px 10px 0; }

.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.form-card { padding: 34px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin: 0 0 7px; font-weight: 800; overflow-wrap: anywhere; }
.field input, .field textarea { width: 100%; max-width: 100%; min-width: 0; border: 1px solid #bac6cf; border-radius: 8px; padding: 13px 14px; background: #fff; color: var(--ink); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(8,120,189,.18); border-color: var(--blue); }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.form-status { padding: 13px 16px; margin-bottom: 18px; border-radius: 8px; font-weight: 700; }
.form-status.ok { background: #e7f7ed; color: #155c31; }
.form-status.error { background: #fff0f0; color: #972020; }
.hp { position: absolute !important; left: -9999px !important; }

.page-hero { padding: 74px 0; color: #fff; background: linear-gradient(90deg, rgba(5,14,24,.9), rgba(5,14,24,.48)), var(--hero) center/cover no-repeat; }
.page-hero p { max-width: 700px; font-size: 20px; color: rgba(255,255,255,.86); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid a { display: block; overflow: hidden; border-radius: 10px; background: #dfe7ed; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.gallery-grid a:hover img { transform: scale(1.035); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 30px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.contact-card a { font-weight: 800; }

.site-footer { background: #0b111a; color: rgba(255,255,255,.75); padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 150px; padding: 8px; background: #fff; border-radius: 8px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; margin-top: 0; font-size: 18px; }
.site-footer a { color: #fff; }
.copyright { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }

.mobile-bar { display: none; }

@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: 70px; }
  .container { width: min(100% - 30px, 760px); }
  .header-inner { min-height: 74px; }
  .brand img { width: 136px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; inset: 74px 0 auto; padding: 20px; background: #fff; box-shadow: 0 14px 25px rgba(0,0,0,.12); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 4px; }
  .header-phone { justify-content: center; }
  .hero { min-height: 570px; }
  .hero-content { padding-block: 74px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.13); }
  .content-grid, .form-wrap, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { position: fixed; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; z-index: 200; left: 0; right: 0; bottom: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.13); }
  .mobile-bar a { min-height: 50px; display: grid; place-items: center; border: 2px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 850; }
  .mobile-bar a:last-child { background: #fff; color: var(--blue-dark); }
}

@media (max-width: 560px) {
  .section { padding: 62px 0; }
  .form-card { padding: 22px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .copyright { flex-direction: column; }
  .hero h1 { font-size: 42px; }
}
