/*
 * Copyright 2026 Akutangulo - navarr0
 * Proprietary software of Akutangulo.com
 * https://akutangulo.com
 *
 * Diseñado y creado con todo el amor del mundo por navarr0 de Akutangulo.com.
 */

/**************************************************
 * Estilos generales de la página HotelMozart.net *
 **************************************************/
/* --- VARIABLES --- */
body {
  --bg-body: #ffffff;
  --text-color: #0a0a0a;
  --text-strong: #0a0a0a;
  --text-muted: #1a1a1a;
  --text-soft: #2a2a2a;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --border: rgba(0, 0, 0, 0.14);
  --list-bg: #fafafa;
  --footer-bg: #f5f5f5;
  --footer-text: #0a0a0a;
  --footer-muted: #0f0f0f;
  --footer-note: #0f0f0f;
  --gradient: linear-gradient(45deg, #ff3366, #ff6b6b, #dd6d8c, #b13795);
  --logo-color: #0a0a0a;
  --bg-color: #fdfaf6;
  --border-color: #ddd;
  --color-mozart: #fbe6ec;
  --texto-mozart: #9c2545;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode {
  --bg-body: #0a0a0a;
  --text-color: #ffffff;
  --text-strong: #ffffff;
  --text-muted: #d6d6d6;
  --text-soft: #c4c4c4;
  --nav-bg: rgba(0, 0, 0, 0.95);
  --border: rgba(255, 255, 255, 0.1);
  --card-bg: rgba(255, 255, 255, 0.03);
  --list-bg: rgba(255, 255, 255, 0.02);
  --footer-bg: #0b0b0b;
  --footer-text: #f1f1f1;
  --footer-muted: #b5b5b5;
  --footer-note: #9c9c9c;
  --logo-color: #1a1a1a;
  --color-mozart: #9c2545;
  --shadow: 0 10px 30px rgba(255, 51, 102, 0.45);
}

/* Sombras adaptadas al tema oscuro */
body.dark-mode .btn-reserve {
  box-shadow: var(--shadow);
}

body.dark-mode .btn-reserve:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.35),
    0 12px 30px rgba(255, 51, 102, 0.25);
}

body.dark-mode .btn-reserve:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 70px rgba(255, 51, 102, 0.65);
}

body.dark-mode .theme-toggle {
  box-shadow: 0 8px 20px rgba(255, 51, 102, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* ── Skip link accesible ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  background: var(--gradient);
  background-size: 200%;
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  animation: gradient 8s linear infinite;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

body {
  background-color: var(--bg-body);
  color: var(--text-color);
  transition: background-color 0.3s;
}

.nav-locked {
  overflow: hidden;
}

/* --- PANORÁMICA (HEADER 360) --- */
.header-360-container {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 320px;
  max-height: 800px;
  overflow: hidden;
}

/* En páginas donde el header usa imagen fija (sin #panorama) */
.header-360-container>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

#panorama {
  width: 100%;
  height: 100%;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.8) 100%); */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: 1;
}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 2;
  width: min(92%, 1100px);
}

.header-content h1,
.header-content .header-title {
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #ffffff;
  display: block;
}

.header-content p {
  font-size: clamp(14px, 3.4vw, 18px);
  letter-spacing: 2px;
  color: #ffffff;
}

.img-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: auto;
}

/* Modo claro por defecto → logo original */
img[src*="logo-hotel-mozart"] {
  filter: none;
  transition: filter 0.5s ease;
}

/* Modo oscuro (.dark-mode) → logo BLANCO */
body.dark-mode img[src*="logo-hotel-mozart"] {
  filter: brightness(0) invert(1);
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  text-wrap: balance;
  margin-bottom: 0.6rem;
}

/* --- NAVBAR --- */
.navbar {
  position: absolute;
  /* Empieza debajo del panorama */
  top: 70vh;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 2200;
  transition: background 0.3s ease;
  will-change: transform;
}

