.hero {
  min-height: calc(100svh - var(--header-height));
  padding-top: 1.8rem;
  padding-bottom: 1.4rem;
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(230, 148, 44, 0.24) 0%, rgba(230, 148, 44, 0) 68%);
  top: -200px;
  right: -150px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(130, 196, 154, 0.14) 0%, rgba(130, 196, 154, 0) 70%);
  bottom: -100px;
  left: -110px;
}

.hero .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.82fr);
  gap: clamp(1.5rem, 3vw, 2.8rem);
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: min(66svh, 640px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 0.25rem 0;
}

.hero-copy h1 {
  max-width: 11ch;
  margin-bottom: 0.7rem;
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 0.91;
}

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

.hero-description {
  color: var(--color-text-soft);
  max-width: 52ch;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}

.hero-service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-service-row span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 0.3rem 0.66rem;
  font-size: 0.77rem;
  color: #d8dee8;
  background: rgba(255, 255, 255, 0.025);
}

.hero-media {
  position: relative;
  min-height: min(60svh, 590px);
  display: grid;
  align-content: center;
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  background: #1b2537;
  z-index: 1;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 27, 40, 0.08), rgba(20, 27, 40, 0.48)),
    linear-gradient(135deg, rgba(230, 148, 44, 0.16), rgba(20, 27, 40, 0) 42%);
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 2;
}

.hero-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual-secondary {
  width: min(100%, 340px);
  aspect-ratio: 0.96;
  justify-self: end;
}

.hero-visual-primary {
  width: min(100%, 380px);
  aspect-ratio: 0.86;
  margin-top: -1rem;
  margin-left: auto;
  margin-right: 0;
}

.services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03));
}

.section-intro {
  margin-top: 0.8rem;
  color: var(--color-text-soft);
  max-width: 64ch;
}

.service-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  color: #ffd39c;
  background: rgba(230, 148, 44, 0.16);
  border: 1px solid rgba(230, 148, 44, 0.35);
  font-size: 1.05rem;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.service-card:hover .service-icon {
  background: rgba(230, 148, 44, 0.24);
  border-color: rgba(230, 148, 44, 0.55);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  margin-bottom: 0.8rem;
  color: var(--color-text-soft);
}

.service-card-link {
  font-size: 0.83rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.service-card-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* ---- Home About ---- */

.home-about {
  border-top: 1px solid var(--color-border);
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.home-about-copy h2 {
  max-width: 20ch;
  margin-bottom: 1rem;
}

.home-about-text {
  color: var(--color-text-soft);
  max-width: 52ch;
  margin-bottom: 1.5rem;
  line-height: 1.72;
}

.home-about-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.home-proof-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.home-proof-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffd39c;
  background: rgba(230, 148, 44, 0.15);
  border: 1px solid rgba(230, 148, 44, 0.3);
  font-size: 0.95rem;
}

.home-proof-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.home-proof-item p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--color-text-soft);
  line-height: 1.6;
}

/* ---- How It Works ---- */

.home-process {
  border-top: 1px solid var(--color-border);
}

.process-steps {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-step {
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.process-step-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.9rem;
  letter-spacing: -0.04em;
  opacity: 0.75;
}

.process-step-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

.process-step-body p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.contact-cta {
  padding-top: 2rem;
}

.cta-box {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(130deg, #202f48 0%, #172031 65%);
}

.cta-box p {
  max-width: 62ch;
  color: var(--color-text-soft);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: calc(100svh - var(--header-height));
    padding-top: 4rem;
    padding-bottom: 2.2rem;
    display: flex;
    align-items: center;
  }

  .hero-grid {
    min-height: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
  }

  .hero-copy {
    max-width: none;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 12.5ch;
    font-size: clamp(3.1rem, 7.2vw, 5rem);
    line-height: 1.08;
  }

  .hero-description {
    max-width: 34ch;
    font-size: 1.08rem;
    line-height: 1.72;
  }

  .hero-media {
    display: none;
  }

  .hero-copy h1,
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-service-row {
    justify-content: center;
  }

  .hero-copy h1 {
    max-width: none;
  }

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

  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-about-copy h2 {
    max-width: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.6rem;
    padding-bottom: 1.6rem;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 11.8vw, 4rem);
    max-width: none;
    line-height: 1.12;
  }

  .hero-description {
    max-width: 30ch;
    font-size: 1rem;
    line-height: 1.75;
  }

  .cta-box {
    padding: 1.3rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .home-about-proof {
    grid-template-columns: 1fr;
  }
}
