/*
Theme Name: Maison Hagane
Template: astra
Version: 1.0.0
Description: Tema hijo de Astra para Maison Hagane — L'art des armes à travers l'histoire
Author: Maison Hagane
Text Domain: maison-hagane
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Inter:wght@300;400;500&display=swap');

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

body {
    background: #080808;
    color: #F5F0E8;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* =====================
   HEADER / NAVEGACIÓN
   ===================== */
.mh-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    border-bottom: 0.5px solid #C9A84C55;
    background: #0D0D0D;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 56px;
}

.mh-logo {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #C9A84C;
    text-decoration: none;
}

.mh-logo span { color: #E8E0D0; font-weight: 400; }

.mh-nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.mh-nav-links li a {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #B0A090;
    text-decoration: none;
    transition: color 0.2s;
}

.mh-nav-links li a:hover { color: #C9A84C; }

.mh-nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #B0A090;
}

.mh-nav-right a { color: #B0A090; font-size: 16px; text-decoration: none; transition: color 0.2s; }
.mh-nav-right a:hover { color: #C9A84C; }

.mh-lang {
    display: flex;
    gap: 0.6rem;
    font-size: 10px;
    letter-spacing: 1px;
    border-left: 0.5px solid #C9A84C44;
    padding-left: 1rem;
}

.mh-lang a { cursor: pointer; color: #887060; text-decoration: none; transition: color 0.2s; }
.mh-lang a.active,
.mh-lang a:hover { color: #C9A84C; font-weight: 500; }

/* =====================
   PORTADA — HERO
   ===================== */
.mh-portada {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    height: calc(100vh - 56px);
    margin-top: 56px;
}

.mh-hero-left {
    padding: 2.5rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #C9A84C33;
    background: #0A0A0A;
}

.mh-eyebrow {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 1.2rem;
}

.mh-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: #F0E8D8;
    margin-bottom: 1rem;
}

.mh-hero-title em { color: #C9A84C; font-style: normal; }

.mh-hero-sub {
    font-size: 13px;
    color: #9A8878;
    line-height: 1.75;
    margin-bottom: 1.8rem;
    max-width: 360px;
}

.mh-ctas { display: flex; gap: 0.8rem; align-items: center; }

.mh-btn-primary {
    background: #C9A84C;
    color: #0A0A0A;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 11px 22px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.mh-btn-primary:hover { background: #D4B860; color: #0A0A0A; }

.mh-btn-ghost {
    background: transparent;
    color: #C0B0A0;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 11px 22px;
    border: 0.5px solid #555040;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.mh-btn-ghost:hover { border-color: #C9A84C; color: #C9A84C; }

/* =====================
   PERFILES DE CLIENTE
   ===================== */
.mh-perfiles {
    display: flex;
    border-top: 0.5px solid #C9A84C33;
}

.mh-perfil {
    flex: 1;
    padding: 1rem 1.2rem;
    border-right: 0.5px solid #C9A84C22;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: background 0.2s;
}

.mh-perfil:last-child { border-right: none; }
.mh-perfil:hover { background: #0F0F0F; }
.mh-perfil:hover .mh-perfil-bar { width: 100%; }

.mh-perfil-num {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #C9A84C44;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.mh-perfil-title {
    font-size: 11px;
    font-weight: 500;
    color: #C9A84C;
    margin-bottom: 0.3rem;
}

.mh-perfil-desc {
    font-size: 10px;
    color: #887060;
    line-height: 1.5;
}

.mh-perfil-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 1px; width: 0;
    background: #C9A84C;
    transition: width 0.3s;
}

/* =====================
   UNIVERSOS CON FOTO
   ===================== */
.mh-hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    background: #000;
}

.mh-univ {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
}

.mh-univ-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.45) saturate(0.7);
    transition: filter 0.4s, transform 0.4s;
}

.mh-univ:hover .mh-univ-img {
    filter: brightness(0.65) saturate(0.9);
    transform: scale(1.04);
}

.mh-univ-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem;
}

.mh-univ-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mh-univ-icon { font-size: 24px; color: #C9A84C; }

.mh-univ-arrow {
    font-size: 14px;
    color: #C9A84C;
    opacity: 0;
    transition: opacity 0.3s;
}

.mh-univ:hover .mh-univ-arrow { opacity: 1; }

.mh-univ-title {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: #F0E8D8;
    margin-bottom: 0.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mh-univ-desc {
    font-size: 11px;
    color: #C0A880;
    line-height: 1.5;
}

.mh-univ-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 2px; width: 0;
    background: #C9A84C;
    transition: width 0.4s;
}

.mh-univ:hover .mh-univ-bar { width: 100%; }

/* =====================
   FOOTER BAR
   ===================== */
.mh-footer-bar {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    border-top: 0.5px solid #C9A84C33;
    background: #0D0D0D;
}

.mh-footer-copy { font-size: 9px; color: #554840; letter-spacing: 1px; }

.mh-footer-links { display: flex; gap: 1.5rem; }
.mh-footer-links a {
    font-size: 9px;
    color: #665550;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}
.mh-footer-links a:hover { color: #C9A84C; }

/* =====================
   RESPONSIVE — TABLET
   ===================== */
@media (max-width: 1024px) {
    .mh-portada { grid-template-columns: 1fr; grid-template-rows: auto auto auto; height: auto; }
    .mh-hero-left { border-right: none; border-bottom: 1px solid #C9A84C33; padding-bottom: 2rem; }
    .mh-hero-right { grid-column: 1; height: 60vh; }
    .mh-hero-title { font-size: 26px; }
}

/* =====================
   RESPONSIVE — MÓVIL
   ===================== */
@media (max-width: 768px) {
    .mh-nav { padding: 0.8rem 1rem; }
    .mh-nav-links { display: none; }
    .mh-hero-left { padding: 1.5rem 1rem 0; }
    .mh-hero-title { font-size: 22px; }
    .mh-hero-right { grid-template-columns: 1fr; grid-template-rows: repeat(4, 200px); height: auto; }
    .mh-perfiles { flex-direction: column; }
    .mh-perfil { border-right: none; border-bottom: 0.5px solid #C9A84C22; }
    .mh-footer-bar { flex-direction: column; gap: 0.5rem; text-align: center; }
}
