@charset "utf-8";
:root {
    --color-primario: #025197;
    --color-secundario: #046ac4;
    --color-texto: #333;
    --color-fondo-gris: #f9f9f9;
    --color-acento-muy-claro: #e0f7fa;
    --color-azul-claro: #e9f2fc;
    --color-verde: #6D8901;
    --color-texto-suave: #767676;
    --fuente-titulos: "Trebuchet MS", Arial, Helvetica, sans-serif;
    --fuente-base: Arial, sans-serif;
    --espacio-blanco: 60px;
}
.wrapper { margin: 0 auto; padding: 1.5em 1em; }
.grid-5 { width: 28.571%; }
.grid-10 { width: 59.821%; }
html { font-family: Arial, sans-serif; color: var(--color-texto-suave); }
body { background: url(../imagenes-de-esquelas/bg.jpg) repeat; }
#footer p { margin: 0; padding: 10px 0; color: var(--color-texto-suave); font-size: small; }
#nav.main { float: right; text-align: center; margin: 0.5em 0 0; padding: 0.4em 0; font-family: 'Oswald', Arial, sans-serif; }
#nav.main a { display: inline-block; padding: 0.6em 1.2em; background-color: #EFEFEF; border-radius: 10px; border: 1px solid #bbb; border-bottom-width: 2px; color: #666; text-decoration: none; text-transform: uppercase; text-shadow: 1px 1px 1px #fff; font-size: 1.1em; margin: 0 0 0.6em; }
#nav.main a:hover { color: #666; background-color: var(--color-azul-claro); }
#nav.main a.active { color: #fff; text-shadow: 1px 1px 1px #333; font-weight: bold; background-color: var(--color-primario); letter-spacing: 1px; }
@font-face { font-family: "Oswald"; src: url("Oswald.woff") format("woff"), url("Oswald.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }
h1 { 
    font-family: 'Oswald', Arial, sans-serif; 
    color: var(--color-primario); 
    font-size: 2.5em; 
    margin-bottom: 0.75em; 
    line-height: 1.5; 
    font-weight: 300; 
    text-shadow: 1px 1px 0 var(--color-verde);
}
h2, h3, h4 { font-family: 'Oswald', Arial, sans-serif; color: var(--color-primario); text-shadow: 1px 1px 0 var(--color-verde); }
h2 { font-size: 2.3em; margin-bottom: 1em; line-height: 1.4; }
h3 { font-size: 2em; margin-bottom: 1em; line-height: 1.3; }
h4 { font-size: 1.5em; margin-bottom: 0.8em; font-weight: bold; }
a { color: var(--color-primario); text-decoration: none; }
@media (max-width: 960px) {
    #nav.main { float: none; margin: 0 auto; }
}
@media (max-width: 720px) {
    body { -webkit-text-size-adjust: 100%; }
    .wrapper { width: auto !important; padding: 10px !important; }
    #nav.main a { padding: 0.8em 1.2em; font-size: 0.9em; letter-spacing: 2px; }
}
h2,
h3 {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.wrapper { max-width: 1380px; width: 96%; margin-left: auto; margin-right: auto; }
.wrapper-full { width: 100%; box-sizing: border-box; }
.header-image-container {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: var(--espacio-blanco);
}
.header-image-container img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.header-image-container:hover img {
    transform: scale(1.03);
}
.header-bottom-row {
    display: flex;
    width: 100%;
    margin-top: 15px;
    box-sizing: border-box;
    justify-content: center;
    align-items: stretch;
}
.header-tercio-left,
.header-tercios-right {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone-box-wrapper {
    background-color: var(--color-primario);
    padding: 14px 50px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(2, 81, 151, 0.15);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
}
.phone-box-wrapper:hover {
    background-color: var(--color-secundario);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(2, 81, 151, 0.3);
}
.phone-box-title {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    opacity: 0.95;
    letter-spacing: 0.5px;
    font-family: var(--fuente-base);
}
.phone-number-link {
    margin: 2px 0 0 0;
    font-size: 35px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-family: var(--fuente-base);
    white-space: nowrap;
}
.phone-icon {
    display: inline-block;
    transition: transform 0.5s ease;
    font-size: 0.8em;
    vertical-align: middle;
    margin-right: 5px;
}
.phone-box-wrapper:hover .phone-icon {
    transform: rotate(-15deg) scale(1.1);
}
nav.main-nav {
    width: 100%;
}
ul#nav.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
ul#nav.main li {
    margin: 0;
    flex: 0 1 auto;
    text-align: center;
}
ul#nav.main li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #444;
    font-family: var(--fuente-titulos);
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 7px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #ccc;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
ul#nav.main li a:hover:not(.active) {
    background-color: var(--color-acento-muy-claro);
    color: #006064;
    border-color: #b2ebf2;
}
ul#nav.main li a.active {
    font-size: 16px;
    color: #ffffff;
    background-color: var(--color-primario);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primario);
}
.enlaces-interes-section {
    background-color: var(--color-fondo-gris);
    padding: 60px 20px;
    border-top: 1px solid #eaeaea;
    margin-top: 80px;
    text-align: center;
}
.enlaces-interes-title {
    font-family: var(--fuente-titulos);
    font-size: 20px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    font-weight: bold;
}
.enlaces-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}
.enlaces-menu li a {
    display: inline-block;
    color: var(--color-primario);
    font-family: var(--fuente-base);
    font-size: 15px;
    text-decoration: none;
    font-weight: normal;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.enlaces-menu li a:hover {
    background-color: #edf7ff;
    text-decoration: none;
}
.ediciones-disponibles-section {
    background-color: #dae4f5;
    padding: 60px 20px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;

    text-align: center;
}
.ediciones-container { max-width: 1100px; margin: 0 auto; }
.ediciones-title {
    font-family: var(--fuente-titulos);
    font-size: 24px;
    color: var(--color-primario);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    font-weight: bold;
}
.ediciones-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ediciones-menu li { margin-bottom: 10px; }
.ediciones-menu li a {
    color: var(--color-primario);
    font-size: 16px;
    text-decoration: none;
}
.ediciones-menu li a:hover {
    color: var(--color-secundario);
    text-decoration: underline;
}
#footer {
    border-radius: 10px;
    background-color: #ffffff;
    color: #2c3e50;
    padding: 50px 20px;
    margin-top: 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    border-top: none;
    width: 100%;
    box-sizing: border-box;
}
#footer .footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    width: 100%;
}
#footer a {
    color: var(--color-primario);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}
