@charset "UTF-8";
/* =============================================================================
   site.css — ABC Nauka Jazdy Szczecin
   Charakter: electric-pop / playful-pop / sidebar-sticky
   Fonty: Poppins (display) + Work Sans (body)
   Paleta: primary #D62828 (czerwony) | accent #1D3557 (granat) | tlo jasne
   ============================================================================= */

/* --- Nadpisanie fontow z seeda (Poppins + Work Sans) ----------------------- */
:root {
  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
}

/* --- Google Fonts import --------------------------------------------------- */
/* (zaladowane przez <link> w HTML) */

/* --- Pasek "L" marki (ikonografia niszy) ---------------------------------- */
.brand-l-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--color-primary); color: #fff;
  font-family: var(--font-heading); font-weight: 900; font-size: 20px;
  border-radius: 8px; letter-spacing: -.03em; flex-shrink: 0;
}

/* --- Logotyp header -------------------------------------------------------- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  color: var(--text-strong); line-height: 1.2;
}
.brand-city { font-size: 11px; font-weight: 400; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }

/* --- CTA w headerze -------------------------------------------------------- */
.header-cta {
  background: var(--color-primary); color: #fff !important;
  border-radius: var(--radius-pill); padding: 8px 20px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: background .18s ease;
}
.header-cta:hover { background: var(--color-primary600); }

/* --- HERO: sidebar-sticky -------------------------------------------------- */
/* Layout: boczna kolumna z eyebrow/H1 przyklejona, prawa kolumna ze scrollowalnym contentem */
.hero-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(520px, 90svh, 900px);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero-sidebar {
    grid-template-columns: 380px 1fr;
    align-items: stretch;
  }
}

/* Lewa kolumna sticky */
.hero-sidebar__left {
  background: var(--color-accent);
  color: #fff;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: center;
  gap: var(--space-5);
  position: relative;
  z-index: 2;
}

@media (min-width: 900px) {
  .hero-sidebar__left {
    position: sticky; top: 64px;
    min-height: calc(100svh - 64px);
    height: fit-content;
  }
}

.hero-sidebar__eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.65); font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.hero-sidebar__eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--color-primary); border-radius: 1px;
}

.hero-sidebar__h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.02em;
  margin: 0;
}

.hero-sidebar__h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-sidebar__benefit {
  font-size: var(--fs-lg); color: rgba(255,255,255,.85); line-height: 1.5;
  max-width: 32ch;
}

.hero-sidebar__cta-group {
  display: flex; flex-direction: column; gap: var(--space-3);
}

.cta-phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-primary); color: #fff !important;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-family: var(--font-heading); font-weight: 800; font-size: 18px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
  width: fit-content;
}
.cta-phone:hover { background: var(--color-primary600); transform: translateY(-2px); }
.cta-phone__icon { font-size: 20px; }

.cta-secondary {
  font-size: 13px; color: rgba(255,255,255,.6); text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-secondary:hover { color: rgba(255,255,255,.9); }

.hero-sidebar__trust {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.7);
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: var(--space-4);
  margin-top: auto;
}
.hero-sidebar__trust .stars { color: #F5C518; letter-spacing: 1px; }
.hero-sidebar__trust strong { color: #fff; }

/* Prawa kolumna hero (wizualna) */
.hero-sidebar__right {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary100) 0%, #fff 60%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(32px, 6vw, 64px);
  gap: var(--space-6);
}

/* Dekoracyjne "L" na tlo hero */
.hero-sidebar__deco-l {
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(200px, 30vw, 400px);
  color: var(--color-primary);
  opacity: .04;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.hero-media-placeholder {
  width: 100%; max-width: 480px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary100), #fff);
  border: 2px dashed color-mix(in srgb, var(--color-primary) 35%, transparent);
  display: grid; place-items: center;
  text-align: center; gap: var(--space-3);
  padding: var(--space-6);
  color: var(--color-primary);
}
.hero-media-placeholder__icon { font-size: 56px; opacity: .5; }
.hero-media-placeholder__label {
  font-weight: 700; font-size: 15px; color: var(--text-muted);
  line-height: 1.4;
}
.hero-media-placeholder__sublabel { font-size: 12px; color: var(--text-muted); }

/* --- Pasek licznikow count-up --------------------------------------------- */
.stats-bar {
  background: var(--color-primary);
  padding: clamp(24px, 4vw, 40px) 0;
}
.stats-bar .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (min-width: 600px) { .stats-bar .container { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.stat-item__value {
  font-family: var(--font-heading); font-weight: 900;
  font-size: clamp(28px, 5vw, 44px); line-height: 1; color: #fff;
}
.stat-item__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* --- Sekcje generalne ------------------------------------------------------ */
.section-kicker {
  display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-primary); font-weight: 700; margin-bottom: var(--space-3);
}
.section-lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 55ch; }

/* --- Kafle "dlaczego my" --------------------------------------------------- */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.why-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary);
  display: grid; place-items: center; font-size: 26px;
  margin-bottom: var(--space-4);
}
.why-card h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.why-card p { color: var(--text-muted); font-size: 15px; }

