/* =========================================
   SECCIÓN VÍDEO ESCAPARATE CINE (TURISMO)
   ========================================= */

.seccion-video-escaparate {
    max-width: 100% !important; /* Rompe el límite global de 1000px */
    width: 100% !important;
    margin: 60px 0 !important; /* Lo separamos de arriba y abajo */
    background-color: #0d1b2a !important; /* Fondo azul noche de cine */
    color: white;
    padding: 60px 0 0 0 !important; /* Espacio solo por arriba del texto */
    border-radius: 0 !important; /* Quitamos los bordes redondeados */
    box-shadow: none !important;
    overflow: hidden; /* Evita que nada se salga por los lados */
}

.texto-reclamo-video {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    text-align: center;
}

.texto-reclamo-video h3 {
    color: #D3AA52; 
    font-size: 2.2rem;
    margin-bottom: 15px;
    border: none; 
    padding-bottom: 0;
}

.texto-reclamo-video p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #f4f4f4;
}

/* El contenedor del vídeo a pantalla completa */
.video-full-width {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporción panorámica 16:9 */
    height: 0;
    overflow: hidden;
}

.video-full-width iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajuste para móviles */
@media screen and (max-width: 768px) {
    .texto-reclamo-video h3 {
        font-size: 1.6rem;
    }
    .texto-reclamo-video p {
        font-size: 1rem;
    }
}









/* =========================================
   ESTILOS PLANTILLA VISUAL (Inmobiliaria/Turismo)
   ========================================= */

:root {
    --color-azul: #183592;
    --color-dorado: #D3AA52;
    --fuente-principal: 'Montserrat', sans-serif;
}

body {
    font-family: var(--fuente-principal);
    background-color: #fff;
    color: #333;
}

/* 1. HERO VISUAL (Cabecera Impactante) */
.hero-visual {
    position: relative;
    height: 70vh; /* Altura del 70% de la pantalla */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 0; 
    /* IMPORTANTE: Como la barra es 'fixed', el contenido empieza arriba del todo.
       Si quieres que empiece debajo de la barra, añade padding-top al primer elemento */

       
}

.hero-visual-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
}
.hero-visual-bg img, .hero-visual-bg video {
    width: 100%; height: 100%; object-fit: cover;
}

.overlay-visual {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3)); /* Degradado para leer texto */
}

.hero-visual-content {
    position: relative; z-index: 10; padding: 20px;
    max-width: 900px;
    /* Ajuste para que el texto no quede tapado por la barra fija */
    padding-top: 80px; 
}

.titulo-visual {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.subtitulo-visual {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.btn-hero-visual {
    display: inline-block;
    background: var(--color-dorado);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn-hero-visual:hover { background: #b58f3e; }


/* 2. INTRODUCCIÓN */
.seccion-intro-visual {
    padding: 80px 20px;
    background: #f8f9fa; /* Gris muy clarito empresarial */
    text-align: center;
}
.container-visual { 
    max-width: 1000px; 
    margin: 0 auto; 


}

.texto-intro h2 {
    color: var(--color-azul);
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.texto-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}


/* 3. SERVICIOS GRID */
.seccion-servicios-visual {
    padding: 60px 20px;
    background: #fff;
}

.grid-servicios-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-servicio-visual {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card-servicio-visual:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--color-dorado);
}

.icono-servicio-visual {
    font-size: 2.5rem;
    color: var(--color-azul);
    margin-bottom: 20px;
}
.card-servicio-visual h3 {
    margin-bottom: 15px;
    color: #333;
}
.card-servicio-visual p {
    color: #666;
    font-size: 0.95rem;
}


/* 4. GALERÍA VISUAL */
.seccion-galeria-visual {
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}
.seccion-galeria-visual h2 {
    color: var(--color-azul);
    margin-bottom: 40px;
    font-size: 2rem;
}

.galeria-grid-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}
.galeria-grid-visual img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}
.galeria-grid-visual img:hover { transform: scale(1.03); }


/* 5. BARRA TÉCNICA (CONFIANZA) */
.barra-confianza-visual {
    background: var(--color-azul);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    color: #fff;
}
.item-confianza {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}
.item-confianza i { color: var(--color-dorado); font-size: 1.5rem; }


/* 6. CTA FINAL */
.seccion-cta-visual {
    padding: 80px 20px;
    text-align: center;
    background: #222; /* Fondo oscuro elegante */
    color: #fff;
}
.seccion-cta-visual h2 { font-size: 2.5rem; margin-bottom: 15px; }
.seccion-cta-visual p { margin-bottom: 30px; font-size: 1.2rem; color: #ccc; }

.btn-cta-final {
    display: inline-block;
    border: 2px solid var(--color-dorado);
    color: var(--color-dorado);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
}
.btn-cta-final:hover { background: var(--color-dorado); color: #000; }


/* =========================================
   CORRECCIÓN COLOR TÍTULO CTA FINAL
   ========================================= */

/* Forzamos el color blanco en el título y el texto del cuadro final */
.seccion-cta-visual h2, 
.seccion-cta-visual p {
    color: #ffffff !important; /* Blanco puro */
    opacity: 1 !important;     /* Sin transparencia */
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Una pequeña sombra para que se lea mejor aún */
}

/* Opcional: Si el borde dorado se ve apagado, también lo realzamos */
.seccion-cta-visual hr {
    border-color: #D3AA52 !important;
    opacity: 1;
}





/* RESPONSIVE */
@media (max-width: 768px) {
    .titulo-visual { font-size: 2.2rem; }
    .hero-visual { height: auto; padding: 60px 0; }
    .barra-confianza-visual { flex-direction: column; align-items: center; gap: 20px; }
}