
/* Tipografía principal */
* {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
a{
  text-decoration: none;
}
/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  background: url('../IMG/2151998694.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay con degradado azul oscuro */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,62,80,0.6) 0%, rgba(44,62,80,0.9) 100%);
  z-index: 1;
}

/* Contenido centrado */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
}

/* Fondo detrás del texto */
.hero-text-bg {
  background-color: rgba(44,62,80,0.7);
  padding: 30px 25px;
  border-radius: 12px;
  display: inline-block;
}

/* Título principal */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #6288ba; /* Azul institucional */
  text-shadow: 0 6px 15px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Subtítulo */
.cajaTitulo p {
 font-size: 3rem;
  font-weight: 800;
  color: #ffffff; 
  text-shadow: 0 6px 15px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
    text-transform: uppercase;

  letter-spacing: 1px;
}

/* ===== BREADCRUMB ===== */
.contanclasprin {
  padding-top: 30px;
  font-family: 'Trebuchet MS', Arial, sans-serif;
}

.contanclasprin a.nostay {
  color: #0b2c4d;           /* azul oscuro para el enlace */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contanclasprin a.nostay:hover {
  color: #0b2c4d;           /* azul más brillante al pasar el mouse */
  text-decoration: underline;
}

.contanclasprin .spanstay {
  color: #666666;           /* gris para indicar posición actual */
  font-weight: 400;
  margin-left: 5px;
}

/*.hero-titlee {*/
/*  font-size: 3.25rem;*/
/*  font-weight: 800;*/
/*  color: #ffffff;*/
/*  margin-bottom: 2rem;*/
  
/*}*/

/* Botón principal */
.btn-hero {
  background-color: #6288ba; /* Azul institucional */
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.btn-hero:hover {
  background-color: #9bb7d9; /* Azul grisáceo suave */
  color: #2c3e50; /* Azul oscuro */
  border-color: #2c3e50;
  transform: translateY(-2px);
}

/* Ancla decorativa */
.hero-anchor {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 80px;
  opacity: 0.7;
  transition: transform 0.3s ease;
}
.hero-anchor:hover {
  transform: scale(1.1) rotate(-10deg);
}

/* Ola decorativa inferior */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* Animación de entrada */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn-hero {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}

.contanclasprin{
    padding-top: 30px;
}

.spanstay{
    color: #528ED4;
    font-size: 1.1rem;
}
.nostay{
    color: #000000;
    font-size: 1rem;
}
.nostay:hover{
    color: #528ED4;
}
/* == BODY Tipografía y fondo general ==*/
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: var(--blanco);
    color: var(--negro);
    background: linear-gradient(180deg, var(--claro, #e9f1f8) 0%, var(--blanco, #ffffff) 100%);
}

/* === COLORES BASE === */
    :root {
      --principal: #6288ba;       /* Azul institucional */
      --oscuro: #2c3e50;          /* Azul oscuro / gris marino */
      --claro: #9bb7d9;           /* Azul grisáceo suave */
    --blanco: #ffffff;
    --negro: #000000;
    --gris: #e0e0e0;
    }

    /* === FONDO CON DOS COLORES: TITULO Y CONTENIDO DE NOTICIAS === */
.fondo2colores { 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  padding: 2rem;
  background: linear-gradient(180deg, var(--claro) 0%, var(--blanco) 100%);
}





/* === TITULO DOBLE: NOTICIAS === */

.titulo-doble {
  position: relative;
  text-align: center;
  margin: 40px 0 0px/*60*/ 0;
}

.titulo-doble .back-text {
  display: block;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.07);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: -35px;
}

.titulo-doble .front-text {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #003f8c, #3ac6ff);
  -webkit-background-clip: text;
  color: transparent;
}






.service-img {
  width: 100%;
  height: 220px; /* más equilibrado */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;

  /* efecto visual pro */
  transition: transform 0.4s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-card {
  background: linear-gradient(135deg, #f7faff 0%, #eef4fb 100%);
  border-radius: 16px;
  padding: 25px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(98, 136, 186, 0.15);
}

/* Hover más premium */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(44, 62, 80, 0.15);
}


.service-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top left,
    rgba(155, 183, 217, 0.25),
    transparent 60%
  );

  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--principal);
  margin-bottom: 10px;
}

/* línea decorativa */
.service-card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--principal);
  margin: 10px auto 0;
  border-radius: 2px;
}

.service-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--oscuro);
  opacity: 0.9;
}


/* TITULO H2 */
h2.txtPrincipal {
    font-size: 3rem !important;       /* fuerza tamaño */
    color: #1c1c1c !important;        /* negro carbón */
    font-weight: 800;
    text-shadow: none;                 /* quitamos sombra para negro sólido */
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PÁRRAFO DESCRIPTIVO */
.cntPrincipal {
    color: #1c1c1c !important;        /* negro carbón */
    font-size: 1.2rem !important;     /* tamaño legible */
    line-height: 1.6;
}


.service-list {
  text-align: left;
  margin-top: 15px;
  padding-left: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--oscuro);
}

/* icono tipo check */
.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--principal);
  font-size: 0.9rem;
}

.btn-servicee {
  display: inline-block;
  background: var(--blanco);
  color: var(--principal);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;

  border: 1px solid rgba(98, 136, 186, 0.3);

  transition: all 0.3s ease;
}

.btn-servicee:hover {
  background: var(--principal);
  color: var(--blanco);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(98, 136, 186, 0.3);
}


.services-section {
  background: linear-gradient(
    180deg,
    var(--principal) 0%,
    #5478a5 100%
  );
  padding-top: 80px;
  padding-bottom: 80px;
}



.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-row {
  background: rgba(255,255,255,0.95);
  padding: 30px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.service-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(44, 62, 80, 0.15);
}

/* Imagen más grande ahora */
.service-row .service-img {
  height: 300px;
}

/* Texto alineado mejor */
.service-row h3 {
  text-align: left;
}

.service-row h3::after {
  margin: 10px 0;
}

.lead-message {
    font-size: 1.1rem;
    color: var(--blanco);
    margin-bottom: 15px;
    opacity: 0.95;
    line-height: 1.6;
}
