/* ===== RESET Y VARIABLES GLOBALES ===== */
:root {
  /* Paleta de colores oscura pero elegante */
  --color-dark: #121212;
  --color-dark-light: #1e1e1e;
  --color-dark-medium: #242424;
  --color-gray: #333333;
  --color-gray-light: #555555;
  --color-white: #ffffff;
  --color-off-white: #f2f2f2;
  --color-accent: #8a5ad2;  /* Toque "friki" pero elegante - púrpura */
  --color-accent-light: #9d75db;
  
  /* Tipografía */
  --font-sans: 'Outfit', 'Montserrat', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Transiciones y animaciones */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
  --transition-slow: 0.5s ease;
  
  /* Sombras */
  --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.25);
  --shadow-large: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-dark);
  color: var(--color-off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER CON IMAGEN DE FONDO NÍTIDA ===== */
.header {
  background-image: url('/imgs/TEXTURAS/texture1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: var(--shadow-medium);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-gray);
  transition: transform var(--transition-medium), background-color var(--transition-medium);
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.75);
  z-index: 1;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  min-height: 60px;
  position: relative;
  z-index: 2;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  max-width: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.logo span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo img {
  height: 35px;
  margin-right: 8px;
}

/* ===== NAVEGACIÓN OPTIMIZADA ===== */
.main-nav {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.nav-list {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-white);
  font-size: 0.95rem;
  padding: 0.75rem 0;
  position: relative;
  font-weight: 500;
  transition: color var(--transition-medium);
  display: inline-block;
}

.nav-link.active {
  color: var(--color-accent);
}

/* Línea de subrayado en hover y active */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-medium);
  z-index: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown de navegación */
.dropdown {
  position: relative;
}

/* Estilo para los enlaces de navegación desplegables */
.dropdown-toggle {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-size: 0.95rem;
  padding: 0.75rem 0;
  position: relative;
  font-weight: 500;
  transition: color var(--transition-medium);
  padding-bottom: 0.65rem;
  cursor: pointer;
}

.dropdown-toggle.active {
  color: var(--color-accent);
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.6rem;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6px;
  margin-left: 0;
  transition: transform var(--transition-medium);
  color: inherit;
}

.dropdown:hover .dropdown-toggle {
  color: var(--color-accent);
}

.dropdown:hover .dropdown-toggle::after {
  transform: translateX(-50%) rotate(180deg);
  color: var(--color-accent);
}

/* Menú desplegable */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-dark-medium);
  min-width: 200px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-gray);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-medium);
  z-index: 100;
  padding: 0.5rem 0;
  margin-top: 8px;
  overflow: hidden;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-off-white);
  transition: color var(--transition-medium), background-color var(--transition-medium);
  white-space: nowrap;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: var(--color-dark-light);
  color: var(--color-accent);
}

/* Triángulo indicador encima del menú desplegable */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background-color: var(--color-dark-medium);
  transform: rotate(45deg);
  border-top: 1px solid var(--color-gray);
  border-left: 1px solid var(--color-gray);
}

/* Icono de perfil optimizado */
.profile-icon {
  margin-left: 1.5rem;
  position: relative;
  z-index: 2;
}

.profile-btn {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gray);
  transition: background-color var(--transition-medium);
}

.profile-btn:hover {
  background-color: var(--color-gray-light);
}

.profile-btn i {
  font-size: 1.1rem;
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background-color: var(--color-dark-medium);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-gray);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-medium);
  z-index: 100;
  padding: 0.5rem 0;
  margin-top: 8px;
  overflow: hidden;
}

.profile-icon:hover .profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background-color: var(--color-dark-medium);
  transform: rotate(45deg);
  border-top: 1px solid var(--color-gray);
  border-left: 1px solid var(--color-gray);
}

.profile-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-off-white);
  transition: color var(--transition-medium), background-color var(--transition-medium);
}

.profile-item:hover {
  background-color: var(--color-gray);
  color: var(--color-accent);
}

/* Menú hamburguesa para móvil */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
}

