/* ═══════════════════════════════════════════════════════
   home-why.css — bribool Capital v2 (dark premium gold)
   ¿Por qué elegirnos? — dark gold con hexágonos
═══════════════════════════════════════════════════════ */

.ad-why-section {
    position: relative; overflow: hidden; padding: 66px 0 54px; font-family: inherit;
    background:
        linear-gradient(rgba(14,3,33,.82), rgba(14,3,33,.82)),
        url('../images/fondovideo.png') center/cover fixed;
}
.ad-why-section > .ad-container { width: 100%; max-width: none; position: relative; z-index: 1; }
.ad-why-header { max-width: 980px; margin: 0 auto 28px; padding: 0 24px; text-align: center; }
.ad-why-header span {
    display: inline-flex; margin-bottom: 10px; color: #d4a020;
    font-size: var(--ad-section-eyebrow-size); font-weight: var(--ad-section-eyebrow-weight);
    letter-spacing: .2px; text-transform: uppercase;
}
.ad-why-header h2 {
    margin: 0; color: #ffffff; font-size: var(--ad-section-title-size);
    font-weight: var(--ad-section-title-weight); letter-spacing: 0;
    line-height: var(--ad-section-title-line); text-transform: none;
}
.ad-why-header p {
    max-width: 760px; margin: 14px auto 0; color: rgba(255,255,255,.55);
    font-size: var(--ad-section-copy-size); font-weight: 500; line-height: var(--ad-section-copy-line);
}
.ad-why-stage { width: 100%; overflow: visible; padding: 0 24px; }
.ad-why-track {
    width: min(100%, 1370px); margin: 0 auto;
    display: flex; justify-content: center; align-items: flex-end;
    gap: 18px; overflow: visible; padding: 72px 0 4px;
}
.ad-why-card {
    position: relative; height: 292px; flex: 1 1 0; min-width: 0; max-width: 248px;
    display: flex; flex-direction: column; justify-content: flex-end;
    border: 1px solid rgba(210,155,25,.18); border-radius: 8px;
    background: rgba(14,3,33,.80);
    box-shadow: 0 14px 30px rgba(0,0,0,.40);
    transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.ad-why-card:hover, .ad-why-card:focus-within {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: rgba(255,255,255,.60);
    box-shadow: 0 22px 42px rgba(0,0,0,.35);
}
.ad-why-card__hex {
    position: absolute; top: -62px; left: 50%; width: 140px; aspect-ratio: 1 / 1.04;
    transform: translateX(-50%); filter: none;
    transition: filter .28s ease, transform .28s ease;
    --ad-why-hex-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 104'%3E%3Cpath d='M50 2 C55 2 59 4 64 7 L90 22 C95 25 98 30 98 36 L98 68 C98 74 95 79 90 82 L64 97 C59 100 55 102 50 102 C45 102 41 100 36 97 L10 82 C5 79 2 74 2 68 L2 36 C2 30 5 25 10 22 L36 7 C41 4 45 2 50 2 Z' fill='black'/%3E%3C/svg%3E");
}
.ad-why-card__hex::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(232,184,64,.28), rgba(176,120,32,.35));
    -webkit-mask-image: var(--ad-why-hex-mask); mask-image: var(--ad-why-hex-mask);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.ad-why-card:hover .ad-why-card__hex, .ad-why-card:focus-within .ad-why-card__hex {
    transform: translateX(-50%) translateY(-2px);
    filter: drop-shadow(0 14px 20px rgba(0,0,0,.30));
}
.ad-why-card__hex-inner {
    position: relative; z-index: 1;
    width: calc(100% - 6px); height: calc(100% - 6px); margin: 3px;
    display: grid; place-items: center;
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.15), transparent 38%),
        linear-gradient(180deg, #1a0840 0%, #0e0321 100%);
    -webkit-mask-image: var(--ad-why-hex-mask); mask-image: var(--ad-why-hex-mask);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
    transition: background .28s ease;
}
.ad-why-card:hover .ad-why-card__hex-inner, .ad-why-card:focus-within .ad-why-card__hex-inner {
    background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.98), transparent 38%),
        linear-gradient(180deg, #ffffff 0%, #f5f0ff 100%);
}
.ad-why-card__placeholder {
    width: 78%; height: 78%; display: grid; place-items: center;
    background: transparent; color: #d4a020; font-size: 32px;
    transition: color .28s ease, transform .28s ease;
}
.ad-why-card:hover .ad-why-card__placeholder, .ad-why-card:focus-within .ad-why-card__placeholder {
    color: #d4a020; transform: scale(1.05);
}
.ad-why-card__body {
    height: 228px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 72px 18px 24px; text-align: center;
}
.ad-why-card h3 {
    margin: 0; color: #ffffff; font-size: 17px; font-weight: var(--ad-card-title-weight);
    letter-spacing: 0; line-height: 1.18; text-transform: none; transition: color .28s ease;
}
.ad-why-card:hover h3, .ad-why-card:focus-within h3 { color: #111835; }
.ad-why-card p {
    max-width: 210px; margin: 13px auto 0; color: rgba(255,255,255,.50);
    font-size: 13px; font-weight: 500; line-height: 1.58; transition: color .28s ease;
}
.ad-why-card:hover p, .ad-why-card:focus-within p { color: #515665; }

@media (max-width: 1499px) {
    .ad-why-section { padding-top: 58px; }
    .ad-why-track { width: min(100%, 1180px); gap: 14px; padding-top: 66px; }
    .ad-why-card { height: 274px; max-width: 220px; }
    .ad-why-card__hex { top: -56px; width: 124px; }
    .ad-why-card__body { height: 214px; padding: 64px 16px 22px; }
    .ad-why-card p { max-width: 186px; margin-top: 12px; font-size: 12px; }
}
@media (max-width: 980px) {
    .ad-why-track {
        width: 100%; max-width: 430px; flex-direction: column;
        justify-content: flex-start; align-items: center; gap: 86px;
        padding-top: 82px; padding-bottom: 0; padding-left: 0; padding-right: 0;
    }
    .ad-why-card { width: min(100%, 330px); flex: 0 0 auto; max-width: 330px; height: auto; min-height: 338px; }
}
@media (max-width: 768px) {
    .ad-why-section { padding: 58px 0 54px; }
    .ad-why-header { margin-bottom: 22px; padding: 0 16px; }
    .ad-why-stage { padding: 0 18px; }
    .ad-why-track { gap: 88px; padding-top: 82px; }
    .ad-why-card__hex { top: -68px; width: 150px; }
    .ad-why-card__body { height: 258px; padding: 86px 20px 26px; }
    .ad-why-card h3 { font-size: 20px; }
    .ad-why-card p { font-size: 15px; }
}
