
/* ── PROCESO ── */
#proceso {
    padding: 100px 0;
    background: var(--c-surface2);
    position: relative;
    overflow: hidden;
}
#proceso::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 90% 20%, rgba(249,115,22,.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 5% 80%,  rgba(59,130,246,.05) 0%, transparent 55%);
    pointer-events: none;
}
 
/* header compartido */
.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--c-cyan);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
}
.sec-eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--c-cyan);
    display: block;
}
.sec-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin-bottom: 14px;
    font-family: 'Outfit', sans-serif;
    color: var(--c-text);
}
.sec-title .hl {
    background: linear-gradient(90deg, var(--c-cyan), var(--c-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sec-sub {
    font-size: .95rem;
    color: var(--c-muted);
    line-height: 1.8;
    max-width: 520px;
}
 
/* proceso timeline */
.proceso-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 56px;
}
.proceso-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.proceso-step {
    display: flex;
    gap: 20px;
    cursor: pointer;
    position: relative;
}
.proceso-step:not(:last-child) .step-line {
    position: absolute;
    left: 19px;
    top: 44px;
    width: 2px;
    bottom: -8px;
    background: linear-gradient(to bottom, var(--c-cyan), transparent);
    opacity: .25;
    transition: opacity .3s;
}
.proceso-step.active .step-line { opacity: .7; }
 
.step-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    border: 2px solid var(--c-border);
    color: var(--c-muted);
    background: var(--c-surface);
    transition: all .3s;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
.proceso-step.active .step-num,
.proceso-step:hover .step-num {
    background: linear-gradient(135deg, var(--c-cyan2), var(--c-violet2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 20px rgba(249,115,22,.35);
}
 
.step-body {
    padding: 8px 0 32px;
    flex: 1;
}
.step-tag {
    font-size: .65rem;
    font-weight: 700;
    color: var(--c-cyan);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 5px;
    display: block;
}
.step-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--c-text);
    margin-bottom: 6px;
    transition: color .2s;
}
.proceso-step:hover .step-title { color: var(--c-cyan); }
.step-desc {
    font-size: .84rem;
    color: var(--c-muted);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s ease, opacity .35s ease;
    opacity: 0;
}
.proceso-step.active .step-desc {
    max-height: 200px;
    opacity: 1;
}
.step-deliverable {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(249,115,22,.07);
    border: 1px solid rgba(249,115,22,.2);
    font-size: .7rem;
    font-weight: 600;
    color: var(--c-cyan);
    font-family: 'JetBrains Mono', monospace;
}
 
/* panel derecho */
.proceso-panel {
    position: sticky;
    top: 88px;
}
.proceso-card {
    border-radius: 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    overflow: hidden;
    transition: border-color .3s;
}
.proceso-card:hover { border-color: var(--c-border2); }
.proceso-card-header {
    padding: 24px 26px 20px;
    border-bottom: 1px solid var(--c-border);
    background: linear-gradient(135deg, rgba(249,115,22,.05), rgba(59,130,246,.04));
}
.proceso-card-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}
.proceso-card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--c-text);
    margin-bottom: 6px;
    letter-spacing: -.02em;
}
.proceso-card-sub {
    font-size: .82rem;
    color: var(--c-muted);
    line-height: 1.7;
}
.proceso-card-body { padding: 20px 26px 24px; }
.proceso-tool {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--c-border);
    margin-bottom: 8px;
    transition: border-color .2s, transform .2s;
}
.proceso-tool:hover { border-color: var(--c-border2); transform: translateX(4px); }
.tool-icon { font-size: 1.1rem; width: 24px; text-align: center; flex-shrink: 0; }
.tool-name { font-size: .85rem; font-weight: 600; color: var(--c-text); }
.tool-desc { font-size: .75rem; color: var(--c-muted); margin-top: 1px; }
 
/* timeline horizontal (mobile) */
.proceso-timeline-mobile { display: none; }
 
/* garantia strip */
.garantia-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 48px;
}
.garantia-item {
    padding: 18px 16px;
    border-radius: 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    text-align: center;
    transition: border-color .25s, transform .25s;
}
.garantia-item:hover { border-color: var(--c-border2); transform: translateY(-3px); }
.garantia-icon { font-size: 1.6rem; margin-bottom: 8px; }
.garantia-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}
.garantia-sub { font-size: .72rem; color: var(--c-muted); line-height: 1.5; }
 
/* ── FAQ ── */
#faq {
    padding: 100px 0;
    background: var(--c-bg);
    position: relative;
}
#faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(59,130,246,.05) 0%, transparent 60%);
    pointer-events: none;
}
 
