/* Estilos del Botón Flotante Lateral Derecho (Centrado Vertical) */
.btn-floating-center-right {
    position: fixed;
    right: 0; /* Pegado al borde derecho */
    top: 50%; /* Lo baja a la mitad */
    transform: translateY(-50%); /* Lo centra perfectamente respecto a su propio tamaño */
    
    background-color: #0056b3;
    color: white;
    padding: 15px 20px;
    
    /* Bordes redondeados solo del lado izquierdo para que parezca una pestaña */
    border-radius: 12px 0 0 12px; 
    
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-weight: 600;
    font-size: 14px;
    
    display: flex;
    flex-direction: column; /* Icono arriba y texto abajo o viceversa */
    align-items: center;
    gap: 8px;
    
    box-shadow: -4px 0 15px rgba(0, 86, 179, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    
    /* Escritura vertical opcional (si quieres que ocupe menos espacio lateral) */
    /* writing-mode: vertical-rl; */
}

.btn-floating-center-right::before {
    content: "📄"; 
    font-size: 20px;
}

.btn-floating-center-right:hover {
    background-color: #004494;
    padding-right: 30px; /* Se desplaza un poco hacia afuera al pasar el mouse */
    box-shadow: -6px 0 20px rgba(0, 86, 179, 0.4);
}

/* Animación sutil de "latido" lateral */
@keyframes nudge-left {
    0%, 100% { transform: translate(0, -50%); }
    50% { transform: translate(-5px, -50%); }
}

.nudge {
    animation: nudge-left 2s infinite ease-in-out;
}

/* Ajuste para móviles: lo hacemos más compacto */
@media (max-width: 600px) {
    .btn-floating-center-right {
        padding: 10px 12px;
        font-size: 12px;
    }
}




/* ESTILOS CONTENIDO */

 /* Contenedor principal */
.brochure-container {
    background: #e2e8f0; /* Gris azulado suave de fondo */
    padding: 50px 0;
}

/* Cada sección ocupa el alto de la pantalla */
.brochure-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    scroll-snap-align: start; /* Para un scroll tipo 'imán' */
}

/* La hoja tamaño carta */
.page-paper {
    background: white;
    width: 100%;
    max-width: 800px; /* Ancho cómodo para lectura */
    min-height: 1030px; /* Proporción tamaño carta */
    padding: 80px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 2px;
}

/* Meta información en la hoja */
.page-meta {
    position: absolute;
    top: 30px;
    left: 80px;
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos de texto interno */
.inner-content h2 {
    color: #0056b3;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.inner-content p{
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    text-align: justify;
}

.inner-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .page-paper {
        padding: 40px 20px;
        min-height: auto;
    }
}


.foto-container {
    margin: 20px 0;
    text-align: center; /* Centra la imagen y el texto */
}

.foto-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.foto-container figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #64748b; /* Gris suave */
    font-style: italic;
}








/* Contenedor del botón al final de la última página */
.cta-final {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

/* Estilos principales del botón */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0046ad; /* Un azul profesional, cámbialo por tu color de marca */
    color: #ffffff;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px; /* Bordes redondeados para un look moderno */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

/* Efecto al pasar el mouse (Hover) */
.btn-primary:hover {
    background-color: #ffffff;
    color: #0046ad;
    border-color: #0046ad;
    transform: translateY(-3px); /* Pequeño salto hacia arriba */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Efecto al hacer clic */
.btn-primary:active {
    transform: translateY(-1px);
}

/* Opcional: Estilo para el texto dentro si quieres agregar un icono luego */
.btn-primary span {
    letter-spacing: 0.5px;
    text-transform: uppercase;
}