/* ═══════════════════════════════════════════════
   Page-Specific Styles
   Extracted from inline <style> blocks
   ═══════════════════════════════════════════════ */

/* ── Auth Pages (Login & Register) ── */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #161f8a 100%);
  padding: 40px 20px;
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.auth-container.register {
  max-width: 480px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.auth-logo .logo-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
}

.auth-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.auth-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
}

.auth-logo .logo-text span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 600;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 8px;
  text-align: center;
}

.auth-card .auth-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #6c6c6c;
  margin-bottom: 28px;
}

.auth-card .form-group {
  margin-bottom: 20px;
}

.auth-card .form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.auth-card .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  font-size: 0.95rem;
  color: #1a1a2e;
  background: #fff;
  transition: 0.3s ease;
}

.auth-card .form-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(30, 42, 191, 0.1);
}

.auth-card .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.auth-card .form-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #6c6c6c;
  font-weight: 600;
}

.auth-card .form-options a {
  color: var(--primary-blue);
  font-weight: 700;
}

.auth-card .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.auth-card .btn.register-btn {
  margin-top: 8px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: #6c6c6c;
}

.auth-footer a {
  color: var(--primary-blue);
  font-weight: 700;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: #6c6c6c;
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.auth-back {
  text-align: center;
  margin-top: 20px;
}

.auth-back a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-back a:hover {
  color: #fff;
}

.password-strength {
  height: 4px;
  border-radius: 2px;
  background: #e0e0e0;
  margin-top: 8px;
  overflow: hidden;
}

.password-strength .bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ── Products Page ── */

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.products-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--primary-blue);
  background: #fff;
  color: var(--primary-blue);
  cursor: pointer;
  transition: 0.3s ease;
  font-family: var(--font-family);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-blue);
  color: #fff;
}

.layout-switcher {
  display: flex;
  gap: 8px;
}

.layout-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--medium-gray);
  background: #fff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1rem;
}

.layout-btn.active,
.layout-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(30, 42, 191, 0.05);
}

/* Dynamic Products Grid */
.dyn-products-grid {
  display: grid;
  gap: 24px;
  transition: 0.3s ease;
}

.dyn-products-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.dyn-products-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.dyn-products-grid.grid-list {
  grid-template-columns: 1fr;
}

/* Product Card */
.dyn-product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.dyn-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dyn-product-card .card-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #f0f1ff 0%, #e8eaff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.dyn-product-card .card-image i {
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.2;
}

.dyn-product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dyn-product-card .card-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.dyn-product-card .card-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.card-badge.badge-new {
  background: var(--primary-blue);
}

.card-badge.badge-sale {
  background: #c00;
}

.card-badge.badge-popular {
  background: var(--primary-blue-lighter);
}

.card-badge.badge-featured {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-blue-lighter)
  );
}

.card-badge.badge-out {
  background: #999;
}

.dyn-product-card .card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dyn-product-card .card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.dyn-product-card .card-name a {
  color: inherit;
}

.dyn-product-card .card-name a:hover {
  color: var(--primary-blue);
}

.dyn-product-card .card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.dyn-product-card .card-price .old-price {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 600;
  margin-left: 8px;
}

.dyn-product-card .card-actions {
  margin-top: auto;
}

