/* ===== AFTER-SALES PAGE · Fosi Audio Brand System ===== */

/* Section base */
.as-section {
  background: #050505;
  position: relative;
}

.as-section--light {
  background: #fbfbfd;
  color: #1d1d1f;
}

.as-section--light .section-label {
  color: #86868b;
}

.as-section--light .section-title {
  color: #1d1d1f;
}

.as-section--light .section-subtitle {
  color: #6e6e73;
}

.as-section .section-header {
  margin-bottom: 64px;
}

#warranty {
  scroll-margin-top: 100px;
}

/* ===== 售后保障 ===== */
.as-section--light .section-header {
  margin-bottom: 64px;
}

.as-section--light .section-title {
  letter-spacing: -0.02em;
}

.as-warranty-accent {
  display: block;
  width: 48px;
  height: 4px;
  background: #e60012;
  border-radius: 2px;
  margin: 16px auto 0;
}

.as-warranty-grid {
  display: grid;
  gap: 20px;
}

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

@media (min-width: 1200px) {
  .as-warranty-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.as-warranty-card {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30, 30, 35, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 32px 26px 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.as-warranty-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(230, 0, 18, 0.35) 50%, transparent 100%);
  pointer-events: none;
}

.as-warranty-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.25), transparent 40%, transparent 60%, rgba(230, 0, 18, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.as-warranty-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 0, 18, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 32px 64px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(230, 0, 18, 0.06);
}

.as-warranty-card:hover::before {
  opacity: 1;
}

.as-warranty-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(230, 0, 18, 0.1);
  border: 1px solid rgba(230, 0, 18, 0.12);
  color: #e60012;
  transition: transform 0.3s ease, background 0.3s ease;
}

.as-warranty-card:hover .as-warranty-card-icon {
  transform: scale(1.06);
  background: rgba(230, 0, 18, 0.14);
}

.as-warranty-card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
}

.as-warranty-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.as-warranty-card-sub {
  font-size: 0.9375rem;
  color: #c9a96e;
  margin-bottom: 14px;
  font-weight: 500;
}

.as-warranty-card-desc {
  font-size: 0.875rem;
  color: #a1a1a6;
  line-height: 1.65;
  margin-top: auto;
}

.as-warranty-card-visual {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Metric strip */
.as-metric-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.as-metric-item {
  text-align: center;
}

.as-metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.as-metric-label {
  font-size: 0.6875rem;
  color: #86868b;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.as-metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
}

/* Inline chart visuals */
.as-chart-mountain {
  width: 100%;
  height: 120px;
}

.as-chart-line {
  width: 100%;
  height: 110px;
}

.as-chart-bars {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: center;
  height: 120px;
  padding-bottom: 8px;
}

.as-bar-group {
  text-align: center;
}

.as-bar {
  width: 44px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #c9a96e 0%, #e60012 100%);
  margin: 0 auto 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.as-warranty-card:hover .as-bar {
  transform: scaleY(1.04);
}

.as-bar-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.6);
}

.as-bar-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.as-badge-x {
  display: inline-block;
  background: #e60012;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  vertical-align: middle;
}

.as-cta {
  text-align: center;
  padding: 120px 0 160px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 120%, rgba(230, 0, 18, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 55%),
    #050505;
}

.as-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(230, 0, 18, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 80% 50%, rgba(201, 169, 110, 0.05) 0%, transparent 35%);
  pointer-events: none;
}

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

.as-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.as-cta p {
  font-size: 1.0625rem;
  color: #a1a1a6;
  margin-bottom: 32px;
}

