/* Services Section */
.services-section {
  position: relative;
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .services-section {
    padding: 4rem 0;
  }
}

.services-section {
  background: linear-gradient(to bottom right, #ffffff, rgba(249, 250, 251, 0.3), rgba(239, 246, 255, 0.2));
}

.dark-mode .services-section {
  background: linear-gradient(to bottom right, #111827, rgba(31, 41, 55, 0.3), rgba(30, 58, 138, 0.2));
}

/* Background Elements */
.services-background {
  position: absolute;
  inset: 0;
}

.bg-circle-services-1 {
  position: absolute;
  top: 4rem;
  left: 4rem;
  width: 5rem;
  height: 5rem;
  border: 1px solid rgba(219, 234, 254, 0.2);
  border-radius: 50%;
  opacity: 0.3;
}

.bg-square-services-1 {
  position: absolute;
  top: 8rem;
  right: 6rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, rgba(6, 182, 212, 0.03), rgba(59, 130, 246, 0.03));
  border-radius: 0.25rem;
  transform: rotate(45deg);
}

.bg-circle-services-2 {
  position: absolute;
  bottom: 6rem;
  left: 6rem;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.05), rgba(6, 182, 212, 0.05));
  border-radius: 50%;
}

.bg-square-services-2 {
  position: absolute;
  bottom: 4rem;
  right: 8rem;
  width: 4rem;
  height: 4rem;
  border: 1px solid rgba(165, 243, 252, 0.15);
  border-radius: 0.5rem;
  transform: rotate(12deg);
}

.dark-mode .bg-circle-services-1 {
  border-color: rgba(55, 65, 81, 0.1);
}

.dark-mode .bg-square-services-1 {
  background: linear-gradient(to right, rgba(34, 211, 238, 0.05), rgba(55, 114, 255, 0.05));
}

.dark-mode .bg-circle-services-2 {
  background: linear-gradient(to right, rgba(55, 114, 255, 0.08), rgba(34, 211, 238, 0.08));
}

.dark-mode .bg-square-services-2 {
  border-color: rgba(55, 65, 81, 0.1);
}

/* Container */
.services-container {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .services-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-container {
    padding: 0 2rem;
  }
}

/* Section Header */
.services-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .services-header {
    margin-bottom: 3rem;
  }
}

.services-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(219, 234, 254, 0.3);
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.dark-mode .services-badge {
  background-color: rgba(31, 41, 55, 0.6);
  border-color: rgba(29, 78, 216, 0.4);
}

.badge-dot-services {
  width: 0.375rem;
  height: 0.375rem;
  background: linear-gradient(to right, #2563eb, #06b6d4);
  border-radius: 50%;
}

.services-badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
}

.dark-mode .services-badge span {
  color: #9ca3af;
}

.services-title-section {
  margin: 0 auto;
  max-width: 48rem;
}

.services-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .services-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .services-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .services-title {
    font-size: 2.5rem;
  }
}

.title-gradient-services-1 {
  background: linear-gradient(to right, #111827, #1f2937, #111827);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark-mode .title-gradient-services-1 {
  background: linear-gradient(to right, #ffffff, #f3f4f6, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-gradient-services-2 {
  background: linear-gradient(to right, #2563eb, #06b6d4, #1d4ed8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-subtitle {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.625;
  margin: 0 auto;
  max-width: 32rem;
}

@media (min-width: 640px) {
  .services-subtitle {
    font-size: 1.125rem;
  }
}

.dark-mode .services-subtitle {
  color: #9ca3af;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(191, 219, 254, 0.4);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 0.3s;
  cursor: pointer;
}

.dark-mode .service-card {
  background-color: rgba(31, 41, 55, 0.7);
  border-color: rgba(29, 78, 216, 0.4);
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-opacity: 0.6;
}

.dark-mode .service-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  border-opacity: 0.6;
}

/* Dark mode border colors */
.dark-mode .service-card[data-service-id="1"] {
  border: 1px solid rgba(29, 78, 216, 0.4); /* blue-700/40 */
}

.dark-mode .service-card[data-service-id="2"] {
  border: 1px solid rgba(4, 120, 87, 0.4); /* emerald-700/40 */
}

.dark-mode .service-card[data-service-id="3"] {
  border: 1px solid rgba(190, 18, 60, 0.4); /* rose-700/40 */
}

.dark-mode .service-card[data-service-id="4"] {
  border: 1px solid rgba(109, 40, 217, 0.4); /* violet-700/40 */
}

.dark-mode .service-card[data-service-id="5"] {
  border: 1px solid rgba(126, 34, 206, 0.4); /* purple-700/40 */
}

.dark-mode .service-card[data-service-id="6"] {
  border: 1px solid rgba(194, 65, 12, 0.4); /* orange-700/40 */
}

.service-hover-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(59, 130, 246, 0), rgba(6, 182, 212, 0));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 0.75rem;
}

