/**
 * Service pages — uniform layout (all 6 services)
 */

:root {
  --svc-bg: #0a0a0a;
  --svc-surface: rgba(159, 159, 159, 0.08);
  --svc-card: #1c1c1c;
  --svc-text: #e8e8e8;
  --svc-muted: #9f9f9f;
  --svc-heading: #ffffff;
  --svc-accent: #fa871f;
  --svc-border: rgba(218, 218, 218, 0.15);
  --svc-radius: 15px;
  --svc-pill: 50px;
  --font-heading: 'Outfit', Arial, Helvetica, sans-serif;
  --font-body: 'Poppins', Arial, Helvetica, sans-serif;
  --container: 1280px;
  --svc-section-y: 72px;
  --svc-card-pad-y: 28px;
  --svc-card-pad-x: 24px;
  --svc-text-gap: 14px;
}

body.page-service {
  background: var(--svc-bg);
  color: var(--svc-text);
  font-family: var(--font-body);
}

body.page-service .site,
body.page-service #page {
  overflow-x: hidden;
}

/* Buttons */
.service-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--svc-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--svc-accent);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

.service-page .btn--gradient {
  background: var(--svc-accent);
  color: #fff;
}

.service-page .btn--gradient:hover {
  background: transparent;
  color: var(--svc-accent);
}

.service-page .btn--outline {
  background: transparent;
  color: var(--svc-text);
  border-color: var(--svc-border);
}

.service-page .btn--outline:hover {
  border-color: var(--svc-accent);
  color: var(--svc-accent);
}

.service-page .btn--lg {
  padding: 14px 32px;
}

.service-page .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.service-page .container--wide {
  max-width: var(--container);
}

/* Page shell */
.service-page {
  position: relative;
  overflow: hidden;
}

.service-page__glow {
  position: absolute;
  top: 80px;
  left: -15%;
  width: 55%;
  height: 420px;
  background: radial-gradient(ellipse, rgba(250, 135, 31, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.service-page__glow--right {
  left: auto;
  right: -15%;
  top: 900px;
}

/* Section typography */
.service-section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--svc-heading);
  line-height: 1.28;
  margin: 0 0 18px;
}

.service-section-desc {
  max-width: 640px;
  color: var(--svc-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.service-section-head {
  margin-bottom: 48px;
}

/* Uniform vertical rhythm for all sections */
.service-intro,
.service-outcomes,
.service-showcase,
.service-deliverables,
.service-process,
.service-tech,
.service-why,
.service-related {
  padding-top: var(--svc-section-y);
  padding-bottom: var(--svc-section-y);
}

.service-cta {
  padding-top: var(--svc-section-y);
  padding-bottom: 100px;
}

/* Hero */
.service-hero {
  position: relative;
  padding: 0 0 var(--svc-section-y);
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(250, 135, 31, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.service-hero__inner {
  position: relative;
  z-index: 1;
}

.service-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 14px;
}

.service-breadcrumbs a {
  color: var(--svc-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.service-breadcrumbs a:hover {
  color: var(--svc-accent);
}

.service-breadcrumbs__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--svc-muted);
  opacity: 0.6;
}

.service-breadcrumbs__current {
  color: var(--svc-accent);
}

.service-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-hero__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--svc-accent);
  border: 1px solid var(--svc-border);
  border-radius: var(--svc-pill);
  background: var(--svc-surface);
}

.service-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--svc-heading);
  margin: 0 0 22px;
}

.service-hero__tagline {
  font-size: 17px;
  line-height: 1.75;
  color: var(--svc-muted);
  max-width: 540px;
  margin: 0 0 32px;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-hero__visual {
  min-height: 320px;
  border-radius: var(--svc-radius);
  border: 1px solid var(--svc-border);
  background: linear-gradient(145deg, #1c1c1c 0%, #111 100%);
  overflow: hidden;
  position: relative;
}

.service-hero__visual-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: radial-gradient(circle at 50% 40%, rgba(250, 135, 31, 0.18) 0%, transparent 60%);
}

.service-hero__icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--svc-accent);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
  box-shadow: 0 20px 60px rgba(250, 135, 31, 0.25);
}

/* Service icon sprites */
.service-hero__icon--ui-ux,
.service-related-card__icon--ui-ux {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3C/svg%3E");
}

.service-hero__icon--web-development,
.service-related-card__icon--web {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M16 18l6-6-6-6M8 6l-6 6 6 6'/%3E%3C/svg%3E");
}

.service-hero__icon--mobile-app,
.service-related-card__icon--mobile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3C/svg%3E");
}

.service-hero__icon--devops,
.service-related-card__icon--devops {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3C/svg%3E");
}

.service-hero__icon--seo-solution,
.service-related-card__icon--seo {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
}

.service-hero__icon--ai-development,
.service-related-card__icon--ai {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a4 4 0 014 4v2H8V6a4 4 0 014-4z'/%3E%3Crect x='4' y='8' width='16' height='14' rx='2'/%3E%3C/svg%3E");
}

/* Intro */
.service-intro {
  padding-top: 0;
}

.service-intro .service-section-title {
  margin-bottom: 20px;
}

.service-intro__content {
  max-width: 860px;
}

.service-intro__content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--svc-text);
  margin: 0 0 20px;
}

.service-intro__content p:last-child {
  margin-bottom: 0;
}

.service-intro__points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.service-intro__points li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--svc-text);
}

