/* Services Pages */

/* ============================================
   Services Page Hero - Dark style
   ============================================ */
.services-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 50vh;
  overflow: hidden;
  color: #FFFFFF;
}

.services-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1B2A4A 50%, #0a0a0a 100%);
}

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

.services-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.services-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: var(--space-xl);
}

.services-hero__title {
  font-family: var(--font-family-en);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-black);
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.services-hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--font-weight-regular);
}

/* ============================================
   Service Blocks
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-section);
  border-bottom: none;
  border-image: linear-gradient(to right, transparent, var(--color-accent), transparent) 1;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.service-block:last-child {
  border-bottom: none;
  border-image: none;
  padding-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .service-block {
    grid-template-columns: 1fr 1fr;
  }

  .service-block--reverse {
    direction: rtl;
  }

  .service-block--reverse > * {
    direction: ltr;
  }
}

/* Visual area - enhanced */
.service-block__visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
  transition: transform var(--transition-normal);
}

.service-block:hover .service-block__visual {
  transform: scale(1.02);
}

.service-block__visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.service-block__visual-number {
  font-family: var(--font-family-en);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-accent);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 600ms ease, -webkit-text-stroke-color 600ms ease;
}

.service-block:hover .service-block__visual-number {
  opacity: 0.25;
  -webkit-text-stroke-color: var(--color-accent-light);
}

.service-block__visual-name {
  font-family: var(--font-family-en);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-accent);
  opacity: 0.5;
}

.service-block__visual-icon {
  color: var(--color-accent);
  opacity: 0.4;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.service-block:hover .service-block__visual-icon {
  opacity: 0.7;
  transform: scale(1.1);
}

/* Content area */
.service-block__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.service-block__number {
  font-family: var(--font-family-en);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  letter-spacing: var(--letter-spacing-widest);
}

.service-block__title {
  font-family: var(--font-family-en);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-black);
  letter-spacing: var(--letter-spacing-wide);
}

.service-block__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

.service-block__text {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* Feature list */
.service-block__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0;
}

.service-block__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.service-block__features li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

/* ============================================
   Service Detail Pages (shared)
   ============================================ */
.service-detail-intro {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-subtle);
  border-radius: var(--radius-md);
  color: var(--color-accent);
}

.feature-item__icon svg {
  width: 24px;
  height: 24px;
}

.feature-item__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
}

.feature-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* Process / Flow */
.process-list {
  max-width: 700px;
  margin-inline: auto;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.process-item {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-xl);
  position: relative;
}

.process-item:last-child {
  padding-bottom: 0;
}

.process-item__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-family: var(--font-family-en);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  z-index: 1;
}

.process-item__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
}

.process-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-list details {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-list summary {
  padding: var(--space-md) 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--font-family-en);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-regular);
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details .faq-answer {
  padding-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

/* ============================================
   CTA Section (shared with home.css)
   ============================================ */
.cta-section {
  position: relative;
  text-align: center;
  background-color: var(--color-accent-dark);
  color: var(--color-white);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(74, 111, 165, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
}

.cta-section__text {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-inline: auto;
}

.cta-section .btn--primary {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--color-accent-dark);
}

.cta-section .btn--primary:hover,
.cta-section .btn--primary:focus-visible {
  background-color: #93B5E1;
  border-color: #93B5E1;
  color: #0a0a0a;
  box-shadow: 0 4px 20px rgba(147, 181, 225, 0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .service-block__visual,
  .service-block__visual-icon {
    transition: none;
  }

  .service-block:hover .service-block__visual {
    transform: none;
  }
}
