/* ══════════════════════════════════════════════════════════
   SERVICES PAGE — Banner
══════════════════════════════════════════════════════════ */
.services-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 40, 0.4) 0%,
    rgba(10, 20, 40, 0.85) 100%
  );
}

.services-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.services-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--primary);
  font-family: var(--font-manrope);
  font-optical-sizing: auto;
  border-radius: 999px;
  padding: 5px 16px;
  width: fit-content;
}

.services-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  text-wrap: balance;
  max-width: 780px;
}

.services-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  line-height: 1.6;
}

.services-hero__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   SERVICES GRID SECTION
══════════════════════════════════════════════════════════ */
.services-section {
  padding: 5rem 0 6rem;
  background: var(--muted);
}

.services-section__header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.services-section__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: hsl(350 87% 42% / 0.1);
  padding: 4px 14px;
  border-radius: 999px;
}

.services-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.2;
  max-width: 28ch;
}

.services-section__desc {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 56ch;
  line-height: 1.7;
}

/* ── Responsive auto-fill grid ──────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 2rem;
}

/* ── Card ───────────────────────────────────────────────── */
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}

/* ── Card image wrapper ─────────────────────────────────── */
.service-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card__img {
  transform: scale(1.08);
}

/* ── Hover overlay ──────────────────────────────────────── */
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 40, 0.72) 0%,
    rgba(10, 20, 40, 0.1) 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.service-card:hover .service-card__overlay {
  opacity: 1;
}

.service-card__overlay-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 6px 16px;
  backdrop-filter: blur(4px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.service-card__overlay-link:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ── Badge ──────────────────────────────────────────────── */
.service-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 3px 12px;
}

/* ── Card body ──────────────────────────────────────────── */
.service-card__body {
  padding: 1.75rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.85rem;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: hsl(350 87% 42% / 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.service-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  max-width: none;
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: gap 0.2s ease;
}

.service-card__link:hover {
  gap: 0.7rem;
}

/* ══════════════════════════════════════════════════════════
   CTA STRIP
══════════════════════════════════════════════════════════ */
.services-cta-strip {
  background: var(--secondary);
  padding: 4rem 0;
}

.services-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.services-cta-strip__text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  color: #fff;
  max-width: 36ch;
  line-height: 1.25;
}

.services-cta-strip__text p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.services-cta-strip__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn--outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
  white-space: nowrap;
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.service-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}