/* ============================================================
   SERVICES PAGE — Specific Styles
   ============================================================ */

/* ── Page Header ─────────────────────────────────────── */
.services-page-header {
  background: linear-gradient(135deg, #0d1b3e 0%, #162348 60%, #1a2d5a 100%);
  padding: 100px 0 56px;
  position: relative;
  overflow: hidden;
}
.services-header-shapes { position: absolute; inset: 0; pointer-events: none; }
.hshape { position: absolute; border-radius: 50%; opacity: 0.06; }
.hshape-1 { width: 440px; height: 440px; background: radial-gradient(circle, var(--yellow) 0%, transparent 70%); top: -160px; right: -100px; }
.hshape-2 { width: 260px; height: 260px; background: radial-gradient(circle, #4a9eff 0%, transparent 70%); bottom: -80px; left: -50px; }

.page-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 2; }
.page-header-inner h1 { color: var(--white); margin: 10px 0 8px; }
.page-header-inner p { color: rgba(255,255,255,0.6); max-width: 440px; font-size: 0.93rem; }

.header-warranty-card {
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(245,197,24,0.25);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(8px);
}
.warranty-icon { font-size: 2rem; }
.header-warranty-card strong { display: block; font-family: var(--font-display); font-size: 0.82rem; color: var(--yellow); margin-bottom: 3px; }
.header-warranty-card span { font-size: 0.76rem; color: rgba(255,255,255,0.5); }

/* ── Filter Bar ─────────────────────────────────────── */
.filter-bar {
  background: var(--white);
  border-bottom: 1.5px solid var(--gray-light);
  position: sticky;
  top: 60px;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
/* Hidden state — slides up and fades out (mobile smart sticky) */
.filter-bar.filter-hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
}
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; color: var(--gray); padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--gray-light); background: transparent; transition: var(--transition); cursor: pointer; }
.filter-btn:hover { color: var(--navy); border-color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-sort { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sort-label { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.sort-select { font-family: var(--font-body); font-size: 0.88rem; color: var(--navy); padding: 7px 12px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); background: var(--white); outline: none; cursor: pointer; }
.sort-select:focus { border-color: var(--yellow); }

/* ── Services Main ──────────────────────────────────── */
.services-main-section { background: var(--off-white); padding-top: 48px; }
.services-category { margin-bottom: 48px; transition: opacity 0.3s, transform 0.3s; }
.services-category.hidden { display: none; }

.category-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--gray-light); }
.category-icon-wrap { width: 52px; height: 52px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.geyser-icon { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.category-title { font-size: 1.6rem; color: var(--navy); margin-bottom: 2px; }
.category-sub { color: var(--gray); font-size: 0.86rem; }
.category-count { margin-left: auto; font-family: var(--font-display); font-size: 0.76rem; font-weight: 700; color: var(--gray); background: var(--gray-light); padding: 5px 14px; border-radius: 100px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }

.services-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Service Card (detailed) */
.svc-card { background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--gray-light); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; position: relative; }
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: transparent; }
.svc-card-top { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 22px 20px 18px; position: relative; overflow: hidden; }
.svc-card-top::after { content: ''; position: absolute; bottom: -24px; right: -24px; width: 100px; height: 100px; background: rgba(255,255,255,0.03); border-radius: 50%; }
.svc-card.geyser-card .svc-card-top { background: linear-gradient(135deg, #1a0a0a 0%, #3d1010 100%); }
.svc-tag-wrap { position: absolute; top: 14px; right: 14px; }
.svc-tag { font-family: var(--font-display); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--yellow); color: var(--navy); padding: 3px 9px; border-radius: 100px; }
.svc-icon-big { font-size: 2.1rem; display: block; margin-bottom: 10px; }
.svc-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); }
.svc-card-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.svc-description { font-size: 0.84rem; color: var(--gray); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.svc-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.svc-price-label { font-size: 0.72rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.svc-price-amount { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1; }
.svc-price-amount .currency { font-size: 1rem; vertical-align: super; font-weight: 700; }
.svc-book-btn { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 11px 16px; background: var(--navy); color: var(--white); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; transition: var(--transition); border: none; cursor: pointer; text-decoration: none; }
.svc-book-btn:hover { background: var(--yellow); color: var(--navy); }

/* Category Divider */
.category-divider { display: flex; align-items: center; gap: 16px; margin: 12px 0 40px; color: var(--gray); font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.category-divider::before, .category-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-light); }

/* ── Brands ─────────────────────────────────────────── */
.brands-we-service { background: var(--white); }
.brands-chips-wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── How It Works ───────────────────────────────────── */
.how-it-works { background: var(--navy); }

/* Steps with arrows — no connecting line */
.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  text-align: center;
  transition: var(--transition);
  margin: 0 4px;
}
.step-card:hover { background: rgba(245,197,24,0.07); border-color: rgba(245,197,24,0.25); transform: translateY(-4px); }
/* Arrow between cards */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 1.5rem;
  padding: 0 2px;
  opacity: 0.8;
  flex-shrink: 0;
  margin-top: -4px;
}
.step-number { font-family: var(--font-display); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em; color: var(--yellow); margin-bottom: 12px; background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.25); display: inline-block; padding: 3px 10px; border-radius: 100px; }
.step-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.step-card h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 8px; }
.step-card p { color: rgba(255,255,255,0.5); font-size: 0.82rem; line-height: 1.55; }

/* ── FAQ ────────────────────────────────────────────── */
.faq-section { background: var(--off-white); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1.5px solid var(--gray-light); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: var(--yellow); box-shadow: 0 4px 20px rgba(245,197,24,0.10); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; user-select: none; }
.faq-q-text { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--navy); }
.faq-arrow { font-size: 1rem; color: var(--gray); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--yellow-hot); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 20px; }
.faq-answer p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; padding-bottom: 16px; }
.faq-item.open .faq-answer { max-height: 300px; padding: 4px 20px 0; }

/* ── CTA Banner ─────────────────────────────────────── */
.cta-banner-services { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 56px 0; position: relative; overflow: hidden; }
.cta-banner-services::before { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 70%); pointer-events: none; }
.cta-services-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 2; }
.cta-text h2 { color: var(--white); margin-bottom: 6px; }
.cta-text p { color: rgba(255,255,255,0.6); font-size: 0.93rem; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-wrap: wrap; gap: 0; }
  .step-arrow { display: none; }
  .step-card { flex: 1 1 calc(50% - 8px); margin: 4px; }
}

@media (max-width: 768px) {
  .services-page-header { padding: 80px 0 36px; }
  .page-header-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .header-warranty-card { width: 100%; }
  .filter-bar { top: 58px; }
  .filter-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 16px; }
  .filter-tabs { flex-wrap: wrap; gap: 6px; }
  .services-full-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-card { margin: 4px 0; flex: unset; }
  .cta-services-inner { flex-direction: column; text-align: center; }
  .category-header { flex-wrap: wrap; }
  .category-count { margin-left: 0; }
}

@media (max-width: 480px) {
  .services-main-section { padding-top: 28px; }
  .filter-btn { font-size: 0.78rem; padding: 7px 12px; }
  .svc-price-amount { font-size: 1.5rem; }
  .step-icon { font-size: 1.7rem; }
  .faq-q-text { font-size: 0.86rem; }
}
