/* /przyklad - komponenty specyficzne dla strony, oparte na tokenach i wzorcach z landing.css */

.aw-ex-hero-inner { position: relative; z-index: 1; padding-block: 72px 48px; }
.aw-hero-bg .aw-ex-hero-photo { object-position: center 78%; transform: scaleX(-1); }
.aw-access-tag-public.aw-ex-tag-light { color: var(--aw-accent); background: rgba(var(--aw-accent-rgb),.1); }
.aw-access-tag-public.aw-ex-tag-light::before { background: var(--aw-accent); }
.aw-ex-hero-copy { max-width: 620px; }
.aw-ex-hero-copy h1 { font-size: clamp(40px, 4vw, 56px); line-height: 1.1; letter-spacing: -2.3px; color: white; }
.aw-ex-hero-copy h1 span { color: #34d399; }

/* Hero: pasek statystyk na ciemnym tle - naklada kolory z .aw-facts */
.aw-hero-wrap .aw-facts { border-color: rgba(255,255,255,.14); }
.aw-hero-wrap .aw-facts > div { border-color: rgba(255,255,255,.14); }
.aw-hero-wrap .aw-facts strong { color: white; }
.aw-hero-wrap .aw-facts p { color: #cbd5e1; }
.aw-hero-wrap .aw-facts p span { color: #7c8a9c; }

.aw-ex-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.aw-ex-pills span { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 600; color: #e2e8f0; }

.aw-ex-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 11px 18px; border-radius: 14px; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.3); }
.aw-ex-status-dot { position: relative; display: flex; width: 10px; height: 10px; flex-shrink: 0; }
.aw-ex-status-dot::before, .aw-ex-status-dot::after { content: ''; position: absolute; inset: 0; border-radius: 999px; background: #34d399; }
.aw-ex-status-dot::before { animation: aw-dot-pulse 2.2s ease-in-out infinite; }
.aw-ex-status strong { font-size: 13px; font-weight: 700; color: #6ee7b7; }
.aw-ex-status span.aw-ex-status-note { font-size: 13px; color: #94a3b8; }

/* Sekcja: CEPiK */
.aw-ex-cepik-card { padding: 28px; border: 1px solid var(--aw-border); border-radius: 18px; background: white; }
.aw-ex-cepik-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--aw-border); }
.aw-ex-cepik-head .aw-label { margin-bottom: 10px; }
.aw-ex-cepik-head h3 { font-size: 17px; letter-spacing: .5px; font-family: monospace; }
.aw-ex-cepik-head p { margin-top: 4px; font-size: 12px; }
.aw-ex-cepik-verified { background: rgba(var(--aw-accent-rgb),.1); color: var(--aw-accent); flex-shrink: 0; }
.aw-ex-cepik-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--aw-border); }
.aw-ex-cepik-facts > div { display: flex; flex-direction: column; gap: 6px; }
.aw-ex-cepik-facts span { font-size: 11px; font-weight: 600; color: var(--aw-muted); }
.aw-ex-cepik-facts strong { font-size: 14px; }
.aw-ex-cepik-history { padding-top: 22px; }
.aw-ex-cepik-history h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.aw-ex-cepik-history ul { list-style: none; margin: 0; padding: 0; }
.aw-ex-cepik-history li { display: flex; align-items: center; gap: 12px; padding-block: 10px; font-size: 13px; }
.aw-ex-cepik-history li + li { border-top: 1px solid var(--aw-border); }
.aw-ex-cepik-history li > span:nth-child(2) { font-weight: 700; min-width: 90px; }
.aw-ex-cepik-history li > span:nth-child(3) { color: var(--aw-muted); }
.aw-ex-cepik-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--aw-accent); flex-shrink: 0; }
.aw-ex-cepik-ok { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(var(--aw-accent-rgb),.1); color: var(--aw-accent); font-size: 11px; font-weight: 700; }

