/* ============================================
   Digital Services Page — Dedicated Styles
   ============================================ */

/* --- Hero Section --- */
.ds-hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(244 97% 14%) 0%, hsl(244 97% 20%) 50%, hsl(244 60% 25%) 100%);
}

.ds-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ds-hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ds-hero__image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.ds-hero__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.ds-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.ds-hero__blob--1 {
  width: 400px;
  height: 400px;
  background: hsla(16, 100%, 60%, 0.15);
  top: -100px;
  right: -100px;
}

.ds-hero__blob--2 {
  width: 300px;
  height: 300px;
  background: hsla(45, 100%, 55%, 0.1);
  bottom: -80px;
  left: -80px;
}

/* --- Section 1: Web Dev Cards --- */
.ds-webdev {
  padding: 5rem 0;
  background: hsl(0 0% 100%);
}

.ds-webdev__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .ds-webdev__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ds-webdev__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ds-webdev__card {
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-webdev__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px hsla(244, 97%, 14%, 0.12);
}

.ds-webdev__card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ds-webdev__card-body {
  padding: 1.5rem;
}

.ds-webdev__card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.ds-webdev__card-body p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* --- Section 4: Graphic Design Masonry --- */
.ds-design {
  padding: 5rem 0;
  background: hsl(0 0% 100%);
}

.ds-design__masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .ds-design__masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ds-design__masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ds-design__card {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-design__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px hsla(244, 97%, 14%, 0.08);
}

.ds-design__card--light {
  background: hsl(0 0% 100%);
}

.ds-design__card--tinted {
  background: hsla(16, 100%, 60%, 0.04);
}

.ds-design__card--accent {
  background: hsla(45, 100%, 55%, 0.06);
}

.ds-design__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(16 100% 60%), hsl(45 100% 55%));
  color: white;
}

.ds-design__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.ds-design__card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* --- Section 2: Frontend Alternating --- */
.ds-frontend {
  padding: 5rem 0;
  background: hsl(var(--muted));
}

.ds-frontend__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ds-frontend__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ds-frontend__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  transition: box-shadow 0.3s ease;
}

.ds-frontend__item:hover {
  box-shadow: 0 10px 30px hsla(244, 97%, 14%, 0.08);
}

@media (min-width: 768px) {
  .ds-frontend__item {
    grid-template-columns: 80px 1fr;
  }
}

.ds-frontend__item-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.ds-frontend__item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.35rem;
}

.ds-frontend__item p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* --- Section 3: SEO Two-Column --- */
.ds-seo {
  padding: 5rem 0;
  background: hsl(0 0% 100%);
}

.ds-seo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ds-seo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ds-seo__card {
  padding: 2rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-seo__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px hsla(244, 97%, 14%, 0.08);
}

.ds-seo__card-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}

.ds-seo__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.ds-seo__card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* --- Bottom CTA --- */
.ds-bottom-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, hsl(244 97% 14%) 0%, hsl(244 97% 20%) 100%);
  text-align: center;
}

.ds-bottom-cta h2 {
  color: hsl(0 0% 100%);
}

.ds-bottom-cta p {
  color: hsla(0, 0%, 100%, 0.8);
}
