@font-face {
font-family: "AdelonSerial";
src: url("./AdelonSerialXbold.otf") format('opentype');
font-weight:bold;
font-display: swap;
}
@font-face {
font-family: "AdelonSerial";
src: url("./AdelonSerialMedium.otf") format('opentype');
font-weight:normal;
font-display: swap;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
body {
  font-family: 'AdelonSerial';
  color:#fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'AdelonSerial'; font-weight: bold;
}
body {
    font-family: 'AdelonSerial';
    background-color: #0a0a0a;
    color: #e5e5e5;
}
body.menu-open {
    overflow: hidden;
}
.{
    font-family: 'Cinzel', serif;
}
.hshadow { filter: drop-shadow(0 3px 6px #000) drop-shadow(0 3px 3px #000); }
.gradient-gold {
    background: linear-gradient(135deg, #FFE27A 0%, #ffe596 15%, #D4A017 50%, #B8860B 85%, #D4A017 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glow-gold {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.25), 0 0 20px rgba(212, 160, 23, 0.15);
}
.text-glow-gold {
    text-shadow: 0 0 30px rgba(255, 229, 150, 0.69);
}
.link {color: rgb(252, 211, 77); text-decoration: underline;  }
.link:hover { animation: glow 1.5s ease-in-out infinite; }
@keyframes glow {
    0%, 100% { filter:drop-shadow(0 0 6px rgb(252, 211, 77)); opacity:1; }
    50% { filter:drop-shadow(0 0 0 #000); opacity:0.6; }
}
.glass-panel {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(212, 160, 23, 0.15);
    backdrop-filter: blur(6px);
    transform: translateZ(0) scale(1.01);/* Arregla un fallo con backdrop-filter y la animación del fondo  */
}
.glass-input {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(212, 160, 23, 0.25);
    color: #f3f4f6;
    transition: all 0.2s ease;
}
.glass-input:focus {
    outline: none;
    border-color: #FFE27A;
    box-shadow: 0 0 12px rgba(255, 226, 122, 0.25);
    background: rgba(15, 15, 15, 0.9);
}
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.scan-animation { animation: scan 2s linear infinite; }
@keyframes scan {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.floating { animation: float 6s ease-in-out infinite; }
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.overlay-amber {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(20,15,5,0.6) 50%, rgba(0,0,0,0.8) 100%);
}
.zoom-slow {
    animation: zoomSlow 20s ease-in-out infinite alternate;
}
@keyframes zoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Dropdowns */
.lang-selector, .nav-dropdown { position: relative; }
.lang-btn, .nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 3px 9px;
    border-radius: 3px;
}
.lang-btn:hover, .nav-dropdown-btn:hover {
    background: rgba(212, 160, 23, 0.18);
    border-color: rgba(255, 215, 0, 0.5);
}
.lang-btn .chevron, .nav-dropdown-btn .chevron { transition: transform 0.2s ease; }
.lang-selector.open .lang-btn .chevron,
.nav-dropdown.open .nav-dropdown-btn .chevron { transform: rotate(180deg); }
.lang-dropdown, .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: 0.5rem;
    padding: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lang-dropdown { min-width: 160px; }
.nav-dropdown-menu { min-width: 240px; }
.lang-selector.open .lang-dropdown,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option, .nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    color: #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease;
    background: transparent;
    border: none;
    text-align: left;
    text-decoration: none;
}
.lang-option:hover, .nav-dropdown-item:hover {
    background: rgba(212, 160, 23, 0.15);
    color: #ffe596;
}
.lang-option.active {
    background: rgba(212, 160, 23, 0.2);
    color: #ffe596;
    font-weight: 600;
    cursor: default;
}
.lang-option .flag { font-size: 1.125rem; }
.lang-option .check { margin-left: auto; opacity: 0; }
.lang-option.active .check { opacity: 1; }
.nav-dropdown-item .icon {
    width: 1rem; height: 1rem; flex-shrink: 0;
}

/* FAQ */
.faq-item { transition: border-color 0.3s ease, background 0.3s ease; }
.faq-item:hover { border-color: rgba(212, 160, 23, 0.3); }
.faq-question { cursor: pointer; user-select: none; }
.faq-icon { transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: #ffe596; }
.faq-answer {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    padding-top: 0;
}
.faq-item.open .faq-answer { max-height: 300px; opacity: 1; padding-top: 0.75rem; }

/* Hero subtitle */
.hero-subtitle { position: relative; display: inline-block; padding: 0 1.5rem; }
.hero-subtitle::before, .hero-subtitle::after {
    content: ''; position: absolute; top: 50%; width: 54px; height: 3px; border-radius: 3px;
}
.hero-subtitle::before { left: -50px; background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6)); }
.hero-subtitle::after { right: -50px; background: linear-gradient(270deg, transparent, rgba(255, 215, 0, 0.6)); }

/* Botones dorados */
.btn-gold {
    background: linear-gradient(180deg, #FFE27A 0%, #ffe596 15%, #D4A017 50%, #B8860B 85%, #D4A017 100%);
    color: #1a1400; font-weight: 700; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3), 0 0 20px rgba(212, 160, 23, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 5px rgba(184, 134, 11, 0.3);
}
.btn-gold:hover {
    background: linear-gradient(180deg, #FFF3A0 0%, #FFE27A 15%, #ffe596 50%, #D4A017 85%, #ffe596 100%);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5), 0 0 35px rgba(255, 215, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 5px rgba(184, 134, 11, 0.2);
    transform: translateY(-2px);
}
.btn-gold-outline {
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid;
    border-color: #FFE27A;
    color: #ffe596; font-weight: 600; transition: all 0.3s ease;
}
.btn-gold-outline:hover {
    background: rgba(212, 160, 23, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.step-number-gold {
    background: linear-gradient(180deg, #FFE27A 0%, #ffe596 20%, #D4A017 50%, #B8860B 80%, #D4A017 100%);
    color: #1a1400; font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.nav-link { color: #d1d5db; transition: color 0.2s ease; font-weight: 500; }
.nav-link:hover { color: #ffe596; }

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(212, 160, 23, 0.08);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 0.5rem;
    color: #ffe596;
    cursor: pointer;
    transition: all 0.2s ease;
}
.hamburger-btn:hover {
    background: rgba(212, 160, 23, 0.18);
    border-color: rgba(255, 215, 0, 0.5);
}
.hamburger-btn .icon-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}
.hamburger-btn .icon-bars span {
    display: block;
    height: 2px;
    background: #ffe596;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.hamburger-btn.active .icon-bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .icon-bars span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.active .icon-bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    border-left: 1px solid rgba(212, 160, 23, 0.2);
    z-index: 70;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 1.5rem;
}
.mobile-drawer.open {
    transform: translateX(0);
}
.mobile-drawer::-webkit-scrollbar { width: 4px; }
.mobile-drawer::-webkit-scrollbar-track { background: transparent; }
.mobile-drawer::-webkit-scrollbar-thumb { background: rgba(212, 160, 23, 0.3); border-radius: 2px; }

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem;
    color: #e5e5e5;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 160, 23, 0.08);
}
.mobile-nav-link:hover, .mobile-nav-link:active {
    background: rgba(212, 160, 23, 0.1);
    color: #ffe596;
}
.mobile-nav-link .link-text { display: flex; align-items: center; gap: 0.75rem; }
.mobile-nav-link .link-icon { color: #ffe596; width: 1.25rem; height: 1.25rem; }
.mobile-nav-link .chevron {
    color: #ffe596;
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}
.mobile-nav-link.expanded .chevron { transform: rotate(180deg); }

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    margin: 0 0.5rem;
}
.mobile-submenu.open { max-height: 400px; }
.mobile-submenu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(212, 160, 23, 0.05);
}
.mobile-submenu-item:last-child { border-bottom: none; }
.mobile-submenu-item:hover { background: rgba(212, 160, 23, 0.1); color: #ffe596; }
.mobile-submenu-item .icon { width: 1rem; height: 1rem; flex-shrink: 0; }

.mobile-lang-selector {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 160, 23, 0.15);
}
.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
.mobile-lang-option:hover { background: rgba(212, 160, 23, 0.1); color: #ffe596; }
.mobile-lang-option.active {
    background: rgba(212, 160, 23, 0.15);
    color: #ffe596;
    font-weight: 600;
}
.mobile-lang-option .flag { font-size: 1.25rem; }
.mobile-lang-option .check { margin-left: auto; color: #ffe596; }

.wall { background:url("../img/bck-wall.webp") top center; background-size: 100% auto; background-repeat: repeat-y; box-shadow: inset 0 0 45px 18px rgba(0,0,0,0.6); }
.edge-stone { height: 30px; background: url('../img/bck-stone.webp') center center; }