/* Sekcja: historia serwisowa - pionowa oś czasu */
.aw-ex-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.aw-ex-timeline::before { content: ''; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--aw-border); }
.aw-ex-timeline li { position: relative; display: flex; gap: 20px; }
.aw-ex-timeline li + li { margin-top: 16px; }
.aw-ex-timeline-num { position: relative; z-index: 1; flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--aw-accent); color: white; font-weight: 700; font-size: 14px; }
.aw-ex-timeline-card { flex: 1; min-width: 0; padding: 22px; border: 1px solid var(--aw-border); border-radius: 18px; background: white; transition: border-color 220ms var(--aw-ease-out), box-shadow 220ms var(--aw-ease-out), transform 220ms var(--aw-ease-out); }
.aw-ex-timeline-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.aw-ex-timeline-title { display: flex; align-items: center; gap: 12px; }
.aw-ex-entry-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.aw-ex-entry-icon svg { width: 17px; height: 17px; }
.aw-ex-timeline-card h3 { font-size: 16px; }
.aw-ex-timeline-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.aw-ex-timeline-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--aw-soft); font-size: 12px; font-weight: 500; color: var(--aw-muted); }
.aw-ex-timeline-card p:not(.aw-ex-timeline-meta) { margin-top: 12px; font-size: 13px; }
@media (hover: hover) and (pointer: fine) {
    .aw-ex-timeline-card:hover { border-color: rgba(var(--aw-accent-rgb),.4); box-shadow: 0 16px 36px -24px rgba(15,23,42,.2); transform: translateY(-2px); }
}

/* Sekcja: galeria */
.aw-ex-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.aw-ex-gallery figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid rgba(255,255,255,.08); }
.aw-ex-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--aw-ease-out); }
.aw-ex-gallery-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.88) 0%, rgba(15,23,42,.15) 45%, transparent 70%); }
.aw-ex-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 16px; }
.aw-ex-gallery figcaption strong { display: block; font-size: 14px; font-weight: 700; color: white; }
.aw-ex-gallery figcaption small { display: block; margin-top: 2px; font-size: 12px; color: #94a3b8; }
.aw-ex-gallery-badge { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: rgba(52,211,153,.18); border: 1px solid rgba(52,211,153,.35); font-size: 10px; font-weight: 700; color: #6ee7b7; }
@media (hover: hover) and (pointer: fine) {
    .aw-ex-gallery figure:hover img { transform: scale(1.06); }
}

/* Sekcja: terminy i alerty */
.aw-ex-alerts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aw-ex-alert-card { padding: 24px; border-radius: 18px; border: 1px solid var(--aw-border); background: white; }
.aw-ex-alert-card.is-warn { border-color: rgba(245,158,11,.35); }
.aw-ex-alert-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.aw-ex-alert-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(var(--aw-accent-rgb),.1); color: var(--aw-accent); }
.aw-ex-alert-card.is-warn .aw-ex-alert-icon { background: rgba(245,158,11,.12); color: #b45309; }
.aw-ex-alert-icon svg { width: 19px; height: 19px; }
.aw-ex-alert-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(var(--aw-accent-rgb),.1); color: var(--aw-accent); font-size: 10px; font-weight: 700; }
.aw-ex-alert-card.is-warn .aw-ex-alert-status { background: rgba(245,158,11,.12); color: #b45309; }
.aw-ex-alert-status span { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.aw-ex-alert-card p.aw-ex-alert-label { margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--aw-muted); }
.aw-ex-alert-days { margin-top: 4px; font-size: 30px; font-weight: 800; letter-spacing: -1px; color: var(--aw-ink); }
.aw-ex-alert-days span { font-size: 15px; font-weight: 600; color: var(--aw-muted); }
.aw-ex-alert-date { margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--aw-muted); }
.aw-ex-alert-note { margin-top: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(var(--aw-accent-rgb),.08); font-size: 12px; font-weight: 600; color: var(--aw-accent); }
.aw-ex-alert-card.is-warn .aw-ex-alert-note { background: rgba(245,158,11,.1); color: #b45309; }
.aw-ex-calendar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 20px; border-radius: 18px; border: 1px solid var(--aw-border); background: white; }
.aw-ex-calendar-row > div { display: flex; align-items: center; gap: 16px; }
.aw-ex-calendar-row h4 { font-size: 15px; font-weight: 700; }
.aw-ex-calendar-row p { margin-top: 2px; font-size: 12px; }

.aw-ex-doc-list article { grid-template-columns: 44px 1fr auto; }
.aw-ex-doc-list article > span:last-child { color: inherit; }
.aw-ex-doc-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
    .aw-ex-doc-list article:hover > span:last-child { transform: none; }
}

