.hero-home {
  --hero-surface-gradient: linear-gradient(150deg, rgba(15, 23, 42, 0.08), rgba(13, 148, 136, 0.12));
  --hero-surface-border: rgba(13, 148, 136, 0.24);
  --hero-link-color: #0f766e;
  --hero-link-hover: #0d9488;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.hero-intro h1 {
  margin: 0;
  font-size: clamp(1.9rem, 2vw + 1.2rem, 2.8rem);
  line-height: 1.05;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 0.9vw + 0.85rem, 1.3rem);
  color: var(--md-default-fg-color--light, rgba(17, 24, 39, 0.72));
}

.hero-shields {
  display: grid;
  gap: 1.25rem;
}

.hero-shield {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: clamp(1.25rem, 1vw + 0.8rem, 1.75rem);
  border-radius: 28px;
  background: var(--hero-surface-gradient);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--hero-surface-border);
  position: relative;
}

.hero-shield img {
  width: min(260px, 55vw);
  height: auto;
  justify-self: center;
}

.hero-shield__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

.hero-shield__body h2 {
  margin: 0;
  font-size: clamp(1.2rem, 0.8vw + 1rem, 1.6rem);
}

.hero-shield__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-shield__button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--hero-link-color);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.4);
  text-decoration: none;
  transition: background 150ms ease-in-out, color 150ms ease-in-out, border-color 150ms ease-in-out;
}

.hero-shield__button:hover,
.hero-shield__button:focus {
  color: white;
  background: var(--hero-link-hover);
  border-color: var(--hero-link-hover);
}

.hero-shield__price {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--md-default-fg-color--light, rgba(17, 24, 39, 0.72));
  letter-spacing: 0.01em;
  text-align: right;
  white-space: nowrap;
}

.hero-link-arrow {
  font-size: 1.1em;
  transition: transform 150ms ease-in-out;
}

.hero-shield__button:hover .hero-link-arrow,
.hero-shield__button:focus .hero-link-arrow,
.hero-projects-cta__link:hover .hero-link-arrow,
.hero-projects-cta__link:focus .hero-link-arrow {
  transform: translateX(4px);
}

.hero-projects-cta {
  display: grid;
  gap: 0.4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(13, 148, 136, 0.08));
  border-radius: 24px;
  border: 1px solid rgba(13, 148, 136, 0.18);
  padding: 1.25rem;
}

.hero-projects-cta p {
  margin: 0;
  font-size: 1rem;
  color: var(--md-default-fg-color--light, rgba(17, 24, 39, 0.7));
}

.hero-projects-cta__link {
  font-weight: 600;
  color: var(--hero-link-color);
  text-decoration: none;
  transition: color 150ms ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-projects-cta__link:hover,
.hero-projects-cta__link:focus {
  color: var(--hero-link-hover);
}

@media (min-width: 900px) {
  .hero-intro {
    text-align: left;
    align-items: flex-start;
  }

  .hero-shields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-shield {
    grid-template-rows: auto 1fr;
    text-align: left;
  }

  .hero-shield__body {
    text-align: left;
    align-items: flex-start;
  }

  .hero-shield__cta {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-shield {
    border-radius: 22px;
  }
}
