/* Preguntas frecuentes: paleta y tipografías del sitio Casa Abe. */
.faq-page {
    --faq-red: #d80100;
    --faq-red-dark: #b90000;
    --faq-ink: #242424;
    --faq-muted: #686868;
    --faq-line: #e8e8e8;
    background: #fff;
    color: var(--faq-ink);
}

.faq-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 76px;
    color: #fff;
    background: linear-gradient(118deg, #b90000 0%, #d80100 56%, #ef2929 100%);
}

.faq-hero::after {
    position: absolute;
    top: -120px;
    right: -70px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .045), 0 0 0 84px rgba(255, 255, 255, .035);
    content: "";
    pointer-events: none;
}

.faq-hero .container {
    position: relative;
    z-index: 1;
}

.faq-eyebrow,
.faq-kicker {
    margin: 0 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.faq-eyebrow {
    color: rgba(255, 255, 255, .82);
}

.faq-hero h1 {
    max-width: 760px;
    margin: 0 0 14px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(38px, 6vw, 66px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.faq-hero-copy {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.7;
}

.faq-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.faq-hero-link span {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    font-size: 17px;
    transition: transform .2s ease;
}

.faq-hero-link:hover,
.faq-hero-link:focus {
    color: #fff;
    text-decoration: none;
}

.faq-hero-link:hover span,
.faq-hero-link:focus span {
    transform: translateY(3px);
}

.faq-contact-strip {
    position: relative;
    z-index: 2;
    margin-top: -30px;
}

.faq-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(25, 25, 25, .09);
}

.faq-contact-card {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 28px;
    border-right: 1px solid #ededed;
    font-size: 13px;
    line-height: 1.6;
}

.faq-contact-card:last-child {
    border-right: 0;
}

.faq-contact-label {
    margin-bottom: 5px;
    color: var(--faq-red);
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.faq-contact-card strong {
    margin-bottom: 5px;
    color: var(--faq-ink);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.faq-contact-card > span:not(.faq-contact-label) {
    margin-bottom: 5px;
    color: var(--faq-muted);
}

.faq-contact-card a {
    color: var(--faq-ink);
    font-weight: 700;
    text-decoration: none;
}

.faq-contact-card a:hover,
.faq-contact-card a:focus {
    color: var(--faq-red);
}

.faq-content-section {
    padding: 76px 0 84px;
}

.faq-section-heading {
    max-width: 700px;
    margin: 0 auto 38px;
    text-align: center;
}

.faq-kicker {
    color: var(--faq-red);
}

.faq-section-heading h2,
.faq-cta h2 {
    margin: 0 0 10px;
    color: var(--faq-ink);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.faq-section-heading > p:last-child,
.faq-cta > div:first-child > p:last-child {
    margin: 0;
    color: var(--faq-muted);
    font-size: 16px;
    line-height: 1.7;
}

.faq-list {
    max-width: 960px;
    margin: 0 auto;
    border-top: 1px solid var(--faq-line);
}

.faq-language-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 28px;
}

.faq-language-button {
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #dedede;
    border-radius: 24px;
    background: #fff;
    color: #555;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.faq-language-button:hover,
.faq-language-button:focus-visible,
.faq-language-button.is-active {
    border-color: var(--faq-red);
    background: var(--faq-red);
    color: #fff;
}

.faq-language-button:focus-visible {
    outline: 2px solid var(--faq-red);
    outline-offset: 3px;
}

.faq-item {
    border-bottom: 1px solid var(--faq-line);
    background: #fff;
}

.faq-item summary {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 20px;
    padding: 18px 10px;
    color: var(--faq-ink);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--faq-red);
    outline-offset: -3px;
}

.faq-number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #fff1f1;
    color: var(--faq-red);
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.faq-question {
    flex: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.faq-toggle {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid #dedede;
    border-radius: 50%;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.faq-toggle::before,
.faq-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    background: var(--faq-red);
    content: "";
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;
}

.faq-item[open] summary {
    color: var(--faq-red-dark);
}

.faq-item[open] .faq-toggle {
    border-color: var(--faq-red);
    background: var(--faq-red);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
    background: #fff;
}

.faq-item[open] .faq-toggle::after {
    transform: translate(-50%, -50%);
}

.faq-answer {
    max-width: 820px;
    padding: 0 58px 26px 68px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.faq-answer p {
    margin: 0 0 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 5px 0 14px;
    padding-left: 21px;
}

.faq-answer li {
    margin: 0 0 7px;
    padding-left: 3px;
}

.faq-answer li::marker {
    color: var(--faq-red);
}

.faq-answer strong {
    color: var(--faq-ink);
}

.faq-answer a {
    color: var(--faq-red-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-ads-tags {
    padding: 0 58px 24px 68px;
}

.faq-ads-label {
    display: block;
    margin-bottom: 9px;
    color: #777;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.faq-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.faq-tag {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid #f1dada;
    border-radius: 16px;
    background: #fff8f8;
    color: var(--faq-red-dark);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.faq-cta {
    display: flex;
    max-width: 960px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 54px auto 0;
    padding: 34px 38px;
    border-radius: 8px;
    background: #f7f7f7;
}

.faq-cta .faq-kicker {
    margin-bottom: 7px;
}

.faq-cta h2 {
    font-size: 27px;
}

.faq-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
}

.faq-cta-actions .button {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.faq-button-whatsapp,
.faq-button-whatsapp:hover,
.faq-button-whatsapp:focus {
    border-color: #25a857;
    background-color: #25a857;
    color: #fff;
}

@media (max-width: 767px) {
    .faq-hero {
        padding: 58px 0 66px;
    }

    .faq-hero-copy {
        font-size: 16px;
    }

    .faq-contact-grid {
        grid-template-columns: 1fr;
    }

    .faq-contact-card {
        min-height: 0;
        padding: 20px 22px;
        border-right: 0;
        border-bottom: 1px solid #ededed;
    }

    .faq-contact-card:last-child {
        border-bottom: 0;
    }

    .faq-content-section {
        padding: 58px 0 64px;
    }

    .faq-item summary {
        min-height: 70px;
        gap: 12px;
        padding: 14px 4px;
    }

    .faq-number {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 10px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 8px 22px 48px;
        font-size: 14px;
    }

    .faq-ads-tags {
        padding: 0 8px 22px 48px;
    }

    .faq-cta {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 38px;
        padding: 25px 22px;
    }
}

@media (max-width: 420px) {
    .faq-hero h1 {
        font-size: 36px;
    }

    .faq-item summary {
        gap: 9px;
    }

    .faq-toggle {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .faq-answer {
        padding-left: 44px;
    }

    .faq-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .faq-cta-actions .button {
        width: 100%;
        text-align: center;
    }
}
