/* ================================================
   SHIWORA Service Detail Pages Stylesheet
   Theme: High-End Corporate Premium Space Dark
   Strict Constraint: ZERO Pixels (100% Responsive)
   Shared styling across all 6 service detail pages.
   ================================================ */

:root {
  /* Detail Page Specific Tokens */
  --sd-cyan-glow: rgba(94, 200, 229, 0.08);
  --sd-teal-glow: rgba(30, 107, 138, 0.06);
  --sd-gold-glow: rgba(94, 200, 229, 0.04);
  --sd-glass-bg: rgba(255, 255, 255, 0.02);
  --sd-glass-card: rgba(22, 42, 69, 0.85);
  --sd-border: rgba(255, 255, 255, 0.08);
  --sd-border-glow: rgba(94, 200, 229, 0.4);

  /* Layout Spacings */
  --sd-sec-pad: 7.5rem;          /* 120px */
  --sd-sec-pad-mob: 3.75rem;      /* 60px */
  --sd-radius-lg: 2.5rem;        /* 40px */
  --sd-radius-md: 1.875rem;      /* 30px */
  --sd-radius-sm: 1.25rem;       /* 20px */
}

@media (max-width: 48rem) {
  :root {
    --sd-sec-pad: var(--sd-sec-pad-mob);
  }
}

/* ── DETAIL HERO SECTION ── */
.detail-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background: #0d1b2e;
  overflow: hidden;
  padding-top: 8.75rem; /* ~140px clear header */
  padding-bottom: 5rem;
  z-index: 1;
}

.detail-hero .hero-visual-deco {
  position: absolute;
  right: -10vw;
  top: 5vh;
  width: 55vw;
  height: 65vh;
  background: radial-gradient(circle, var(--sd-cyan-glow) 0%, transparent 70%);
  filter: blur(5rem);
  pointer-events: none;
  z-index: -1;
}

.detail-hero .hero-glass-blob {
  position: absolute;
  left: -5vw;
  bottom: -10vh;
  width: 40vw;
  height: 50vh;
  background: radial-gradient(circle, var(--sd-teal-glow) 0%, transparent 65%);
  filter: blur(6.25rem);
  pointer-events: none;
  z-index: -1;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.75rem;
  align-items: center;
}

.detail-hero-content {
  text-align: left;
}

.detail-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.9375rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.detail-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.detail-hero h1 span.accent-word {
  color: var(--gold);
}

.detail-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  max-width: 43.75rem;
}

.detail-hero-stats {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.detail-stat-badge {
  background: var(--sd-glass-card);
  border: 0.0625rem solid var(--sd-border);
  padding: 0.625rem 1.5rem;
  border-radius: 6.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  backdrop-filter: blur(0.5rem);
}

.detail-stat-badge .badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0.5rem var(--gold);
}

.detail-stat-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.detail-hero-actions {
  display: flex;
  gap: 1.25rem;
}

.detail-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail-hero-card {
  background: linear-gradient(135deg, rgba(22, 42, 69, 0.9) 0%, rgba(13, 27, 46, 0.95) 100%);
  border: 0.0625rem solid rgba(94, 200, 229, 0.15);
  border-radius: var(--sd-radius-md);
  padding: 2.5rem;
  width: 100%;
  max-width: 28.125rem;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.625rem);
  text-align: left;
}

.detail-hero-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.detail-hero-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.detail-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.detail-feature-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 62rem) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 3.125rem;
  }
  .detail-hero-content {
    text-align: center;
  }
  .detail-hero-tag, .detail-hero-stats, .detail-hero-actions {
    justify-content: center;
  }
  .detail-hero-visual {
    width: 100%;
  }
}

@media (max-width: 48rem) {
  .detail-hero {
    padding-top: 7.5rem;
  }
  .detail-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .detail-hero-actions .btn-gold,
  .detail-hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ── BENTO CAPABILITIES ── */
.sd-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.875rem;
}

.sd-bento-card {
  background: var(--sd-glass-card);
  border: 0.0625rem solid var(--sd-border);
  padding: 3.125rem;
  border-radius: var(--sd-radius-md);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(0.625rem);
}

.sd-bento-card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--sd-border-glow);
  box-shadow: 0 1.875rem 3.75rem rgba(94, 200, 229, 0.1);
}

.sd-card-icon {
  width: 3.75rem;
  height: 3.75rem;
  background: rgba(94, 200, 229, 0.06);
  border: 0.0625rem solid rgba(94, 200, 229, 0.2);
  border-radius: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.875rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.sd-bento-card:hover .sd-card-icon {
  background: var(--gold);
  color: #0d1b2e;
}

.sd-bento-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.sd-bento-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 48rem) {
  .sd-bento-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .sd-bento-card {
    padding: 2.5rem 1.875rem;
  }
}

