/* ==========================================================================
   TRAZO & PAPEL — SISTEMA DE DISEÑO & ESTILOS GLOBALES
   Papelería Especializada, Arte & Suministros Técnicos
   ========================================================================== */

:root {
  /* Paleta cromática: Azul Tinta China, Siena Terracota & Papel Satinado */
  --color-primary: #1E3A5F;
  --color-primary-dark: #13263E;
  --color-primary-light: #2E5888;
  --color-accent: #D97736;
  --color-accent-dark: #B85F24;
  --color-accent-light: #E89052;
  --color-teal: #1E7C70;
  --color-teal-light: #2A9D8F;
  --color-paper: #FAF8F5;
  --color-surface: #FFFFFF;

  --color-dark-900: #0F172A;
  --color-dark-800: #1E293B;
  --color-dark-700: #334155;
  --color-dark-600: #475569;
  --color-dark-500: #64748B;
  --color-dark-400: #94A3B8;

  --color-light-100: #F8FAFC;
  --color-light-200: #F1F5F9;
  --color-light-300: #E2E8F0;
  --color-border: #E2E8F0;
  --color-border-dark: #CBD5E1;

  --color-success: #166534;
  --color-success-bg: #DCFCE7;
  --color-warning: #9A3412;
  --color-warning-bg: #FFEDD5;
  --color-danger: #991B1B;
  --color-danger-bg: #FEE2E2;

  /* Tipografías */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Espaciados y Radios */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Sombras Técnicas Suaves */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.16);

  /* Transición estándar */
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-surface);
  color: var(--color-dark-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* CONTENEDOR */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-dark-900);
  font-weight: 700;
  line-height: 1.25;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* BARRA SUPERIOR */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #E2E8F0;
  font-size: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-bar-item strong {
  color: #FFFFFF;
}

/* CABECERA PRINCIPAL */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* NAVEGACIÓN DESKTOP */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark-700);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

/* ACCIONES CABECERA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-dark-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--color-light-200);
  color: var(--color-primary);
  border-color: var(--color-border-dark);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(217, 119, 54, 0.4);
}

.btn-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-dark-700);
  cursor: pointer;
}

@media (min-width: 992px) {
  .btn-menu-toggle {
    display: none;
  }
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.btn-accent:hover {
  background-color: var(--color-accent-dark);
  box-shadow: 0 4px 12px rgba(217, 119, 54, 0.35);
}

.btn-secondary {
  background-color: var(--color-light-200);
  color: var(--color-dark-800);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-light-300);
  color: var(--color-dark-900);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: #1EBE5B;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* BADGES / INSIGNIAS */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background-color: rgba(30, 58, 95, 0.09);
  color: var(--color-primary);
  border: 1px solid rgba(30, 58, 95, 0.2);
}

.badge-accent {
  background-color: rgba(217, 119, 54, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(217, 119, 54, 0.25);
}

.badge-teal {
  background-color: rgba(30, 124, 112, 0.1);
  color: var(--color-teal);
  border: 1px solid rgba(30, 124, 112, 0.25);
}

.badge-eco {
  background-color: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

/* SECCIONES */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--color-light-100);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-paper {
  background-color: var(--color-paper);
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-dark-600);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* MIGA DE PAN */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-dark-500);
  padding: 1.25rem 0;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.breadcrumbs .sep {
  color: var(--color-dark-400);
}

.breadcrumbs .current {
  color: var(--color-dark-800);
  font-weight: 600;
}

/* TARJETAS DE PRODUCTO */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--color-border-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-light-200);
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.product-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card-title a:hover {
  color: var(--color-primary);
}

.product-card-desc {
  font-size: 0.8125rem;
  color: var(--color-dark-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.product-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-pill {
  font-size: 0.725rem;
  padding: 0.2rem 0.5rem;
  background: var(--color-light-200);
  border-radius: var(--radius-xs);
  color: var(--color-dark-700);
  font-family: var(--font-mono);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-dark-900);
}

.product-price-tax {
  font-size: 0.7rem;
  color: var(--color-dark-500);
}

/* FILTROS DE CATÁLOGO */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-dark-700);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--color-light-200);
  color: var(--color-dark-900);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xs);
}

/* DRAWER / CARRITO LATERAL */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 1.2rem;
  margin: 0;
}

/* BARRA DE PROGRESO DE ENVÍO GRATIS */
.shipping-meter {
  background: var(--color-light-100);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 1.5rem;
}

.shipping-meter-text {
  font-size: 0.775rem;
  color: var(--color-dark-700);
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shipping-meter-bar {
  height: 6px;
  background: var(--color-light-300);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.shipping-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-teal-light) 100%);
  width: 0%;
  transition: width 0.4s ease;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--color-light-200);
  object-fit: cover;
}

.cart-item-info h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--color-dark-500);
  margin-bottom: 0.35rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.qty-btn:hover {
  background: var(--color-light-200);
}

.cart-item-qty span {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  min-width: 16px;
  text-align: center;
}

.cart-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-dark-900);
  text-align: right;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-dark-400);
  cursor: pointer;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.cart-item-remove:hover {
  color: var(--color-danger);
}

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-light-100);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-dark-600);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark-900);
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

/* MENÚ MÓVIL */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.mobile-nav-overlay.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.mobile-nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark-800);
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-light-200);
}

.mobile-nav-links a.active {
  color: var(--color-primary);
}

/* ACORDEÓN FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.is-active {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-dark-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-dark-600);
  line-height: 1.65;
}

.faq-item.is-active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* MODALES */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.modal-body {
  padding: 1.75rem;
}

/* BANNER DE COOKIES */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 1500;
  display: none;
  animation: slideUp 0.4s ease forwards;
}

.cookie-banner.is-visible {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.cookie-banner p {
  font-size: 0.8125rem;
  color: var(--color-dark-600);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* TOASTS NOTIFICACIONES */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--color-dark-900);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toastIn 0.3s ease forwards;
  max-width: 380px;
}

.toast.toast-success {
  background: #14532D;
  border-left: 4px solid #22C55E;
}

.toast.toast-info {
  background: var(--color-primary-dark);
  border-left: 4px solid var(--color-accent);
}

.toast.toast-error {
  background: #7F1D1D;
  border-left: 4px solid #EF4444;
}

@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* PIE DE PÁGINA */
.footer {
  background-color: var(--color-dark-900);
  color: #CBD5E1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: #94A3B8;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a:hover {
  color: #CBD5E1;
  text-decoration: underline;
}

/* RESPONSIVE UTILITIES */
@media (max-width: 768px) {
  .section {
    padding: 3.25rem 0;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }
}
