:root {
  --color-principal: #1397e0;   /* verde azulado */
  --color-secundario: #1397e0;  /* naranja */
  --color-fondo: #f4f4f5;
  --color-texto: #111827;
}

html {
  scroll-behavior: smooth; /* efecto de scroll suave */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-fondo);
  color: var(--color-texto);
}

/* Navbar */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.navbar-brand span {
  color: var(--color-principal);
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  color: #4b5563 !important;
}

.nav-link:hover {
  color: var(--color-principal) !important;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top left, #ecfdf5, #eff6ff, #f4f4f5);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-principal);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
}

.hero-highlight {
  color: var(--color-principal);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: #374151;
}

.hero-list-icon {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background-color: rgba(15, 118, 110, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--color-principal);
  flex-shrink: 0;
}

.hero-image {
  border-radius: 1.2rem;
  object-fit: cover;
  width: 100%;
  min-height: 180px;
  max-height: 260px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

/* Formulario */
.form-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  padding: 1.8rem 1.8rem 1.5rem;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.form-card-header {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
}

.form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.form-card small {
  font-size: 0.78rem;
  color: #6b7280;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.form-control {
  border-radius: 0.75rem;
  border-color: #d1d5db;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: var(--color-principal);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.btn-primary {
  background-color: var(--color-principal);
  border-color: var(--color-principal);
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn-primary:hover {
  background-color: #115e59;
  border-color: #115e59;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 118, 110, 0.35);
}

.small-note {
  font-size: 0.7rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Secciones generales */
section {
  padding: 3.5rem 0;
}

section h2 {
  font-weight: 700;
  font-size: 1.6rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secundario);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

/* Tarjetas */
.card-feature {
  border-radius: 1rem;
  background-color: #ffffff;
  padding: 1.4rem 1.3rem;
  border: 1px solid #e5e7eb;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.card-feature p,
.card-feature li {
  font-size: 0.92rem;
  color: #4b5563;
}

.card-feature ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.card-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
  border-color: rgba(15, 118, 110, 0.25);
}

.card-feature:hover::after {
  opacity: 1;
}

/* Imagen de sección con badge */
.image-card-wrapper {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

.section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.image-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: #22c55e;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.08);
  color: #9a3412;
  font-weight: 600;
}

.pill-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background-color: var(--color-secundario);
}

/* Iconos circulares */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  max-width: 26px;
  max-height: 26px;
}

/* Tira de mini imágenes */
.mini-image-strip {
  display: flex;
  gap: 0.6rem;
}

.mini-image-strip img {
  width: 50%;
  border-radius: 0.9rem;
  object-fit: cover;
  height: 90px;
}

/* Animaciones en scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

/* Footer */
footer {
  padding: 2rem 0;
  font-size: 0.82rem;
  color: #6b7280;
}

/* Responsivo */
@media (max-width: 767.98px) {
  .hero {
    padding-top: 4rem;
  }
  .form-card {
    margin-top: 1.5rem;
  }
  .hero-image {
    max-height: 220px;
  }
}

.snackbar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(100%);
  background-color: #111827;
  color: #f9fafb;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.snackbar--success {
  background-color: #1397e0; /* tu azul */
}

.snackbar--error {
  background-color: #dc2626;
}

.snackbar.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

