/* ==========================================================================
   ROMTHERM GROUP — SERVICE PAGES STYLESHEET (service-pages.css)
   Dedicated high-performance styles for specialized SEO service landing pages:
   - Frigidere & Combine Frigorifice
   - Aer Condiționat & Climatizare
   - Centrale Termice
   - Reparații Mașini de Spălat
   ========================================================================== */

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 14px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: var(--text-light);
  font-size: 14px;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

/* ── Service Page Hero ── */
.sp-hero {
  position: relative;
  background: radial-gradient(circle at 85% 25%, #e8f2fc 0%, #f6f9fc 45%, #ffffff 85%);
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.sp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.sp-hero-copy {
  z-index: 2;
}
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #ffffff;
  border: 1px solid #c9dff5;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  box-shadow: var(--shadow-xs);
  margin-bottom: 12px;
}
.sp-badge span.dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(11, 158, 67, 0.25);
}
.sp-hero h1 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--primary);
}
.sp-hero h1 span.gradient-text {
  background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sp-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 22px;
  max-width: 580px;
}
.sp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.sp-actions .button {
  padding: 12px 22px;
  font-size: 14.5px;
  min-height: 44px;
}
.sp-hero-badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(8, 36, 62, 0.08);
}
.sp-hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.sp-hero-badge-item .icon {
  width: 17px;
  height: 17px;
}

/* Service Hero Visual Card */
.sp-hero-visual {
  position: relative;
  z-index: 2;
}
.sp-hero-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 234, 242, 0.9);
}
.sp-hero-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.sp-hero-floating-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(226, 234, 242, 0.8);
}
.sp-floating-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-floating-left .icon {
  width: 24px;
  height: 24px;
}
.sp-floating-left strong {
  display: block;
  font-size: 13.5px;
  color: var(--primary);
  line-height: 1.2;
}
.sp-floating-left span {
  font-size: 12px;
  color: var(--text-muted);
}
.sp-pill-tag {
  padding: 4px 10px;
  background: var(--emerald-light);
  color: var(--emerald-hover);
  font-size: 11.5px;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ── Benefits / Guarantees Strip ── */
.sp-benefits-strip {
  padding: 32px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.sp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sp-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.sp-benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.sp-benefit-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sp-benefit-icon-box .icon {
  width: 22px;
  height: 22px;
}
.sp-benefit-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 4px;
  line-height: 1.25;
}
.sp-benefit-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* ── Content Section Layouts ── */
.sp-section {
  padding: 64px 0;
}
.sp-section.alt-bg {
  background: #ffffff;
}
.sp-section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
}
.sp-section-head h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.8px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.sp-section-head p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Problem & Symptoms Grid ── */
.sp-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-problem-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.sp-problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #bad6f2;
}
.sp-problem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.sp-problem-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 10px;
  line-height: 1.3;
}
.sp-problem-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
  flex-grow: 1;
}
.sp-problem-fix {
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.45;
}
.sp-problem-fix strong {
  color: var(--blue);
}

/* ── Process / How We Work ── */
.sp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.sp-process-step {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xs);
}
.sp-step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.35);
}
.sp-step-icon {
  width: 48px;
  height: 48px;
  margin: 10px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-step-icon .icon {
  width: 36px;
  height: 36px;
}
.sp-process-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 8px;
}
.sp-process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Service Detail Deep Dive (SEO Rich Text Block) ── */
.sp-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}
.sp-detail-content h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 16px;
  letter-spacing: -0.6px;
  line-height: 1.25;
}
.sp-detail-content p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.sp-checklist {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}
.sp-checklist li .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.sp-detail-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.sp-detail-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 12px;
}
.sp-detail-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 18px;
}
.sp-price-highlight {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.sp-price-highlight .val {
  font-size: 28px;
  font-weight: 900;
  color: var(--emerald-hover);
}
.sp-price-highlight .sub {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Brands Supported ── */
.sp-brands-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.sp-brand-pill {
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), border-color var(--transition);
}
.sp-brand-pill:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
}

/* ── FAQ Accordion ── */
.sp-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition);
}
.sp-faq-item:hover {
  border-color: #bad6f2;
}
.sp-faq-item summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
}
.sp-faq-item summary::-webkit-details-marker {
  display: none;
}
.sp-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  transition: transform 0.2s ease;
}
.sp-faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.sp-faq-body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.sp-faq-body p:last-child {
  margin-bottom: 0;
}

/* ── CTA Banner ── */
.sp-cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3860 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg);
  margin-top: 30px;
}
.sp-cta-banner h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.sp-cta-banner p {
  font-size: 16px;
  color: #cde0f2;
  margin: 0;
  line-height: 1.5;
  max-width: 580px;
}
.sp-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Responsive Adaptations ── */
@media (max-width: 1024px) {
  .sp-hero-grid,
  .sp-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sp-hero-card img {
    height: 280px;
  }
  .sp-benefits-grid,
  .sp-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .sp-cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .sp-hero {
    padding: 28px 0 24px;
  }
  .sp-hero h1 {
    font-size: 26px;
  }
  .sp-lead {
    font-size: 15px;
  }
  .sp-actions {
    flex-direction: column;
  }
  .sp-actions .button {
    width: 100%;
    justify-content: center;
  }
  .sp-benefits-grid,
  .sp-process-grid,
  .sp-problems-grid {
    grid-template-columns: 1fr;
  }
  .sp-section {
    padding: 44px 0;
  }
  .sp-cta-buttons .button {
    width: 100%;
    justify-content: center;
  }
}
