body {
  font-family: "Open Sans", sans-serif;
  color: #333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

/* Animaciones de entrada */
.fade-up,
.fade-in,
.slide-in-left,
.slide-in-right,
.scale-up {
  opacity: 0;
  transition: all 0.6s ease-out;
}
.fade-up {
  transform: translateY(30px);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.visible {
  opacity: 1;
}
.slide-in-left {
  transform: translateX(-30px);
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right {
  transform: translateX(30px);
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.scale-up {
  transform: scale(0.95);
}
.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* Snowflakes */
.snowflake {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px white);
  animation: fall linear infinite;
  top: -10px;
}
@keyframes fall {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(100vh);
  }
}

/* Slider de pasos */
.steps-slider {
  width: 100%;
  position: relative;
}
.steps-track {
  display: flex;
  width: 100%;
}
.step-slide {
  width: 100%;
  padding: 0 1rem;
}
.step-dot {
  transition: all 0.3s ease;
}
.step-dot.bg-primary {
  transform: scale(1.3);
}

/* Deshabilitados */
.prev-step:disabled,
.next-step:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Estilo hero */
.hero-gradient {
  background: linear-gradient(
    135deg,
    rgba(139, 30, 63, 0.9) 0%,
    rgba(44, 85, 48, 0.8) 100%
  );
}

/* Hover para tarjetas */
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Línea de tiempo */
.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #8b1e3f;
  position: relative;
}
.timeline-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 2px;
  background-color: #c3a343;
}
.timeline-dot:last-child::after {
  display: none;
}

/* Checkbox personalizado */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.custom-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #8b1e3f;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.custom-checkbox:checked {
  background-color: #8b1e3f;
}
.custom-checkbox:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #8b1e3f;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

.slide.active .slide-text {
  opacity: 1;
  transform: translateY(0);
}

.clip-diagonal-half-left {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
}
.clip-diagonal-half-right {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
@media (min-width: 768px) {
  .clip-diagonal-half-left {
    clip-path: polygon(0 0, 55% 0, 45% 100%, 0% 100%);
  }
  .clip-diagonal-half-right {
    clip-path: polygon(55% 0, 100% 0, 100% 100%, 45% 100%);
  }
}