.as-cta-contacts {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  margin-top: 48px;
  padding: 28px 44px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.as-cta-contact-item {
  text-align: center;
}

.as-cta-contact-item span {
  display: block;
  font-size: 0.8125rem;
  color: #6e6e73;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.as-cta-contact-item strong {
  font-size: 1.125rem;
  color: #c9a96e;
  font-weight: 500;
}

@media (max-width: 767px) {
  .as-cta-contacts {
    gap: 28px;
    padding: 24px;
  }
}

/* Reference image placeholder */
.as-warranty-ref {
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.as-warranty-ref img {
  width: 100%;
  display: block;
}

.as-warranty-ref-caption {
  padding: 12px 16px;
  background: #f5f5f7;
  font-size: 0.8125rem;
  color: #86868b;
  text-align: center;
}

/* ===== AFTER-SALES 2 · 首页服务 · Fosi Audio ===== */

/* ── Hero Banner（页面标题）─────────────────────────── */
.as2-hero {
  position: relative;
  width: 100%;
  height: clamp(360px, 48vh, 560px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #0a0a0a;
  margin-top: var(--navbar-height, 80px);
}

/* 全幅背景图：人物在右，左侧留给标题 */
.as2-hero__media {
  position: absolute;
  left: 0;
  right: 0;
  top: -5%;
  bottom: -5%;
}

.as2-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}

/* 左侧加深，保证白字可读；底部过渡到下一区块 */
.as2-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.82) 0%,
      rgba(10, 10, 10, 0.55) 38%,
      rgba(10, 10, 10, 0.18) 62%,
      rgba(10, 10, 10, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.35) 0%,
      transparent 28%,
      transparent 70%,
      rgba(10, 10, 10, 0.45) 100%
    );
}

.as2-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max, 1320px);
  margin: 0 auto;
  padding:
    48px
    var(--container-padding, 24px)
    clamp(48px, 7vh, 80px);
}

.as2-hero__label {
  display: inline-block;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold, #c9a96e);
  margin-bottom: 20px;
}

.as2-hero__title {
  font-family: var(--font-serif, 'HarmonyOS Sans SC', serif);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.as2-hero__desc {
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}

@media (max-width: 767px) {
  .as2-hero {
    height: clamp(300px, 58vw, 420px);
  }

  .as2-hero__media img {
    object-position: 78% center;
  }

  .as2-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(10, 10, 10, 0.62) 45%,
        rgba(10, 10, 10, 0.28) 100%
      ),
      linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.4) 0%,
        transparent 30%,
        rgba(10, 10, 10, 0.5) 100%
      );
  }

  .as2-hero__content {
    padding-bottom: 40px;
  }

  .as2-hero__label {
    font-size: 1.125rem;
    letter-spacing: 0.18em;
  }
}

/* ── S2. Service Grid ─────────────────────────────── */
.as2-services {
  background: #fbfbfd;
  color: #1d1d1f;
  position: relative;
}

.as2-services .section-label {
  color: #86868b;
}

.as2-services .section-title {
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.as2-services .section-subtitle {
  color: #6e6e73;
}

.as2-services .section-header {
  margin-bottom: 64px;
}

.as2-services-accent {
  display: block;
  width: 48px;
  height: 4px;
  background: #e60012;
  border-radius: 2px;
  margin: 16px 0 0;
}

/* ── Accordion Grid ─────────────────────────────── */
.as2-grid {
  display: flex;
  gap: 16px;
  height: 520px;
}

/* ── Card Base — Apple Style ────────────────────── */
.as2-card {
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  flex: 0 0 220px;
  transition: flex-basis 1.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.8s ease,
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.as2-card.is-active {
  flex: 1 1 0;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 12px 48px rgba(0, 0, 0, 0.06);
}

/* Subtle lift for inactive cards on hover — pre-activation feedback */
.as2-card:not(.is-active):hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Apple-style soft inner glow */
.as2-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}

.as2-card.is-active::before { opacity: 1; }

.as2-card[data-glow="red"]::before {
  box-shadow: inset 0 0 0 1px rgba(230, 0, 18, 0.08);
}

.as2-card[data-glow="gold"]::before {
  box-shadow: inset 0 0 0 1px rgba(201, 169, 110, 0.08);
}

.as2-card[data-glow="blue"]::before {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.08);
}

/* ── Card Photo Area ────────────────────────────── */
.as2-card-media {
  position: relative;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  background: #f5f5f7;
  border-radius: 12px 12px 0 0;
  transition: flex 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.as2-card.is-active .as2-card-media {
  flex: 0 0 240px;
}

.as2-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.as2-card:hover .as2-card-media img {
  transform: scale(1.05);
}

.as2-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.as2-card.is-active .as2-card-overlay {
  opacity: 0;
}

/* ── Vertical Title (collapsed desktop) ─────────── */
.as2-card-title-vertical {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: 0.15em;
  white-space: nowrap;
  padding: 14px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-shadow: none;
  opacity: 1;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 1;
}

.as2-card.is-active .as2-card-title-vertical {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Trigger Button ─────────────────────────────── */
.as2-card-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  position: relative;
  z-index: 1;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
              max-height 1.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
              padding 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.as2-card.is-active .as2-card-trigger {
  opacity: 1;
  max-height: 120px;
  padding: 20px 24px;
  transform: translateY(0);
}

.as2-card-trigger:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: -2px;
  border-radius: 4px;
}

.as2-card-trigger-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.38s,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.38s;
}

