/* ===== SERVICE PAGE TEMPLATE ===== */
.service-page { background: var(--bg-white); }

/* 1. Hero banner — same gradient as home; wider text, shorter height */
.service-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: var(--space-lg) 0;
}
.service-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero.jpg') no-repeat center;
  background-size: cover;
}
.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 31, 46, 0.88) 0%,
    rgba(26, 31, 46, 0.60) 50%,
    rgba(26, 31, 46, 0.40) 100%
  );
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero-content { max-width: 920px; }
.service-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: var(--space-xs);
}
.service-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.service-hero-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}
.service-hero-intro a {
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-hero-intro a:hover { color: #fff; }
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.btn--service-cta {
  background: var(--cta);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn--service-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}
.btn--service-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn--service-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

/* Trust badges under hero CTAs (EEAT) */
.service-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.service-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}
.service-badge-link {
  display: inline-flex;
  align-items: center;
}
.service-badge-link img {
  height: 32px;
  width: auto;
  display: block;
  border-radius: var(--radius);
}

/* Comparison table (AEO structured data) */
.service-comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.95rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.service-comparison-table th,
.service-comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.service-comparison-table th {
  background: var(--dark);
  color: #fff;
  font-weight: 600;
}
.service-comparison-table tbody tr:nth-child(even) {
  background: var(--bg-grey);
}
.service-comparison-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.05);
}
@media (max-width: 640px) {
  .service-comparison-table th,
  .service-comparison-table td { padding: 10px 12px; font-size: 0.875rem; }
}

/* Service gallery (under hero, before content) */
.service-gallery {
  background: var(--bg-white);
  padding: var(--space-xl) 0;
}
.service-gallery-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}
.service-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}
.service-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-grey);
  aspect-ratio: 4 / 3;
}
.service-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.service-gallery-item:hover img {
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .service-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .service-gallery-item { aspect-ratio: 1; }
}

/* Title underline accent */
.service-h1-wrap { margin-bottom: var(--space-md); }
.service-h1-underline {
  width: 60px;
  height: 4px;
  background: var(--cta);
  margin-top: var(--space-sm);
  border-radius: 2px;
}

/* Two-column layout: text left, image right (optional) */
.service-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (min-width: 900px) {
  .service-split { grid-template-columns: 1fr 1fr; }
}
.service-split .service-split-image img { width: 100%; border-radius: var(--radius); }

/* Expert services list with checkmarks */
.service-expert-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  display: grid;
  gap: var(--space-xs);
  grid-template-columns: 1fr;
}
@media (min-width: 500px) {
  .service-expert-list { grid-template-columns: repeat(2, 1fr); }
}
.service-expert-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  color: var(--text-dark);
}
.service-expert-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
}

/* CTA strip (Need a quote? Call now) */
.service-cta-strip {
  background: var(--cta);
  color: #fff;
  padding: var(--space-lg) var(--space-md);
  margin: var(--space-xl) 0;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.service-cta-strip h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
}
.service-cta-strip p { margin: 0; opacity: 0.95; font-size: 0.95rem; }
.service-cta-strip .btn--white {
  background: #fff;
  color: var(--cta);
  padding: 12px 24px;
  font-weight: 600;
}
.service-cta-strip .btn--white:hover { background: var(--bg-grey); color: var(--dark); }

.service-content .content-blocks { max-width: 800px; }
.service-content .section-title { margin-bottom: var(--space-sm); }
.service-content .section-intro { margin-bottom: var(--space-lg); }
.content-block-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.content-blocks p { margin-bottom: var(--space-sm); line-height: 1.7; color: var(--text-dark); }
.content-blocks a { color: var(--cta); text-decoration: underline; text-underline-offset: 3px; }
.content-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0;
}
.content-list li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: var(--space-xs);
}
.content-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cta);
  font-weight: 700;
}
