/* Onlinemagneet — FAQ pagina */

:root {
    --om-orange: #FF6B35;
    --om-red: #E63946;
    --om-gradient: linear-gradient(135deg, #FF6B35 0%, #E63946 50%, #FF8C42 100%);
    --om-bg: #0F1419;
    --om-card: #151B24;
    --om-elevated: #1A2230;
    --om-text: rgba(255, 255, 255, 0.92);
    --om-muted: rgba(255, 255, 255, 0.62);
    --om-border: rgba(255, 255, 255, 0.08);
    --om-green: #2ECC71;
}

body.om-site.om-faq {
    background: var(--om-bg);
    color: var(--om-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    padding-bottom: 5rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 768px) {
    .faq-container { padding: 0 1.75rem; }
}

.faq-gradient-text {
    background: var(--om-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.35);
    margin-bottom: 1.25rem;
}

.faq-hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
    position: relative;
}

.faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 107, 53, 0.14), transparent);
    pointer-events: none;
}

.faq-hero__inner {
    position: relative;
}

.faq-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.faq-hero__lead {
    font-size: 1.0625rem;
    color: var(--om-muted);
    max-width: 560px;
    margin: 0 auto 1.75rem;
    line-height: 1.65;
}

.faq-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .faq-quick { grid-template-columns: 1fr; }
}

.faq-quick__item {
    background: var(--om-card);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 0.85rem 0.75rem;
    text-align: center;
}

.faq-quick__item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.15rem;
}

.faq-quick__item span {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--om-muted);
    font-weight: 600;
}

.faq-search-wrap {
    margin: 2rem 0 1.25rem;
}

.faq-search {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.75rem;
    border-radius: 0.85rem;
    border: 1px solid var(--om-border);
    background: var(--om-card);
    color: #fff;
    font-size: 0.9375rem;
    font-family: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.9rem center;
    background-size: 1.1rem;
}

.faq-search:focus {
    outline: none;
    border-color: rgba(255, 107, 53, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.faq-search::placeholder { color: rgba(255, 255, 255, 0.35); }

.faq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 2rem;
}

.faq-chips button {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--om-border);
    background: transparent;
    color: var(--om-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-chips button:hover,
.faq-chips button.is-active {
    background: rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.35);
    color: #fff;
}

.faq-section {
    margin-bottom: 2.5rem;
}

.faq-section__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--om-orange);
    margin: 0 0 1rem;
}

.faq-section__title i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 107, 53, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.faq-item {
    background: var(--om-card);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.is-open {
    border-color: rgba(255, 107, 53, 0.3);
}

.faq-item.is-hidden { display: none; }

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.45;
}

.faq-q i {
    flex-shrink: 0;
    color: var(--om-orange);
    font-size: 0.75rem;
    transition: transform 0.25s;
}

.faq-item.is-open .faq-q i { transform: rotate(180deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-a { max-height: 500px; }

.faq-a__inner {
    padding: 0 1.1rem 1.1rem;
    font-size: 0.875rem;
    color: var(--om-muted);
    line-height: 1.65;
}

.faq-a__inner a {
    color: #FF8C42;
    text-decoration: none;
    font-weight: 600;
}

.faq-a__inner a:hover { text-decoration: underline; }

.faq-a__inner strong { color: rgba(255, 255, 255, 0.9); }

.faq-cta {
    margin: 3rem 0 1rem;
    padding: 2.5rem 1.75rem;
    border-radius: 1.25rem;
    text-align: center;
    background: linear-gradient(160deg, rgba(255, 107, 53, 0.12), rgba(230, 57, 70, 0.08));
    border: 1px solid rgba(255, 107, 53, 0.25);
}

.faq-cta h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
}

.faq-cta p {
    color: var(--om-muted);
    font-size: 0.9375rem;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.faq-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.faq-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    color: #fff;
    background: var(--om-gradient);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.35);
    transition: transform 0.2s;
}

.faq-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

.faq-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    color: var(--om-muted);
    border: 1px solid var(--om-border);
    transition: border-color 0.2s, color 0.2s;
}

.faq-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.faq-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--om-border);
}

.faq-sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    color: #fff;
    background: var(--om-gradient);
}

@media (max-width: 768px) {
    .faq-sticky-cta { display: block; }
    body.om-site.om-faq { padding-bottom: 5.5rem; }
}

.faq-no-results {
    display: none;
    text-align: center;
    padding: 2rem;
    color: var(--om-muted);
    font-size: 0.9375rem;
}

.faq-no-results.is-visible { display: block; }
