/* =========================================================
   HOME (index.html raíz) — Hero bento, About, Comparativa
   ========================================================= */

/* ---------- HERO BENTO ---------- */
.hero-bento {
    display: grid;
    grid-template-columns: 2fr 1fr;   /* 8 / 4 columnas */
    gap: 24px;
    align-items: stretch;             /* misma altura en ambos recuadros */
}
.hero-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.hero-main {
    background: #f4f5f9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding: 50px 40px 0 60px;        /* sin padding inferior: la foto toca el borde */
}
.hero-text { padding-bottom: 50px; }
.hero-main h1 {
    font-size: 3.6rem;
    line-height: 3.8rem;
}
.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: end;                  /* pegada al borde inferior del box */
    z-index: 0;
}
.hero-photo > img { max-width: 100%; height: auto; display: block; }
.hero-photo > img:not(.animation-rotation-slow) { position: relative; z-index: 1; }

.hero-video {
    background: #151515;
    min-height: 100%;
}
.hero-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-sound {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: var(--base-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    transition: transform .2s, background .2s, color .2s;
}
.hero-sound:hover { transform: scale(1.08); }
.hero-sound.is-on { background: var(--base-color); color: #fff; }

.hero-cta-mobile { display: none; }

@media (max-width: 1399px) {
    .hero-main { padding: 40px 30px 0 40px; }
    .hero-text { padding-bottom: 40px; }
    .hero-main h1 { font-size: 3rem; line-height: 3.2rem; }
}

/* Tablet y móvil: título → video 4/5 → botón → foto */
@media (max-width: 991px) {
    .hero-bento {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }
    .hero-main { display: contents; }
    .hero-text { order: 1; text-align: center; padding-bottom: 0; }
    .hero-video {
        order: 2;
        aspect-ratio: 4 / 5;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        min-height: 0;
    }
    .hero-cta-mobile { order: 3; display: flex; justify-content: center; }
    .hero-cta-desk { display: none !important; }
    .hero-photo { order: 4; padding-top: 20px; }
    .hero-main h1 { font-size: 2.8rem; line-height: 3.1rem; }
}
@media (max-width: 575px) {
    .hero-main h1 { font-size: 2.45rem; line-height: 2.75rem; letter-spacing: -1px !important; }
    .hero-text p { font-size: 17px !important; line-height: 26px; margin-bottom: 0 !important; }
}

/* ---------- ABOUT: logos de reseñas ---------- */
.review-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.review-logos img { height: 22px; width: auto; }
.review-logos .sep { width: 1px; height: 18px; background: rgba(0, 0, 0, .2); }
/* Foto de 5 estrellas: misma altura que la columna apilada de al lado */
.about-photo-tall figure { height: 100%; }
.about-photo-tall figure > img { height: 100%; object-fit: cover; }

@media (max-width: 767px) {
    .about-title { font-size: 1.8rem; line-height: 2.3rem; letter-spacing: -.5px; }
    #about p.fs-19 { font-size: 16px; line-height: 25px; }
}

.about-rating-mobile {
    background: #f4f5f9;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

/* ---------- COMPARATIVA ---------- */
.cmp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto repeat(5, auto);
    column-gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}
.cmp-col {
    grid-row: span 6;
    display: grid;
    grid-template-rows: subgrid;      /* filas alineadas entre columnas */
    border-radius: 24px;
    padding: 10px 34px 24px;
    position: relative;
}
.cmp-head { padding: 30px 0 22px; }
.cmp-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.cmp-title { font-size: 26px; line-height: 32px; font-weight: 600; margin: 0; }
.cmp-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-top: 1px solid;
}
.cmp-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    position: relative;
}
.cmp-icon .cmp-mark {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}
.cmp-item h4 { font-size: 17px; line-height: 25px; font-weight: 600; letter-spacing: .1px; margin: 0 0 4px; }
.cmp-item p { font-size: 15px; line-height: 23px; letter-spacing: .1px; margin: 0; }
.cmp-title { letter-spacing: -.3px; }

/* Convencional — gris */
.cmp-conv { background: #f1f1f3; color: #8a8a93; }
.cmp-conv .cmp-label { color: #9a9aa3; }
.cmp-conv .cmp-title { color: #6b6b73; }
.cmp-conv .cmp-item { border-color: #e0e0e4; }
.cmp-conv .cmp-item h4 { color: #6b6b73; }
.cmp-conv .cmp-icon { background: #e4e4e8; color: #9a9aa3; }
.cmp-conv .cmp-mark { background: #c9c9cf; color: #fff; border-color: #f1f1f3; }

/* Gastón Pumarejo — azul */
.cmp-gp {
    background: linear-gradient(160deg, #3f4f93 0%, var(--base-color) 55%, #222c58 100%);
    color: rgba(255, 255, 255, .82);
    box-shadow: 0 30px 60px -20px rgba(51, 65, 123, .55);
    transform: scale(1.04);
    overflow: hidden;
}
.cmp-gp::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    right: -120px;
    top: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%);
    pointer-events: none;
}
.cmp-gp .cmp-label { color: #b9c4f5; }
.cmp-gp .cmp-title { color: #fff; }
.cmp-gp .cmp-item { border-color: rgba(255, 255, 255, .15); }
.cmp-gp .cmp-item h4 { color: #fff; }
.cmp-logo { height: 46px; width: auto; max-width: 100%; filter: brightness(0) invert(1); display: block; }
.cmp-gp .cmp-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.cmp-gp .cmp-mark { background: #3ecf8e; color: #fff; border-color: var(--base-color); }
.cmp-badge {
    position: absolute;
    top: 22px;
    right: 24px;
    background: #fff;
    color: var(--base-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 4px 12px;
}

@media (max-width: 991px) {
    .cmp { column-gap: 20px; }
    .cmp-col { padding: 10px 22px 20px; }
    .cmp-gp { transform: none; }
    .cmp-title { font-size: 22px; line-height: 28px; }
}
@media (max-width: 767px) {
    .cmp { display: flex; flex-direction: column; gap: 24px; }
    .cmp-col { display: block; }
    .cmp-badge { top: 18px; right: 18px; }
}
