/* ============================================================
   ESTILOS - TERAPIA CON IMANES
   ============================================================ */

/* ==================== PALETA DE COLORES ==================== */
:root {
    --azul: #2F80ED;
    --azul-oscuro: #0F4C81;
    --gris-texto: #333;
    --gris-fondo: #f5f5f5;
    --blanco: #fff;
    --naranja: #ff9800;
}

/* ==================== RESET GENERAL ==================== */
* {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    color: var(--gris-texto);
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
header {
    background: var(--azul);
    color: var(--blanco);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blanco);
    text-decoration: none;
}

header .nav-link {
    color: var(--blanco) !important;
    font-weight: bold;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

header .nav-link:hover {
    color: #d8e9ff !important;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    width: 100vw;
    height: 500px;
    overflow: hidden;
}

.hero img {
    width: 100vw;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
}

.hero div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--blanco);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
}

/* ==================== SECCIONES DE CONTENIDO ==================== */
.section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: var(--blanco);
    border-radius: 12px;
}

.section h2 {
    color: var(--azul);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.section h3 {
    color: var(--azul-oscuro);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.section ul li {
    margin-bottom: 0.5rem;
}

/* ==================== IMÁGENES EN EL CUERPO ==================== */
.section img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--azul-oscuro);
    color: var(--blanco);
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    font-size: 0.95rem;
}

/* ==================== BOTÓN WHATSAPP (opcional) ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebd5c;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero {
        height: 350px;
    }

    .hero img {
        height: 350px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 1.5rem;
        margin: 1.5rem;
    }
}