/* ============================================
   MODARYSAN - shared.css
   Estilos compartidos: Header, Footer, Utilidades
   Fuente: Extraído y unificado del sistema BEM de catalogo.html
   ============================================ */

/* ── RESET & BASE ────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --black-medium: #2a2a2a;
    --white: #fff;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --yellow: #ffd60a;
    --whatsapp: #25d366;
    --blue: #3b82f6;
    --orange: #f97316;
    --purple: #8b5cf6;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HEADER ───────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo-img { height: 45px; }

.nav__logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 3px;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    border-radius: 8px;
    transition: 0.3s;
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
    background: rgba(230, 57, 70, 0.15);
}

.nav__close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
}

.nav__cta:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

/* ── PAGE HEADER (banner de página interna) ─ */
.page-header {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%);
}

.page-header__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(230,57,70,0.1) 0%, transparent 60%);
}

.page-header__content {
    position: relative;
    z-index: 2;
}

.page-header__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.page-header__desc {
    color: var(--gray-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ── BREADCRUMB ──────────────────────────── */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--gray-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn--whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ── SECTIONS ────────────────────────────── */
.section {
    padding: 80px 0;
}

.section--dark {
    background: var(--black);
}

.section--gray {
    background: var(--black-light);
}

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.section__subtitle {
    color: var(--gray-light);
    font-size: 16px;
}

/* ── FOOTER ──────────────────────────────── */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__top {
    padding: 60px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer__logo-img { height: 40px; }

.footer__logo span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
}

.footer__desc {
    color: var(--gray-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-light);
    border-radius: 10px;
    color: var(--white);
    font-size: 16px;
}

.footer__social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer__links ul li {
    margin-bottom: 12px;
}

.footer__links ul li a {
    color: var(--gray-light);
    font-size: 14px;
}

.footer__links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-light);
    font-size: 14px;
}

.footer__contact ul li i {
    color: var(--primary);
    width: 20px;
}

.footer__bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__bottom p {
    color: var(--gray);
    font-size: 14px;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    color: var(--gray);
    font-size: 14px;
}

.footer__legal a:hover {
    color: var(--primary);
}

/* ── WHATSAPP FLOAT ──────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 992px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--black);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 30px;
        transition: 0.4s;
        z-index: 99;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .nav__link {
        padding: 14px 20px;
        font-size: 16px;
        display: block;
    }

    .nav__close { display: block; }
    .nav__toggle { display: block; }

    .nav__cta span { display: none; }

    .nav__cta {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 12px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 40px;
    }

    .page-header__title {
        font-size: 36px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__logo { justify-content: center; }
    .footer__social { justify-content: center; }

    .footer__bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .section__title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .nav__logo-text {
        font-size: 22px;
    }

    .page-header__title {
        font-size: 28px;
    }
}