.faq-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 56px;
}
.faq-sidebar {
    position: sticky;
    top: 88px;
}
.faq-cats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 28px;
}
.faq-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .22s;
    background: transparent;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}
.faq-cat:hover { background: rgba(255,255,255,.03); border-color: var(--c-border); }
.faq-cat.active {
    background: rgba(249,115,22,.08);
    border-color: rgba(249,115,22,.25);
}
.faq-cat-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.faq-cat-label { font-size: .85rem; font-weight: 600; color: var(--c-muted); }
.faq-cat.active .faq-cat-label { color: var(--c-cyan); }
.faq-cat-count {
    margin-left: auto;
    font-size: .68rem;
    padding: 2px 7px;
    border-radius: 100px;
    background: var(--c-surface);
    color: var(--c-hint);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}
.faq-cat.active .faq-cat-count { background: rgba(249,115,22,.12); color: var(--c-cyan); }
 
/* cta sidebar */
.faq-cta-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(249,115,22,.07), rgba(59,130,246,.07));
    border: 1px solid rgba(249,115,22,.2);
}
.faq-cta-box p {
    font-size: .82rem;
    color: var(--c-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}
.faq-cta-box strong { color: var(--c-text); }
.btn-wa-small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 9px;
    background: #25d366;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    font-family: 'Outfit', sans-serif;
}
.btn-wa-small:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }
 
/* acordeón */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-group { display: none; }
.faq-group.visible { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    border-radius: 14px;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover { border-color: var(--c-border2); }
.faq-item.open {
    border-color: rgba(249,115,22,.3);
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}
.faq-q-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
    background: rgba(249,115,22,.08);
    border: 1px solid rgba(249,115,22,.15);
    transition: background .25s;
}
.faq-item.open .faq-q-icon {
    background: linear-gradient(135deg, var(--c-cyan2), var(--c-violet2));
    border-color: transparent;
}
.faq-q-text {
    font-size: .92rem;
    font-weight: 600;
    color: var(--c-text);
    flex: 1;
    line-height: 1.4;
}
.faq-q-arrow {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255,255,255,.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    font-size: .75rem;
    flex-shrink: 0;
    transition: transform .35s cubic-bezier(.34,1.1,.64,1), background .25s;
}
.faq-item.open .faq-q-arrow {
    transform: rotate(180deg);
    background: rgba(249,115,22,.1);
    color: var(--c-cyan);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .35s;
    padding: 0 20px 0 68px;
}
.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 20px 20px 68px;
}
.faq-a p {
    font-size: .87rem;
    color: var(--c-muted);
    line-height: 1.8;
}
.faq-a .faq-highlight {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 9px;
    background: rgba(249,115,22,.06);
    border: 1px solid rgba(249,115,22,.15);
    font-size: .8rem;
    color: var(--c-muted);
    line-height: 1.7;
}
.faq-a .faq-highlight strong { color: var(--c-cyan); }
 
/* busqueda faq */
.faq-search-wrap {
    position: relative;
    margin-bottom: 20px;
}
.faq-search {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border-radius: 10px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    font-family: 'Outfit', sans-serif;
    font-size: .88rem;
    outline: none;
    transition: border-color .2s;
}
.faq-search:focus { border-color: var(--c-cyan); }
.faq-search::placeholder { color: var(--c-hint); }
.faq-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .9rem;
    pointer-events: none;
    opacity: .4;
}
.faq-no-results {
    text-align: center;
    padding: 40px 0;
    color: var(--c-muted);
    font-size: .88rem;
    display: none;
}
.faq-no-results.visible { display: block; }
 
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .proceso-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .proceso-panel { position: static; }
    .garantia-strip { grid-template-columns: 1fr 1fr; }
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .faq-sidebar { position: static; }
    .faq-cats { flex-direction: row; flex-wrap: wrap; }
    .faq-cat-count { display: none; }
}
@media (max-width: 600px) {
    #proceso, #faq { padding: 70px 0; }
    .garantia-strip { grid-template-columns: 1fr; }
    .faq-a { padding: 0 16px 0 16px; }
    .faq-item.open .faq-a { padding: 0 16px 16px 16px; }
}
 
/* light mode overrides */
[data-theme="light"] .faq-item { background: #fff; }
[data-theme="light"] .proceso-card { background: #fff; }
[data-theme="light"] .garantia-item { background: #fff; }
[data-theme="light"] .proceso-tool { background: rgba(0,0,0,.02); }