.as2-card.is-active .as2-card-trigger-text {
  opacity: 1;
  transform: translateY(0);
}

.as2-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.as2-card-sub {
  font-size: 0.875rem;
  color: #6e6e73;
  font-weight: 400;
  margin: 0;
}

.as2-card-chevron {
  flex-shrink: 0;
  color: #86868b;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), color 0.6s ease;
}

.as2-card.is-active .as2-card-chevron {
  transform: rotate(180deg);
  color: #1d1d1f;
}

/* ── Expandable Panel ───────────────────────────── */
.as2-card-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  transform: translateY(-4px);
  transition: max-height 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
              opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.34s,
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.34s,
              padding 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 1;
}

.as2-card.is-active .as2-card-panel {
  max-height: 400px;
  opacity: 1;
  padding: 0 24px 28px;
  transform: translateY(0);
}

.as2-card-desc {
  font-size: 0.875rem;
  color: #6e6e73;
  line-height: 1.7;
  margin: 0 0 16px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.48s,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.48s;
}

.as2-card.is-active .as2-card-desc {
  opacity: 1;
  transform: translateY(0);
}

.as2-card-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.62s,
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.62s;
}

.as2-card.is-active .as2-card-details {
  opacity: 1;
  transform: translateY(0);
}

.as2-card-details li {
  font-size: 0.75rem;
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: 0;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

/* ── S4. Metrics Strip + Commitments ──────────────── */
.as2-metrics {
  background: #050505;
  padding: clamp(64px, 8vw, 100px) 0 clamp(56px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}

.as2-metrics::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(230, 0, 18, 0.04) 0%, transparent 30%, transparent 70%, rgba(201, 169, 110, 0.04) 100%);
  pointer-events: none;
}

/* Section Header */
.as2-metrics-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.as2-metrics-header .section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 12px;
}

.as2-metrics-header .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #f5f5f7;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.as2-metrics-header .section-subtitle {
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
  color: #86868b;
  line-height: 1.65;
  max-width: 560px;
}

/* Metrics Grid */
.as2-metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: clamp(56px, 6vw, 72px);
  position: relative;
  z-index: 1;
}

.as2-metric {
  text-align: center;
  position: relative;
}

.as2-metric::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.as2-metric:last-child::after {
  display: none;
}

.as2-metric-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #f5f5f7;
  line-height: 1;
  margin-bottom: 12px;
}

.as2-metric-value .as2-metric-unit {
  font-size: 0.5em;
  font-weight: 400;
  color: #c9a96e;
  margin-left: 2px;
}

.as2-metric-label {
  font-size: 0.8125rem;
  color: #6e6e73;
  letter-spacing: 0.06em;
}

/* Commitments Row */
.as2-metrics-commit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: clamp(48px, 5vw, 60px);
  position: relative;
  z-index: 1;
}

.as2-metrics-commit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 300ms ease, border-color 300ms ease;
}

.as2-metrics-commit-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 169, 110, 0.35);
}

.as2-metrics-commit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(201, 169, 110, 0.08);
  color: #c9a96e;
}

.as2-metrics-commit-icon svg {
  width: 20px;
  height: 20px;
}

.as2-metrics-commit-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.as2-metrics-commit-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f5f5f7;
}

.as2-metrics-commit-text span {
  font-size: 0.8125rem;
  color: #86868b;
  line-height: 1.55;
}

/* Trust Badges */
.as2-metrics-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.as2-metrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #86868b;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
  transition: color 300ms ease, border-color 300ms ease;
}

.as2-metrics-badge svg {
  width: 14px;
  height: 14px;
  color: #c9a96e;
}

.as2-metrics-badge:hover {
  color: #c9a96e;
  border-color: rgba(201, 169, 110, 0.2);
}

/* ── S5. Service Process ──────────────────────────── */
.as2-process {
  background: #fbfbfd;
  color: #1d1d1f;
  position: relative;
}

.as2-process .section-label {
  color: #86868b;
}

.as2-process .section-title {
  color: #1d1d1f;
  letter-spacing: -0.02em;
}