/* Clase para fijar el menú al hacer scroll */
.navbar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* Clase para el desvanecimiento */
.navbar.scrolled-hidden {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.navbar.scrolled-hidden .fade-out {
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* --- IZQUIERDA: CTA (Siempre visible) --- */
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.nav-left .btn-reserve {
  flex-shrink: 0;
}

.btn-reserve {
  background: var(--gradient);
  background-size: 200%;
  color: white !important;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  min-height: 50px;
  min-width: 165px;
  animation: gradient 8s linear infinite;
  white-space: nowrap;
  position: relative;
  z-index: 2100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  /* Recorta el ::after al borde redondeado */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.5s ease;
}

.btn-reserve:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 60px rgba(255, 51, 102, 0.5);
}

.btn-reserve:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.35),
    0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-reserve:active {
  transform: translateY(1px);
}

/* --- DERECHA: MENU --- */
.nav-main {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  transition: 0.4s;
  flex-shrink: 0;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.05vw, 1.12rem);
  line-height: 1.5;
  position: relative;
  padding: 10px 0;
  transition: 0.3s;
  white-space: nowrap;
}

/* Ensure nav links properly inherit theme colors */
.nav-links a {
  color: var(--text-color) !important;
}

.nav-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 6px;
}

/* LAS DOS LÍNEAS CON ANIMACIÓN */
.nav-links a::before,
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  background-size: 300%;
  animation: gradient 8s linear infinite;
  transition: 0.3s;
}

.nav-links a::before {
  top: 0;
}

.nav-links a::after {
  bottom: 0;
}

.nav-links a:hover::before,
.nav-links a:hover::after {
  width: 100%;
}

/* ACCIONES */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-selector {
  position: relative;
}

.lang-btn {
  background: var(--border);
  border: none;
  color: var(--text-color);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.lang-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.lang-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 10px;
  list-style: none;
  min-width: 140px;
  display: none;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lang-selector.active .lang-dropdown {
  display: block;
}

/* Efecto banderas */
.lang-dropdown li {
  position: relative;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
  z-index: 1;
  transition: color 0.3s ease;
}

.lang-dropdown button[role="menuitem"] {
  position: relative;
  padding: 12px;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
  z-index: 1;
  width: 100%;
  background: none;
  border: none;
  font: inherit;
  font-size: inherit;
  transition: color 0.3s ease;
}

.lang-dropdown li::before,
.lang-dropdown button[role="menuitem"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-flag);
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0;
  transform: scale(1.3);
  transition: transform 0.5s ease, opacity 0.2s ease;
  filter: brightness(0.4) blur(1px);
  border-radius: 10px;
}

.lang-dropdown li:hover::before,
.lang-dropdown button[role="menuitem"]:hover::before {
  opacity: 1;
  transform: scale(1);
}

.lang-dropdown li:hover,
.lang-dropdown button[role="menuitem"]:hover {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lang-dropdown button[role="menuitem"]:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
  border-radius: 10px;
}

.lang-dropdown button[role="menuitem"][aria-current="true"] {
  font-weight: 800;
}

.flag-icon {
  width: 18px;
  height: 18px;
  object-fit: cover;
  margin-right: 8px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: stroke 0.5s ease, transform 0.5s ease;
}

/* Animación sutil al cambiar de icono */
.theme-icon {
  transition: opacity 0.25s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* --- MÓVIL --- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 2000;
}

.mobile-nav-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 10px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  margin: 6px auto;
  transition: 0.4s;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.img-menu {
  width: auto;
  height: 64px;
  display: block;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  object-fit: contain;
}

@media (max-width: 1130px) {
  .img-menu {
    height: 54px;
    min-width: 80px;
  }
}

@media (max-width: 500px) {
  .img-menu {
    height: 42px;
    min-width: 60px;
  }
}