/* Sekcja: koszty i tankowania */
.aw-ex-cost-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.aw-ex-cost-stats > div { padding: 20px; border-radius: 16px; border: 1px solid var(--aw-border); background: white; }
.aw-ex-cost-stats strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.aw-ex-cost-stats p { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--aw-muted); }
.aw-ex-cost-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; }
.aw-ex-cost-panel { padding: 24px; border-radius: 18px; border: 1px solid var(--aw-border); background: white; }
.aw-ex-cost-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.aw-ex-cost-panel-head h3 { font-size: 15px; }
.aw-ex-fuel-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--aw-soft); }
.aw-ex-fuel-row + .aw-ex-fuel-row { margin-top: 8px; }
.aw-ex-fuel-row strong { display: block; font-size: 13px; }
.aw-ex-fuel-row small { display: block; margin-top: 2px; font-size: 12px; color: var(--aw-muted); }
.aw-ex-fuel-row .aw-ex-fuel-price { margin-left: auto; font-size: 13px; font-weight: 800; }
.aw-ex-split-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--aw-soft); }
.aw-ex-split-bar span { display: block; height: 100%; }
.aw-ex-split-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.aw-ex-split-rows > div { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.aw-ex-split-rows .aw-ex-dot { display: inline-flex; width: 9px; height: 9px; border-radius: 999px; margin-right: 8px; }
.aw-ex-months { margin-top: 22px; }
.aw-ex-months p { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--aw-muted); margin-bottom: 10px; }
.aw-ex-month-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.aw-ex-month-bars > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.aw-ex-month-bars .aw-ex-bar-track { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 56px; }
.aw-ex-month-bars .aw-ex-bar { width: 100%; border-radius: 6px 6px 0 0; background: rgba(var(--aw-accent-rgb),.35); }
.aw-ex-month-bars span { font-size: 10px; font-weight: 700; color: var(--aw-muted); }

/* Sekcja: prywatnosc / widocznosc */
.aw-ex-visibility-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--aw-border); }
.aw-ex-visibility-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; }
.aw-ex-visibility-icon svg { width: 17px; height: 17px; }
.aw-ex-visibility-head h3 { font-size: 15px; }
.aw-ex-visibility-head p { margin-top: 2px; font-size: 12px; }
.aw-ex-visibility-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; }
.aw-ex-visibility-row + .aw-ex-visibility-row { margin-top: 6px; }
.aw-ex-visibility-row span:first-child { font-size: 13px; font-weight: 600; }
.aw-ex-visibility-badge { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.aw-ex-visibility-badge svg { width: 11px; height: 11px; }

/* Sekcja: pakiet sprzedazowy - reuzywa .aw-feature-grid, modyfikacja liczby kolumn */
.aw-ex-materials.aw-feature-grid { grid-template-columns: repeat(5, 1fr); }

/* Sekcja: CTA - wariant wysrodkowany karty .aw-final zdefiniowany w landing.css (.aw-final-center) */

@media (max-width: 900px) {
    .aw-ex-gallery { grid-template-columns: repeat(2, 1fr); }
    .aw-ex-alerts { grid-template-columns: 1fr; }
    .aw-ex-cost-grid { grid-template-columns: 1fr; }
    .aw-ex-cost-stats { grid-template-columns: 1fr; }
    .aw-ex-materials.aw-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .aw-ex-cepik-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .aw-ex-hero-inner { padding-block: 40px 32px; }
    .aw-ex-materials.aw-feature-grid { grid-template-columns: 1fr; }
    .aw-ex-cepik-card { padding: 20px; }
    .aw-ex-cepik-facts { grid-template-columns: 1fr; gap: 14px; }
    .aw-ex-cepik-history li { flex-wrap: wrap; }
    .aw-ex-cepik-ok { margin-left: 19px; }
    .aw-ex-doc-list article { grid-template-columns: 36px 1fr; row-gap: 10px; }
    .aw-ex-doc-price { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; white-space: normal; }
    .aw-ex-hero-copy h1 { font-size: clamp(32px, 8.9vw, 43px); letter-spacing: -1.4px; }
    .aw-ex-gallery { grid-template-columns: 1fr; }
    .aw-ex-timeline::before { left: 17px; }
    .aw-ex-timeline-num { width: 36px; height: 36px; font-size: 12px; }
    .aw-ex-timeline-card { padding: 16px; }
    .aw-ex-calendar-row { display: block; }
    .aw-ex-calendar-row > div { margin-bottom: 12px; }
    .aw-final-center h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .aw-ex-timeline-card { transition: none; }
    .aw-ex-gallery img { transition: none; }
    .aw-ex-status-dot::before { animation: none; }
}
