﻿/* ===============================
   ENAJENACIÓN 2026 - ESTILO INSTITUCIONAL
================================ */

:root {
    --color-primary: #e5676c;
    --color-dark: #4f5054;
    --color-light: #f6f7f9;
    --color-border: #dcdcdc;
}

/* Reset ligero */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

/* Contenedor general */
.page-container {
    width: 100%;
    min-height: 100vh;
    background: var(--color-light);
    padding: 40px 20px;
}

/* Header */
.header-card {
    max-width: 1100px;
    margin: 0 auto 30px auto;
}

    .header-card h1 {
        font-size: 34px;
        font-weight: 700;
        color: var(--color-dark);
        margin-bottom: 10px;
    }

    .header-card h2 {
        font-size: 22px;
        font-weight: 500;
        color: var(--color-primary);
    }

/* Divider */
.divider {
    margin-top: 20px;
    width: 100%;
}

    .divider span {
        display: block;
        width: 120px;
        height: 4px;
        background: var(--color-dark);
    }

/* Card principal */
.content-card {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

/* Iframe */
#aute {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
    background: #fff;
}

/* Info box */
.info-box {
    margin-top: 30px;
    padding: 25px;
    background: #fafafa;
    border-left: 6px solid var(--color-primary);
    border-radius: 10px;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.info-box p,
.info-box li {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.info-box ul {
    margin: 10px 0 15px 20px;
}

.warning {
    margin-top: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .header-card h1 {
        font-size: 26px;
    }

    .header-card h2 {
        font-size: 18px;
    }

    #aute {
        height: 350px;
    }
}


/* ===============================
   LAYOUT DOS COLUMNAS
================================ */

.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* izquierda más ancha */
    gap: 30px;
    align-items: start;
}

/* Columnas */
.left-column {
    width: 100%;
}

.right-column {
    width: 100%;
}

/* Iframe ajustado */
#aute {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
    background: #fff;
}

/* Responsive: tablet y móvil */
@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }

    #aute {
        height: 420px;
    }
}


.Imgen_Logo{
    width:50%;
    margin-left:25%;
    margin-bottom:10%;
    margin-top:10%;
}


/* ===============================
   INFO BOX - EFECTO CRISTAL
================================ */

.info-box {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

    /* Hover sutil */
    .info-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

/* Título */
.info-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #4f5054;
    margin-bottom: 16px;
    position: relative;
}

    /* Línea decorativa bajo el título */
    .info-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 50px;
        height: 3px;
        background: linear-gradient( to right, #e5676c, #f2a3a6 );
        border-radius: 4px;
    }

/* Texto */
.info-box p,
.info-box li {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

/* Lista */
.info-box ul {
    margin: 18px 0 20px 20px;
}

    .info-box ul li {
        margin-bottom: 6px;
    }

/* Correos */
.info-box strong {
    color: #2f2f2f;
}

/* Advertencia */
.warning {
    margin-top: 18px;
    padding: 12px 15px;
    background: rgba(229, 103, 108, 0.12);
    border-left: 4px solid #e5676c;
    border-radius: 8px;
    font-weight: 600;
    color: #c7444a;
}

/* Responsive ajuste */
@media (max-width: 992px) {
    .info-box {
        backdrop-filter: none;
        background: #ffffff;
    }
}


/* ===============================
   STICKY INFO BOX
================================ */

.right-column {
    position: sticky;
    top: 30px; /* separación del header */
    align-self: start;
}
.info-list {
    list-style: none;
    padding-left: 0;
}

    .info-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

.icon {
    font-size: 18px;
    opacity: 0.8;
}

/* ===============================
   ANIMACIÓN DE ENTRADA
================================ */

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-box {
    animation: fadeSlideIn 0.6s ease-out both;
}

/* ===============================
   DARK GLASS MODE
================================ */

@media (prefers-color-scheme: dark) {

    .content-card {
        background: rgba(204, 204, 204, 0.65);
    }
    #principalContent {
        padding-right: 20px;
        padding-left: 20px;
        margin-right: auto;
        margin-left: auto;
        background: #ffffff;
        /* Borde elegante y sutil */
        border: 1px solid rgba(51, 51, 51, 0.18);
        border-radius: 16px;
        /* Sombra moderna */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        transition: all 0.3s ease;
    }

    #aute {
        width: 100%;
        height: 300px;
        border: none;
        border-radius: 10px;
        background: #fff;
        border: 1px solid rgba(51, 51, 51, 0.18);
        border-radius: 16px;
        /* Sombra moderna */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        transition: all 0.3s ease;
        padding:2%;
    }

    .info-box {
        background: rgba(30, 33, 40, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .info-title {
        color: #eaeaea;
    }

    .info-box p,
    .info-box li {
        color: #cfcfcf;
    }

    .warning {
        background: rgba(229, 103, 108, 0.15);
        color: #ff9aa0;
    }
}

