/* ============================
ESTILO MARIANO PREMIUM FM
============================ */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f5f9ff;
    /* celeste muy suave */
    margin: 0;
    padding: 0;
    color: #333;
}

/* ============================
HEADER
============================ */

.fm-header {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,
            #1565c0 0%,
            /* azul mariano profundo */
            #1e88e5 60%,
            /* azul mariano */
            #42a5f5 100%
            /* celeste mariano */
        );
    color: white;
    padding: 15px 25px;
}

.fm-header-left img {
    width: 70px;
    margin-right: 20px;
}

.fm-header-right h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.fm-subtitulo {
    font-size: 14px;
    margin-top: 3px;
    color: #e3f2fd;
    /* celeste mariano */
}

.fm-header-left {
    background: white;
    padding: 8px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    border: 2px solid #1e88e5;
    /* Azul mariano */
}

.fm-header-left img {
    width: 70px;
    display: block;
    /* Evita espacios raros */
    margin: 0;
    /* Elimina margen lateral */
}

/* ============================
NAV
============================ */

.fm-nav {
    background: #1565c0;
    /* azul mariano profundo */
    padding: 10px 20px;
}

.fm-nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #e3f2fd;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
}

.fm-nav a:hover {
    background: #1e88e5;
    color: white;
}

.fm-nav a.activo {
    background: white;
    color: #1565c0;
}

/* ============================
MAIN
============================ */

main {
    padding: 25px;
}

/* ============================
TABLAS
============================ */

table {
    background: white;
    border-collapse: collapse;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

table th {
    background: #1e88e5;
    color: white;
    padding: 10px;
    font-size: 14px;
}

table td {
    padding: 8px;
    border-bottom: 1px solid #ccc;
}

tr:nth-child(even) {
    background: #e3f2fd;
}

/* ============================
FORMULARIOS
============================ */

form label {
    font-weight: 600;
    color: #1565c0;
}

form input,
form select {
    padding: 8px;
    width: 300px;
    margin-bottom: 10px;
    border: 1px solid #90caf9;
    border-radius: 4px;
}

button {
    padding: 10px 15px;
    background: #1e88e5;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
}

button:hover {
    background: #1565c0;
}

/* ============================
CONTENEDOR
============================ */

.contenedor {
    background: white;
    padding: 25px;
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ============================
FOOTER
============================ */

.fm-footer {
    background: #1e88e5;
    color: white;
    padding: 12px;
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

/* ============================
DETALLE BLOQUES
============================ */

.detalle-bloque {
    margin-bottom: 20px;
    padding: 15px;
    background: #f0f7ff;
    border-left: 4px solid #1e88e5;
    border-radius: 4px;
}

.detalle-bloque h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #1565c0;
}

.detalle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
}

.detalle-grid div {
    padding: 4px 0;
}


/* ============================
LANDING PAGE — Estilo Mariano Premium
============================ */

.landing-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.landing-left {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.landing-right {
    background: #e3f2fd; /* celeste mariano */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.landing-title {
    color: #1565c0;
    font-size: 26px;
    margin-top: 0;
}

.landing-text {
    font-size: 15px;
    color: #333;
}

.landing-block {
    margin-top: 25px;
    padding: 15px;
    background: #f5f9ff;
    border-left: 4px solid #1e88e5;
    border-radius: 6px;
}

.video-row {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.video-item {
    flex: 1;
}

.video-duo {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.video-box {
    flex: 1;
}

/* Video responsivo */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-title {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
    text-align: center;
}


/* ============================
ACCESO
============================ */

.acceso-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.acceso-btn {
    display: block;
    margin-top: 10px;
    padding: 12px;
    background: #1e88e5;
    color: white;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.acceso-btn:hover {
    background: #1565c0;
}
