/* * {
  outline: 1px solid red;
} */


/* ------------------------------
   Estilos globales
------------------------------ */
body {
  font-family: 'Montserrat Alternates', sans-serif;
  scroll-behavior: smooth;
  color: #02152a;
  background-color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-primary{
  color: #0f70b2 !important;
}

.btn-primary{
  background-color: #0f70b2;
  color: white;
  border: transparent !important;
}

.btn {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Aplica padding por defecto a secciones si no lo traen en HTML */
section {
  /* min-height: 100vh; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.sectionBlue{
 background-color: #0d6fb3;
}

/* ------------------------------
   Navbar
------------------------------ */
.navbar {
  background-color: #ffffff;
  transition: all 0.3s ease;
  z-index: 50;
}

.navbar .nav-link {
  color: #333333 !important;
  font-weight: 500;
  transition: color 0.25s ease;
}

.navbar .nav-link:hover {
  color: #0b2f55 !important;
}

/* ------------------------------
   HERO (aplica a .hero-section o #inicio)
------------------------------ */
.hero-section,
#inicio {
  /* min-height: 100vh; */
  display: flex;
  align-items: baseline;
  background: linear-gradient(135deg, #e8f4ff 0%, #f8fbff 100%);
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}

.hero-section .display-5,
#inicio .display-5 {
  font-weight: 700;
  color: #0f2a4d;
}

.move-down {
  position: relative;
  bottom: -18px; 
}

.text-gradient {
  background: linear-gradient(90deg, #0b2f55 0%, #2063aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mockup / placeholder del hero (aplica a .hero-image-placeholder) */
.hero-image-placeholder {
  background: #f1f4f9;
  border-radius: 1rem;
  padding: 80px 20px;
  color: #5f6b77;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(12, 33, 68, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* ------------------------------
   Secciones con degradado intenso
   (cubre .section-gradient y también IDs #funciones, #contacto)
------------------------------ */
.section-gradient,
#funciones,
#contacto {
  background: linear-gradient(135deg, #0b2f55 0%, #001b50 100%);
  color: #ffffff;
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-gradient h2,
#funciones h2,
#contacto h2 {
  color: #ffffff;
  font-weight: 700;
}

.section-gradient p,
#funciones p,
#contacto p {
  color: #eaf6ff;
}

/* Tarjetas blancas que quedan sobre degradado intenso */
.section-gradient .card,
#funciones .card,
#contacto .card {
  background: #ffffff;
  color: #222222;
  border-radius: 1rem;
  border: none;
  padding: 1.6rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.section-gradient .card:hover,
#funciones .card:hover,
#contacto .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(3, 34, 92, 0.12);
}

/* ------------------------------
   Sección alternativas/ blancas (aplica a .section-alt o .about-section)
------------------------------ */

/* 
.section-alt .image-placeholder,
.about-section .image-placeholder {
  background: #eaf4ff;
  border-radius: 12px;
  height: auto;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003a91;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(2, 30, 75, 0.04);
} */

/* ------------------------------
   Sección "Acceso" (aplica a #acceso)
------------------------------ */
#acceso,
.acceso {
  background: #f4f8ff;
  /* suave para contrastar con degradado */
  color: #222222;
}

#acceso h2,
.acceso h2 {
  color: #001b50;
  font-weight: 700;
}

.card:hover {
  /* background-color: #0d6fb3; */
  /* color: white; */
  transition: 2s;
}

/* Botones mock store */
.store-btn {
  border: 2px dashed #cbd8ef;
  padding: 18px 34px;
  border-radius: 10px;
  font-weight: 600;
  color: #334e7a;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(2, 30, 75, 0.03);
}

/* ------------------------------
   CTA oscura sobre el degradado (aplica a .cta-section o .cta)
------------------------------ */
.cta-section,
.cta {
  background: linear-gradient(135deg, #001b50 0%, #4c6b99 100%);
  color: #ffffff;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.cta-section .btn,
.cta .btn {
  background: #ffffff;
  color: #001b50;
  border: none;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: 10px;
}

.cta-section .btn:hover,
.cta .btn:hover {
  filter: brightness(0.95);
  transform: translateY(-3px);
}

/* ------------------------------
   Footer
------------------------------ */
footer {
  /* background: linear-gradient(135deg, #001b50 0%, #4c6b99 100%); */
 background-color: #0d6fb3;

  color: #ffffff;
  padding: 36px 0;
  text-align: center;
}

/* ------------------------------
   Ajustes tipográficos y de espaciado
------------------------------ */
h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.65);
}

.rotated-char {
  display: inline-block;
  transform: rotate(-20deg) !important;
  /* Ajusta el grado: 5deg, 15deg, etc. */
  transform-origin: center;
  line-height: 1;
}

/* ------------------------------
   Responsividad
------------------------------ */
@media (max-width: 992px) {

  .hero-section,
  #inicio {
    text-align: center;
  }

  .hero-image-placeholder {
    margin-top: 36px;
    padding: 60px 16px;
    height: auto;
  }

  
.move-down{
  bottom: -14px;
}
 

  .image-placeholder{
    width: 100vw !important;
  }
}

@media (max-width: 576px) {

  h1,
  .display-5 {
    font-size: 1.9rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 10px 18px;
  }

.move-down{
  bottom: -10px;
}

  .section-gradient .card,
  #funciones .card {
    padding: 1.25rem;
  }
}

/* ------------------------------Seccion de precios------------------------------- */
/* --- Fondo con ondas degradadas --- */


@keyframes waveMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(15px); }
}

/* --- Tarjetas de precios --- */
.pricing-card {
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  background: #fff;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Precio */
.price-text {
  font-size: 2rem;
  font-weight: 700;
}

/* Gradiente de texto */
.gradient-text {
  background: linear-gradient(90deg, #4c8df3, #bd2843);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Plan destacado */
.featured {
  background: #fff;
  border: 2px solid #0d6fb3 !important;
  transform: scale(1.05);
  z-index: 2;
}

/* Cinta "más popular" */
.ribbon {
  position: absolute;
  top: 15px;
  right: -40px;
  transform: rotate(45deg);
  background: linear-gradient(90deg, #4c8df3, #bd2843);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 40px;
  border-radius: 0.3rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .featured {
    transform: none;
  }
  .price-text {
    font-size: 1.8rem;
  }
  .ribbon {
    right: -25px;
    top: 10px;
  }
}
/* ------------------------------Seccion de precios------------------------------- */
#seccion-carita {
  position: relative;
  height: 250px;
  overflow: hidden;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important; /* ← oculta la carita cuando baja */
}

.carita {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 220px;
}


