/* ============================================================
   FLOWBRAIN — servicios.css
   Styles specific to servicios.html
   ============================================================ */

/* ── Tech stack pills ── */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.tech-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ── FAQ ── */
.faq-list {
    max-width: 760px;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.35rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    background: transparent;
    cursor: pointer;
    border: none;
    transition: color 0.25s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1;
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: rotate(45deg);
}

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

.faq-answer p {
    padding-bottom: 1.35rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

/* ── Section divider ── */
.section-divider {
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}

/* ── Service card visuals ── */
.scf-big-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: block;
}

.scf-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    color: var(--accent);
    opacity: 0.15;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .scf-card {
        grid-template-columns: 1fr !important;
    }

    .scf-visual {
        font-size: 5rem;
        opacity: 0.1;
    }
}

/* ── Service visual images ── */
.scf-visual-img {
    opacity: 1;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    align-items: stretch;
}

.scf-visual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg, 16px);
    display: block;
    min-height: 280px;
    max-height: 420px;
    transition: transform .4s ease;
}

.scf-card:hover .scf-visual-img img {
    transform: scale(1.03);
}