/* --- Karty kursow ---------------------------------------------------------- */
.course-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-5); margin-top: var(--space-6);
}
.course-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.course-card__head {
  background: var(--color-accent); color: #fff;
  padding: var(--space-5) var(--space-6);
}
.course-card__cat {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; background: var(--color-primary);
  border-radius: var(--radius-md); font-family: var(--font-heading); font-weight: 900;
  font-size: 20px; color: #fff; margin-bottom: var(--space-4);
}
.course-card__head h3 { color: #fff; font-size: var(--fs-2xl); margin-bottom: 6px; }
.course-card__head p { color: rgba(255,255,255,.8); font-size: 14px; }
.course-card__body { padding: var(--space-5) var(--space-6); flex: 1; display: flex; flex-direction: column; gap: var(--space-4); background: var(--color-bg); }
.course-card__price {
  font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-2xl); color: var(--color-primary);
}
.course-card__price span { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.course-card__raty {
  display: inline-flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  color: var(--color-primary); border-radius: var(--radius-pill);
  padding: 4px 14px; font-size: 13px; font-weight: 700;
}
.course-card__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.course-card__features li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-body); }
.course-card__features li::before { content: ""; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.course-card__cta { margin-top: auto; }

/* --- Kroki kursu ----------------------------------------------------------- */
.steps-list {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin-top: var(--space-6); position: relative;
}
@media (min-width: 768px) { .steps-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
.step {
  display: flex; gap: var(--space-4); padding: var(--space-5);
  border-radius: var(--radius-lg);
  position: relative;
}
.step__num {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--color-primary); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 900; font-size: 18px;
}
.step__body h3 { margin-bottom: 4px; font-size: var(--fs-lg); }
.step__body p { font-size: 14px; color: var(--text-muted); }

/* --- Opinie ---------------------------------------------------------------- */
.section-opinie { background: var(--color-surface); }

/* --- CTA band -------------------------------------------------------------- */
.cta-band {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: clamp(40px, 8vw, 80px) var(--space-5);
}
.cta-band h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 50ch; margin-inline: auto; margin-bottom: var(--space-6); }
.cta-band .cta-phone { font-size: 22px; padding: 16px 36px; }

/* --- Stopka ---------------------------------------------------------------- */
.site-footer { background: var(--color-accent); color: rgba(255,255,255,.85); padding-block: var(--space-8); }
.site-footer__grid {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-city { color: rgba(255,255,255,.5); }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-3); }
.site-footer a { color: rgba(255,255,255,.75); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: var(--space-6); padding-top: var(--space-4); font-size: 12px; color: rgba(255,255,255,.45); }
.site-footer__nap p { font-size: 14px; line-height: 1.8; }
.site-footer__nap a { color: rgba(255,255,255,.85); }

