/* /public/assets/css/web-main.css */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

:root {
    --gold-light: #d4af37;
    --gold-hover: #f1c40f;
    --dark-overlay: rgba(10, 10, 12, 0.65);
    --header-bg: rgba(15, 17, 21, 0.85);
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --gold: #c5a05a;
    --gold-light: #e5c98f;
    --wine: #671523;
    --wine-dark: #290a11;
    --wine-soft: #81283a;
    --gold: #c5a05a;
    --gold-light: #e5c98f;
    --ivory: #f6f1e7;
    --paper: #fffdf8;
    --ink: #27211d;
    --muted: #776e66;
    --line: #ded5c7;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #0f1115;
    color: var(--text-light);
    overflow-x: hidden;
}

/* --- HEADER DE LA WEB --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    padding: 1.4rem 5vw;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.brand .crest {
    height: 48px;
    width: auto;
}

.brand span {
    display: flex;
    flex-direction: column;
}

.brand strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: .15rem;
}

.brand small {
    color: #ffffffad;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-top: .3rem;
    font-size: .57rem;
}

.nav-links {
    letter-spacing: .06em;
    text-transform: uppercase;
    align-items: center;
    gap: clamp(.45rem, 1vw, 1rem);
    font-size: .62rem;
    font-weight: 600;
    display: flex;
    font-family: 'Montserrat', sans-serif;
}

.nav-group {
    position: relative;
}

.nav-group-trigger {
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: .075rem;
    text-transform: inherit;
    background: 0 0;
    border: 0;
    align-items: center;
    gap: .25rem;
    padding: .8rem .35rem;
    display: flex;
}

.nav-group-trigger svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
    width: .75rem;
    transition: transform .18s;
}

.nav-group-trigger:hover,
.nav-group.active .nav-group-trigger {
    color: var(--gold-light);
}

.nav-group.active .nav-group-trigger svg {
    transform: rotate(180deg);
}

/* MEGA MENÚ DESPLEGABLE */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 1.25rem;
    min-width: 240px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 1010;
    background: var(--wine-dark);
    color: var(--paper);
    
}

.nav-group.active .mega-menu {
    display: block;
}

.mega-menu p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.8rem;
    color: var(--gold-light);
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-menu div a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    transition: all 0.2s ease;
}

.mega-menu div a svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.mega-menu div a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.mega-menu div a:hover svg {
    opacity: 1;
    transform: translateX(3px);
}

.portal-link {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.45rem 1rem;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.2s ease;
}

.portal-link:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    stroke: #ffffff;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    box-sizing: border-box;
    min-height: 100svh;
    color: var(--paper);
    background-position: 50% 38%;
    background-size: cover;
    align-items: center;
    padding: 10rem 7vw 6rem;
    display: flex;
    position: relative;
    overflow: hidden;
    background-image: url("https://images.unsplash.com/photo-1744975298536-6c20f949c924?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixlib=rb-4.1.0&q=85&w=2000");
}

.hero-overlay {
    background: linear-gradient(90deg, #18030ae0 0%, #25071096 48%, #18030a2e 78%), linear-gradient(#0000 55%, #1203087a);
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-top: 60px;
}

.eyebrow {
    color: var(--gold-light);
    letter-spacing: .23em;
    text-transform: uppercase;
    align-items: center;
    gap: .8rem;
    margin: 0 0 1.5rem;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
}

.eyebrow:before {
    content: "";
    background: currentColor;
    width: 2.5rem;
    height: 1px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -.045em;
    margin-bottom: 1.7rem;
    font-size: clamp(4.2rem, 8vw, 8rem);
    font-weight: 500;
    line-height: .76;
}

.hero h1 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold-light);
    margin-top: .23em;
    font-size: .72em;
    font-weight: 500;
    display: block;
}

.hero-copy {
    color: #ffffffc2;
    max-width: 35rem;
    margin-bottom: 2.2rem;
    font-family: Cormorant Garamond, serif;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

a.button {
    text-decoration: none;
    box-sizing: border-box;
}

.button-gold {
    background: var(--gold);
    color: var(--wine-dark);
}

.button {
    letter-spacing: .08em;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    min-height: 3.5rem;
    padding: .9rem 1.45rem;
    font-size: .72rem;
    font-weight: 700;
    transition: background .18s, color .18s;
    display: inline-flex;
}

.button-gold svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.button-gold:hover {
    background: var(--gold-light);
}

.text-link {
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
    border: 0 solid;
    margin: 0;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-bottom: 1px solid #ffffff73;
    padding: .5rem 0;
    font-size: .75rem;
    font-weight: 600;
}

.photo-credit {
    position: absolute;
    right: -60px;
    bottom: 120px;
    transform: rotate(-90deg);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.scroll-cue {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    z-index: 2;
}

.scroll-cue span {
    display: block;
    width: 4px;
    height: 6px;
    background: var(--gold-light);
    border-radius: 2px;
    margin: 6px auto;
}