.dyn-product-card .btn-add-cart {
  width: 100%;
  padding: 12px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dyn-product-card .btn-add-cart:hover {
  background: var(--primary-blue-dark);
}

.dyn-product-card .btn-add-cart:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* List view adjustments */
.grid-list .dyn-product-card {
  flex-direction: row;
}

.grid-list .dyn-product-card .card-image {
  width: 220px;
  min-width: 220px;
  height: auto;
  min-height: 180px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.grid-list .dyn-product-card .card-info {
  flex: 1;
}

.grid-list .dyn-product-card .card-actions {
  max-width: 220px;
}

.products-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .dyn-products-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-list .dyn-product-card {
    flex-direction: column;
  }
  .grid-list .dyn-product-card .card-image {
    width: 100%;
    min-width: unset;
    height: 200px;
    border-radius: 0;
  }
  .grid-list .dyn-product-card .card-actions {
    max-width: none;
  }
  .products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .products-filter {
    justify-content: center;
  }
  .layout-switcher {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .dyn-products-grid.grid-3,
  .dyn-products-grid.grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--medium-gray);
  background: #fff;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: var(--font-family);
}

.pagination button:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.pagination button.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Product Detail Page ── */

.product-detail-section {
  padding: 40px 0 80px;
  margin-top: calc(var(--header-height, 80px) + 48px);
  min-height: 60vh;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.pd-gallery {
  position: sticky;
  top: 100px;
}

.pd-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

.pd-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.pd-main-image .pd-icon-placeholder {
  font-size: 5rem;
  color: var(--primary-blue);
  opacity: 0.3;
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--medium-gray);
  cursor: pointer;
  transition: border-color 0.2s;
}

.pd-thumb.active {
  border-color: var(--primary-blue);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pd-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  width: fit-content;
}

.pd-badge.new {
  background: #dbeafe;
  color: #1e40af;
}

.pd-badge.sale {
  background: #fef3c7;
  color: #92400e;
}

.pd-badge.popular {
  background: #ede9fe;
  color: #5b21b6;
}

.pd-badge.featured {
  background: #e0e7ff;
  color: var(--primary-blue);
}

.pd-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pd-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.pd-old-price {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.pd-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Variables / Options */
.pd-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-option-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.pd-option-group select {
  padding: 10px 14px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.9rem;
  background: #fff;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}

.pd-option-group input[type="text"] {
  padding: 10px 14px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.9rem;
  width: 100%;
}

.pd-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pd-checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.pd-checks label:hover {
  border-color: var(--primary-blue);
}

.pd-checks input:checked + span {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Upload & Notes */
.pd-upload-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 2px dashed var(--medium-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: 0.2s;
  font-size: 0.9rem;
}

.pd-upload-label:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.pd-notes textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
}

/* Qty & Actions */
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pd-qty button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--light-gray);
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--font-family);
}

.pd-qty button:hover {
  background: var(--primary-blue);
  color: #fff;
}

.pd-qty input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
}

.pd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-add-cart:hover {
  background: var(--primary-blue-dark);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1da851;
}

.pd-not-found {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.pd-not-found i {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pd-gallery {
    position: static;
  }
  .pd-name {
    font-size: 1.4rem;
  }
  .pd-actions {
    flex-direction: column;
  }
  .btn-add-cart,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* ── Order Details / Tracking Page ── */

.order-tracking {
  max-width: 800px;
  margin: 0 auto;
}

.order-header {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  text-align: center;
}

.order-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.order-header .order-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.order-status-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
}

/* Progress Tracker */
.progress-tracker {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.progress-tracker h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
  text-align: center;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.progress-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  left: 24px;
  height: 4px;
  background: var(--medium-gray);
  z-index: 0;
}

.progress-steps .progress-fill {
  position: absolute;
  top: 24px;
  right: 24px;
  height: 4px;
  background: var(--primary-blue);
  z-index: 1;
  transition: width 0.6s ease;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.progress-step .step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--medium-gray);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
  background: var(--primary-blue);
  color: #fff;
}

.progress-step.completed .step-circle {
  background: #10b981;
}

.progress-step.rejected .step-circle {
  background: #ef4444;
}

.progress-step .step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--text-dark);
}

/* Order Items */
.order-items-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.order-items-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.order-item-row:last-child {
  border-bottom: none;
}

.order-item-name {
  font-weight: 600;
  color: var(--text-dark);
}

.order-item-qty {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 8px;
}

.order-item-price {
  font-weight: 700;
  color: var(--primary-blue);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 0;
  border-top: 2px solid var(--primary-blue);
  margin-top: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
}

/* Customer Info */
.order-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.order-info-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(30, 42, 191, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.info-row .info-text {
  display: flex;
  flex-direction: column;
}

.info-row .info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.info-row .info-value {
  font-weight: 600;
  color: var(--text-dark);
}

.order-not-found {
  text-align: center;
  padding: 80px 20px;
}

.order-not-found i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.order-not-found h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.order-not-found p {
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .progress-steps {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .progress-steps::before,
  .progress-steps .progress-fill {
    display: none;
  }
  .progress-step {
    flex-direction: row;
    gap: 12px;
  }
  .progress-step .step-circle {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    margin-bottom: 0;
  }
}

/* ── Service Layout 1 ── */

@media (max-width: 768px) {
  .service-detail-hero .hero-content {
    flex-direction: column !important;
    text-align: center !important;
  }
  #heroVisual {
    flex: 0 0 auto !important;
    margin-top: 20px;
  }
  #heroVisual > div {
    width: 140px !important;
    height: 140px !important;
  }
  #heroVisualIcon {
    font-size: 3.5rem !important;
  }
}

