/* ── Hero ── */
.ad-af-hero {
    position: relative;
    padding: 96px 0 104px;
    background:
        linear-gradient(rgba(14,3,33,.78), rgba(14,3,33,.82)),
        url('../images/fondovideo.png') center center / cover no-repeat;
    border-bottom: 1px solid rgba(217,160,39,.18);
    overflow: hidden;
}

.ad-af-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.ad-af-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(217,160,39,.10);
    border: 1px solid rgba(217,160,39,.28);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.ad-af-hero__inner h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    max-width: 900px;
}

.ad-af-hero__inner h1 span {
    color: var(--gold-light);
    display: block;
}

.ad-af-hero__inner > p {
    margin: 0 0 40px;
    color: rgba(255,255,255,.78);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.65;
    max-width: 700px;
}

/* Video */
.ad-af-video {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 36px;
    border-radius: 28px;
    padding: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(217,160,39,.20);
    box-shadow: none;
}

.ad-af-video__surface {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(rgba(8,15,28,.55), rgba(8,15,28,.65));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ad-af-video__surface::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.55) 100%);
    z-index: 1;
}

.ad-af-video__surface img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.ad-af-video__surface:hover img {
    transform: scale(1.03);
}

.ad-af-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(160deg, #e8b840 0%, #c8902a 50%, #9a6c10 100%);
    color: #1c0e00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    z-index: 2;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ad-af-video__play::before {
    content: "";
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    background: rgba(210,155,25,.18);
    z-index: -1;
}

.ad-af-video__play i {
    font-size: 2.9rem;
    margin-left: 8px;
}

.ad-af-video__surface:hover .ad-af-video__play {
    transform: translate(-50%, -58%) scale(1.06);
    box-shadow: none;
}

/* ── Botones ── */
.ad-theme .ad-af-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    min-height: 52px;
    padding: 0 32px;
    border-radius: 999px;
    border: 1px solid rgba(232,184,64,.50);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: transform .22s ease, box-shadow .22s ease;
}

.ad-theme .ad-af-btn::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(232,184,64,.72);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.ad-theme .ad-af-btn:hover::after,
.ad-theme .ad-af-btn:focus-visible::after {
    opacity: 1;
    animation: ad-hero-btn-ring-pulse 2s infinite;
}

.ad-theme .ad-af-btn--primary {
    background: linear-gradient(160deg, #e8b840 0%, #c8902a 40%, #9a6c10 70%, #c8902a 100%);
    color: #1c0e00 !important;
    box-shadow: none;
}

.ad-theme .ad-af-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.ad-theme .ad-af-btn--white {
    background: linear-gradient(160deg, #e8b840 0%, #c8902a 40%, #9a6c10 70%, #c8902a 100%);
    color: #1c0e00 !important;
    box-shadow: none;
}

.ad-theme .ad-af-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

/* ── Eyebrow + cabecera de sección ── */
.ad-af-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--ad-purple);
    font-size: var(--ad-section-eyebrow-size);
    font-weight: var(--ad-section-eyebrow-weight);
    text-transform: uppercase;
    letter-spacing: .2px;
}

.ad-af-section-head {
    margin-bottom: 56px;
    text-align: center;
}

.ad-af-section-head h2 {
    margin: 0 0 16px;
    color: #232835;
    font-size: var(--ad-section-title-size);
    font-weight: var(--ad-section-title-weight);
    line-height: var(--ad-section-title-line);
}

.ad-af-section-head p {
    max-width: 580px;
    margin: 0 auto;
    color: #4e5362;
    font-size: var(--ad-section-copy-size);
    font-weight: 500;
    line-height: 1.78;
}

