:root {
  --bg: #f3fbf7;
  --bg-soft: #e4f3ec;
  --text-main: #16352a;
  --text-muted: #58746a;
  --accent: #2f9b6f;
  --accent-dark: #217557;
  --overlay: rgba(8, 37, 26, 0.55);
}

/* Reset suave */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
}

/* Utilidades */

.bg-soft {
  background-color: var(--bg-soft);
}

.tracking {
  letter-spacing: 0.16em;
  font-size: 0.85rem;
}

/* Hero */

.hero {
  min-height: 70vh;
  color: #fdfdfd;
  overflow: hidden;
  background-color: #0f2b1f;
  padding: 10px 0 64px;
  border-radius: 20px;
  margin: 18px;
  box-shadow: 0 25px 60px rgba(9, 42, 30, 0.22);
}

.hero-images {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.hero-image.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

.hero-brand {
  z-index: 3;
  text-shadow: 0 2px 4px var(--text-main);
  
}

.hero-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 650;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #e3f7ee;
}

.text-hero-note {
  color: #c3e5d5;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Cards / steps */

.step-card {
  border-radius: 14px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: rgba(47, 155, 111, 0.12);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.8rem;
}

/* Form */

.form-card {
  border-radius: 18px;
}

.form-card .form-control,
.form-card .form-select {
  background-color: #f8fdfb;
  border-radius: 10px;
  border-color: #c8e1d4;
  font-size: 0.92rem;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  box-shadow: 0 0 0 2px rgba(47, 155, 111, 0.25);
  border-color: var(--accent);
}

/* Botón primario en verde */

.btn-primary {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-disabled-bg: var(--accent);
  --bs-btn-disabled-border-color: var(--accent);
  font-weight: 600;
  border-radius: 999px;
}

/* Footer */

.footer-small {
  background-color: #f7fcfa;
}

/* Responsivo */

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding: 56px 0 56px;
    margin: 12px;
  }

  .hero-image {
    background-position: center center;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-brand {
    top: 20px;
    left: 20px;
  }
}
