/**
 * Estilos personalizados RIDAL
 */

/* Ajustes mínimos de marca (sin romper el theme) */
body {
  font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title h2,
.navbar-brand {
  font-family: 'Montserrat', sans-serif !important;
}

.navbar-brand img {
  height: 42px;
  transition: all 0.3s ease;
}

.hero-title {
  max-width: 640px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title p {
  max-width: 760px;
  margin: 0 auto;
  color: #6c757d;
  font-size: 1.1rem;
}

.section-title h2 {
  font-weight: 700;
  color: #333;
}

.hero-btns,
.form-button {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btns .button,
.form-button .button {
  height: 56px;
  padding: 0 30px;
  min-width: 230px;
  margin: 0 !important;
  border-radius: 30px;
}

.btn-whatsapp {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.button {
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 30px;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(47, 128, 237, 0.3);
}

/* Tarjetas de servicios / pricing con efecto hover */
.single-feature,
.single-pricing {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
  height: 100%;
}

.single-feature:hover,
.single-pricing:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(47, 128, 237, 0.1);
}

.single-pricing.active {
  transform: scale(1.05);
  border: 2px solid #2F80ED;
  box-shadow: 0 20px 40px rgba(47, 128, 237, 0.15);
  z-index: 2;
  position: relative;
}

.single-pricing.active:hover {
  transform: scale(1.05) translateY(-5px);
}

/* Estilos para select del formulario */
.single-input select {
  height: 56px;
  padding: 0 20px;
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  background: #ffffff;
  font-size: 16px;
  color: #525252;
}

.single-input select:focus {
  border-color: #2F80ED;
  outline: none;
}

/* Scroll Top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #2F80ED;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Efecto Sticky Header */
.header.sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: blur(8px);
  animation: stickySlideDown 0.4s ease forwards;
  padding: 5px 0 !important;
}

@keyframes stickySlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header.sticky .navbar {
  padding: 10px 0 !important;
}


/* Estilos para las tarjetas de pasos (Así Trabajamos) */
.step-card {
  background: #fff;
  border-radius: 40px !important;
  border: 1px solid #e5e7eb !important;
  border-bottom: 5px solid #2F80ED !important;
  /* Acento oscuro inferior como en lamina1 */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: #2F80ED !important;
  border-bottom-color: #2F80ED !important;
  border-bottom-width: 5px !important;
  box-shadow: 0 20px 40px rgba(47, 128, 237, 0.2) !important;
}

.step-card .badge {
  transition: all 0.3s ease;
}

.step-card:hover .badge {
  background-color: #2F80ED !important;
  color: #fff !important;
}