/* APEX // BRAKE LAB — Preguntas frecuentes (faq.html) */

:root {
    --bg-dark: #0a0a0d;
    --card-bg: #121217;
    --red-eva: #e60012;
    --yellow-eva: #ffc700;
    --green-eva: #10b981;
    --text-main: #f3f4f6;
    --text-muted: #a1a1aa;
    --font-head: 'Rajdhani', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

:focus-visible { outline: 2px solid var(--yellow-eva); outline-offset: 3px; }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: rgba(18, 18, 23, 0.95);
    border-bottom: 1px solid rgba(230, 0, 18, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(230, 0, 18, 0.6);
}

.accent { color: var(--red-eva); }

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--yellow-eva); }

.container {
    max-width: 760px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.title {
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-head);
    font-size: 2.1rem;
    letter-spacing: 2px;
}

.faq-item {
    margin-bottom: 0.8rem;
    background-color: var(--card-bg);
    border-left: 3px solid var(--red-eva);
    transition: border-color 0.2s ease;
}

.faq-item[open],
.faq-item:hover { border-left-color: var(--yellow-eva); }

.faq-item summary {
    padding: 1rem 1.2rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--yellow-eva);
    font-size: 1.4rem;
    line-height: 1;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    padding: 0 1.2rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.faq-item strong { color: var(--text-main); }

.footer {
    padding: 2.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
    .navbar { padding: 1rem; }
    .logo { font-size: 1.25rem; }
    .container { margin: 2rem auto; }
    .title { font-size: 1.6rem; }
    .faq-item summary { font-size: 1.1rem; }
}