.as2-process .section-subtitle {
  color: #6e6e73;
}

.as2-process .section-header {
  margin-bottom: 64px;
}

.as2-process-accent {
  display: block;
  width: 48px;
  height: 4px;
  background: #a67c2e;
  border-radius: 2px;
  margin: 16px auto 0;
}

.as2-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Horizontal connector line */
.as2-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, rgba(166, 124, 46, 0.4) 0%, rgba(166, 124, 46, 0.15) 100%);
  z-index: 0;
}

.as2-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.as2-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: #fff;
  border: 2px solid rgba(166, 124, 46, 0.25);
  transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.as2-step:hover .as2-step-number {
  border-color: #a67c2e;
  box-shadow: 0 8px 24px rgba(166, 124, 46, 0.18);
  transform: translateY(-4px);
}

.as2-step-number svg {
  width: 28px;
  height: 28px;
  color: #a67c2e;
  stroke-width: 1.5;
}

.as2-step-num-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #a67c2e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.as2-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.as2-step-desc {
  font-size: 0.875rem;
  color: #6e6e73;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* ── S6. Quick Contact ─────────────────────────────── */
.as2-quick {
  background: #111;
  padding: clamp(56px, 7vw, 80px) 0 clamp(84px, 10.5vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.as2-quick__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.as2-quick__title {
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #f5f5f7;
  margin-bottom: 48px;
}

.as2-quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.as2-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
              background 300ms ease,
              border-color 300ms ease;
}

.as2-quick__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #c9a96e;
  transition: width 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.as2-quick__item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(201, 169, 110, 0.3);
}

.as2-quick__item:hover::after {
  width: 48px;
}

.as2-quick__icon {
  color: #c9a96e;
  margin-bottom: 20px;
}

.as2-quick__name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.as2-quick__value {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.as2-quick__hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.as2-quick__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: #c9a96e;
  text-decoration: none;
  transition: gap 250ms ease;
}

.as2-quick__link:hover {
  gap: 10px;
}

/* ── Responsive ───────────────────────────────────── */

/* Accordion: tablet + mobile */
@media (max-width: 1199px) {
  .as2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    min-height: auto;
  }

  .as2-card {
    flex: 1 1 auto;
    min-height: 480px;
  }

  .as2-card-media {
    flex: 0 0 200px !important;
  }

  .as2-card-title-vertical {
    display: none;
  }

  .as2-card-trigger {
    opacity: 1;
    max-height: 100px;
    padding: 16px 20px;
  }
}

@media (max-width: 767px) {
  .as2-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .as2-card {
    min-height: auto;
  }

  .as2-card-media {
    flex: 0 0 160px !important;
  }

  .as2-card-panel {
    padding: 0 20px;
  }

  .as2-card.is-active .as2-card-panel {
    padding: 0 20px 20px;
  }

  .as2-card-details {
    flex-direction: column;
  }

  .as2-card-details li {
    align-self: flex-start;
  }
}

/* Metrics */
@media (max-width: 1023px) {
  .as2-metrics-commit {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .as2-metrics-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .as2-metric:nth-child(2)::after {
    display: none;
  }

  .as2-metrics-commit-item {
    padding: 20px 22px;
  }

  .as2-metrics-badges {
    gap: 10px;
  }

  .as2-metrics-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/* Process steps */
@media (max-width: 1023px) {
  .as2-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .as2-steps::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .as2-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Quick Contact */
@media (max-width: 1023px) {
  .as2-quick__grid {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .as2-quick__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .as2-quick__item {
    flex-direction: row;
    text-align: left;
    padding: 20px 16px;
    border-radius: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .as2-quick__item::after {
    display: none;
  }

  .as2-quick__icon {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-right: 16px;
  }

  .as2-quick__body {
    flex: 1;
  }

  .as2-quick__link {
    margin-top: 6px;
  }
}

/* ── Animation Helpers ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .as2-card,
  .as2-card::before,
  .as2-card-media,
  .as2-card-media img,
  .as2-card-overlay,
  .as2-card-title-vertical,
  .as2-card-trigger,
  .as2-card-trigger-text,
  .as2-card-chevron,
  .as2-card-panel,
  .as2-card-desc,
  .as2-card-details,
  .as2-step-number,
  .as2-quick__item,
  .as2-quick__link,
  .as2-metrics-commit-item,
  .as2-metrics-badge {
    transition: none !important;
  }
}
