﻿/* Services page styles */
.services-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(6, 12, 28, 0.94) 0%, rgba(6, 12, 28, 0.78) 44%, rgba(6, 12, 28, 0.4) 100%),
    url("assets/img/E11EOJ9.avif") center / cover no-repeat;
  padding: 118px 0 78px;
}

.services-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 82%, rgba(212, 175, 55, 0.16), transparent 35%),
    radial-gradient(circle at 76% 16%, rgba(212, 175, 55, 0.08), transparent 32%);
}

.services-hero-inner {
  position: relative;
  z-index: 2;
}

.services-hero-content h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}

.services-hero-sub {
  color: rgba(255, 255, 255, 0.8);
  max-width: 64ch;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 28px;
}

.services-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.services-list {
  padding: 76px 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(212, 175, 55, 0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.12);
}

.service-media {
  height: 190px;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-body {
  padding: 16px 16px 18px;
}

.service-body h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.service-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.95rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}



.service-card-link:hover::after,
.service-card-link:focus-visible::after {
  transform: translateX(2px);
}

.services-cta {
  padding: 20px 0 76px;
}

.services-seo {
  padding: 8px 0 30px;
}

.services-seo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.services-seo-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.06);
  padding: 24px 22px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.services-seo-card h2,
.services-seo-card h3 {
  margin: 0 0 12px;
  color: var(--brand-dark);
}

.services-seo-card h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.services-seo-card h3 {
  font-size: 1.1rem;
}

.services-seo-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.services-seo-visual {
  padding: 0;
  overflow: hidden;
}

.services-seo-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.services-cta-panel {
  background: linear-gradient(135deg, rgba(8, 15, 32, 0.9), rgba(20, 42, 76, 0.84));
  color: #fff;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 34px 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
  box-shadow: 0 24px 66px rgba(2, 6, 23, 0.24);
}

.services-cta-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.services-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-cta-panel {
    grid-template-columns: 1fr;
  }
  .services-cta-actions {
    justify-content: flex-start;
  }
  .services-seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: auto;
    padding: 90px 0 58px;
  }
  .services-list {
    padding: 52px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-media {
    height: 210px;
  }
  .services-cta {
    padding: 10px 0 52px;
  }
  .services-seo {
    padding: 4px 0 18px;
  }
  .services-cta-panel {
    padding: 26px 20px;
  }
}

@media (max-width: 520px) {
  .services-hero-sub {
    font-size: 0.95rem;
  }
  .services-hero-actions {
    flex-direction: column;
  }
  .services-hero-actions .btn,
  .services-hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .service-media {
    height: 180px;
  }
  .services-cta-actions {
    flex-direction: column;
  }
  .services-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}



