/* ========================================
   ESTILOS GLOBALES - NAVBAR & FOOTER
======================================== */

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: var(--transition-normal);
  border-bottom: 1px solid rgba(163, 126, 73, 0.1);
}

.navbar.scrolled {
  background-color: rgba(13, 13, 13, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.navbar__logo {
  height: 50px;
  width: auto;
  transition: var(--transition-normal);
}

.navbar__logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* === MENU === */
.navbar__menu {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.navbar__link {
  font-family: var(--font-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-blanco-roto);
  position: relative;
  padding: var(--spacing-xs) 0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-dorado);
  transition: var(--transition-normal);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__link.active {
  color: var(--color-dorado-principal);
}

/* === DROPDOWN SERVICIOS === */
.navbar__dropdown {
  position: relative;
}

.navbar__link--dropdown {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__arrow {
  fill: var(--color-blanco-roto);
  transition: var(--transition-fast);
}

.navbar__dropdown:hover .navbar__arrow {
  transform: rotate(180deg);
  fill: var(--color-dorado-principal);
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid var(--color-dorado-oscuro);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 10px);
}

.navbar__dropdown-item {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-beige-claro);
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.navbar__dropdown-item:hover {
  background-color: rgba(163, 126, 73, 0.1);
  color: var(--color-dorado-principal);
  transform: translateX(5px);
}

.navbar__dropdown-item--all {
  border-top: 1px solid rgba(163, 126, 73, 0.2);
  margin-top: var(--spacing-xs);
  padding-top: var(--spacing-md);
  font-weight: 600;
  color: var(--color-dorado-principal);
}

/* === LANGUAGE SELECTOR DROPDOWN === */
.navbar__languages {
  position: relative;
  margin-left: var(--spacing-md);
}

.navbar__lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background-color: rgba(163, 126, 73, 0.1);
  border: 1px solid var(--color-dorado-oscuro);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.navbar__lang-toggle:hover {
  background-color: rgba(163, 126, 73, 0.2);
  border-color: var(--color-dorado-principal);
}

.navbar__lang-flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.navbar__lang-text {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-blanco-roto);
  letter-spacing: 0.5px;
}

.navbar__lang-arrow {
  fill: var(--color-dorado-principal);
  transition: var(--transition-fast);
}

.navbar__languages.active .navbar__lang-arrow {
  transform: rotate(180deg);
}

.navbar__lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background-color: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid var(--color-dorado-oscuro);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
}

.navbar__languages.active .navbar__lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__lang-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.navbar__lang-item img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.navbar__lang-item span {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-beige-claro);
  letter-spacing: 0.5px;
}

.navbar__lang-item:hover {
  background-color: rgba(163, 126, 73, 0.1);
}

.navbar__lang-item:hover span {
  color: var(--color-dorado-principal);
}

.navbar__lang-item.active {
  background-color: rgba(163, 126, 73, 0.15);
}

.navbar__lang-item.active span {
  color: var(--color-dorado-principal);
}

/* === MOBILE MENU TOGGLE === */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.navbar__toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--color-dorado-principal);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* === BOTÓN FLOTANTE WHATSAPP === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: var(--z-fixed);
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
  }
}

/* ========================================
   FOOTER - SOLO ESTA SECCIÓN DEL GLOBAL.CSS
======================================== */

