/* Layout shared by /uslugi and /produkti. Colours come from base.css. */

.lede { color: var(--text-muted); max-width: 720px; margin: 0 auto 26px; text-align: center; }
.center { text-align: center; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* Anchored sections must clear the fixed nav pill. */
[id] { scroll-margin-top: 110px; }

/* ─── offer cards (a service or a product) ─── */
.offer-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.offer { display: flex; flex-direction: column; }
/* Image slot, 16:9. .media-empty is what shows until a real image exists. */
.offer .media {
    aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-bottom: 18px;
    border: 1px solid var(--glass-border); background: rgba(15, 23, 42, 0.6);
}
.offer .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer .media-empty {
    background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(15,23,42,0.6));
    border-style: dashed;
}
.offer .tag { align-self: flex-start; margin-bottom: 10px; }
.offer h3 { color: #fff; font-size: 1.2rem; letter-spacing: -0.3px; margin-bottom: 10px; }
.offer p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 14px; }
.offer ul { list-style: none; margin: 0 0 20px; padding: 0; }
.offer li {
    color: #cbd5e1; font-size: 0.92rem; padding: 5px 0 5px 24px; position: relative;
}
.offer li::before {
    content: '✓'; position: absolute; left: 0; top: 5px;
    color: var(--accent-green); font-weight: 800;
}
.offer .btn { margin-top: auto; align-self: flex-start; }

/* ─── prose blocks ─── */
.prose p { color: var(--text-muted); margin-bottom: 14px; }
.prose strong { color: #e2e8f0; }
.text-link { color: #60a5fa; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: #93c5fd; }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
    cursor: pointer; list-style: none; color: #fff; font-weight: 700;
    font-size: 1.05rem; padding: 18px 36px 18px 0; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 4px; top: 13px;
    font-size: 1.5rem; color: #60a5fa; font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; border-radius: 6px; }
.faq-a { color: var(--text-muted); padding-bottom: 18px; }

/* ─── enquiry form ─── */
.form-card { max-width: 720px; margin: 0 auto; }
.form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.req { color: #f87171; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.form-note { font-size: 0.8rem; color: #94a3b8; margin-top: 12px; text-align: center; }