.service-card:hover .service-hover-bg {
  opacity: 0.2;
}

.service-content {
  position: relative;
  z-index: 10;
}

.service-icon-wrapper {
  display: inline-flex;
  padding: 0.625rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.05);
}

.blue-gradient {
  background: linear-gradient(to right, #2563eb, #06b6d4);
}

.emerald-gradient {
  background: linear-gradient(to right, #16a34a, #0d9488);
}

.rose-gradient {
  background: linear-gradient(to right, #dc2626, #ec4899);
}

.violet-gradient {
  background: linear-gradient(to right, #8b5cf6, #a855f7);
}

.purple-gradient {
  background: linear-gradient(to right, #9333ea, #6366f1);
}

.orange-gradient {
  background: linear-gradient(to right, #ea580c, #f59e0b);
}

.service-icon {
  width: 1rem;
  height: 1rem;
}

.service-info {
  margin-top: 0;
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.dark-mode .service-title {
  color: #f9fafb;
}

.service-card:hover .service-title {
  color: #111827;
}

.dark-mode .service-card:hover .service-title {
  color: #f3f4f6;
}

.service-description {
  color: #4b5563;
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.dark-mode .service-description {
  color: #9ca3af;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.dark-mode .service-meta {
  color: #d1d5db;
}

.meta-delivery, .meta-price {
  font-weight: 500;
}

.meta-price {
  text-align: right;
}

.service-features {
  margin-bottom: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.feature-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
}

.feature-item span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.5;
}

.dark-mode .feature-item span {
  color: #9ca3af;
}

.service-cta {
  width: 100%;
  background: linear-gradient(to right, #2563eb, #06b6d4);
  color: white;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.service-cta:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.emerald-gradient.service-cta {
  background: linear-gradient(to right, #16a34a, #0d9488);
}

.rose-gradient.service-cta {
  background: linear-gradient(to right, #dc2626, #ec4899);
}

.violet-gradient.service-cta {
  background: linear-gradient(to right, #8b5cf6, #a855f7);
}

.purple-gradient.service-cta {
  background: linear-gradient(to right, #9333ea, #6366f1);
}

.orange-gradient.service-cta {
  background: linear-gradient(to right, #ea580c, #f59e0b);
}

/* View All Button */
.services-cta-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.view-all-btn {
  background: linear-gradient(to right, #2563eb, #06b6d4);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  margin: 0 auto;
}

.view-all-btn:hover {
  background: linear-gradient(to right, #1d4ed8, #0891b2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.btn-icon-services {
  width: 1rem;
  height: 1rem;
}

/* Features Showcase */
.features-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .features-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.feature-card {
  text-align: center;
  padding: 1rem;
}

.feature-icon-wrapper {
  display: inline-flex;
  padding: 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  transition: transform 0.2s;
  cursor: pointer;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.05);
}

.rocket-gradient {
  background: linear-gradient(to right, #2563eb, #06b6d4);
}

.zap-gradient {
  background: linear-gradient(to right, #9333ea, #6366f1);
}

.trend-gradient {
  background: linear-gradient(to right, #16a34a, #0d9488);
}

.feature-icon {
  width: 1rem;
  height: 1rem;
}

.feature-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.dark-mode .feature-title {
  color: #f9fafb;
}

.feature-description {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.5;
}

.dark-mode .feature-description {
  color: #9ca3af;
}

/* Bottom CTA */
.bottom-cta {
  text-align: center;
}

.cta-card {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(229, 231, 235, 0.4);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.dark-mode .cta-card {
  background-color: rgba(31, 41, 55, 0.8);
  border-color: rgba(55, 65, 81, 0.4);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #2563eb, #06b6d4);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cta-badge-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.cta-content {
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 1.5rem;
  }
}

.dark-mode .cta-title {
  color: #f9fafb;
}

.cta-subtitle {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 32rem;
}

.dark-mode .cta-subtitle {
  color: #9ca3af;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.whatsapp-btn {
  background: linear-gradient(to right, #16a34a, #059669);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: linear-gradient(to right, #15803d, #047857);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.btn-icon-cta {
  width: 0.75rem;
  height: 0.75rem;
}

/* Backdrop blur fallback */
@supports not (backdrop-filter: blur(4px)) {
  .service-card,
  .cta-card {
    background-color: rgba(255, 255, 255, 0.7);
  }

  .dark-mode .service-card,
  .dark-mode .cta-card {
    background-color: rgba(31, 41, 55, 0.7);
  }
}