/* ===== VARIABLES CSS ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #64748b;
  --accent: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --dark: #0f172a;
  
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(45deg, var(--accent) 0%, var(--warning) 100%);
  --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient-bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}

/* ===== ACCESIBILIDAD ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius);
  z-index: 9999;
}

/* ===== BACKGROUND ANIMATION ===== */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 15%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
  animation-duration: 20s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 10%;
  right: 10%;
  animation-delay: -15s;
  animation-duration: 35s;
}

.shape-5 {
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  animation-delay: -8s;
  animation-duration: 18s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.6;
  }
}

/* ===== MAIN CONTAINER ===== */
.maintenance-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

       .maintenance-content {
         max-width: 800px;
         width: 100%;
         text-align: center;
         background: rgba(255, 255, 255, 0.1);
         backdrop-filter: blur(20px);
         border-radius: var(--border-radius-xl);
         padding: 3rem 2rem;
         border: 1px solid rgba(255, 255, 255, 0.2);
         box-shadow: var(--shadow-xl);
       }

/* ===== LOGO SECTION ===== */
.logo-section {
  margin-bottom: 3rem;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-lg);
  background: var(--gradient-primary);
  box-shadow: var(--shadow-lg);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-lg);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(37, 99, 235, 0.1);
  }
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-subtitle {
  font-size: 1.1rem;
  color: var(--gray-200);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ===== MAINTENANCE MESSAGE ===== */
.maintenance-message {
  margin-bottom: 3rem;
}

.maintenance-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.title-line {
  display: block;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.maintenance-description {
  font-size: 1.1rem;
  color: var(--gray-200);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.progress-label {
  font-size: 0.9rem;
  color: var(--gray-300);
  font-weight: 500;
}

.progress-percentage {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-secondary);
  border-radius: 4px;
  width: 0%;
  transition: width 0.5s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ===== ESTIMATED TIME ===== */
.estimated-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  color: var(--white);
}

.time-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.time-label {
  font-size: 0.8rem;
  color: var(--gray-300);
  font-weight: 500;
}

.time-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.contact-description {
  font-size: 1rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  flex-shrink: 0;
}

.whatsapp-method .method-icon {
  background: #25d366;
}

.method-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.method-label {
  font-size: 0.9rem;
  color: var(--gray-300);
  font-weight: 500;
}

.method-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ===== SOCIAL SECTION ===== */
.social-section {
  margin-bottom: 2rem;
}

.social-text {
  font-size: 1rem;
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

               /* ===== FOOTER ===== */
        .maintenance-footer {
          border-top: 1px solid rgba(255, 255, 255, 0.1);
          padding-top: 2.5rem;
          margin-top: 1rem;
        }

        .footer-content {
          display: flex;
          flex-direction: column;
          gap: 2rem;
          align-items: center;
        }

        .footer-main {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          width: 100%;
          gap: 2rem;
        }

        .footer-brand {
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          gap: 1rem;
        }

        .footer-logo {
          display: flex;
          align-items: center;
          gap: 0.75rem;
          margin-bottom: 0.5rem;
        }

        .footer-title {
          font-size: 1.25rem;
          font-weight: 700;
          color: var(--white);
          margin: 0;
        }

        .footer-description {
          font-size: 0.9rem;
          color: var(--gray-300);
          margin: 0;
          line-height: 1.5;
        }

        .footer-contact-info {
          display: flex;
          flex-direction: column;
          gap: 1rem;
          margin-top: 0.5rem;
        }

        .footer-website {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          color: var(--primary-light);
          text-decoration: none;
          font-weight: 500;
          font-size: 0.9rem;
          transition: var(--transition);
          padding: 0.75rem 1.25rem;
          background: rgba(255, 255, 255, 0.05);
          border-radius: var(--border-radius);
          border: 1px solid rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(10px);
          width: fit-content;
        }

        .footer-website:hover {
          color: var(--white);
          background: rgba(255, 255, 255, 0.1);
          transform: translateY(-2px);
          box-shadow: var(--shadow-md);
        }

        .footer-stats {
          display: flex;
          flex-direction: column;
          gap: 0.5rem;
        }

        .stat-item {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          font-size: 0.8rem;
          color: var(--gray-400);
          padding: 0.25rem 0;
        }

        .stat-item svg {
          color: var(--success);
        }

        .footer-info {
          display: flex;
          flex-direction: column;
          align-items: flex-end;
          gap: 1rem;
          text-align: right;
        }

        .footer-copyright {
          display: flex;
          flex-direction: column;
          gap: 0.25rem;
        }

        .footer-text {
          font-size: 0.9rem;
          color: var(--gray-300);
          margin: 0;
        }

        .footer-credit {
          font-size: 0.85rem;
          color: var(--gray-400);
          margin: 0;
        }

        .footer-text a,
        .footer-credit a {
          color: var(--primary-light);
          text-decoration: none;
          font-weight: 500;
          transition: var(--transition);
        }

        .footer-text a:hover,
        .footer-credit a:hover {
          color: var(--white);
          text-decoration: underline;
        }

        .footer-badges {
          display: flex;
          gap: 0.75rem;
          flex-wrap: wrap;
          justify-content: flex-end;
        }

        .badge {
          display: flex;
          align-items: center;
          gap: 0.25rem;
          font-size: 0.75rem;
          color: var(--gray-400);
          padding: 0.25rem 0.5rem;
          background: rgba(255, 255, 255, 0.03);
          border-radius: 12px;
          border: 1px solid rgba(255, 255, 255, 0.05);
          backdrop-filter: blur(5px);
        }

        .badge svg {
          color: var(--success);
        }

        .footer-links {
          display: flex;
          gap: 2rem;
          padding-top: 1.5rem;
          border-top: 1px solid rgba(255, 255, 255, 0.05);
          width: 100%;
          justify-content: center;
        }

        .footer-link {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          font-size: 0.85rem;
          color: var(--gray-400);
          text-decoration: none;
          transition: var(--transition);
          padding: 0.75rem 1.25rem;
          border-radius: var(--border-radius);
          background: rgba(255, 255, 255, 0.03);
          border: 1px solid rgba(255, 255, 255, 0.05);
          backdrop-filter: blur(5px);
        }

        .footer-link:hover {
          color: var(--white);
          background: rgba(255, 255, 255, 0.08);
          transform: translateY(-1px);
          box-shadow: var(--shadow-sm);
        }

        .footer-link svg {
          color: var(--primary-light);
        }

/* ===== NOTIFICATION TOAST ===== */
.notification-toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--success);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transform: translateX(400px);
  transition: var(--transition);
  z-index: 1000;
  max-width: 300px;
}

.notification-toast.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

[data-animate] {
  opacity: 0;
  animation-fill-mode: both;
}

[data-animate="fadeInDown"] {
  animation: fadeInDown 0.8s ease-out forwards;
}

[data-animate="fadeInUp"] {
  animation: fadeInUp 0.8s ease-out forwards;
}

[data-delay="200"] {
  animation-delay: 0.2s;
}

[data-delay="400"] {
  animation-delay: 0.4s;
}

[data-delay="600"] {
  animation-delay: 0.6s;
}

/* ===== RESPONSIVE DESIGN ===== */
       @media (max-width: 768px) {
         .maintenance-container {
           padding: 1rem;
         }

         .maintenance-content {
           max-width: 95%;
           padding: 2rem 1.5rem;
         }
  
  .logo-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .maintenance-title {
    font-size: 2rem;
  }
  
  .contact-methods {
    gap: 0.75rem;
  }
  
  .contact-method {
    padding: 0.75rem 1rem;
  }
  
  .social-links {
    gap: 0.75rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
  }
  
  .notification-toast {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    transform: translateY(-100px);
  }
  
  .notification-toast.show {
    transform: translateY(0);
  }
}

       @media (max-width: 480px) {
         .maintenance-content {
           max-width: 98%;
           padding: 1.5rem 1rem;
         }
  
  .logo-icon {
    width: 60px;
    height: 60px;
  }
  
  .logo-text {
    font-size: 1.75rem;
  }
  
  .maintenance-title {
    font-size: 1.75rem;
  }
  
  .maintenance-description {
    font-size: 1rem;
  }
  
  .contact-section {
    padding: 1.5rem 1rem;
  }
  
  .contact-title {
    font-size: 1.25rem;
  }
  
                     .footer-main {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 2rem;
          }

          .footer-brand {
            align-items: center;
          }

          .footer-logo {
            justify-content: center;
          }

          .footer-contact-info {
            align-items: center;
          }

          .footer-stats {
            align-items: center;
          }

          .footer-info {
            align-items: center;
            text-align: center;
          }

          .footer-copyright {
            align-items: center;
          }

          .footer-badges {
            justify-content: center;
          }

          .footer-links {
            flex-direction: column;
            gap: 0.75rem;
            align-items: center;
          }

          .footer-link {
            padding: 0.75rem 1.5rem;
            min-width: 200px;
            text-align: center;
            justify-content: center;
          }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