/* ── Beneficios ── */
.ad-af-benefits {
    position: relative;
    overflow: hidden;
    padding: 88px 0 80px;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
        url('../images/fondovideoblanco.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.ad-af-benefits > .ad-container,
.ad-af-quality > .ad-container,
.ad-af-community > .ad-container,
.ad-af-final > .ad-container,
.ad-af-faq > .ad-container {
    position: relative;
    z-index: 1;
}

.ad-af-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ad-af-card {
    padding: 32px 24px 36px;
    border-radius: 16px;
    background:
        linear-gradient(rgba(14,3,33,.84), rgba(14,3,33,.88)),
        url('../images/fondovideo.png') center center / cover no-repeat;
    border: 1px solid rgba(217,160,39,.18);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .24s ease, box-shadow .24s ease;
}

.ad-af-card:hover {
    transform: translateY(-6px);
    box-shadow: none;
}

.ad-af-card > i {
    font-size: 28px;
    color: var(--gold-light);
}

.ad-af-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.ad-af-card p {
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

/* ── Calidad ── */
.ad-af-quality {
    position: relative;
    overflow: hidden;
    padding: 88px 0 80px;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
        url('../images/fondovideoblanco.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.ad-af-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.ad-af-feature {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.ad-af-feature > i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(45, 14, 96,.14);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--ad-purple);
}

.ad-af-feature h3 {
    margin: 0;
    color: #232835;
    font-size: 16px;
    font-weight: 700;
}

.ad-af-feature p {
    margin: 0;
    color: #4e5362;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.65;
}

.ad-af-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 36px;
    border-radius: 16px;
    background:
        linear-gradient(rgba(14,3,33,.82), rgba(14,3,33,.88)),
        url('../images/fondovideo.png') center center / cover no-repeat;
    border: 1px solid rgba(217,160,39,.28);
}

.ad-af-guarantee > i {
    flex-shrink: 0;
    font-size: 36px;
    color: var(--gold-light);
}

.ad-af-guarantee h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.ad-af-guarantee p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

/* ── Comunidad ── */
.ad-af-community {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
        url('../images/fondovideoblanco.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    border-top: 0;
}

.ad-af-community__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
}

.ad-af-community__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: none;
}

.ad-af-community__copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ad-af-community__copy h2 {
    margin: 0;
    color: #232835;
    font-size: var(--ad-section-title-size);
    font-weight: var(--ad-section-title-weight);
    line-height: var(--ad-section-title-line);
}

.ad-af-community__copy p {
    margin: 0;
    color: #4e5362;
    font-size: var(--ad-section-copy-size);
    font-weight: 500;
    line-height: 1.78;
}

.ad-af-community__copy blockquote {
    margin: 8px 0 0;
    padding: 20px 24px;
    border-left: 3px solid var(--ad-purple);
    border-radius: 0 10px 10px 0;
    background: rgba(255,255,255,.78);
    color: #232835;
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
}

/* ── CTA final ── */
.ad-af-final {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
        url('../images/fondovideoblanco.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.ad-af-final__box {
    padding: 72px 48px;
    border-radius: 20px;
    background:
        linear-gradient(rgba(14,3,33,.78), rgba(14,3,33,.82)),
        url('../images/fondovideo.png') center center / cover no-repeat;
    border: 1px solid rgba(217,160,39,.20);
    text-align: center;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ad-af-final__box > i {
    font-size: 42px;
    color: var(--gold-light);
}

.ad-af-final__box h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
}

.ad-af-final__box p {
    max-width: 460px;
    margin: 0;
    color: rgba(255,255,255,.80);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

/* ── FAQ ── */
.ad-af-faq {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)),
        url('../images/fondovideoblanco.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    border-top: 0;
}

.ad-af-faq__list {
    max-width: 720px;
    margin: 0 auto;
}

.ad-af-faq__item {
    border-bottom: 1px solid var(--ad-border);
}

.ad-af-faq__item:first-child {
    border-top: 1px solid var(--ad-border);
}

.ad-af-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: 0;
    text-align: left;
    color: #232835;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s ease;
}

.ad-af-faq__question:hover {
    color: var(--ad-purple);
}

.ad-af-faq__question i {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--ad-purple);
    transition: transform .25s ease;
}

.ad-af-faq__item.is-open .ad-af-faq__question i {
    transform: rotate(180deg);
}

.ad-af-faq__answer {
    display: none;
    padding: 0 0 22px;
    color: #4e5362;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.75;
}

.ad-af-faq__item.is-open .ad-af-faq__answer {
    display: block;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .ad-af-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ad-af-community__grid {
        grid-template-columns: 1fr;
    }

    .ad-af-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ad-af-benefits,
    .ad-af-quality,
    .ad-af-community,
    .ad-af-final,
    .ad-af-faq {
        background-attachment: scroll;
    }

    .ad-af-benefits__grid {
        grid-template-columns: 1fr;
    }

    .ad-af-features {
        grid-template-columns: 1fr;
    }

    .ad-af-final__box {
        padding: 48px 24px;
    }

    .ad-af-guarantee {
        flex-direction: column;
        padding: 24px;
    }
}
