/* ═══════════════════════════════════════════════════════
   home-hero.css — bribool Capital v2 (dark premium gold)
   Hero section con slides + stats bar
═══════════════════════════════════════════════════════ */

/* ── Hero section ── */
.ad-hero-section {
    position: relative; overflow: hidden;
    height: calc(100vh - 72px - 110px);
    display: flex; flex-direction: column; justify-content: center;
    background: #090215 url('../images/hero-slide-1.webp') center/cover no-repeat;
}
.hero-slides {
    position: absolute; inset: 0; z-index: 0;
    background: #090215 url('../images/hero-slide-1.webp') center/cover no-repeat;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide:nth-child(1) {
    background-image: url('../images/hero-slide-1.webp');
}
.hero-slide:nth-child(2) {
    background-image: url('../images/hero-slide-2.webp');
}
.hero-slide:nth-child(3) {
    background-image: url('../images/hero-slide-3.webp');
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(105deg, rgba(14,3,33,.92) 0%, rgba(14,3,33,.78) 45%, rgba(14,3,33,.45) 100%),
        radial-gradient(ellipse 60% 80% at 10% 50%, rgba(55,10,130,.55) 0%, transparent 60%);
}
.hero-floor {
    position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: #d4a020;
    z-index: 3;
}
.hero-dots {
    position: absolute; bottom: 64px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 5;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 999px;
    background: rgba(255,255,255,.30); border: 0; cursor: pointer;
    transition: width .3s, background .3s;
}
.hero-dot.is-active { width: 28px; background: var(--gold-light); }

.ad-hero {
    position: relative; z-index: 4; height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center; gap: 24px; padding: 10px 0 60px;
}
.ad-hero__content {
    min-width: 0; max-width: 680px;
    transform: translateY(-18px);
}
.ad-hero__proof {
    display: inline-flex; align-items: center; gap: 16px;
    margin-bottom: 28px;
    transform: translateY(-34px);
}
.ad-hero__avatars { display: flex; align-items: center; }
.ad-hero__avatars img {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid rgba(14,3,33,.95);
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 6px 14px rgba(0,0,0,.24);
}
.ad-hero__avatars img:first-child { margin-left: 0; }
.ad-hero__rating {
    display: flex; flex-direction: column;
    line-height: 1.2;
}
.ad-hero__stars {
    color: var(--gold-light);
    font-size: 16px;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(232,184,64,.24);
}
.ad-hero__review-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}
.ad-hero__tag {
    margin-bottom: 14px; color: #d4a020;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .18em;
}
.ad-hero__title {
    margin: 0 0 18px; color: #fff;
    font-size: clamp(28px, 2.3vw, 42px);
    font-weight: 800; letter-spacing: -.01em;
    line-height: 1.14; text-transform: uppercase;
}
.ad-hero__title em {
    font-style: normal;
    color: #d4a020;
    background: none;
    -webkit-text-fill-color: currentColor;
}
.ad-hero__title span { display: block; }
@media (min-width: 981px) { .ad-hero__title span { white-space: nowrap; } }
.ad-hero__line {
    width: 60px; height: 3px; margin-bottom: 18px; border-radius: 10px;
    background: #d4a020;
}
.ad-hero__text {
    max-width: 480px; margin: 0 0 28px;
    color: rgba(255,255,255,.68); font-size: 15px; font-weight: 500; line-height: 1.68;
}
.ad-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.ad-hero__btn-main {
    position: relative;
    min-width: 190px; min-height: 50px; padding: 0 30px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #e8b840 0%, #c8902a 40%, #9a6c10 70%, #c8902a 100%);
    color: #1c0e00 !important; font-size: 14px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid rgba(232,184,64,.50);
    transition: transform .22s, box-shadow .25s ease;
}
.ad-hero__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-hero__btn-main:hover,
.ad-hero__btn-main:focus-visible {
    transform: translateY(-2px);
}
.ad-hero__btn-main:hover::after,
.ad-hero__btn-main:focus-visible::after {
    opacity: 1;
    animation: ad-hero-btn-ring-pulse 2s infinite;
}
@keyframes ad-hero-btn-ring-pulse {
    0% { box-shadow: 0 0 0 0 rgba(232,184,64,.42); }
    70% { box-shadow: 0 0 0 15px rgba(232,184,64,0); }
    100% { box-shadow: 0 0 0 0 rgba(232,184,64,0); }
}
.ad-video-link {
    display: inline-flex; align-items: center; gap: 16px;
    color: rgba(255,255,255,.75); font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; transition: color .25s;
}
.ad-video-link:hover { color: #d4a020; }
.ad-video-link__icon {
    position: relative; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center;
    border: 2px solid rgba(210,155,25,.50);
    background: rgba(210,155,25,.10); color: #d4a020; font-size: 16px;
    transition: transform .25s, background .25s;
    animation: video-pulse 2s infinite cubic-bezier(.215,.61,.355,1);
}
@keyframes video-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(210,155,25,.55); }
    100% { box-shadow: 0 0 0 22px rgba(210,155,25,0); }
}
.ad-hero__btn-main:hover + .ad-video-link .ad-video-link__icon,
.ad-hero__btn-main:focus-visible + .ad-video-link .ad-video-link__icon {
    animation: none;
    box-shadow: none;
}
.ad-video-link:hover .ad-video-link__icon { transform: scale(1.08); background: rgba(210,155,25,.18); }
.ad-hero__image-wrap { min-height: 400px; }