@media (max-width: 1130px) {
  .navbar {
    height: 76px;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background-color: var(--bg-body);
  }

  .navbar-container {
    padding-right: 3.5rem;
  }

  .nav-left {
    gap: 0.2rem;
  }

  .img-logo {
    width: min(68%, 245px);
  }

  .btn-reserve {
    font-size: 1rem;
    padding: 14px 22px;
    min-width: 0;
    width: auto;
    justify-content: center;
  }

  .mobile-nav-toggle {
    display: block;
    position: fixed;
    top: 16px;
    right: 16px;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 8px;
    z-index: 2600;
  }

  .mobile-nav-toggle span {
    width: 22px;
  }

  .nav-main {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-body);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 88px 1.5rem 3.5rem;
    gap: 2rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    /* Added: prevents horizontal overflow from absolutely positioned elements like the language dropdown */
    -webkit-overflow-scrolling: touch;
    z-index: 2500;
    transform: translateX(100%);
  }

  .nav-main.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 2rem 1rem;
    gap: 0.5rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: clamp(1rem, 4vw, 1.1rem);
  }

  .nav-actions {
    position: absolute;
    top: 16px;
    right: 60px;
    justify-content: flex-end;
    gap: 10px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .lang-btn {
    padding: 8px 10px;
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* --- LAYOUT CONTENIDO --- */
main {
  padding: 64px 5% 80px;
  background: var(--bg-body);
  color: var(--text-color);
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 120px;
}

.section:last-of-type {
  border-bottom: none;
}

.section-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.section-lead {
  font-size: clamp(1rem, 2.4vw, 1.1rem);
  line-height: 1.4;
  color: var(--text-muted);
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--text-strong);
}

.card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

.meta {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.reserve-card h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-strong);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 95;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  /* Recorta el ::after al borde redondeado */
}

.btn-secondary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Subrayado del botón: evita que sobresalga por los bordes */
.btn-secondary::after {
  bottom: 0;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-reserve::after {
  bottom: 0;
}

.list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.list li {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--list-bg);
  line-height: 1.5;
  color: var(--text-color);
}

/* --- FOOTER --- */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--border);
  padding: 36px 5% 4.5rem;
}

.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-block h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.footer-block p {
  color: var(--footer-text);
  line-height: 1.6;
}

.footer-meta {
  font-size: 0.95rem;
  color: var(--footer-muted);
}

.footer-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--footer-note);
}

/* --- REDES SOCIALES (Botones bonitos) --- */
.footer_socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer_socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  background-size: 200%;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
  animation: gradient 8s linear infinite;
}

.footer_socials a:hover,
.footer_socials a:focus-visible {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45);
  opacity: 0.95;
}

.footer_socials a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.footer_socials a:active {
  transform: translateY(-1px) scale(1.02);
}

.footer_socials a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- ENLACES DEL FOOTER (Aviso Legal, Cookies, etc.) --- */
.footer-note a {
  color: var(--footer-muted);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.footer-note a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  transition: width 0.3s ease;
}

.footer-note a:hover {
  color: var(--footer-text);
}

.footer-note a:hover::after {
  width: 100%;
}

/* --- ENLACES DE CONTACTO EN FOOTER --- */
.footer-block a {
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.footer-block a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  transition: width 0.3s ease;
}

.footer-block a:hover {
  opacity: 0.85;
}

.footer-block a:hover::after {
  width: 100%;
}

/* --- ENLACES EN TARJETA DE CONTACTO (sección #contacto) --- */
#contacto .card a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

#contacto .card a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  transition: width 0.3s ease;
}

#contacto .card a:hover {
  color: var(--text-strong);
}

#contacto .card a:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .section-inner {
    gap: 18px;
  }

  .card {
    padding: 18px;
  }
}

@media (max-width: 600px) {
  main {
    padding: 40px 4% 60px;
  }

  .section {
    padding: clamp(32px, 6vw, 64px) 0;
    scroll-margin-top: 120px;
  }

  .section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .section-lead {
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  }

  .grid.cols-2,
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
    border-radius: 12px;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn-reserve,
  .cta-row .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .list li {
    padding: 10px;
    font-size: 0.93rem;
  }

  .map figure {
    margin: 0;
  }

  .map iframe {
    height: 280px !important;
  }

  .map img {
    width: 100%;
    height: auto;
    display: block;
  }

  footer {
    padding: 28px 4% 36px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-block h3 {
    font-size: 1rem;
  }

  .footer_socials {
    gap: 12px;
  }

  .footer_socials a {
    width: 42px;
    height: 42px;
  }

  .footer_socials a svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 400px) {
  .header-360-container {
    height: 55vh;
  }

  .header-content h1,
  .header-content .header-title {
    letter-spacing: 4px;
  }

  .header-content p {
    letter-spacing: 1px;
    font-size: clamp(12px, 3.2vw, 15px);
  }

  .img-logo {
    width: 65%;
  }

  .navbar {
    height: 68px;
  }

  .btn-reserve {
    padding: 8px 14px;
    font-size: 10px;
  }

  .map iframe {
    height: 220px !important;
  }
}

#to-top-btn {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 10px 10px;
  border: none;
  border-radius: 50%;
  background: #333;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

#to-top-btn.visible {
  opacity: 0.5;
  pointer-events: auto;
}

