:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #0d1b2a 0%, #101f32 52%, #06101c 100%);
  background-size: 56px 56px, 56px 56px, auto;
}

.text-gradient {
  background: linear-gradient(90deg, #f6c768, #ffffff 45%, #a7d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-link {
  position: relative;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: #f6c768;
  transition: transform 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary,
.btn-secondary {
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f6c768, #b7791f);
  color: #0d1b2a;
  box-shadow: 0 18px 46px rgba(183, 121, 31, 0.32);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.metric-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(13, 27, 42, 0.08);
  background: #ffffff;
  padding: 1rem;
}

.metric-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: #b7791f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.metric-card strong {
  display: block;
  font-size: 1rem;
}

.section-kicker {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: #b7791f;
}

.section-title {
  margin-top: 0.8rem;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
}

.section-desc {
  margin-top: 1rem;
  max-width: 42rem;
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.9;
}

.service-card {
  min-height: 18rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(13, 27, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 0 0, rgba(246, 199, 104, 0.24), transparent 35%);
  padding: 1.6rem;
  box-shadow: 0 18px 50px rgba(13, 27, 42, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(183, 121, 31, 0.38);
}

.service-card span {
  color: #b7791f;
  font-family: "Noto Serif SC", serif;
  font-size: 2.25rem;
  font-weight: 900;
}

.service-card h3 {
  margin-top: 2rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.service-card p {
  margin-top: 0.8rem;
  color: #64748b;
  line-height: 1.8;
}

.solution-row {
  display: grid;
  gap: 0.6rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(13, 27, 42, 0.08);
  background: #f8f4ea;
  padding: 1.3rem;
}

.solution-row strong {
  font-size: 1.15rem;
}

.solution-row p {
  color: #64748b;
  line-height: 1.75;
}

.about-point {
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #f8f4ea, #ffffff);
  padding: 1rem;
}

.about-point span {
  display: block;
  margin-bottom: 0.4rem;
  color: #b7791f;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.about-point p {
  color: #475569;
  line-height: 1.7;
}

.contact-card {
  display: grid;
  gap: 0.45rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
  text-align: left;
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 199, 104, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.contact-card span {
  color: #f6c768;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.contact-card strong {
  color: #ffffff;
  font-size: clamp(1.15rem, 4vw, 1.6rem);
  word-break: break-all;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .service-card,
  .btn-primary,
  .btn-secondary {
    transition: none;
  }
}
