@charset "utf-8";
/* ==========================================================================
   OUTLET DE PLAYERAS - CSS ADICIONAL LIMPIO
   Objetivo:
   - Mantener únicamente selectores utilizados en el CSS adicional original.
   - Eliminar reglas duplicadas.
   - Centralizar colores y medidas repetidas.
   - Conservar el funcionamiento de header, menú, footer y WhatsApp.
   - Mejorar consistencia y respuesta móvil sin depender de clases nuevas.
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
    --color-primary: #011A42;
    --color-primary-hover: #001235;
    --color-whatsapp: #25D366;

    --color-text: #404040;
    --color-text-secondary: #495057;
    --color-muted: #6c757d;

    --color-white: #ffffff;
    --color-surface: #f8f9fa;
    --color-border: #dee2e6;
    --color-border-light: #e9ecef;

    --container-width: 1200px;
    --transition: 0.3s ease;
    --radius: 5px;
}

/* ==========================================================================
   2. BASE / RESET DEL TEMA
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
}

/* Se ocultan los elementos nativos del tema porque la página usa
   header/footer personalizados. */
#masthead,
.entry-header,
#secondary,
#colophon {
    display: none;
}

.entry-content,
.post,
.page {
    margin: 0;
}

/* Ajustes globales del contenido */
h2,
h3,
p,
ul,
ol {
    margin: 0;
}

h2 {
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   3. BOTÓN CTA GENERAL
   ========================================================================== */
.cta-button,
.cta-button:visited,
.cta-button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;

    background-color: var(--color-primary);
    color: var(--color-white);

    border: 2px solid var(--color-primary);
    border-radius: var(--radius);

    font-size: 1rem;
    line-height: 1.1;
    text-decoration: none;

    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.cta-button:hover,
.cta-button:focus {
    color: var(--color-primary);
    background-color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* ==========================================================================
   4. HEADER + PLECA FIJA
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 2000;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: 100%;

    background-color: var(--color-white);
    box-shadow: 0 4px 18px rgba(1, 26, 66, 0.08);
}

.header__announcement-bar {
    position: relative;
    display: block;
	width:100%;
    overflow: hidden;

    background:
        linear-gradient(
            100deg,
            var(--color-primary) 0%,
            #06285d 48%,
            var(--color-primary) 100%
        );

    isolation: isolate;
}

.header__announcement-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;

    width: 22%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 0;

    animation: announcement-shine 6s ease-in-out infinite;
}

.header__announcement-bar::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 1px;

    background-color: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.header__announcement-bar p {
    position: relative;
    z-index: 1;

    margin: 0;
    padding: 0.5rem 1rem;

    color: var(--color-white);

    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    line-height: 1.35;
    text-align: center;

    transition:
        letter-spacing var(--transition),
        transform var(--transition);
}

.header__announcement-bar:hover p {
    letter-spacing: 0.03em;
    transform: translateY(-1px);
}

.header__nav-bar {
    width: 95%;
    max-width: var(--container-width);
    min-height: 74px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: var(--color-white);
}

.header__logo {
    display: block;
    max-width: 138px;
    height: auto;
    padding: 0.85rem 1rem;
    object-fit: cover;
}

@keyframes announcement-shine {
    0%,
    58% {
        left: -35%;
        opacity: 0;
    }

    64% {
        opacity: 1;
    }

    82% {
        left: 115%;
        opacity: 0;
    }

    100% {
        left: 115%;
        opacity: 0;
    }
}
/* ==========================================================================
   5. NAVEGACIÓN DESKTOP
   ========================================================================== */
.nav-bar__menu {
    display: flex;
    align-items: center;
    gap: 2rem;

    margin: 0;
    padding: 0;
}

.menu__item {
    position: relative;
    list-style: none;
}

.item__link,
.item__link:visited {
    color: var(--color-primary);
    text-decoration: none;
    transition:
        color var(--transition),
        text-decoration-color var(--transition);
}

.item__link:hover,
.item__link:focus {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Botón principal del header.
   Se usa azul marino para mantener coherencia con las capturas actuales.
   El verde queda reservado para el widget flotante de WhatsApp. */
.nav-bar__button,
.nav-bar__button:visited,
.nav-bar__button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 32px;

    background-color: var(--color-primary);
    color: var(--color-white);

    border: 2px solid var(--color-primary);
    border-radius: var(--radius);

    font-size: 1rem;
    line-height: 1.1;
    text-decoration: none;

    transition:
        color var(--transition),
        background-color var(--transition),
        border-color var(--transition);
}

.nav-bar__button:hover,
.nav-bar__button:focus {
    color: var(--color-primary);
    background-color: transparent;
    border-color: var(--color-primary);
}

/* ==========================================================================
   6. MENÚ HAMBURGUESA / OVERLAY
   ========================================================================== */