#to-top-btn:hover {
  opacity: 1;
}

#to-top-btn svg {
  display: block;
  margin: 1px auto 0 auto;
}

/* En modo claro (por defecto): mapa sin filtros */
.map iframe {
  filter: none;
}

/* En modo oscuro: invertimos los colores */
body.dark-mode .map iframe {
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%) saturate(1.5);
}

/* Imagen del mapa de "cómo llegar" */
.map figure img,
.map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 2px solid var(--border);
  transition: filter 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .map figure img,
body.dark-mode .map-img {
  filter: brightness(0.6) contrast(1.2) saturate(0.85);
}

/* --- ESTILOS GENERALES PARA ENLACES EN MAIN --- */
main a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

main a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  transition: width 0.3s ease;
}

main a:hover {
  color: var(--text-strong);
}

main a:hover::after {
  width: 100%;
}


/* Imagen del mapa de "cómo llegar" */
.map figure img,
.map-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 2px solid var(--border);
  transition: filter 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .map figure img,
body.dark-mode .map-img {
  filter: brightness(0.6) contrast(1.2) saturate(0.85);
}

/* Botones de acción del mapa sin las animaciones de subrayado de main a */
.btn-descarga {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 8px;
  color: var(--text-color) !important;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Matamos el efecto ::after de main a para estos botones */
.btn-descarga::after {
  display: none !important;
}

.btn-descarga:hover {
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

#map-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 20px;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  cursor: pointer;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 10001;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.close-btn:hover,
.close-btn:focus-visible {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45);
  opacity: 0.95;
  outline: 3px solid white;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.zoom-controls {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10001;
  display: flex;
  gap: 10px;
}

.zoom-btn {
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.zoom-btn:hover,
.zoom-btn:focus-visible {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45);
  opacity: 0.95;
  outline: 3px solid white;
  outline-offset: 2px;
}

.zoom-btn:active {
  transform: scale(0.9);
}

@media (max-width: 600px) {
  .zoom-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    left: auto;
    flex-direction: row;
  }

  .zoom-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#fullscreen-map {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Ensures image fits without distortion */
  transform-origin: center;
}

#fullscreen-map:active {
  cursor: grabbing;
}

/* Fonts */

@import url('https://fonts.googleapis.com/css?family=Montserrat:300i,400,400i,600,700&display=swap');

/* @import url("https://fonts.googleapis.com/css?family=BenchNine:300,400,700");
h1, h2, h3, h4, h5, h6 {
    font-family: 'BenchNine', 'sans-serif';
} */
body {
  font-family: 'Montserrat', sans-serif;
}


/************************************
 * Estilos del footer de Akutangulo *
 ************************************/

@font-face {
  font-family: 'bauhouse_akutangulo';
  src: url('/assets/fonts/bauhouse_akutangulo.eot');
  /* archivo EOT para IE */
  src: url('/assets/fonts/bauhouse_akutangulo.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/bauhouse_akutangulo.ttf') format('truetype');
  /* archivo TTF para navegadores CSS3 */
}

/*****************************************
 * Motor de reservas — boton gradiente   *
 *****************************************/

#roi-engine-container button.roi-search-engine__field.roi-search-engine__field--action {
  background-image: var(--gradient) !important;
  background-size: 200% !important;
  animation: gradient 8s linear infinite !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
  transition-property: transform, box-shadow !important;
  transition-duration: 0.25s !important;
  transition-timing-function: ease !important;
}

body.dark-mode #roi-engine-container button.roi-search-engine__field.roi-search-engine__field--action {
  box-shadow: 0 8px 24px rgba(255, 51, 102, 0.25) !important;
}

#roi-engine-container button.roi-search-engine__field.roi-search-engine__field--action:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow) !important;
}