.footer {
  background: linear-gradient(180deg, #0D0D0D 0%, #1A1A1A 100%);
  color: #FAFAF8;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #977B49, transparent);
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(151, 123, 73, 0.2);
}

/* === BRAND === */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__logo img {
  max-width: 180px;
  height: auto;
  filter: brightness(1.1);
}

.footer__description {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(250, 250, 248, 0.75);
  max-width: 350px;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(151, 123, 73, 0.1);
  border: 1px solid rgba(151, 123, 73, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: #977B49;
  transition: fill 0.3s ease;
}

.footer__social-link:hover {
  background: rgba(151, 123, 73, 0.2);
  border-color: #977B49;
  transform: translateY(-3px);
}

.footer__social-link:hover svg {
  fill: #C49A5A;
}

/* === LINKS === */
.footer__links {
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #A37E49;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #977B49, transparent);
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__list a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  color: rgba(250, 250, 248, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer__list a:hover {
  color: #A37E49;
  transform: translateX(5px);
}

/* === CONTACTO === */
.footer__contact {
  display: flex;
  flex-direction: column;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  color: rgba(250, 250, 248, 0.75);
}

.footer__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #977B49;
}

.footer__contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__contact-item a:hover {
  color: #A37E49;
}

/* === COPYRIGHT === */
.footer__bottom {
  text-align: center;
  padding-top: 2rem;
}

.footer__copyright {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: rgba(250, 250, 248, 0.55);
}

.footer__copyright a {
  color: #977B49;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__copyright a:hover {
  color: #A37E49;
}


/* === BOTONES GLOBALES === */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-xl);
  font-family: var(--font-secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-dorado);
  color: var(--color-negro-principal);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(163, 126, 73, 0.5);
  filter: brightness(1.1);
  color: var(--color-negro-principal);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dorado-principal);
  border: 2px solid var(--color-dorado-principal);
}

.btn-secondary:hover {
  background-color: var(--color-dorado-principal);
  color: var(--color-negro-principal);
}

/* ========================================
   BANNER DE COOKIES - VERSIÓN MEJORADA
======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  backdrop-filter: blur(20px);
  border-top: 3px solid rgba(163, 126, 73, 0.4);
  box-shadow: 
    0 -8px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(163, 126, 73, 0.1);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 2rem 0;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #A37E49, #C49A5A, #A37E49, transparent);
  opacity: 0.6;
}

.cookie-banner__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #A37E49 0%, #977B49 100%);
  border-radius: 16px;
  box-shadow: 
    0 4px 16px rgba(163, 126, 73, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.cookie-banner__icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: linear-gradient(135deg, #A37E49, #977B49);
  z-index: -1;
  opacity: 0.3;
  filter: blur(8px);
}

.cookie-banner__icon svg {
  stroke: #FAFAF8;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #FAFAF8;
  margin: 0 0 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner__description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #D4C4A8;
  line-height: 1.7;
  margin: 0;
}

.cookie-banner__description strong {
  color: #FAFAF8;
  font-weight: 600;
}

.cookie-banner__link {
  color: #C49A5A;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cookie-banner__link:hover {
  color: #A37E49;
  text-decoration: underline;
}

.cookie-banner__actions {
  flex-shrink: 0;
  display: flex;
  gap: 1rem;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.cookie-banner__btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cookie-banner__btn:hover::before {
  width: 300px;
  height: 300px;
}

.cookie-banner__btn svg {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cookie-banner__btn span {
  position: relative;
  z-index: 1;
}

/* Botón Aceptar */
.cookie-banner__btn--accept {
  background: linear-gradient(135deg, #A37E49 0%, #977B49 100%);
  color: #FAFAF8;
  box-shadow: 
    0 4px 16px rgba(163, 126, 73, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid transparent;
}

.cookie-banner__btn--accept:hover {
  background: linear-gradient(135deg, #C49A5A 0%, #A37E49 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 6px 24px rgba(163, 126, 73, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cookie-banner__btn--accept:active {
  transform: translateY(-1px);
}

/* Botón Rechazar */
.cookie-banner__btn--reject {
  background: rgba(26, 26, 26, 0.6);
  color: #D4C4A8;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(163, 126, 73, 0.3);
}

.cookie-banner__btn--reject:hover {
  background: rgba(26, 26, 26, 0.9);
  color: #FAFAF8;
  border-color: rgba(163, 126, 73, 0.5);
  transform: translateY(-3px);
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cookie-banner__btn--reject:active {
  transform: translateY(-1px);
}

/* Animación de entrada mejorada */
@keyframes slideUpBounce {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  50% {
    transform: translateY(-15px);
  }
  70% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner.show {
  animation: slideUpBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Animación de salida */
@keyframes slideDownFade {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-banner.hide {
  animation: slideDownFade 0.4s ease-out forwards;
}