@charset "utf-8";

/* =========================================================
   ESTRUCTURA GENERAL FLEXIBLE ANTI-CORTE (OPCIÓN 1)
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contenedor { 
    background-color: #FFFFFF; 
    min-height: 640px; 
    height: auto; /* Expansión automática hacia abajo si el texto lo requiere */
    width: 1460px; 
    margin: 0 auto; 
    display: flow-root; /* Contiene los floats y evita que el contenedor colapse */
    font-family: Segoe, "Segoe UI", "DejaVu Sans", Verdana, sans-serif;
}

/* =========================================================
   BANNER SUPERIOR TRIPARTITO (120px de altura fija)
   ========================================================= */
.arribaderecha { 
    background-color: #F5F5F5; 
    height: 120px; 
    width: 120px; 
    float: left; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}

.arribacentro { 
    height: 120px; 
    width: 1190px; 
    background-color: #417900; 
    float: left; 
}

.arribaizquierda { 
    background-color: #EFEFEF; 
    height: 120px; 
    width: 150px; 
    float: left; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}

/* TIPOGRAFÍA DEL BANNER CENTRAL */
.contenedor .arribacentro h1 { 
    color: #FFAE00; 
    font-weight: 800; 
    font-size: 33px; 
    margin-top: 6px; 
    margin-bottom: -2px; 
    text-shadow: 2px 0 10px #050505; 
    text-align: center; 
}

.contenedor .arribacentro h2 { 
    color: #FBE205; 
    font-weight: 800; 
    font-size: 22px; 
    margin-bottom: -2px; 
    text-shadow: 2px 0 10px #050505; 
    margin-top: 2px; 
    text-align: center; 
}

.contenedor .arribacentro h3 { 
    color: #FDFBFB; 
    font-size: 18px; 
    margin-top: 2px; 
    text-align: center; 
}

/* =========================================================
   ESTRUCTURA DE TRES COLUMNAS FLEXIBLES
   Anchos: 480px + 490px + 490px = 1460px
   ========================================================= */
.izquierdasec {
    background-color: #FBFBFB;
    float: left;
    min-height: 520px;
    height: auto;
    width: 480px;
    padding: 15px 16px 25px 16px;
    text-align: left;
    border-right: 1px solid #E5E5E5;
}

.centrocsec {
    background-color: #FCFCFC;
    float: left;
    min-height: 520px;
    height: auto;
    width: 490px;
    padding: 15px 16px 25px 16px;
    text-align: left;
    border-right: 1px solid #E5E5E5;
}

.derechasec {
    background-color: #FBFBFB;
    float: left;
    min-height: 520px;
    height: auto;
    width: 490px;
    padding: 15px 16px 25px 16px;
    text-align: left;
}

/* TÍTULOS DE SECCIÓN */
.izquierdasec h2, 
.centrocsec h2, 
.derechasec h2 {
    color: #B30000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 3px solid #417900;
    padding-bottom: 4px;
    text-align: center;
    text-shadow: 0.5px 0 1px rgba(0,0,0,0.1);
}

/* LISTAS DE CONTENIDO - TIPOGRAFÍA LEGIBLE (21px) */
.lista-mecanica {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-mecanica li {
    font-size: 21px;
    color: #222222;
    line-height: 1.35;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.lista-mecanica li::before {
    content: "•";
    color: #417900;
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -2px;
}

.lista-mecanica a {
    color: #0066CC;
    text-decoration: underline;
    font-weight: 600;
}

.lista-mecanica a:hover {
    color: #B30000;
}

/* RECUADRO DESTACADO - ANCHO AJUSTADO AL TEXTO */
.boton-destacado {
    background-color: #417900;
    color: #FFFFFF !important;
    border: 1.5px solid #FFAE00;
    border-radius: 6px;
    padding: 6px 16px;
    margin: 14px auto 8px auto;
    width: fit-content;
    display: block;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.boton-destacado p {
    font-size: 13px;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.boton-destacado:hover {
    background-color: green !important;
    border-color: #FFFFFF;
    color: #F90000 !important;
}

/* BOTÓN REGRESAR A INICIO */
.boton-regresar {
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 5px;
    border: 1px solid #417900;
    color: #000000;
    text-decoration: none;
    font-weight: 650;
    display: block;
    width: fit-content;
    margin: 6px auto 0 auto;
    text-align: center;
}

.boton-regresar:hover {
    background-color: green;
    color: #F90000;
}