/* Overlay para menú móvil */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Botón para cerrar menú móvil */
.close-nav {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

/* ===== RESPONSIVE CORREGIDO ===== */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .header {
    background-attachment: scroll; /* Mejor rendimiento en móvil */
  }
  
  .hamburger {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-dark-light);
    box-shadow: var(--shadow-large);
    transition: right var(--transition-medium);
    z-index: 1001;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4rem 2rem 2rem;
    overflow-y: auto;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .close-nav {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-gray);
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }
  
  /* CORREGIDO: Links principales en móvil */
  .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1rem;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link.active {
    position: relative;
    color: var(--color-accent);
  }
  
  .nav-link.active::before {
    content: '•';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 1.2rem;
  }
  
  /* CORREGIDO: Dropdown toggle en móvil */
  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    background: none;
    text-align: left;
  }
  
  .dropdown-toggle::after {
    position: static;
    transform: none;
    margin-left: auto;
    transition: transform var(--transition-medium);
  }
  
  .dropdown-toggle.active {
    color: var(--color-accent);
  }
  
  .dropdown-toggle.active::after {
    color: var(--color-accent);
  }
  
  .dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--color-accent);
  }
  
  /* CORREGIDO: Menú desplegable en móvil */
  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--color-dark-medium);
    border-radius: 0;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 300px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .dropdown-item {
    padding: 0.6rem 1rem 0.6rem 1.5rem;
    border-bottom: none;
    background-color: var(--color-dark-medium);
  }
  
  .dropdown-item::before {
    content: '- ';
    color: var(--color-accent);
  }
  
  .profile-icon {
    margin-left: 1rem;
  }
  
  .header-container {
    padding: 0.6rem 0;
    min-height: 50px;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .logo img {
    height: 30px;
  }
  
  /* CORREGIDO: Desactivar hover en móvil */
  .dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }
  
  .dropdown:hover .dropdown-toggle {
    color: inherit;
  }
  
  .dropdown:hover .dropdown-toggle::after {
    transform: none;
    color: inherit;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .header::before {
    background-color: rgba(30, 30, 30, 0.8); /* Overlay un poco más opaco en móviles pequeños */
  }
  
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .container {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  .logo {
    font-size: 1.1rem;
    max-width: 40%;
  }
  
  .logo img {
    height: 28px;
    margin-right: 6px;
  }
  
  .main-nav {
    width: 85%;
    padding: 3.5rem 1.5rem 2rem;
  }
  
  .header-container {
    padding: 0.5rem 0;
    min-height: 45px;
  }
  
  .profile-btn {
    width: 32px;
    height: 32px;
  }
  
  .profile-btn i {
    font-size: 1rem;
  }
}
/* ===== TIPOGRAFÍA ACTUALIZADA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-white);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ===== ESTILOS PARA TÍTULOS DE SECCIÓN ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-white);
  line-height: 1.2;
}

.section-header h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-white);
  line-height: 1.2;
}

/* Subtítulos descriptivos */
.section-header p {
  font-size: 1.2rem;
  color: var(--color-off-white);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

/* ===== SPANS CON COLOR ROJO (ACCENT) ===== */
.text-accent,
.section-header span,
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
  color: #dc3545; /* Rojo vibrante como en tu hero-subtitle */
}

/* Variante para spans en títulos principales */
.hero-title span,
.page-title span {
  color: #dc3545;
  text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

/* ===== TÍTULOS PARA DIFERENTES SECCIONES ===== */

/* Títulos de página principal */
.page-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.2;
}

/* Títulos de sección secundarios */
.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-align: center;
}

/* Subtítulos descriptivos */
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-off-white);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ===== TÍTULOS ESPECÍFICOS PARA CATEGORÍAS ===== */
.categories-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-align: center;
}

.categories-subtitle {
  font-size: 1.2rem;
  color: var(--color-off-white);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== TÍTULOS PARA PRODUCTOS/OBRAS ===== */
.products-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-align: center;
}

.products-subtitle {
  font-size: 1.2rem;
  color: var(--color-off-white);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== TÍTULOS DE GALERÍA ===== */
.galeria-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-align: center;
}

