/* Cart Modal & Overlay Styles */
.cart-floating-btn {
  position: fixed;
  bottom: 180px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-floating-btn:hover {
  transform: scale(1.1) rotate(-10deg);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #07060d;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 20px;
  right: -450px;
  width: 400px;
  height: calc(100vh - 40px);
  background: #120d22;
  z-index: 2000;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  margin-right: 20px;
}

.cart-sidebar.active {
  right: 0;
}

.cart-sidebar-header {
  padding: 2rem;
  background: #07060d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-sidebar-header h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0;
}

.cart-close {
  background: transparent;
  border: none;
  color: #a9a6c4;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cart-close:hover {
  color: white;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.cart-empty {
  text-align: center;
  color: #64748b;
  margin-top: 2rem;
  font-style: italic;
}

.cart-item {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.1);
  animation: slideInLeft 0.3s ease forwards;
}

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

.cart-item-info h4 {
  color: white;
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.cart-item-remove:hover {
  transform: scale(1.2);
}

.cart-footer {
  padding: 2rem;
  background: #07060d;
}

.cart-checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  border: none;
  padding: 1.25rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.cart-checkout-btn:disabled {
  background: #475569;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Animations and Responsive */
@media (max-width: 480px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
  .cart-floating-btn {
    bottom: 85px;
    right: 15px;
  }
}

/* Servicios Page Styles */
.servicios-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #07060d 0%, #120d22 50%, #1b1038 100%);
  overflow: hidden;
}

.servicios-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(147, 51, 234, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite alternate;
}

.servicios-hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(147, 51, 234, 0.4), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(59, 130, 246, 0.4), transparent);
  background-repeat: repeat;
  background-size: 100px 100px;
  animation: float 20s linear infinite;
}

.servicios-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.servicios-hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.servicios-hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.servicios-gradient-text {
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.servicios-hero-subtitle {
  font-size: 1.5rem;
  color: #cbd5e1;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.servicios-hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.servicios-stat-item {
  text-align: center;
}

.servicios-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.servicios-stat-label {
  font-size: 1rem;
  color: #a9a6c4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Main Services Section */
.servicios-main {
  padding: 8rem 0;
  background: #07060d;
}

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

.servicios-section-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.servicios-section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.servicios-card {
  background: linear-gradient(145deg, #120d22, #2a2144);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.servicios-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(59, 130, 246, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.servicios-card:hover::before {
  opacity: 1;
}

.servicios-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.servicios-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.servicios-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease;
}

.servicios-card:hover .servicios-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.servicios-card-badge {
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.servicios-card-content {
  position: relative;
  z-index: 2;
}

.servicios-card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.servicios-card-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.servicios-card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.servicios-card-features li {
  display: flex;
  align-items: center;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.servicios-card-features i {
  color: #3b82f6;
  margin-right: 0.75rem;
  font-size: 0.875rem;
}

.servicios-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.servicios-price-from {
  color: #a9a6c4;
  font-size: 0.875rem;
}

.servicios-price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b82f6;
}

.servicios-price-period {
  color: #64748b;
  font-size: 1rem;
}

.servicios-card-footer {
  position: relative;
  z-index: 2;
}

.servicios-card-btn {
  width: 100%;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.boton-servicios {
  width: 100%;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.servicios-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}

.servicios-card-btn i {
  transition: transform 0.3s ease;
}

.servicios-card-btn:hover i {
  transform: translateX(5px);
}

/* Process Section */
.servicios-process {
  padding: 8rem 0;
  background: linear-gradient(135deg, #120d22 0%, #2a2144 100%);
}

.servicios-process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.servicios-process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #9333ea, #3b82f6);
  transform: translateX(-50%);
}

.servicios-process-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.servicios-process-item:nth-child(even) {
  flex-direction: row-reverse;
}

.servicios-process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.servicios-process-content {
  flex: 1;
  max-width: 400px;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.servicios-process-item:nth-child(odd) .servicios-process-content {
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

.servicios-process-item:nth-child(even) .servicios-process-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

.servicios-process-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.servicios-process-description {
  color: #cbd5e1;
  line-height: 1.6;
}

.servicios-process-icon {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #3b82f6;
}

.servicios-process-item:nth-child(even) .servicios-process-icon {
  right: auto;
  left: -120px;
}

/* CTA Section */
.servicios-cta {
  padding: 8rem 0;
  background: #07060d;
  position: relative;
  overflow: hidden;
}

.servicios-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.2) 0%, transparent 70%);
}

.servicios-cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.servicios-cta-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.servicios-cta-subtitle {
  font-size: 1.25rem;
  color: #a9a6c4;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.servicios-cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.servicios-cta-btn {
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.servicios-cta-btn.primary {
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
}

.servicios-cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(147, 51, 234, 0.4);
}

.servicios-cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(148, 163, 184, 0.3);
}

.servicios-cta-btn.secondary:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: #3b82f6;
  color: #3b82f6;
}

/* Animations */
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .servicios-hero-title {
    font-size: 2.5rem;
  }

  .servicios-hero-subtitle {
    font-size: 1.25rem;
  }

  .servicios-hero-stats {
    gap: 2rem;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .servicios-card {
    padding: 2rem;
  }

  .servicios-section-title {
    font-size: 2rem;
  }

  .servicios-process-timeline::before {
    left: 30px;
  }

  .servicios-process-item {
    flex-direction: column !important;
    text-align: center;
  }

  .servicios-process-number {
    position: static;
    transform: none;
    margin-bottom: 1rem;
  }

  .servicios-process-content {
    max-width: 100%;
    text-align: center !important;
    margin: 0 !important;
  }

  .servicios-process-icon {
    position: static !important;
    transform: none !important;
    margin-top: 1rem;
  }

  .servicios-cta-title {
    font-size: 2rem;
  }

  .servicios-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .servicios-container {
    padding: 0 1rem;
  }

  .servicios-hero-title {
    font-size: 2rem;
  }

  .servicios-card {
    padding: 1.5rem;
  }

  .servicios-card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