#footer a:hover { color: var(--color-secundario); text-decoration: underline; }
#footer .footer-company-info {
    border-top: 1px solid rgba(44, 62, 80, 0.15);
    padding-top: 20px;
    width: 100%;
    color: #546e7a;
    font-size: 14px;
}
#footer .footer-company-info p { margin: 0; }
@media (max-width: 1200px) {
    .header-bottom-row { flex-direction: column; gap: 25px; }
    .header-tercio-left, .header-tercios-right { width: 100%; }
    ul#nav.main { gap: 15px; }
}
@media (max-width: 768px) {
    .wrapper { width: 100% !important; padding: 0 10px; box-sizing: border-box; }
    #footer .footer-links { gap: 15px; }
    .ediciones-title { font-size: 20px; margin-bottom: 30px; }
    .ediciones-menu { gap: 10px 20px; }
    .ediciones-menu li a { font-size: 14px; }
    .enlaces-interes-title { font-size: 18px; }
    .enlaces-menu li a { font-size: 14px; }
}
@media (min-width: 1200px) {
    .header-bottom-row { justify-content: center; gap: 30px;}
}
@media (max-width: 1199px) {
    header.wrapper { width: 100% !important; padding: 0 10px; }
    .header-bottom-row { flex-direction: column; gap: 25px; align-items: center; }
    .header-tercio-left, .header-tercios-right { width: 100%; padding: 0; justify-content: center; }
    ul#nav.main { gap: 15px; }
}
a:focus-visible {
    outline: 3px solid var(--color-secundario);
    outline-offset: 2px;
}
.phone-number-link:focus-visible {
    outline-color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
    .header-image-container:hover img, .phone-box-wrapper:hover, .phone-box-wrapper:hover .phone-icon { transform: none; }
}