.galeria-subtitle {
  font-size: 1.2rem;
  color: var(--color-off-white);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== RESPONSIVE PARA TÍTULOS ===== */
@media (max-width: 992px) {
  .section-header h2,
  .page-title,
  .categories-title,
  .products-title,
  .galeria-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .section-header h2,
  .page-title,
  .categories-title,
  .products-title,
  .galeria-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-header p,
  .section-subtitle,
  .categories-subtitle,
  .products-subtitle,
  .galeria-subtitle {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .section-header h2,
  .page-title,
  .categories-title,
  .products-title,
  .galeria-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-header p,
  .section-subtitle,
  .categories-subtitle,
  .products-subtitle,
  .galeria-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  h4 {
    font-size: 1.4rem;
  }
}

/* ===== UTILIDADES ADICIONALES ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Para destacar palabras importantes */
.highlight {
  color: #dc3545;
  font-weight: 600;
}

/* Para subtítulos con estilo especial */
.subtitle-special {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--color-off-white);
}

/* Para descripciones largas */
.description {
  font-size: 1rem;
  color: var(--color-off-white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
/* ===== BOTONES GENERALES ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-sans);
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-small);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--color-white);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-small);
}

/* ===== VARIANTES DE BOTONES ===== */

/* Botón primario (púrpura) - por defecto */
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-light);
  color: var(--color-white);
}

/* Botón secundario (rojo) */
.btn-secondary {
  background-color: #dc3545;
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #c82333;
  color: var(--color-white);
}

/* Botón outline (borde púrpura) */
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.75rem 1.875rem; /* Ajuste para compensar el borde */
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Botón outline rojo */
.btn-outline-red {
  background-color: transparent;
  border: 2px solid #dc3545;
  color: #dc3545;
  padding: 0.75rem 1.875rem;
}

.btn-outline-red:hover {
  background-color: #dc3545;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Botón oscuro */
.btn-dark {
  background-color: var(--color-dark-light);
  color: var(--color-white);
  border: 1px solid var(--color-gray);
}

.btn-dark:hover {
  background-color: var(--color-gray);
  color: var(--color-white);
}

/* Botón claro */
.btn-light {
  background-color: var(--color-off-white);
  color: var(--color-dark);
}

.btn-light:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* ===== TAMAÑOS DE BOTONES ===== */

/* Botón pequeño */
.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Botón grande */
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Botón extra grande */
.btn-xl {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* ===== BOTONES CON ICONOS ===== */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-icon i {
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

.btn-icon:hover i {
  transform: translateX(3px);
}

/* Para iconos a la izquierda */
.btn-icon-left i {
  order: -1;
}

.btn-icon-left:hover i {
  transform: translateX(-3px);
}

/* ===== BOTONES ESPECIALES ===== */

/* Botón con efecto gradiente */
.btn-gradient {
  background: linear-gradient(45deg, var(--color-accent), #dc3545);
  border: none;
  color: var(--color-white);
}

.btn-gradient:hover {
  background: linear-gradient(45deg, var(--color-accent-light), #e74c3c);
  color: var(--color-white);
}

/* Botón con animación de onda */
.btn-wave {
  position: relative;
  overflow: hidden;
}

.btn-wave::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: width 0.6s ease, height 0.6s ease;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.btn-wave:hover::before {
  width: 300px;
  height: 300px;
}

.btn-wave span {
  position: relative;
  z-index: 2;
}

/* ===== ESTADOS DE BOTONES ===== */

/* Botón deshabilitado */
.btn:disabled,
.btn.disabled {
  background-color: var(--color-gray-light);
  color: var(--color-gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

/* Botón de carga */
.btn-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  color: var(--color-white);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== GRUPOS DE BOTONES ===== */
.btn-group {
  display: inline-flex;
  gap: 0.5rem;
}

.btn-group .btn {
  margin: 0;
}

/* Botones pegados */
.btn-group-attached {
  display: inline-flex;
  gap: 0;
}

.btn-group-attached .btn {
  border-radius: 0;
  margin: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-group-attached .btn:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.btn-group-attached .btn:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-right: none;
}

/* ===== BOTONES FLOTANTES ===== */
.btn-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-large);
  z-index: 1000;
  font-size: 1.5rem;
  padding: 0;
}

.btn-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* ===== BOTONES RESPONSIVE ===== */
@media (max-width: 768px) {
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .btn-xl {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-group .btn {
    width: 100%;
  }
  
  .btn-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
  }
  
  .btn-xl {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

/* ===== UTILIDADES PARA MÁRGENES ===== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Para centrar texto que contiene botones */
.text-center {
  text-align: center;
}

.text-center .btn {
  display: inline-block;
}