/**
 * 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 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a428a;
}

.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;
}

/* ======= HERO SECTION ======= */
#home {
  min-height: 35vh !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 120px 0 !important;
  margin-top: 0 !important;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

#home .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

#home .hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

#home .hero-content p {
  font-size: 1.8rem;
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 90%;
  color:#1a428a
}

#home .small {
  margin-top: 50px;
}

#home .hero-img img {
  width: 100%;
  height: auto;
  min-height: 580px;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 16px;
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  #home .hero-content {
    padding-right: 30px;
  }
}

@media (max-width: 991px) {
  #home {
    padding: 80px 0 40px !important;
    text-align: center;
  }

  #home .hero-content {
    min-height: auto;
    align-items: center;
  }

  #home .hero-btns {
    justify-content: center;
  }

  #home .small .d-flex {
    justify-content: center;
  }

  #home .hero-img {
    margin-top: 40px;
  }

  #home .hero-img img {
    min-height: auto;
    max-height: 50vh;
  }
}

@media (max-width: 576px) {
  #home .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  #home .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .hero-btns .button,
  .form-button .button {
    width: 100%;
    min-width: auto;
    height: 48px;
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}