#roi-engine-container button.roi-search-engine__field.roi-search-engine__field--action:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  #roi-engine-container button.roi-search-engine__field.roi-search-engine__field--action {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #roi-engine-container button.roi-search-engine__field.roi-search-engine__field--action:hover {
    transform: none !important;
  }
}


.akutangulo-diseño-web-seo {
  font-family: 'bauhouse_akutangulo';
  color: #9400D3;
  animation: glow 10s ease-in-out infinite;
}

@keyframes glow {

  0%,
  100% {
    text-shadow: 0 0 30px DeepPink;
  }

  25% {
    text-shadow: 0 0 30px Lime;
  }

  50% {
    text-shadow: 0 0 30px Magenta;
  }

  75% {
    text-shadow: 0 0 30px MediumSlateBlue;
  }
}

.copyright {
  text-align: center;
  color: var(--footer-note);
  font-size: 1rem;
  margin: 2rem 0;
}

.copyright a {
  text-decoration: none;
  transition: font-size 0.3s ease-in-out;
}

.copyright a:hover {
  font-size: larger;
}

/************ SERVICIOS *************/

.services-hero {
  display: grid;
  gap: 18px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

.featured-card {
  padding: 0 !important;
  overflow: hidden;
  border: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.featured-media .img-wrapper {
  border-radius: 16px;
}

.featured-media {
  width: 100%;
}

.featured-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border-radius: 16px;
}

.featured-card .service-head,
.featured-card .service-desc {
  padding: 14px 14px 0;
}

.featured-card .service-desc {
  padding-top: 8px;
  padding-bottom: 16px;
}

.featured-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .featured-media img {
    height: 210px;
  }

  .featured-card .service-head,
  .featured-card .service-desc {
    padding-left: 12px;
    padding-right: 12px;
  }

  .service-tile:has(> a):not(.featured-card) .service-head,
  .service-tile:has(> a):not(.featured-card) .service-desc {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.featured-grid-mozart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-bottom: 10px;
}

.featured-grid-mozart img {
  height: 250px;
}

@media (max-width: 900px) {
  .featured-grid-mozart {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.services-hero-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.services-hero-figure {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services-hero-figure a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.services-hero-figure img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.img-wrapper {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
}

.img-wrapper img {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.img-wrapper:hover img {
  transform: scale(1.15);
}

.services-hero-caption {
  padding: 12px 14px;
  font-weight: 800;
  color: var(--text-strong);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .services-hero-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-hero-media-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-figure img {
    height: 210px;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-tile {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  align-self: start;
  padding: 16px 18px;
  overflow: hidden;
}

/* Cuando el tile es clicable, el contenido va dentro de <a>. */
.service-tile:has(> a):not(.featured-card) {
  padding: 0;
  gap: 0;
}

.service-tile:not(.featured-card)>a {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  height: 100%;
  align-self: stretch;
  padding: 0;
  box-sizing: border-box;
}

.service-tile:has(> a):not(.featured-card) .service-head,
.service-tile:has(> a):not(.featured-card) .service-desc {
  padding: 14px 14px 0;
}

.service-tile:has(> a):not(.featured-card) .service-desc {
  padding-top: 8px;
  padding-bottom: 16px;
}

.service-desc {
  margin: 0;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-tile {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  background-size: 200%;
  background-position: 0% 50%;
  animation: gradient 8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.service-icon i {
  font-size: 18px;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1.25;
  margin: 0;
}

.service-desc {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
  font-weight: 400;
}

.reserve-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  box-shadow: var(--shadow);
}

.reserve-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  font-weight: 300;
}

.reserve-note a {
  font-weight: 300;
}


.reserve-info {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.reserve-note i {
  margin-right: 8px;
  color: var(--text-strong);
}

/*********************************************
 * Estilos de la galeria y visor de imagenes *
 *********************************************/

.gallery-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease-out;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover {
  box-shadow: var(--shadow);
}

/**-- SOMBRA HOVER --**/

@media (max-width: 700px) {
  .gallery-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item img {
    height: 180px;
  }
}

@media (max-width: 500px) {
  .gallery-section {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
  }
}

/* Modal de galería */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  overscroll-behavior: contain;
}

.gallery-modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  cursor: pointer;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 10001;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
  line-height: 1;
}

.close-btn:hover,
.close-btn:focus-visible {
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45);
  opacity: 0.9;
  outline: 2px solid white;
  outline-offset: 2px;
}

.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  cursor: pointer;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  z-index: 10002;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
  line-height: 1;
}

.nav-prev {
  left: 20px;
}

.nav-next {
  right: 20px;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45);
  opacity: 0.9;
  outline: 2px solid white;
  outline-offset: 2px;
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%);
}

#image-modal {
  overscroll-behavior: contain;
}

/*********************************************
 * Estilos de los salones *
 *********************************************/
@media (max-width: 760px) {

  p {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .section-lead {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .service-desc {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  footer p {
    font-size: 1.1rem;
    line-height: 1.2;
  }
}

.fine-mozart {
  font-weight: 300;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .footer_socials a:hover,
  .footer_socials a:focus-visible,
  .close-btn:hover,
  .close-btn:focus-visible,
  .nav-btn:hover,
  .nav-btn:focus-visible,
  .zoom-btn:hover,
  .zoom-btn:focus-visible,
  .service-tile:hover,
  .btn-secondary:hover,
  .gallery-item:hover img,
  .img-wrapper:hover img,
  .card:hover,
  .btn-descarga:hover {
    transform: none;
    box-shadow: none;
  }
}

button,
.btn-reserve,
.btn-secondary,
.btn-descarga,
.zoom-btn,
.nav-btn,
.close-btn,
.theme-toggle,
.lang-btn {
  touch-action: manipulation;
}

/*****************************************
 * CookieConsent — integracion tematica  *
 *****************************************/

:root {
  --cc-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cc-bg: #ffffff;
  --cc-primary-color: #0a0a0a;
  --cc-secondary-color: #1a1a1a;
  --cc-btn-primary-bg: #ff3366;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-border-color: #ff3366;
  --cc-btn-primary-hover-bg: #e02d55;
  --cc-btn-primary-hover-color: #ffffff;
  --cc-btn-primary-hover-border-color: #e02d55;
  --cc-btn-secondary-bg: #f0f0f0;
  --cc-btn-secondary-color: #0a0a0a;
  --cc-btn-secondary-border-color: #f0f0f0;
  --cc-btn-secondary-hover-bg: #e0e0e0;
  --cc-btn-secondary-hover-color: #000;
  --cc-btn-secondary-hover-border-color: #e0e0e0;
  --cc-separator-border-color: rgba(0, 0, 0, 0.10);
  --cc-toggle-on-bg: #ff3366;
  --cc-toggle-off-bg: #aaa;
  --cc-modal-border-radius: 1rem;
  --cc-btn-border-radius: 0.5rem;
  --cc-link-color: #ff3366;
}

html.cc--darkmode {
  --cc-bg: #0f0f0f;
  --cc-primary-color: #ffffff;
  --cc-secondary-color: #c4c4c4;
  --cc-btn-primary-bg: #ff3366;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-border-color: #ff3366;
  --cc-btn-primary-hover-bg: #e02d55;
  --cc-btn-primary-hover-color: #ffffff;
  --cc-btn-primary-hover-border-color: #e02d55;
  --cc-btn-secondary-bg: #1e1e1e;
  --cc-btn-secondary-color: #ffffff;
  --cc-btn-secondary-border-color: #1e1e1e;
  --cc-btn-secondary-hover-bg: #2a2a2a;
  --cc-btn-secondary-hover-color: #fff;
  --cc-btn-secondary-hover-border-color: #2a2a2a;
  --cc-separator-border-color: rgba(255, 255, 255, 0.08);
  --cc-toggle-on-bg: #ff3366;
  --cc-toggle-off-bg: #555;
  --cc-link-color: #ff6b6b;
}

/* Sombras y transiciones para el modal */
.cc--anim #cm,
.cc--anim #pm {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

html.cc--darkmode .cc--anim #cm,
html.cc--darkmode .cc--anim #pm {
  box-shadow: 0 10px 40px rgba(255, 51, 102, 0.15);
}

/*****************************************
 * CookieConsent — botones                *
 *****************************************/

/* Estilo base compartido — mismo aspecto que .btn-reserve */
#cc-main .cm__btn,
#cc-main .pm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  /* WCAG 2.5.5 tamaño diana */
  min-width: 44px;
  padding: 12px 26px;
  border-radius: 50px;
  border: none;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
  background: var(--gradient);
  background-size: 200%;
  animation: gradient 8s linear infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

#cc-main .cm__btn:hover,
#cc-main .pm__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

#cc-main .cm__btn:active,
#cc-main .pm__btn:active {
  transform: translateY(1px);
}

/* Foco visible accesible — color segun tema */
#cc-main .cm__btn:focus-visible,
#cc-main .pm__btn:focus-visible {
  outline: 3px solid #0a0a0a;
  outline-offset: 4px;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

html.cc--darkmode #cc-main .cm__btn:focus-visible,
html.cc--darkmode #cc-main .pm__btn:focus-visible {
  outline-color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Boton secundario (Guardar preferencias) — estilo outlined */
#cc-main .pm__btn--secondary {
  background: transparent;
  animation: none;
  color: var(--cc-primary-color) !important;
  border: 1.5px solid var(--cc-separator-border-color);
  box-shadow: none;
}

#cc-main .pm__btn--secondary:hover {
  background: var(--cc-btn-secondary-hover-bg);
  border-color: var(--cc-btn-primary-bg);
  box-shadow: var(--shadow);
  color: var(--cc-primary-color) !important;
}

