/* ================================
   CONFIGURACIÓN GENERAL
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #eef3ef;
    color: #222;
}


/* ================================
   ENCABEZADO
================================ */

.header {
    background: #2F5D50;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 5px solid #D4AF37;
}

.header .logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 40px;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.header p {
    font-size: 17px;
}


/* ================================
   MENÚ LATERAL
================================ */

.menu {
    background: #2F5D50;
    min-height: 100vh;
    padding: 30px 18px;
    position: sticky;
    top: 0;
}

.menu h4 {
    color: #D4AF37;
    text-align: center;
    margin-bottom: 25px;
}

.menu a {
    display: block;
    color: #2F5D50;
    background: #D4AF37;
    text-decoration: none;
    padding: 11px 8px;
    margin-bottom: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.menu a:hover {
    background: white;
    transform: translateX(4px);
}


/* ================================
   CONTENIDO
================================ */

.contenido {
    background: #eef3ef;
    padding: 35px;
}

.contenido section {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.contenido h2 {
    color: #2F5D50;
    border-left: 7px solid #D4AF37;
    padding-left: 12px;
    margin-bottom: 25px;
}


/* ================================
   IMAGEN DE INICIO
================================ */

.mascota {
    display: block;
    width: 180px;
    max-width: 100%;
    margin: 20px auto;
}


/* ================================
   PDF
================================ */

.contenido iframe {
    display: block;
    width: 100%;
    height: 850px;
    border: none;
    border-radius: 10px;
    background: white;
}


/* ================================
   AUDIO
================================ */

.audio-idea {
    width: 100%;
    margin-top: 20px;
}


/* ================================
   VIDEO
================================ */

.contenido video {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    background: black;
}


/* ================================
   BARRA DERECHA
================================ */

.sidebar {
    background: #D4AF37;
    min-height: 100vh;
    padding: 30px 20px;
}

.sidebar h4 {
    color: #2F5D50;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    color: #2F5D50;
    font-weight: bold;
    padding: 8px 0;
    border-bottom: 1px solid rgba(47, 93, 80, 0.25);
}


/* ================================
   LÍNEAS
================================ */

.contenido hr {
    display: none;
}


/* ================================
   CELULAR
================================ */

@media (max-width: 991px) {

    .menu {
        position: relative;
        min-height: auto;
    }

    .sidebar {
        min-height: auto;
    }

    .contenido {
        padding: 20px;
    }

    .contenido iframe {
        height: 700px;
    }

}


@media (max-width: 600px) {

    .header h1 {
        font-size: 30px;
    }

    .contenido {
        padding: 15px;
    }

    .contenido section {
        padding: 20px;
    }

    .contenido iframe {
        height: 600px;
    }

}

