/* Home 首頁專屬樣式 */

.hero {
  position: relative;
  width: 100%;
  height: 688px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .veil {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.63);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 158px 0 0 80px;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: 3.2px;
  color: var(--color-blue-dim);
  margin: 0 0 36px;
}

.hero-content .tagline {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.05;
  margin: 0 0 12px;
}

.hero-content .tagline.line-1 { color: var(--color-text); }
.hero-content .tagline.line-2 { color: var(--color-blue); }
.hero-content .tagline.line-3 { color: var(--color-text-muted); margin-bottom: 44px; }

.hero-content .highlight {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  color: var(--color-blue);
  margin: 0 0 52px;
}

@media (max-width: 960px) {
  .hero { height: auto; padding-bottom: 60px; }
  .hero-content { padding: 100px 24px 0; max-width: 100%; }
  .hero-content h1 { font-size: 40px; }
  .hero-content .tagline { font-size: 28px; }
}

/* Services section */

.services {
  width: 100%;
  padding: 50px 0 100px;
  background: #fff;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.services-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.services-cards {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 643px;
}

.service-card {
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 36px 32px;
}

.services-cards .service-card:last-child {
  border-bottom: none;
}

.service-card .index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.65px;
  color: var(--color-text-dim);
  margin: 0 0 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--color-text);
  margin: 0 0 12px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  max-width: 440px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.84px;
  color: var(--color-blue);
}

.services-figure {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  max-width: 426px;
}

.services-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 960px) {
  .services-row { flex-direction: column; }
  .services-cards, .services-figure { max-width: 100%; }
}