/* --- Nav w header ---------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(130%) blur(10px);
  border-bottom: 1px solid var(--color-border); }
.site-header .container { display: flex; align-items: center; column-gap: var(--space-5); min-height: 64px; justify-content: space-between; }
.site-header nav[aria-label="Glowna"] { display: flex; align-items: center; gap: var(--space-4); }
.site-header nav[aria-label="Glowna"] a {
  font-size: 14px; font-weight: 500; color: var(--text-body);
  padding: 6px 4px; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-header nav[aria-label="Glowna"] a:hover { color: var(--color-primary); border-color: var(--color-primary); }
@media (max-width: 767px) {
  .site-header nav[aria-label="Glowna"] {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    padding: var(--space-3); transform: translateY(-120%);
    transition: transform .28s ease; box-shadow: 0 12px 32px rgba(0,0,0,.12); z-index: 49;
  }
  .site-header nav[aria-label="Glowna"].open { transform: translateY(0); }
  .site-header nav[aria-label="Glowna"] a { width: 100%; min-height: 48px; padding-inline: var(--space-4); justify-content: flex-start; display: flex; align-items: center; }
}

/* --- Okruszki (breadcrumb) ------------------------------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--text-muted); padding-block: var(--space-4); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb__sep { opacity: .4; }

/* --- Podstrony: hero wewnetrzny ------------------------------------------- */
.inner-hero {
  background-image: linear-gradient(135deg, #1D3557 0%, #122336 100%);
  background-color: #1D3557;
  color: #fff; padding: clamp(48px, 8vw, 80px) 0;
}
.inner-hero h1 { color: #fff; font-size: clamp(28px, 5vw, 52px); margin-bottom: var(--space-4); }
.inner-hero .lead { color: rgba(255,255,255,.8); font-size: var(--fs-lg); }
.inner-hero .breadcrumb { color: rgba(255,255,255,.6); }
.inner-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.inner-hero .breadcrumb a:hover { color: #fff; }

/* --- Cennik tabela --------------------------------------------------------- */
.price-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: var(--space-5); }
.price-table th { background: var(--color-accent); color: #fff; padding: 14px 16px; text-align: left; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.price-table td { padding: 14px 16px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--color-surface); }
.price-table .price-val { font-family: var(--font-heading); font-weight: 800; color: var(--color-primary); white-space: nowrap; }
.price-note { font-size: 13px; color: var(--text-muted); margin-top: var(--space-3); }

/* --- Formularz kontaktowy -------------------------------------------------- */
.contact-form { display: grid; gap: var(--space-5); max-width: 540px; }
.rodo-clause { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* --- Realizacje galeria ---------------------------------------------------- */
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.photo-item { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.photo-item:hover img { transform: scale(1.04); }
.photo-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--color-surface); border: 2px dashed var(--color-border); color: var(--text-muted); font-size: 13px; text-align: center; padding: var(--space-4); }

/* --- FAQ ------------------------------------------------------------------- */
.faq-section { max-width: 760px; margin-inline: auto; margin-top: var(--space-6); }

/* --- Mobile CTA sticky ----------------------------------------------------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: var(--space-3); padding: var(--space-3);
  background: var(--color-bg); border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  transform: translateY(120%); transition: transform .3s ease;
}
.mobile-cta .btn { flex: 1; }
.mobile-cta.show { transform: translateY(0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* --- Overflow fix (brak poziomego scrolla na 390px) ----------------------- */
body { overflow-x: hidden; }
* { max-width: 100%; }
table { table-layout: fixed; width: 100%; }

/* --- Sekcja "Nasze auto / flota" (placeholder) ---------------------------- */
.fleet-placeholder {
  background: var(--color-surface); border-radius: var(--radius-lg);
  padding: var(--space-7); text-align: center;
  border: 2px dashed color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--text-muted); margin-top: var(--space-6);
}
.fleet-placeholder__icon { font-size: 64px; margin-bottom: var(--space-4); opacity: .5; }
.fleet-placeholder h3 { color: var(--color-accent); margin-bottom: var(--space-3); }