.service-intro__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--svc-accent);
}

/* Outcomes */
.service-outcomes {
  padding-top: 0;
}

.service-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.service-outcome-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 148px;
  padding: var(--svc-card-pad-y) var(--svc-card-pad-x);
  border-radius: var(--svc-radius);
  background: var(--svc-card);
  border: 1px solid var(--svc-border);
  text-align: center;
}

.service-outcome-card__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--svc-accent);
  line-height: 1.1;
  margin: 0 0 14px;
}

.service-outcome-card__label {
  font-size: 13px;
  line-height: 1.55;
  color: var(--svc-muted);
  margin: 0;
}

/* Showcase banner */
.service-showcase {
  padding-top: 0;
  padding-bottom: var(--svc-section-y);
}

.service-showcase__frame {
  min-height: 280px;
  border-radius: var(--svc-radius);
  border: 1px solid var(--svc-border);
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.service-showcase__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(250, 135, 31, 0.15) 0%, transparent 55%);
}

.service-showcase--ui-ux .service-showcase__frame {
  background: linear-gradient(135deg, #1a1510 0%, #221a12 50%, #1a1510 100%);
}

.service-showcase--web-development .service-showcase__frame {
  background: linear-gradient(135deg, #101418 0%, #141c24 50%, #101418 100%);
}

.service-showcase--mobile-app .service-showcase__frame {
  background: linear-gradient(135deg, #12101a 0%, #1a1428 50%, #12101a 100%);
}

.service-showcase--devops .service-showcase__frame {
  background: linear-gradient(135deg, #0f1410 0%, #142018 50%, #0f1410 100%);
}

.service-showcase--seo-solution .service-showcase__frame {
  background: linear-gradient(135deg, #14100a 0%, #1e180c 50%, #14100a 100%);
}

.service-showcase--ai-development .service-showcase__frame {
  background: linear-gradient(135deg, #140f1a 0%, #1e1428 50%, #140f1a 100%);
}

/* Deliverables */
.service-deliverables {
  background: var(--svc-surface);
}

.service-deliverables__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.service-deliverable-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--svc-card-pad-y) var(--svc-card-pad-x);
  border-radius: var(--svc-radius);
  background: var(--svc-card);
  border: 1px solid var(--svc-border);
  transition: border-color 0.25s, transform 0.25s;
}

.service-deliverable-card:hover {
  border-color: rgba(250, 135, 31, 0.4);
  transform: translateY(-2px);
}

.service-deliverable-card__icon {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 0 18px;
  border-radius: 50%;
  background: var(--svc-accent);
  opacity: 0.9;
  flex-shrink: 0;
}

.service-deliverable-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--svc-heading);
  line-height: 1.3;
  margin: 0 0 14px;
}

.service-deliverable-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--svc-muted);
  margin: 0;
  flex: 1;
}

/* Process */
.service-process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-process__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--svc-border);
}

.service-process__item:last-child {
  border-bottom: none;
}

.service-process__num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--svc-accent);
  opacity: 0.8;
  line-height: 1;
  padding-top: 4px;
}

.service-process__body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--svc-heading);
  line-height: 1.3;
  margin: 0 0 12px;
}

.service-process__body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--svc-muted);
  margin: 0;
}

/* Tech tags */
.service-tech {
  background: var(--svc-surface);
}

.service-tech__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tech .service-section-title {
  margin-bottom: 24px;
}

.service-tech__tag {
  padding: 11px 18px;
  border-radius: var(--svc-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--svc-text);
  background: var(--svc-card);
  border: 1px solid var(--svc-border);
}

/* Why */
.service-why__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.service-why__content .service-section-title {
  margin-bottom: 16px;
}

.service-why__trust {
  font-size: 16px;
  line-height: 1.7;
  color: var(--svc-muted);
  margin: 0;
}

.service-why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-why__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--svc-text);
}

.service-why__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--svc-accent);
}

/* Related */
.service-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.service-related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--svc-card);
  border: 1px solid var(--svc-border);
  text-decoration: none;
  color: var(--svc-text);
  transition: border-color 0.2s, background 0.2s;
}

.service-related-card:hover {
  border-color: rgba(250, 135, 31, 0.45);
  background: var(--svc-surface);
  color: var(--svc-accent);
}

.service-related-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--svc-accent);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.service-related-card__title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.service-related-card__arrow {
  font-size: 18px;
  opacity: 0.5;
}

/* CTA */
.service-cta__inner {
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--svc-radius);
  background: linear-gradient(145deg, #1c1c1c 0%, #141414 100%);
  border: 1px solid var(--svc-border);
  position: relative;
  overflow: hidden;
}

.service-cta__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(250, 135, 31, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.service-cta__inner h2 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--svc-heading);
  line-height: 1.25;
  margin: 0 0 16px;
}

.service-cta__inner > p {
  position: relative;
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--svc-muted);
}

.service-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-hero__grid {
    grid-template-columns: 1fr;
  }

  .service-hero__visual {
    min-height: 240px;
  }

  .service-outcomes__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-deliverables__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-why__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-hero {
    padding-top: 24px;
  }

  .service-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-hero__actions .btn {
    width: 100%;
  }

  .service-outcomes__grid,
  .service-deliverables__grid,
  .service-related__grid {
    grid-template-columns: 1fr;
  }

  .service-process__item {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .service-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-cta__actions .btn {
    width: 100%;
  }
}
