﻿/* ============================================================
   PlataformaVerificada.css
   Página de verificación de seguridad — LeycibeR x LlaveroQR
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-discount: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section {
    min-height: 75vh;
    padding-top: 120px;
}

/* Contenedor de la foto — ocupa todo el hero */
.pv-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* La foto en sí */
.pv-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* ajustar si la cara queda cortada */
}

/* Overlay oscuro sobre la foto para que el texto sea legible */
.pv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.45) 60%, rgba(15, 23, 42, 0.20) 100% );
}

/* Asegurar que el contenedor del texto quede por encima del overlay */
.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Suavizar el texto blanco sobre foto */
.text-white-75 {
    color: rgba(255, 255, 255, 0.80) !important;
}

/* ── Cards de pilares ───────────────────────────────────────── */
.card {
    transition: var(--transition);
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-xl) !important;
    }

/* Card central destacada — borde superior con gradiente */
.pv-card-featured {
    border-top: 4px solid transparent !important;
    background: linear-gradient(white, white) padding-box, var(--gradient-success) border-box;
}

    .pv-card-featured:hover {
        border-top-width: 6px !important;
    }

/* ── Badge de descuento ─────────────────────────────────────── */
.pv-discount-badge {
    background: var(--gradient-discount);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    color: white;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

    .pv-discount-badge:hover {
        transform: translateY(-4px);
        box-shadow: 0 25px 35px -5px rgba(59, 130, 246, 0.35);
    }

.pv-discount-badge__tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.pv-discount-badge__number {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.pv-discount-badge__label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.90;
    margin-bottom: 1rem;
}

/* Botón blanco dentro del badge */
.pv-discount-badge .btn-primary {
    background: rgba(255, 255, 255, 0.20) !important;
    border: 2px solid rgba(255, 255, 255, 0.60) !important;
    color: white !important;
    font-weight: 600;
    transition: var(--transition);
}

    .pv-discount-badge .btn-primary:hover {
        background: rgba(255, 255, 255, 0.35) !important;
        border-color: white !important;
    }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }

    .pv-hero-img {
        object-position: 65% top; /* desplazar hacia la cara en móvil */
    }

    .pv-discount-badge__number {
        font-size: 3.5rem;
    }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section {
    min-height: 75vh;
}

.pv-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Foto 9:16 — se centra horizontalmente y ancla arriba
   donde normalmente están las caras en una foto de apretón de manos */
.pv-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%; /* <-- ajusta este % si las caras suben/bajan */
}

/* Overlay con más peso en la parte inferior donde va el texto */
.pv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(15, 23, 42, 0.90) 0%, /* texto: muy oscuro */
    rgba(15, 23, 42, 0.50) 50%, /* zona media */
    rgba(15, 23, 42, 0.15) 100% /* arriba: casi transparente */
    );
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.80) !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh; /* más alto en móvil para que se vea más foto */
    }

    /* En móvil la foto vertical encaja mejor — menos recorte lateral */
    .pv-hero-img {
        object-position: center 10%;
    }
}

/* El bloque de texto móvil está fuera del hero — oculto en desktop */
.pv-hero-mobile-content {
    display: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {

    /* Hero: solo muestra la foto, sin overlay ni texto encima */
    .hero-section {
        min-height: unset;
        aspect-ratio: 9 / 16; /* foto completa sin recorte */
    }

    .pv-hero-overlay {
        display: none; /* sin oscurecer — la foto se ve entera */
    }

    .pv-hero-desktop-content {
        display: none; /* texto superpuesto oculto en móvil */
    }

    .pv-hero-img {
        object-position: center center;
    }

    /* Texto aparece debajo de la foto */
    .pv-hero-mobile-content {
        display: block;
    }
}