.nav-bar__toggle {
    display: none;
    padding: 10px;

    background: none;
    border: none;

    cursor: pointer;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;

    background-color: var(--color-primary);

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.nav-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.6);

    opacity: 0;
    visibility: hidden;

    z-index: 99;

    transition:
        opacity 0.4s ease-in-out,
        visibility 0.4s ease-in-out;
}

.nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.only__mobile {
    display: none;
}

/* ==========================================================================
   7. SUBMENÚ
   ========================================================================== */
.menu__item.has-submenu > .item__link {
    display: flex;
    align-items: center;
}

.submenu-indicator {
    margin-left: 0.5em;
    font-size: 0.7em;
    transition: transform var(--transition);
}

.submenu {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    min-width: 200px;
    margin: 0;
    padding: 0.5rem 0;

    background-color: var(--color-white);

    border: 1px solid #eeeeee;
    border-radius: var(--radius);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);

    list-style: none;
    z-index: 1000;
}

.menu__item.has-submenu:hover > .submenu,
.menu__item.has-submenu:focus-within > .submenu {
    display: block;
}

.menu__item.has-submenu:hover > .item__link .submenu-indicator,
.menu__item.has-submenu:focus-within > .item__link .submenu-indicator {
    transform: rotate(180deg);
}

.submenu__link,
.submenu__link:visited {
    display: block;

    padding: 0.75rem 1.5rem;

    color: #212529;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background-color var(--transition),
        color var(--transition);
}