/* ── ROADMAP TIMELINE ── */
.roadmap-timeline {
  position: relative;
  padding: 3.75rem 0;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.125rem;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(94, 200, 229, 0.3) 10%, rgba(94, 200, 229, 0.3) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  margin-bottom: 5rem;
  position: relative;
  align-items: center;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step:nth-child(even) .timeline-content {
  grid-column: 2;
}

.timeline-step:nth-child(even) .timeline-visual {
  grid-column: 1;
  grid-row: 1;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  background: #0d1b2e;
  border: 0.1875rem solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 0 0.625rem var(--gold);
  transition: transform 0.4s var(--ease);
}

.timeline-step:hover .timeline-dot {
  transform: translate(-50%, -50%) scale(1.3);
}

.timeline-content {
  background: var(--sd-glass-card);
  border: 0.0625rem solid var(--sd-border);
  padding: 2.5rem;
  border-radius: var(--sd-radius-md);
  backdrop-filter: blur(0.625rem);
  text-align: left;
  transition: border-color 0.4s var(--ease);
}

.timeline-step:hover .timeline-content {
  border-color: var(--sd-border-glow);
}

.timeline-num {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-content h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.timeline-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-visual-card {
  background: rgba(255, 255, 255, 0.02);
  border: 0.0625rem solid rgba(255, 255, 255, 0.04);
  border-radius: var(--sd-radius-sm);
  padding: 1.875rem;
  width: 100%;
  text-align: left;
}

.timeline-visual-card h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.timeline-visual-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-visual-card ul li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-visual-card ul li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
}

@media (max-width: 48rem) {
  .roadmap-timeline::before {
    left: 1rem;
  }
  .timeline-dot {
    left: 1rem;
  }
  .timeline-step {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 2.5rem;
  }
  .timeline-step:nth-child(even) .timeline-content {
    grid-column: 1;
  }
  .timeline-step:nth-child(even) .timeline-visual {
    grid-column: 1;
  }
  .timeline-content {
    padding: 1.875rem;
  }
}

/* ── INTERACTIVE CASE STUDY SNIPPET ── */
.sd-case-snippet {
  background: linear-gradient(135deg, rgba(22, 42, 69, 0.9) 0%, rgba(13, 27, 46, 0.95) 100%);
  border: 0.0625rem solid rgba(94, 200, 229, 0.15);
  border-radius: var(--sd-radius-lg);
  padding: 3.75rem;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0.625rem);
}

.sd-case-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.75rem;
  align-items: center;
}

.sd-case-content {
  text-align: left;
}

.sd-case-tag {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.9375rem;
  display: inline-block;
}

.sd-case-content h3 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.sd-case-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.sd-case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.sd-meta-box {
  background: rgba(255, 255, 255, 0.02);
  border: 0.0625rem solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 1rem;
  border-radius: var(--sd-radius-sm);
  text-align: center;
}

.sd-meta-val {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
}

.sd-meta-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

.sd-case-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sd-case-mockup {
  background: rgba(255, 255, 255, 0.02);
  border: 0.0625rem solid var(--sd-border);
  border-radius: var(--sd-radius-md);
  padding: 1.875rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.sd-mockup-badge {
  position: absolute;
  top: 1.875rem;
  right: 1.875rem;
  background: var(--gold);
  color: #0d1b2e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 6.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mockup-item {
  border-left: 0.125rem solid var(--gold);
  padding-left: 1.25rem;
  text-align: left;
}

.mockup-item h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.mockup-item p {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 62rem) {
  .sd-case-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 48rem) {
  .sd-case-snippet {
    padding: 2.5rem var(--svc-wrap-pad);
  }
  .sd-case-meta {
    grid-template-columns: 1fr;
  }
}

/* ── PREMIUM INQUIRY FORM ── */
.sd-booking-form-box {
  background: var(--sd-glass-card);
  border: 0.0625rem solid rgba(94, 200, 229, 0.15);
  border-radius: var(--sd-radius-lg);
  padding: 3.75rem;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(0.625rem);
  max-width: 56.25rem;
  margin: 0 auto;
}

.sd-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.875rem;
  margin-bottom: 2.5rem;
}

.sd-form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sd-form-group.full-width {
  grid-column: span 2;
}

.sd-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

.sd-form-group input,
.sd-form-group select,
.sd-form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 0.0625rem solid var(--sd-border);
  padding: 1.125rem 1.5rem;
  border-radius: 0.9375rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  outline: none;
}

.sd-form-group input:focus,
.sd-form-group select:focus,
.sd-form-group textarea:focus {
  border-color: var(--sd-border-glow);
  box-shadow: 0 0 0.625rem rgba(94, 200, 229, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.sd-form-group select option {
  background: #0d1b2e;
  color: #ffffff;
}

.sd-form-group textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.sd-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (max-width: 48rem) {
  .sd-booking-form-box {
    padding: 2.5rem 1.875rem;
  }
  .sd-form-grid {
    grid-template-columns: 1fr;
  }
  .sd-form-group.full-width {
    grid-column: span 1;
  }
}

/* ── SUCCESS SCREEN OVERLAY & FORM VALIDATION ── */
.sd-booking-form-box {
  position: relative; /* Essential for containing the absolute success overlay */
}

/* Error borders */
.sd-form-group input.field-error,
.sd-form-group textarea.field-error,
.sd-form-group select.field-error {
  border-color: rgba(235, 87, 87, 0.8) !important;
  box-shadow: 0 0 0.5rem rgba(235, 87, 87, 0.2) !important;
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #eb5757;
  margin-top: 0.375rem;
  font-weight: 500;
}

.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1b2e;
  border-radius: var(--sd-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.5s var(--ease);
}

@media (max-width: 48rem) {
  .form-success-overlay {
    padding: 1.75rem;
  }
}

.form-success-overlay.overlay-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.success-content {
  text-align: center;
  max-width: 25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.success-icon-box {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(94, 200, 229, 0.1);
  border: 0.125rem solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 1.25rem rgba(94, 200, 229, 0.2);
}

.success-check {
  width: 2.25rem;
  height: 2.25rem;
}

.success-content h3 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.success-thank-msg {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.success-detail-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.success-timer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.highlight-cyan {
  color: var(--gold);
  font-weight: 700;
}

/* Animations */
.overlay-open .success-icon-box {
  animation: bounceIn 0.6s var(--ease) forwards;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