/* ── Stats bar ── */
.ad-stats { position: relative; z-index: 5; margin-top: -45px; }
.ad-stats__card {
    width: min(1220px, 90%); margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(210,155,25,.14);
    border-top: 2px solid rgba(210,155,25,.30);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.ad-stat {
    min-height: 90px; position: relative;
    display: flex; align-items: center; gap: 16px; padding: 20px 24px;
}
.ad-stat:not(:last-child)::after {
    content: ""; position: absolute; top: 20%; right: 0; width: 1px; height: 60%;
    background: rgba(210,155,25,.12);
}
.ad-stat__icon-wrap,
.ad-stat__icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(210,155,25,.08); border: 1px solid rgba(210,155,25,.18);
    color: #d4a020; font-size: 22px;
    box-shadow: 0 4px 16px rgba(200,146,42,.12);
}
.ad-stat__body,
.ad-stat__info { min-width: 0; }
.ad-stat__value {
    margin-bottom: 4px; color: #fff;
    font-size: 26px; font-weight: 700; letter-spacing: -.01em;
}
.ad-stat__label { color: rgba(255,255,255,.50); font-size: 13px; font-weight: 600; }

/* ── Responsive hero ── */
@media (max-width: 1100px) {
    .ad-hero { grid-template-columns: 1fr; text-align: center; padding: 60px 0 100px; }
    .ad-hero__content, .ad-hero__text { max-width: 100%; margin-left: auto; margin-right: auto; }
    .ad-hero__line { margin-left: auto; margin-right: auto; }
    .ad-hero__actions { justify-content: center; }
    .ad-hero__content { transform: none; }
    .ad-hero__proof { justify-content: center; }
    .ad-hero__image-wrap { display: none; }
}
@media (max-width: 900px) {
    .ad-stats__card { grid-template-columns: repeat(2, 1fr); }
    .ad-stat:nth-child(2)::after { display: none; }
    .ad-stat:nth-child(1), .ad-stat:nth-child(2) { border-bottom: 1px solid rgba(210,155,25,.08); }
}
@media (max-width: 680px) {
    .ad-hero-section { height: auto; min-height: 520px; }
}
@media (max-width: 560px) {
    .ad-stats__card { grid-template-columns: 1fr; }
    .ad-stat:not(:last-child)::after { display: none; }
    .ad-stat { border-bottom: 1px solid rgba(210,155,25,.08); }
}
