/* ========================================
   Von Bastik Tattoo Studio - FAQ Styles
   ======================================== */

/* --- FAQ Hero --- */
.faq-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
    padding-top: 80px;
}

.faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,169,110,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.faq-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
}

.faq-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #e5e5e5;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.faq-hero-title span {
    color: #c9a96e;
}

.faq-hero-subtitle {
    color: #888;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Decorative line under hero --- */
.faq-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a96e, transparent);
    margin: 1.5rem auto 0;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 4rem 1.5rem 6rem;
    background: #0a0a0a;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Category Label --- */
.faq-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 100px;
    color: #c9a96e;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

/* --- Accordion --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.faq-item {
    background: #111111;
    border: 1px solid #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    margin-bottom: 15px; /* Incremento del espaciado entre elementos */
}

.faq-item.active {
    border-color: rgba(201,169,110,0.4);
}

.faq-item:hover {
    border-color: rgba(201,169,110,0.25);
}

/* --- Question Button --- */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #e5e5e5;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem; /* Aumentar ligeramente el tamaño de fuente */
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #c9a96e;
}

.faq-item.active .faq-question {
    color: #c9a96e;
}

.faq-question-text {
    flex: 1;
}

/* --- Icon --- */
.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.7rem;
    transition: all 0.35s ease;
    background: #0d0d0d;
}

.faq-item.active .faq-icon {
    background: rgba(201,169,110,0.12);
    border-color: rgba(201,169,110,0.5);
    color: #c9a96e;
    transform: rotate(45deg);
}

/* --- Answer Panel --- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: none;
}

.faq-answer-inner {
    padding: 0 1.6rem 1.6rem;
    border-top: 1px solid #1e1e1e;
    padding-top: 1.2rem;
}

.faq-answer-inner p {
    color: #ccc; /* Contraste mejorado */
    font-size: 1rem; /* Ajuste para mayor legibilidad */
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.75rem;
}

.faq-answer-inner ul li {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0.2rem 0 0.2rem 1.4rem;
    position: relative;
}

.faq-answer-inner ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #c9a96e;
}

.faq-answer-inner strong {
    color: #e5e5e5;
}

/* --- Rules Banner --- */
.faq-rules-banner {
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.35);
    border-radius: 8px;
}

.faq-rules-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #c9a96e;
    margin-bottom: 1rem;
}

.faq-rules-title i {
    font-size: 0.9rem;
    color: #c9a96e;
}

.faq-rules-banner ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-rules-banner ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0;
}

.faq-rules-banner ul li::before {
    display: none;
}

.faq-rules-banner ul li i {
    color: #c9a96e;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.faq-rules-banner ul li strong {
    color: #e5e5e5;
}

/* --- Phase titles inside FAQ answers --- */
.faq-phase-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #c9a96e;
    margin: 1.2rem 0 0.5rem;
}

.faq-phase-title:first-child {
    margin-top: 0;
}

.faq-phase-title i {
    font-size: 0.85rem;
    color: #c9a96e;
}

/* --- FAQ Note --- */
.faq-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(201,169,110,0.06);
    border-left: 2px solid #c9a96e;
    border-radius: 0 4px 4px 0;
    padding: 0.8rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

.faq-note i {
    color: #c9a96e;
    margin-top: 2px;
    flex-shrink: 0;
}

/* --- FAQ Note for Medical Alert --- */
.alerta-medica {
    background: rgba(201,169,110,0.08);
    border-left: 3px solid #c9a96e;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
}

.alerta-medica i {
    color: #c9a96e;
    font-size: 1rem;
    margin-bottom: 8px;
}

.alerta-medica p {
    color: #aaa;
    margin-bottom: 0.75rem;
}

.alerta-medica ul li {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.alerta-medica .font-bold {
    font-weight: 700;
    color: #ffffff !important;
}

/* --- FAQ Note Vertical Layout --- */
.faq-note.vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: rgba(201,169,110,0.06);
    border-left: 2px solid #c9a96e;
    border-radius: 0 4px 4px 0;
    padding: 1rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

.faq-note.vertical i {
    color: #c9a96e;
    margin-bottom: 8px;
}

.faq-note.vertical p {
    margin-bottom: 0.5rem;
}

.faq-note.vertical .font-bold {
    font-weight: bold;
}

/* --- CTA at bottom --- */
.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2.5rem;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
}

.faq-cta h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #e5e5e5;
    margin-bottom: 0.6rem;
}

.faq-cta p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* --- Banner de alerta médica --- */
.alerta-medica {
    background-color: #fff3cd; /* Mantener el fondo amarillo claro */
    border-left: 6px solid #ffc107; /* Aumentar el grosor del borde para mayor visibilidad */
    padding: 1.5rem; /* Incrementar el padding para mayor espacio interno */
    border-radius: 6px; /* Suavizar las esquinas */
    color: #856404; /* Asegurar contraste adecuado */
    font-size: 1rem; /* Ajustar tamaño de fuente para mejor legibilidad */
    line-height: 1.6; /* Mejorar el espaciado entre líneas */
}

.alerta-medica i {
    color: #856404;
    margin-right: 12px; /* Aumentar separación del ícono */
    font-size: 1.2rem; /* Hacer el ícono más visible */
}

.alerta-medica p {
    margin-bottom: 1rem; /* Aumentar separación entre párrafos */
}

.alerta-medica ul {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.alerta-medica ul li {
    margin-bottom: 0.5rem;
    color: #856404; /* Asegurar consistencia de color en los elementos de la lista */
}

.alerta-medica .font-bold {
    font-weight: bold;
    color: #000; /* Resaltar texto importante en negro */
}



/* --- Responsive --- */
@media (max-width: 640px) {
    .faq-question {
        padding: 1.1rem 1.2rem;
        font-size: 0.9rem;
    }

    .faq-answer-inner {
        padding: 0 1.2rem 1.4rem;
        padding-top: 1rem;
    }

    .faq-hero-title {
        font-size: 2.5rem; /* Ajuste para evitar desbordes en títulos */
    }

    .faq-container {
        padding: 0 1rem; /* Reducir el padding lateral en pantallas pequeñas */
    }

    .faq-note {
        font-size: 0.8rem; /* Ajuste del tamaño de las notas para pantallas pequeñas */
    }
}
