/* * VT-HERO: ESTILOS DE SECCIÓN HERO CON ROMBOS (v2.0)
 * Ajustes: Imagen principal al frente y rombo secundario más grande.
 */

.vt-hero-container {
    background-color: #f8fafc;
    padding: 80px 20px;
    overflow: hidden;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.vt-hero-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* --- TEXTO (Izquierda) --- */
.vt-hero-content {
    z-index: 20; /* Texto siempre visible */
    padding-right: 20px;
    position: relative;
}

.vt-hero-title {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 30px;
    background: -webkit-linear-gradient(45deg, #1e293b, #1F2C54);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vt-hero-search-placeholder {
    margin-top: 40px;
}

/* --- VISUALES (Derecha - Rombos) --- */
.vt-hero-visuals {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.vt-diamond-layout {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Clase base */
.vt-diamond-wrapper {
    position: absolute;
    overflow: hidden;
    border-radius: 30px;
    transform: rotate(45deg);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
    border: 8px solid #fff;
    transition: transform 0.5s ease;
}

.vt-diamond-wrapper:hover {
    transform: rotate(45deg) scale(1.02);
    z-index: 50 !important; /* Siempre encima al hacer hover */
}

.vt-diamond-inner {
    width: 100%;
    height: 100%;
    transform: rotate(-45deg) scale(1.45);
    overflow: hidden;
}

.vt-diamond-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- POSICIONAMIENTO Y CAPAS (Z-INDEX) --- */

/* 1. Rombo Principal (AL FRENTE) */
.vt-diamond-main {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    margin-top: -190px;
    margin-left: -190px;
    z-index: 999; /* EL MÁS ALTO: Delante de todo */
}

/* 2. Rombo Superior (MÁS GRANDE Y DETRÁS) */
.vt-diamond-top {
    width: 260px; /* Aumentado (antes 200px) */
    height: 260px; /* Aumentado */
    top: 5%;      /* Ajustado un poco más arriba */
    right: 5%;    /* Ajustado un poco más a la derecha */
    z-index: 10;  /* Detrás del principal */
    opacity: 0.95;
}

/* 3. Rombo Inferior (DETRÁS) */
.vt-diamond-bottom {
    width: 180px;
    height: 180px;
    bottom: 15%;
    left: 15%;
    z-index: 20; /* Entre el top y el main */
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .vt-hero-title { font-size: 40px; }
    .vt-diamond-main { width: 300px; height: 300px; margin-top: -150px; margin-left: -150px; }
    .vt-diamond-top { width: 200px; height: 200px; right: 0; } /* Ajustado responsive */
    .vt-diamond-bottom { width: 140px; height: 140px; left: 0; }
}

@media (max-width: 768px) {
    .vt-hero-container { padding: 40px 15px; height: auto; display: block; }
    .vt-hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .vt-hero-title { font-size: 36px; text-align: center; }
    
    .vt-hero-visuals { height: 450px; margin-top: 20px; }
    
    /* Ajuste móvil */
    .vt-diamond-main { width: 220px; height: 220px; margin-top: -110px; margin-left: -110px; }
    .vt-diamond-top { width: 150px; height: 150px; top: 0; right: 10%; }
    .vt-diamond-bottom { width: 100px; height: 100px; bottom: 10%; left: 10%; }
}