/* Service Cards & Value Cards */
.card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: background-color 180ms ease, transform 180ms ease;
}

.card:hover {
  background: var(--surface-container-high);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.375rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--on-surface-variant);
  font-weight: 300;
}

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon svg {
  width: 100%;
  height: 100%;
  color: var(--primary);
}

.card-grid {
  margin-top: var(--space-10);
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 48rem) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Section Wrappers */
.section {
  position: relative;
}

.section--light {
  background: color-mix(in srgb, var(--surface-container-low) 92%, transparent);
}

.section--dark {
  background: var(--on-surface);
  color: var(--surface);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--primary-fixed-dim) 25%, transparent), transparent 45%);
  pointer-events: none;
}

.section--dark .container {
  position: relative;
}

.section--dark h2 {
  max-width: 24ch;
}

.section--dark p {
  max-width: 68ch;
  color: var(--inverse-on-surface);
  font-weight: 300;
  margin-top: var(--space-6);
}

.section--panel {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.section-panel {
  background: var(--surface-container-lowest);
  border-radius: 3rem;
  padding: var(--space-10);
  text-align: center;
  box-shadow: 0 0 3rem color-mix(in srgb, var(--on-surface) 5%, transparent);
}

.section-panel h2 {
  margin-top: 0;
}

.section-panel__actions {
  margin-top: var(--space-8);
  display: grid;
  justify-content: center;
  gap: var(--space-4);
}

@media (min-width: 48rem) {
  .section-panel__actions {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Service Details Section */
.service-detail {
  margin-bottom: var(--space-16);
}

.service-detail h2 {
  font-size: 1.625rem;
  margin-bottom: var(--space-4);
  color: var(--on-surface);
}

.service-detail > p {
  max-width: 80ch;
  color: var(--on-surface-variant);
  margin-bottom: var(--space-6);
  font-weight: 400;
}

.service-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}

.service-detail li {
  color: var(--on-surface-variant);
  padding-left: var(--space-6);
  position: relative;
}

.service-detail li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Process Flow */
.process-flow {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.process-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.process-step__number {
  min-width: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.process-step__content {
  flex: 1;
  padding-top: var(--space-1);
}

.process-step__title {
  margin: 0 0 var(--space-2);
  font-weight: 600;
  color: var(--on-surface);
}

.process-step__description {
  margin: 0;
  color: var(--on-surface-variant);
  font-size: 0.95rem;
}

@media (min-width: 48rem) {
  .process-flow {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .process-step {
    flex: 1;
    flex-direction: column;
    gap: var(--space-2);
  }

  .process-step__number {
    margin-bottom: var(--space-2);
  }
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.cta-buttons--center {
  justify-content: center;
}

/* Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--space-20);
  background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--primary-container) 8%, transparent), transparent 60%), var(--surface);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -25% -20%;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

.hero::before {
  background: conic-gradient(
    from 120deg,
    color-mix(in srgb, var(--primary-container) 36%, transparent),
    color-mix(in srgb, var(--primary-fixed-dim) 30%, transparent),
    color-mix(in srgb, var(--secondary-container) 26%, transparent),
    color-mix(in srgb, var(--primary-container) 36%, transparent)
  );
  filter: blur(44px);
  opacity: 0.55;
  animation: auroraShift 11s ease-in-out infinite alternate;
}

.hero::after {
  background: radial-gradient(
    circle at 28% 36%,
    color-mix(in srgb, var(--secondary-container) 38%, transparent),
    transparent 54%
  );
  filter: blur(28px);
  opacity: 0.55;
  animation: auroraPulse 7.5s ease-in-out infinite;
}

.hero__layout {
  display: grid;
  gap: var(--space-12);
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 var(--space-6);
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 13ch;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  margin: 0;
  max-width: 56ch;
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  font-weight: 300;
}

.hero__actions {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__card {
  border-radius: calc(var(--radius-lg) + var(--space-2));
  background: var(--surface-container-lowest);
  padding: var(--space-6);
  box-shadow: 0 0 3rem color-mix(in srgb, var(--on-surface) 6%, transparent);
  align-self: center;
}

.hero__card p {
  margin: 0;
  color: var(--on-surface);
  font-weight: 500;
  font-size: 1rem;
}

@keyframes auroraShift {
  0% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1.02);
  }
  100% {
    transform: translate3d(3%, 2%, 0) rotate(16deg) scale(1.08);
  }
}

@keyframes auroraPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.98);
    opacity: 0.35;
  }
  50% {
    transform: translate3d(2%, -1%, 0) scale(1.08);
    opacity: 0.62;
  }
}

@media (min-width: 48rem) {
  .hero__layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

/* Breadcrumb navigation */
.breadcrumb {
  margin-bottom: var(--space-6);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: color-mix(in srgb, var(--on-surface-variant) 60%, transparent);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: var(--on-surface);
  font-weight: 500;
}

/* Page Hero (simple, no sidebar) */
.page-hero {
  position: relative;
  padding-block: var(--space-16) var(--space-12);
  background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--primary-container) 8%, transparent), transparent 60%), var(--surface);
}

.page-hero h1 {
  margin: 0 0 var(--space-4);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 20ch;
}

.page-hero p {
  margin: 0;
  max-width: 80ch;
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  font-weight: 300;
}