.submenu__link:hover,
.submenu__link:focus {
    color: var(--color-primary);
    background-color: var(--color-surface);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.site-footer {
    padding: 42px 0 18px;

    background-color: var(--color-surface);
    color: var(--color-text-secondary);

    border-top: 1px solid var(--color-border);

    font-size: 0.95rem;
}

.footer-container {
    width: 92%;
    max-width: var(--container-width);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}

.footer-column--brand {
    max-width: 320px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo {
    display: block;
    max-width: 145px;
    height: auto;
}

.footer-description {
    max-width: 300px;

    color: var(--color-muted);

    font-size: 0.9rem;
    line-height: 1.65;
}

.footer-heading {
    position: relative;

    margin-bottom: 16px;
    padding-bottom: 8px;

    color: var(--color-primary);

    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Línea decorativa debajo de cada título */
.footer-heading::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 28px;
    height: 2px;

    background-color: var(--color-primary);

    border-radius: 99px;
}

.footer-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-list li {
    margin-bottom: 9px;
}

.footer-link,
.footer-link:visited {
    position: relative;

    color: var(--color-text-secondary);

    font-size: 0.92rem;
    text-decoration: none;

    transition:
        color var(--transition),
        padding-left var(--transition);
}

.footer-link:hover,
.footer-link:focus {
    padding-left: 4px;

    color: var(--color-primary);

    text-decoration: none;
}

/* Indicador sutil al interactuar */
.footer-link::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 0;

    width: 0;
    height: 1px;

    background-color: var(--color-primary);

    transform: translateY(-50%);

    transition: width var(--transition);
}

.footer-link:hover::before,
.footer-link:focus::before {
    width: 3px;
}

.footer-address {
    margin-bottom: 15px;

    color: var(--color-muted);

    font-style: normal;
    line-height: 1.6;
}

/* ==========================================================================
   REDES SOCIALES
   ========================================================================== */

.footer-list--social {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-list--social li {
    margin: 0;
}

.footer-social-link,
.footer-social-link:visited {
    display: inline-flex;
    gap: 10px;
    color: var(--color-text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-social-link i {
    width: 22px;
    color: var(--color-primary);
    font-size: 1.25rem;
    line-height: 1;
    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-social-link:hover,
.footer-social-link:focus {
    color: var(--color-primary);
    transform: translateX(3px);
}

.footer-social-link:hover i,
.footer-social-link:focus i {
    transform: scale(1.08);
}

/* ==========================================================================
   PARTE INFERIOR
   ========================================================================== */

.footer-bottom {
    width: 92%;
    max-width: var(--container-width);

    margin: 28px auto 0;
    padding-top: 16px;

    border-top: 1px solid var(--color-border-light);

    text-align: center;
}

.footer-copyright {
    margin: 0;

    color: var(--color-muted);

    font-size: 0.82rem;
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE FOOTER
   ========================================================================== */

@media screen and (max-width: 900px) {

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 36px;
    }

    .footer-column--brand {
        max-width: none;
    }
}

@media screen and (max-width: 600px) {

    .site-footer {
        padding: 34px 0 16px;
    }

    .footer-container {
        width: 88%;

        grid-template-columns: 1fr;

        gap: 26px;
    }

    .footer-column {
        width: 100%;
    }

    .footer-heading {
        margin-bottom: 13px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-bottom {
        width: 88%;

        margin-top: 24px;
        padding-top: 14px;
    }

    .footer-list--social {
         display: flex;
    gap: 15px
    }

    .footer-social-link {
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   9. WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;

    display: flex;
    align-items: flex-end;

    z-index: 1000;
}

.whatsapp-bubble,
.whatsapp-bubble:visited,
.whatsapp-bubble:active {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    background-color: var(--color-whatsapp);
    color: var(--color-white);

    border-radius: 50%;

    font-size: 2rem;
    text-decoration: none;

    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);

    cursor: pointer;

    transition: transform var(--transition);
}

.whatsapp-bubble:hover,
.whatsapp-bubble:focus {
    color: var(--color-white);
    transform: scale(1.08);
}

.whatsapp-bubble .fab.fa-whatsapp {
    line-height: 1;
}

.whatsapp-bubble img {
    width: 60%;
    height: auto;
}

/* Mensaje emergente */
.whatsapp-message,
.whatsapp-message:visited {
    position: absolute;
    right: 80px;
    bottom: 10px;

    padding: 10px 15px;

    background-color: var(--color-white);
    color: #333333;

    border-radius: 10px;

    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);

    white-space: nowrap;

    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;

    opacity: 0;
    visibility: hidden;

    transform: translateX(10px);

    cursor: pointer;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.4s ease;
}

.whatsapp-message.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   10. ACCESIBILIDAD
   ========================================================================== */
.item__link:focus-visible,
.nav-bar__button:focus-visible,
.cta-button:focus-visible,
.submenu__link:focus-visible,
.footer-link:focus-visible,
.footer-social-link:focus-visible,
.whatsapp-bubble:focus-visible,
.whatsapp-message:focus-visible,
.nav-bar__toggle:focus-visible {
    outline: 3px solid rgba(1, 26, 66, 0.30);
    outline-offset: 3px;
}

/* ==========================================================================
   11. RESPONSIVE - TABLET / MÓVIL
   ========================================================================== */
@media screen and (max-width: 768px) {

    .desktop {
        display: none;
    }

    .only__mobile {
        display: block;
    }

    .header__nav-bar {
        position: relative;
        width: 100%;
		min-height: 66px
    }

    .nav-bar__menu {
        display: none;

        position: fixed;
        top: 0;
        left: -100%;

        width: 70%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;

        margin: 0;
        padding: 1rem 0 0 1rem;

        background-color: var(--color-white);

        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        overflow-y: auto;

        transition: left 0.4s ease-in-out;

        z-index: 100;
    }

    .nav-bar__menu.is-active {
        display: flex;
        left: 0;
    }

    .menu__item {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #dddddd;
    }

    .item__link {
        display: block;
        width: 100%;
        padding: 0;

        font-size: 1rem;
    }

    .menu__item--mobile-cta {
        display: flex;
        width: 100%;
        color: #000000;
    }

    .nav-bar__button--mobile {
        width: auto;
        padding: 12px;
    }

    .nav-bar__button--desktop {
        display: none;
    }

    .nav-bar__toggle {
        display: block;
    }

    .nav-bar__toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-bar__toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-bar__toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* En móvil el submenú se muestra dentro del panel lateral. */
    .submenu {
        position: static;
        display: block;

        width: 100%;
        min-width: 0;

        padding: 0;

        background-color: transparent;

        border: none;
        box-shadow: none;
    }

    .submenu__link {
        padding: 0.75rem 1rem;
        white-space: normal;
    }

    .submenu .submenu__link:last-child {
        padding-bottom: 0;
    }

    .submenu-indicator {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }

    .whatsapp-widget {
        right: 10px;
        bottom: 10px;
    }

    .whatsapp-message {
        right: 63px;
        bottom: 12px;
    }
}

/* ==========================================================================
   12. RESPONSIVE - TELÉFONOS PEQUEÑOS
   ========================================================================== */
@media screen and (max-width: 480px) {

    .header__announcement-bar p {
    padding: 0.42rem 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
	}

	.header__announcement-bar:hover p {
		letter-spacing: 0.01em;
		transform: none;
	}

    .header__logo {
        max-width: 120px;
        padding: 0.75rem;
    }

    .nav-bar__menu {
        width: 82%;
        max-width: 300px;
    }

    .site-footer {
        padding: 30px 0 15px;
    }

    .footer-container {
        gap: 25px;
    }

    .footer-column {
        min-width: 95%;
    }

    .footer-social-link {
        font-size: 1.3rem;
    }

    .whatsapp-bubble {
        width: 56px;
        height: 56px;
    }

    .whatsapp-message {
        right: 60px;
        max-width: calc(100vw - 90px);
        white-space: normal;
    }
}

/* ==========================================================================
   13. PREFERENCIA DE MOVIMIENTO REDUCIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