#cc-main .pm__btn--secondary:focus-visible {
  outline: 3px solid var(--cc-primary-color);
  outline-offset: 4px;
  border-color: var(--cc-btn-primary-bg);
}

/* Boton de cerrar del modal de consentimiento (X) */
#cc-main .cm__btn--close {
  min-width: 0;
  min-height: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  animation: none;
  box-shadow: none;
  color: var(--cc-secondary-color) !important;
  font-size: 1.2rem;
}

#cc-main .cm__btn--close:hover {
  background: rgba(128, 128, 128, 0.15);
  transform: none;
  box-shadow: none;
}

#cc-main .cm__btn--close:focus-visible {
  outline: 2px solid var(--cc-primary-color);
  outline-offset: 2px;
  box-shadow: none;
}

/* ── Boton "Rechazar" (data-role="necessary") ── */
/* Rectangular, outlined, sin gradiente */
#cc-main .cm__btn[data-role="necessary"] {
  background: transparent;
  animation: none;
  color: var(--cc-primary-color) !important;
  border: 1.5px solid var(--cc-separator-border-color);
  border-radius: 6px;
  box-shadow: none;
  padding-left: 22px;
  padding-right: 22px;
}

#cc-main .cm__btn[data-role="necessary"]:hover {
  background: var(--cc-btn-secondary-hover-bg);
  border-color: var(--cc-btn-primary-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

#cc-main .cm__btn[data-role="necessary"]:focus-visible {
  outline-color: var(--cc-primary-color);
  box-shadow: none;
}

/* ── Boton "Configurar preferencias" (data-role="show") ── */
/* Rectangular, discreto, sin gradiente */
#cc-main .cm__btn[data-role="show"] {
  background: var(--cc-btn-secondary-bg);
  animation: none;
  color: var(--cc-primary-color) !important;
  border: none;
  border-radius: 6px;
  box-shadow: none;
  padding-left: 22px;
  padding-right: 22px;
}

#cc-main .cm__btn[data-role="show"]:hover {
  background: var(--cc-btn-secondary-hover-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#cc-main .cm__btn[data-role="show"]:focus-visible {
  outline-color: var(--cc-primary-color);
  box-shadow: none;
}

/* Animacion reducida */
@media (prefers-reduced-motion: reduce) {

  #cc-main .cm__btn,
  #cc-main .pm__btn,
  #cc-main .cm__btn[data-role="necessary"],
  #cc-main .cm__btn[data-role="show"] {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #cc-main .cm__btn:hover,
  #cc-main .pm__btn:hover,
  #cc-main .cm__btn[data-role="necessary"]:hover,
  #cc-main .cm__btn[data-role="show"]:hover {
    transform: none;
  }
}

.akutangulo {
  font-size: 0.6rem;
  font-weight: 100;
}