/* WASHING MACHINE SERVICE PAGE STYLES */

/* ===== WM HERO – Diagonal Split ===== */
.wm-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding-top: 70px;
}

.wm-hero-left {
  background: linear-gradient(160deg, #152952 0%, #1e3d7a 50%, #2a6bbf 100%);
  padding: 80px 60px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
}

.wm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  width: fit-content;
  animation: fadeInUp 0.6s ease both;
}

.wm-hero-left h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.wm-hero-left h1 span { color: #FFE0B2; }

.wm-hero-left p {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 460px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.wm-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 0.6s 0.3s ease both; }

/* WM Hero Right */
.wm-hero-right {
  background: linear-gradient(160deg, #1B2A3B 0%, #2C3E50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  animation: slideInRight 0.8s 0.3s ease both;
}

.wm-visual-grid {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wm-type-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
  cursor: pointer;
}

.wm-type-card.active {
  background: rgba(255, 112, 67, 0.2);
  border-color: rgba(255, 112, 67, 0.5);
}

.wm-type-icon { font-size: 1.5rem; }

.wm-type-card span:not(.wm-type-icon) {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  flex: 1;
}

.wm-type-card small { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.wm-progress-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.wm-prog-label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }

.wm-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}

.wm-prog-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, #2a6bbf, #FFB300);
  border-radius: 3px;
  animation: progress-anim 2s ease forwards;
}

@keyframes progress-anim {
  from { width: 0; }
  to { width: 75%; }
}

.wm-prog-status {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
}

.wm-prog-status.active-step { color: #FFB300; font-weight: 600; }

/* ===== WM TYPES SECTION ===== */
.wm-types-section { background: var(--off-white); }

.wm-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.wm-type-detail {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.wm-type-detail:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

.wm-type-header {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wm-type-header.blue { background: linear-gradient(135deg, #1565C0, #1976D2); }
.wm-type-header.orange { background: linear-gradient(135deg, #152952, #1e3d7a); }
.wm-type-header.green { background: linear-gradient(135deg, #1B5E20, #2E7D32); }

.wmth-icon { font-size: 2rem; }
.wm-type-header h3 { color: white; font-size: 1rem; font-weight: 700; }

.wm-type-body { padding: 24px; }
.wm-type-body p { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.wm-type-body ul { margin-bottom: 20px; }
.wm-type-body li { font-size: 0.82rem; color: var(--text-mid); padding: 4px 0; font-weight: 500; }

/* ===== PROBLEMS TIMELINE ===== */
.wm-problems-section { background: var(--white); }

.wm-problems-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.wm-problem-timeline {
  position: relative;
  padding-left: 30px;
}

.wm-problem-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, #2a6bbf, #152952);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 20px;
}

.tl-dot {
  position: absolute;
  left: -22px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #2a6bbf;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #2a6bbf;
}

.tl-content {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border-left: 3px solid #2a6bbf;
}

.tl-content h4 { font-size: 0.95rem; font-weight: 700; color: #21446E; margin-bottom: 6px; }
.tl-content p { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }

/* ===== INLINE CTA ===== */
.wm-inline-cta {
  background: linear-gradient(135deg, #152952 0%, #2a6bbf 100%);
  padding: 50px 24px;
}

.wm-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.wm-cta-content h2 { color: white; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.wm-cta-content p { color: rgba(255,255,255,0.85); font-size: 1rem; }
.wm-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FAQ ===== */
.wm-faq { background: var(--off-white); }

.wm-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}

.faq-item { border: 1px solid var(--mid-gray); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  font-family: var(--font-primary);
  transition: var(--transition);
}
.faq-question:hover { color: #1e3d7a; }
.faq-icon { font-size: 1.2rem; font-weight: 700; flex-shrink: 0; transition: transform 0.3s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; font-size: 0.875rem; color: var(--text-light); line-height: 1.8; }
.faq-answer.show { display: block; animation: fadeInUp 0.3s ease; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .wm-hero { grid-template-columns: 1fr; }
  .wm-hero-left { clip-path: none; padding: 100px 32px 60px; }
  .wm-hero-right { display: none; }
  .wm-types-grid { grid-template-columns: 1fr; max-width: 500px; margin: 56px auto 0; }
  .wm-problems-layout { grid-template-columns: 1fr; }
  .wm-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wm-cta-content { flex-direction: column; text-align: center; }
  .wm-cta-btns { justify-content: center; }
  .wm-hero-left { padding: 100px 20px 50px; }
}
