/*----------------------------------------*/
/*  Services Grid CSS
/*----------------------------------------*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-grid-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(50, 47, 179, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  z-index: 2;
}

.service-grid-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(50, 47, 179, 0.12);
  border-color: rgba(50, 47, 179, 0.2);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5BCFF2 0%, #417DD2 50%, #322fb3 100%);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-grid-item:hover .service-icon {
  transform: scale(1.05);
}

.service-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #343c55;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-description {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #322fb3;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 2px solid #322fb3;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
  margin-top: 1rem;
}

.service-btn:hover {
  background: #322fb3;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(50, 47, 179, 0.25);
}

.modal .btn-primary {
  background: #322fb3;
  border-color: #322fb3;
}
.modal .btn-primary:hover,
.modal .btn-primary:focus {
  background: #2a27a1;
  border-color: #2a27a1;
}

/* Order success panel */
.order-success {
  text-align: center;
  padding: 2rem 1.5rem;
}
.order-success .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(-45deg, #5BCFF2 20%, #417DD2 50%, #322fb3 100%);
  box-shadow: 0 10px 30px rgba(50, 47, 179, 0.25);
}
.order-success .success-icon i { font-size: 1.6rem; }
.order-success .success-title { font-weight: 800; color: #343c55; margin-bottom: .25rem; }
.order-success .success-text { color: #6c757d; margin-bottom: .75rem; }
.order-success .success-meta { color: #6c757d; }
.order-success .success-meta .meta-label { color: #343c55; font-weight: 600; margin: 0 .25rem; }
.order-success .success-meta .meta-sep { margin: 0 .5rem; color: #c1c6d0; }

/* Order page hero */
.order-hero {
  position: relative;
  padding: 80px 0 60px;
  color: #fff;
  overflow: hidden;
}
.order-hero .title { color: #fff; font-weight: 800; margin: .25rem 0 1rem; }
.order-hero .subtitle { color: rgba(255,255,255,.9); max-width: 560px; }
.order-hero .badge-soft {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  font-weight: 700; letter-spacing: .3px;
}
.order-hero__shape .blob {
  width: 280px; height: 280px; border-radius: 50%; opacity: .35;
  background: radial-gradient(circle at 30% 30%, #5BCFF2, transparent 60%),
              radial-gradient(circle at 70% 70%, #322fb3, transparent 60%),
              radial-gradient(circle at 20% 70%, #417DD2, transparent 60%);
  filter: blur(10px);
}
.order-hero__wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 60%);
}

/* Order form card */
.order-card { border-radius: 16px; background: #fff; padding: 24px; }
.order-card__header { margin-bottom: 10px; }
.order-card__title { font-weight: 800; color: #343c55; }

.form-floating > label { color: #6c757d; }
.form-control:focus, .form-select:focus {
  border-color: #322fb3; box-shadow: 0 0 0 .2rem rgba(50,47,179,.15);
}

/* Order right side */
.order-side { display: grid; gap: 16px; }
.order-summary { border-radius: 16px; background: #f7f9fc; padding: 20px; }
.order-summary__title { margin-bottom: 10px; font-weight: 800; color: #343c55; }
.order-summary__list { margin: 0; padding: 0; list-style: none; }
.order-summary__list li { color: #6c757d; margin: 8px 0; }
.order-summary__list i { color: #32a852; margin-inline-end: 8px; }

.contact-hint { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; border: 1px dashed #d8def0; border-radius: 12px; padding: 14px; }
.contact-hint .icon { width: 48px; height: 48px; border-radius: 50%; background: #eae9fe; display: grid; place-items: center; color: #322fb3; }
.contact-hint .hint-title { font-weight: 700; color: #343c55; }
.contact-hint .hint-text { color: #6c757d; margin-top: -2px; }
.contact-hint .hint-phone { font-weight: 700; color: #322fb3; }

@media (max-width: 991px) {
  .order-hero { padding: 60px 0 40px; }
}

/* Accessible focus styles */
.service-btn:focus {
  outline: none;
}
.service-btn:focus-visible {
  background: #322fb3;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(50, 47, 179, 0.25), 0 6px 20px rgba(50, 47, 179, 0.25);
  transform: translateY(-2px);
}

.service-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.service-btn:hover i {
  transform: translateX(3px);
}

/* Section Title Styles */
.section-title {
  margin-bottom: 3rem;
}

.section-title .subtitle {
  color: #5BCFF2;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title .title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #343c55;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title .text {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
}

/* Responsive adjustments */
@media only screen and (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .service-grid-item {
    padding: 1.5rem;
  }
  
  .section-title .title {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .service-grid-item {
    padding: 1.25rem;
  }
  
  .section-title .title {
    font-size: 1.75rem;
  }
  
  .service-title {
    font-size: 1.25rem;
  }
  
  .service-description {
    max-width: 100%;
  }
}
