/* =========================================================
   INSPIRAXION — ESTILOS GLOBALES
   ========================================================= */

:root {
    --ix-primary: #0b5f8a;
    --ix-secondary: #159d9a;
    --ix-dark: #173042;
    --ix-text: #405261;
    --ix-light: #f5f8fa;
    --ix-white: #ffffff;
    --ix-border: #dce5ea;

    --ix-container: 1200px;
    --ix-radius: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ix-text);
    background: var(--ix-white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.ix-container {
    width: min(92%, var(--ix-container));
    margin-inline: auto;
}

.ix-site {
    min-height: 60vh;
}

/* =========================================================
   HEADER / NAVEGACIÓN
   ========================================================= */

.ix-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--ix-border);
}

.ix-header__inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.ix-header__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.ix-header__logo img {
    display: block;
    width: 190px;
    height: auto;
}

.ix-header__nav {
    margin-left: auto;
}

.ix-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.ix-menu li {
    margin: 0;
    padding: 0;
}

.ix-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    text-decoration: none;
    color: var(--ix-dark);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    transition: color .2s ease;
}

.ix-menu a:hover,
.ix-menu .current-menu-item > a {
    color: var(--ix-primary);
}

/* CTA Academia */
.ix-menu .ix-menu-cta > a {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--ix-primary);
    color: #fff;
}

.ix-menu .ix-menu-cta > a:hover {
    background: var(--ix-secondary);
    color: #fff;
}

/* Acciones derecha */
.ix-header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ix-header__cart {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ix-border);
    border-radius: 50%;
    color: var(--ix-dark);
    text-decoration: none;
}

.ix-header__cart:hover {
    color: var(--ix-primary);
    border-color: var(--ix-primary);
}

.ix-header__cart svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-header__cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--ix-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* Hamburguesa */
.ix-header__toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.ix-header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--ix-dark);
    transition: transform .2s ease, opacity .2s ease;
}

/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .ix-header__inner {
        min-height: 74px;
    }

    .ix-header__logo img {
        width: 160px;
    }

    .ix-header__toggle {
        display: block;
    }

    .ix-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0 4%;
        background: #fff;
        border-top: 1px solid var(--ix-border);
        border-bottom: 1px solid var(--ix-border);

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;

        transition:
            max-height .3s ease,
            opacity .2s ease,
            visibility .2s ease;
    }

    .ix-header.is-menu-open .ix-header__nav {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding-top: 16px;
        padding-bottom: 20px;
    }

    .ix-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .ix-menu a {
        width: 100%;
        min-height: 48px;
    }

    .ix-menu .ix-menu-cta > a {
        justify-content: center;
        margin-top: 8px;
    }

    .ix-header.is-menu-open .ix-header__toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .ix-header.is-menu-open .ix-header__toggle span:nth-child(2) {
        opacity: 0;
    }

    .ix-header.is-menu-open .ix-header__toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 480px) {

    .ix-header__logo img {
        width: 145px;
    }

    .ix-header__inner {
        gap: 12px;
    }
}

/* =========================================================
   FOOTER
   ========================================================= */

.ix-footer {
    background: #102b3a;
    color: #dce7ec;
}

.ix-footer__top {
    padding: 64px 0 48px;
}

.ix-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 56px;
}

.ix-footer__brand,
.ix-footer__column {
    min-width: 0;
}

.ix-footer__logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.ix-footer__logo img {
    display: block;
    width: 180px;
    height: auto;
}

.ix-footer__intro {
    max-width: 420px;
    margin: 0 0 26px;
    color: #b8c8d0;
    font-size: 15px;
    line-height: 1.75;
}

/* SOCIAL */

.ix-footer__social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ix-footer__social > span {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.ix-footer__social-links {
    display: flex;
    gap: 10px;
}

.ix-footer__social-links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: #fff;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.ix-footer__social-links a:hover {
    background: var(--ix-secondary);
    border-color: var(--ix-secondary);
    transform: translateY(-2px);
}

.ix-footer__social-links svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-footer__social-links a:first-child svg,
.ix-footer__social-links a:nth-child(4) svg {
    fill: currentColor;
    stroke: none;
}

/* COLUMNAS */

.ix-footer__eyebrow {
    margin: 0 0 8px;
    color: var(--ix-secondary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.ix-footer__column h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
}

.ix-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ix-footer__nav a {
    color: #c7d5dc;
    text-decoration: none;
    font-size: 15px;
    transition:
        color .2s ease,
        transform .2s ease;
}

.ix-footer__nav a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* CONTACTO */

.ix-footer__contact-lead {
    margin: 0 0 24px;
    color: #b8c8d0;
    font-size: 14px;
    line-height: 1.7;
}

.ix-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
    color: #fff;
    text-decoration: none;
}

.ix-footer__contact-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: var(--ix-secondary);
}

.ix-footer__contact-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ix-footer__contact-item small,
.ix-footer__contact-item strong {
    display: block;
}

.ix-footer__contact-item small {
    margin-bottom: 2px;
    color: #8fa8b5;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ix-footer__contact-item strong {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.ix-footer__hours {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.ix-footer__hours strong,
.ix-footer__hours span {
    display: block;
}

.ix-footer__hours strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 13px;
}

.ix-footer__hours span {
    color: #aebfc7;
    font-size: 13px;
}

/* BARRA INFERIOR */

.ix-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.10);
}

.ix-footer__bottom-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ix-footer__copyright {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aebfc7;
    font-size: 13px;
}

.ix-footer__copyright img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ix-footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.ix-footer__legal a {
    color: #c7d5dc;
    text-decoration: none;
}

.ix-footer__legal a:hover {
    color: #fff;
}

/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .ix-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .ix-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {

    .ix-footer__top {
        padding: 48px 0 36px;
    }

    .ix-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ix-footer__brand {
        grid-column: auto;
    }

    .ix-footer__bottom-inner {
        padding-top: 20px;
        padding-bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ix-footer__copyright {
        align-items: flex-start;
    }
}