/* ── Hero ── */
.ad-tr-hero {
    position: relative;
    overflow: hidden;
    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);
}

.ad-tr-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
}

.ad-tr-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ad-tr-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--gold-light);
    font-size: var(--ad-section-eyebrow-size);
    font-weight: var(--ad-section-eyebrow-weight);
    letter-spacing: .2px;
    text-transform: uppercase;
}

.ad-tr-hero__copy h1 {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: clamp(32px, 3.5vw, 54px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}

.ad-tr-hero__copy h1 span {
    color: var(--gold-light);
}

.ad-tr-hero__copy p {
    margin: 0 0 36px;
    color: rgba(255,255,255,.78);
    font-size: var(--ad-section-copy-size);
    font-weight: 500;
    line-height: 1.78;
    max-width: 520px;
}

.ad-tr-hero__visual {
    position: relative;
}

.ad-tr-hero__visual img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(217,160,39,.30);
    box-shadow: none;
}

.ad-tr-hero__badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(217,160,39,.24);
    box-shadow: none;
}

.ad-tr-hero__badge i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #12041f;
    font-size: 18px;
    flex-shrink: 0;
}

.ad-tr-hero__badge strong {
    display: block;
    color: #232835;
    font-size: 14px;
    font-weight: 700;
}

.ad-tr-hero__badge span {
    display: block;
    color: #4e5362;
    font-size: 12px;
}

/* ── Botón principal compartido ── */
.ad-theme .ad-tr-btn-main {
    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);
    background: linear-gradient(160deg, #e8b840 0%, #c8902a 40%, #9a6c10 70%, #c8902a 100%);
    color: #1c0e00 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: none;
    transition: transform .22s ease, box-shadow .22s ease;
}

.ad-theme .ad-tr-btn-main::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-tr-btn-main:hover,
.ad-theme .ad-tr-btn-main:focus-visible {
    transform: translateY(-2px);
    box-shadow: none;
}

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

/* ── Stats ── */
.ad-tr-stats {
    padding: 0;
    background: #080014;
    border-top: 1px solid rgba(217,160,39,.16);
    border-bottom: 1px solid rgba(217,160,39,.16);
}

.ad-tr-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.ad-tr-stat {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid rgba(217,160,39,.16);
}

.ad-tr-stat:last-child {
    border-right: 0;
}

.ad-tr-stat strong {
    display: block;
    color: var(--gold-light);
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 6px;
}

.ad-tr-stat span {
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 600;
}

/* ── Cabecera de sección compartida ── */
.ad-tr-section-header {
    margin-bottom: 56px;
    text-align: center;
}

.ad-tr-section-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #ff5f25;
    font-size: var(--ad-section-eyebrow-size);
    font-weight: var(--ad-section-eyebrow-weight);
    text-transform: uppercase;
    letter-spacing: .2px;
}

.ad-tr-section-header 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);
    letter-spacing: 0;
}

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

/* ── Propuesta de valor ── */
.ad-tr-value {
    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-tr-value > .ad-container,
.ad-tr-steps > .ad-container,
.ad-tr-testimonial > .ad-container,
.ad-tr-faq > .ad-container,
.ad-tr-final > .ad-container {
    position: relative;
    z-index: 1;
}

.ad-tr-value__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ad-tr-value-card {
    padding: 32px 28px 36px;
    border: 1px solid var(--ad-border);
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    box-shadow: none;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.ad-tr-value-card:hover {
    transform: translateY(-6px);
    box-shadow: none;
    border-color: rgba(45, 14, 96,.20);
}

.ad-tr-value-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(45, 14, 96,.10), rgba(45, 14, 96,.06));
    color: var(--ad-purple);
    font-size: 24px;
}

.ad-tr-value-card h3 {
    margin: 0 0 12px;
    color: #232835;
    font-size: 18px;
    font-weight: 700;
}

.ad-tr-value-card p {
    margin: 0;
    color: #4e5362;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

/* ── Pasos ── */
.ad-tr-steps {
    position: relative;
    overflow: hidden;
    padding: 88px 0 80px;
    background:
        linear-gradient(rgba(14,3,33,.78), rgba(14,3,33,.82)),
        url('../images/fondovideo.png') center center / cover no-repeat;
}

.ad-tr-steps__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
    margin: 0 auto;
}

.ad-tr-steps .ad-tr-section-eyebrow {
    color: var(--gold-light);
}

.ad-tr-steps .ad-tr-section-header h2 {
    color: #ffffff;
}

.ad-tr-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.ad-tr-step:last-child {
    border-bottom: 0;
}

.ad-tr-step__num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #12041f;
    font-size: 20px;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: none;
}

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

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

/* ── Testimonio ── */
.ad-tr-testimonial {
    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: 1px solid rgba(18,25,56,.08);
}

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

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

.ad-tr-testimonial__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ad-tr-testimonial__copy > i {
    font-size: 36px;
    color: var(--ad-purple);
    opacity: .4;
}

.ad-tr-testimonial__copy blockquote {
    margin: 0;
    color: #232835;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.5;
    font-style: italic;
}

.ad-tr-testimonial__author strong {
    display: block;
    color: #232835;
    font-size: 15px;
    font-weight: 700;
}

.ad-tr-testimonial__author span {
    color: #4e5362;
    font-size: 13px;
}

/* ── FAQ ── */
.ad-tr-faq {
    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-tr-faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

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

.ad-tr-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-tr-faq__question:hover {
    color: var(--ad-purple);
}

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

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

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

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

/* ── CTA Final ── */
.ad-tr-final {
    position: relative;
    overflow: hidden;
    padding: 80px 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;
}

.ad-tr-final__box {
    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);
    padding: 72px 48px;
    text-align: center;
    box-shadow: none;
}

.ad-tr-final__content h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.ad-tr-final__content p {
    max-width: 480px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

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

.ad-tr-final__box .ad-tr-btn-main:hover {
    box-shadow: none;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .ad-tr-hero__grid {
        grid-template-columns: 1fr;
    }

    .ad-tr-testimonial__grid {
        grid-template-columns: 1fr;
    }

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

    .ad-tr-stat {
        border-bottom: 1px solid rgba(217,160,39,.16);
    }

    .ad-tr-stat:nth-child(2),
    .ad-tr-stat:nth-child(4) {
        border-right: 0;
    }
}

@media (max-width: 768px) {
    .ad-tr-value,
    .ad-tr-testimonial,
    .ad-tr-faq,
    .ad-tr-final {
        background-attachment: scroll;
    }

    .ad-tr-value__grid {
        grid-template-columns: 1fr;
    }

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

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

    .ad-tr-hero__badge {
        bottom: -14px;
        left: -8px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .ad-tr-stats__grid {
        grid-template-columns: 1fr;
    }

    .ad-tr-stat {
        border-right: 0;
    }
}