/* ── Service Layout 2: Split Side-by-Side ── */

.service-split-hero {
  min-height: 70vh;
  display: flex;
  align-items: stretch;
  padding-top: var(--header-height);
}

.split-visual {
  flex: 1;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.split-visual::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -50px;
  right: -80px;
}

.split-visual::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  bottom: -30px;
  left: -60px;
}

.split-visual-icon {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.split-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  background: var(--bg-primary);
}

.split-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.split-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.split-breadcrumb a:hover {
  color: var(--primary-blue);
}

.split-breadcrumb .sep {
  color: var(--text-light);
  font-size: 0.7rem;
}

.split-breadcrumb .current {
  color: var(--primary-blue);
  font-weight: 600;
}

.split-info h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.split-info .desc {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.split-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.split-actions .btn {
  padding: 12px 28px;
  font-size: 1rem;
}

/* Info Cards Row */
.service-info-cards {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-4px);
}

.info-card .ic-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 1.3rem;
}

.info-card h4 {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Timeline Steps */
.service-timeline {
  padding: 60px 0;
}

.timeline-wrap {
  position: relative;
  padding-right: 40px;
}

.timeline-wrap::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--primary-blue),
    var(--primary-dark)
  );
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  right: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow:
    0 0 0 4px var(--bg-primary),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-item h4 {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .service-split-hero {
    flex-direction: column;
    min-height: auto;
  }
  .split-visual {
    min-height: 250px;
  }
  .split-info {
    padding: 40px 20px;
  }
  .split-info h1 {
    font-size: 1.8rem;
  }
}

/* ── Service Layout 3: Centered Hero with Floating Card ── */

.service-centered-hero {
  min-height: 60vh;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 160px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.service-centered-hero .hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.service-centered-hero .hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 42, 191, 0.85) 0%, rgba(20, 28, 120, 0.92) 100%);
  z-index: 1;
}

.service-centered-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.centered-hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
  padding: 20px;
}

.centered-hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  color: #fff;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.centered-hero-content h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.centered-hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

.centered-breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.centered-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.centered-breadcrumb a:hover {
  color: #fff;
}

.centered-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  margin: 0 8px;
}

.centered-breadcrumb .current {
  color: #fff;
}

/* Floating Detail Card */
.service-detail-card {
  max-width: 900px;
  margin: -100px auto 50px;
  padding: 0 20px;
  position: relative;
  z-index: 20;
}

.detail-card-inner {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  padding: 50px 40px;
}

.detail-card-inner h2 {
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-align: center;
}

/* Accordion Features */
.accordion-features {
  margin-bottom: 40px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.accordion-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.accordion-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  background: var(--bg-primary);
  transition: background 0.3s;
  user-select: none;
}

.accordion-header:hover {
  background: var(--bg-secondary);
}

.accordion-header .acc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.accordion-header h4 {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.accordion-header .toggle-icon {
  color: var(--text-muted);
  transition: transform 0.3s;
  font-size: 0.85rem;
}

.accordion-item.open .toggle-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}

.accordion-item.open .accordion-body {
  max-height: 200px;
  padding: 0 20px 18px;
}

.accordion-body p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Numbered Steps in Card */
.card-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card-step {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  transition: transform 0.3s;
}

.card-step:hover {
  transform: translateY(-3px);
}

.card-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.card-step h4 {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-centered-hero {
    min-height: 50vh;
    padding: 40px 16px 120px;
  }
  .centered-hero-content h1 {
    font-size: 1.8rem;
  }
  .centered-hero-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  .service-detail-card {
    margin: -60px auto 40px;
  }
  .detail-card-inner {
    padding: 30px 20px;
  }
  .card-steps {
    grid-template-columns: 1fr;
  }
}
