/* MotoRiders.com.pl — warsztat samochodowy Zawiercie */
:root {
    --bg: #0c0c0e;
    --bg-card: rgba(20, 20, 24, 0.9);
    --primary: #e85d04;
    --primary-light: #fb923c;
    --primary-dark: #c2410c;
    --accent: #fbbf24;
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --header-h: 72px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }

::selection { background: var(--primary); color: #fff; }

.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(232, 93, 4, 0.12), transparent),
        radial-gradient(ellipse 50% 40% at 90% 60%, rgba(251, 191, 36, 0.06), transparent);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--header-h);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 14, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-svg { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.logo-accent { color: var(--primary); }

.nav { display: none; gap: 0.25rem; }
.nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link[aria-current="page"] {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}
.nav-link-porady {
    color: var(--primary-light) !important;
    border: 1px solid rgba(232, 93, 4, 0.35);
}

.header-actions { display: none; align-items: center; gap: 0.75rem; }

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.status-dot {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    padding: 4px;
    z-index: 10;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 14, 0.98);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding-top: var(--header-h);
}
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav-content {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 0.5rem;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-number { font-size: 0.75rem; color: var(--primary); font-weight: 700; }
.mobile-nav-footer { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn .icon, svg.icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn-large { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(232, 93, 4, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(232, 93, 4, 0.4); }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.btn-glow {
    padding: 0.6rem 1.1rem;
    font-size: 0.875rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 999px;
    white-space: nowrap;
}

/* Hero */
.hero {
    margin-top: var(--header-h);
    padding: 3rem 0 2.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.hero-title {
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.hero-title-accent {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 560px;
}

/* Contact strip — widoczny od razu */
.contact-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.contact-strip-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.2s;
}
.contact-strip-card:hover { border-color: rgba(232, 93, 4, 0.4); transform: translateY(-2px); }
.contact-strip-card--primary {
    border-color: rgba(232, 93, 4, 0.35);
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.12), rgba(20, 20, 24, 0.95));
}
.contact-strip-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.15);
    border-radius: var(--radius);
    color: var(--primary-light);
    flex-shrink: 0;
}
.contact-strip-icon svg { width: 24px; height: 24px; }
.contact-strip-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-strip-value { font-size: 1.25rem; font-weight: 700; }
.contact-strip-note { font-size: 0.8125rem; color: var(--text-secondary); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.hero-stat { text-align: center; flex: 1; min-width: 90px; }
.hero-stat-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary-light); }
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); }

/* Sections */
.section { padding: 4rem 0; }
.section-dark { background: rgba(0,0,0,0.25); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-tag {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    background: rgba(232, 93, 4, 0.1);
    border: 1px solid rgba(232, 93, 4, 0.25);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.section-description { color: var(--text-secondary); font-size: 1.0625rem; }
.section-description a { color: var(--primary-light); text-decoration: underline; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service cards */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.bento-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s;
}
.bento-card:hover { border-color: rgba(232, 93, 4, 0.3); }
.bento-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.1);
    border-radius: var(--radius);
    color: var(--primary-light);
    margin-bottom: 1rem;
}
.bento-icon svg { width: 24px; height: 24px; }
.bento-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.bento-description { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0.75rem; }
.bento-more { color: var(--primary-light); font-weight: 600; font-size: 0.9rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--bg-card);
}
.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); }
.faq-answer p + p { margin-top: 0.75rem; }

/* Contact section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.contact-card-primary { border-color: rgba(232, 93, 4, 0.35); }
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
.contact-item:last-child { border-bottom: none; }
a.contact-item:hover { background: rgba(255,255,255,0.03); }
.contact-item-large .contact-value { font-size: 1.5rem; font-weight: 700; }
.contact-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.12);
    border-radius: var(--radius);
    color: var(--primary-light);
    flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-value { font-size: 1.0625rem; font-weight: 600; }
.contact-note { font-size: 0.8125rem; color: var(--text-secondary); }
.contact-arrow { width: 20px; height: 20px; color: var(--primary); margin-left: auto; flex-shrink: 0; }

.map-container {
    position: relative;
    height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.map-container iframe { width: 100%; height: 100%; }
.map-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.4));
}
.map-btn:hover { background: var(--primary-dark); }

/* Footer */
.footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text); }
.footer-description, .footer-contact p, .footer-hours p, .footer-links p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}
.footer-contact a, .footer-links a { color: var(--primary-light); }
.footer-contact a:hover, .footer-links a:hover { text-decoration: underline; }
.footer-highlight { color: var(--primary-light) !important; font-weight: 600; }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.footer-bottom a { color: var(--text-secondary); }

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 1.5rem;
    right: 1.25rem;
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(232, 93, 4, 0.45);
    z-index: 300;
    transition: transform 0.2s;
}
.floating-cta:hover { transform: scale(1.08); }
.floating-cta svg { width: 26px; height: 26px; }

/* CTA box */
.cta-box {
    margin-top: 2.5rem;
    padding: 2rem;
    text-align: center;
    background: rgba(232, 93, 4, 0.08);
    border: 1px solid rgba(232, 93, 4, 0.25);
    border-radius: var(--radius-lg);
}
.cta-box p { margin-bottom: 1rem; color: var(--text-secondary); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Responsive */
@media (min-width: 640px) {
    .contact-strip { grid-template-columns: repeat(2, 1fr); }
    .contact-strip-card--primary { grid-column: span 2; }
}
@media (min-width: 768px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-card-wide { grid-column: span 2; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .nav { display: flex; }
    .header-actions { display: flex; }
    .hamburger { display: none; }
    .hero { padding: 4rem 0 3rem; }
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
    .contact-strip { grid-template-columns: 1fr; }
    .contact-strip-card--primary { grid-column: span 1; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 767px) {
    .floating-cta { display: none; }
}
