/* Variables Globales y colores */
:root { --color_texto: #202020; --color_texto_alt: #000000; --color_texto_alt2: #005b82; --color_texto_alt3: #b1a388; --color_texto_over: #ffffff; --color_boton_bg: #ffffff; --color_boton_txt: #005b82; --color_boton_txt_hover: #000000; --color_boton_bg_hover: #ffffff; --color_link: #005b82; --color_link_hover: #000000; --color_fondo: #ffffff; --color_bloque_fondo: #3a7c98; --color_bloque_txt: #ffffff; --color_menu_head_bg: #005b82; --color_menu_bg: #005b82; --color_menu_txt: #ffffff; --color_menu_txt_hover: #f5a406; --color_pie_texto: #ffffff; --color_pie_link: #ffffff; --color_pie_link_hover: #f5a406; --color_pie_bg: #000000; }

/* Base y Estructura */
* { margin: 0; padding: 0; }
html { position: relative; width: 100%; height: 100%; min-height: 100%; background-color: var(--color_fondo); overflow-x: hidden; }
body { font-family: "Open Sans", sans-serif; color: var(--color_texto); width: 100%; font-weight: 300; font-size: 20px; background-color: var(--color_fondo); overflow-x: hidden; font-style: normal; font-variation-settings: "wdth" 100; font-optical-sizing: auto; display: flex; flex-direction: column; min-height: 100vh; margin: 0; }
main, .flex-grow-1 { flex: 1 0 auto; }
.mainBlock { margin-top: 80px !important; flex: 1 0 auto; }
.firstContainer { margin-top: 0px; }
.xframe { position: relative; display: block; width: 100%; height: auto; overflow: visible; padding: 0px; margin: 0 auto; border: none; max-width: 1920px; }

/* Tipografía */
h1 { color: var(--color_texto_alt); font-size: 60px; line-height: 55px; font-family: "Playfair", serif; font-weight: 700; }
h1 span, h1 .h1sub { color: var(--color_texto_alt2); display: block; }
h2 { color: var(--color_texto_alt); font-size: 48px; line-height: 42px; font-family: "Playfair", serif; font-weight: 700; }
h2 span, h2 .h2sub { color: var(--color_texto_alt2); display: block; }
h3 { color: var(--color_texto_alt); font-size: 32px; line-height: 32px; font-family: "Playfair", serif; font-weight: 700; margin-top: 10px; }
a { color: var(--color_link); }
a:hover { color: var(--color_link_hover); }

/* Componentes */
.botonStyle { border: 1px solid var(--color_boton_bg); font-weight: 700; text-decoration: none; color: var(--color_boton_txt); display: inline-block; font-family: "Playfair", serif; font-size: 24px; }
.botonStyle:hover { color: var(--color_boton_txt_hover); }
.img_w_100 { width: 100%; }
.blockColor { background-color: var(--color_bloque_fondo); color: var(--color_bloque_txt); border-radius: 12px; padding: 20px; }
.ficha-home { background-color: #ffffff; color: #000000; text-align: center; padding: 20px 10px 10px 10px; border-radius: 10px; height: 100%; }
.descargaFile { margin-bottom: 10px; background-color: #f7f7f7; border-radius: 8px; padding: 8px; }
.descargaCat { margin-bottom: 10px; }
.cita-diseno { position: relative; padding: 20px 40px; margin: 40px auto; font-style: italic; width: fit-content; max-width: 80%; font-family: "Playfair", serif; font-size: 42px; line-height: 42px; color: var(--color_texto_alt2); text-align: center; font-weight: 600; }
.cita-diseno::before { content: "“"; position: absolute; left: -13px; top: -13px; font-size: 180px; font-weight: 800; color: var(--color_texto_alt2); font-family: serif; line-height: 1; opacity: 0.2; }
.cita-diseno .author { display: block; margin-top: 0px; font-weight: 500; font-style: normal; color: var(--color_texto_alt3); font-size: 26px; }
.cita-diseno img { display: block; margin-left: auto; margin-right: auto; }
details summary { color: var(--color_texto_alt2); font-size: 26px; line-height: 26px; font-family: "Playfair", serif; font-weight: 700; margin-top: 10px; }
details p { margin-top: 20px;font-style: italic;background-color: var(--color_bloque_fondo);padding: 20px;border-radius: 12px;color: var(--color_bloque_txt); }

/* Menú Lateral (First) */
.menu-first-boton-mostrar { position: absolute; right: 20px; top: 4px; width: auto; height: 41px; z-index: 9999999; cursor: pointer; font-size: 46px; }
.menu-first-boton-mostrar:hover { opacity: 0.6; }
.menu-first { position: fixed; left: -380px; top: 0px; width: 80%; max-width: 340px; height: 100%; background-color: var(--color_menu_bg); color: var(--color_menu_txt); font-size: 14px; font-weight: 500; z-index: 999999; opacity: 1; overflow: auto; box-shadow: 6px 0px 12px 2px rgb(0 0 0 / 50%); }
.menu-first::-webkit-scrollbar { width: 8px; }
.menu-first::-webkit-scrollbar-thumb { border-radius: 0px; background-color: #afafaf; }
.menu-first::-webkit-scrollbar-track { background-color: #505050; border-radius: 0px; }
.menu-first .menu-first-titulo { color: #ffffff; margin-bottom: 20px !important; cursor: default !important; }
.menu-first .menu-first-logo { position: absolute; left: 10%; top: 35px; width: 80%; height: auto; z-index: 1; text-align: center; }
.menu-first .menu-first-logo img { max-width: 80%; }
.menu-first .menu-first-options { position: relative; margin-top: 145px; width: auto; height: auto; padding-left: 45px; padding-right: 45px; }
.menu-first .menu-first-close { position: absolute; right: 60px; top: 40px; width: 41px; height: 41px; z-index: 2; cursor: pointer; }
.menu-first .menu-first-close img { transition: transform .3s ease-in-out; }
.menu-first .menu-first-close img:hover { transform: rotate(180deg); }
.menu-first .menu-first-options ul { width: auto; display: block; list-style: none; padding: 0px; }
.menu-first .menu-first-options ul li { text-transform: uppercase; margin-bottom: 15px; opacity: 0; }
.menu-first .menu-first-options ul li span { cursor: pointer; }
.menu-first .menu-first-options ul li i { color: #bfbfbf; }
.menu-first-options-more-options { display: none; position: relative; }
.menu-first-options-more-options a { display: block; margin-left: 15px; margin-bottom: 5px; }
.menu-first .menu-first-options ul li span:hover { color: #ffffff; }
.menu-first .altLiColor { color: #bfbfbf !important; }
.menu-first a { text-decoration: none; color: var(--color_menu_txt); }
.menu-first a:hover { color: var(--color_menu_txt_hover); }

/* Menú Superior (Second) */
.menu-logo { position: absolute; left: 20px; top: -9px; width: auto; height: 90px; }
.menu-logo img { width: auto; height: 100%; }
.menu-second { position: fixed; top: 0px; max-width: 100%; height: 80px; z-index: 9999; background-color: var(--color_menu_head_bg); color: var(--color_menu_txt); font-size: 13px; left: 0px; width: 100%; }
.menu-second-bg { height: 100%; background-color: var(--color_menu_head_bg); }
.menu-second a { color: #ffffff; text-decoration: none; }
.menu-second a:hover { color: #fefefe; }

/* Otros Elementos */
.foot { background-color: var(--color_pie_bg); color: var(--color_pie_texto); font-size: 16px; flex-shrink: 0; width: 100%; text-align: center; }
.foot a { color: var(--color_pie_link); }
.foot a:hover { color: var(--color_pie_link_hover); }
.language-selector a { text-decoration: none; color: var(--color_menu_txt); font-weight: 700; }
.language-selector a.active { color: var(--color_menu_txt); font-weight: 700; text-decoration: none; }

/* Animaciones */
.animateli { animation-name: animateIn; animation-duration: 220ms; animation-delay: calc(var(--animation-order) * 100ms); animation-fill-mode: both; animation-timing-function: ease-in-out; }
@keyframes animateIn { 0% { opacity: 0; transform: scale(0.6) translateX(-50px); } 100% { opacity: 1; transform: scale(1) translateX(0px); } }

/* Media Queries */
@media (max-width: 1200px) { 
    h1 { font-size: 55px; line-height: 48px; } h2 { font-size: 42px; line-height: 38px; } h3 { font-size: 26px; line-height: 26px; } body { font-size: 18px; } .cita-diseno { font-size: 32px; line-height: 32px;max-width: 100%; padding: 10px 20px; } .cita-diseno .author { font-size: 20px; } .botonStyle { font-size: 20px; }
}
@media (max-width: 996px) { 
    .menu-second { height: 64px; }
    .menu-first-boton-mostrar { top: 8px; font-size: 42px;  }
    .menu-logo { top: 6px; height: 50px; }
    .menu-first-boton-mostrar { top: 7px; height: 41px; font-size: 35px; }
    .mainBlock { margin-top: 80px !important; }

    .mainBlock { margin-top: 64px !important; } .menu-first { font-size: 15px; } .menu-first .menu-first-options { padding-left: 30px; } .menu-second { height: 64px; } .firstContainer { margin-top: 64px !important; }
    
}
@media (max-width: 768px) { 
    h1 { font-size: 32px; line-height: 32px; } h2 { font-size: 26px; line-height: 26px; } body { font-size: 15px; } .cita-diseno { font-size: 19px; line-height: 19px;max-width: 100%; padding: 10px 20px; } .cita-diseno .author { font-size: 16px; } .botonStyle { font-size: 16px; } .cita-diseno img {width: 120px;height: auto; margin-bottom: 10px;} .table {font-size: 12px;} .form-control {font-size: 12px;} .h5, h5 {font-size: 1rem;}
}
@media (max-width: 570px) { 
    .mainBlock { margin-top: 64px !important; } .menu-first .menu-first-options { margin-top: 90px; padding-left: 20px; } .menu-first .menu-first-close { right: 20px; top: 20px; } .menu-first { font-size: 13px; } .menu-first .menu-first-options ul li { margin-bottom: 12px; } .menu-first-options-more-options a { margin-left: 15px; margin-bottom: 6px; } .menu-first .menu-first-logo img { max-width: 72%; } .menu-second { height: 64px; } .firstContainer { margin-top: 50px !important; } .foot { font-size: 14px; } .menu-first .menu-first-logo {top: 18px;}
}