/* Nivel superior sticky */
.header-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, #000000 10%, #252850 90%);
  color: #D0AA65;
  padding: 5px 20px;
}

.header-top img {
  height: 30px;
}

/* Nivel medio sticky con gradiente */
.header-middle {
  position: sticky;
  top: 40px; /* se pega justo debajo del top */
  z-index: 999;
  background: radial-gradient(circle, #252850 70%, #000000 100%);
  text-align: center;
  padding: 20px 0;
}

.logo img {
  height: 100px;
  margin-bottom: 15px;
}

/* Menú horizontal tipo botones */
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 20px 0;
}

.menu li {
  background-color: transparent;
  color: #D0AA65;
  padding: 10px 20px;
  border: 2px solid #D0AA65;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

/* Hover */
.menu li:hover {
  background-color: #D0AA65;
  color: #252850;
}

/* Página seleccionada */
.menu li.selected {
  background-color: #D0AA65;
  color: #252850;
  border: 3px solid #f5f5dc; /* borde crema más grueso */
  box-shadow: 0 0 10px #f5f5dc; /* resalta con sombra */
}

/*///////////////////FOOTER///////////////////*/

footer {
   background: linear-gradient(to top, #000000 10%, #252850 90%);
  color: #D0AA65; /* oro */
  padding: 40px 20px;
  font-size: 20px;
  max-width: 100%;
  margin-top: 60px; /* separación del contenido */
  border-top: 3px solid #D0AA65; /* línea institucional */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-legal, .footer-contact {
  flex: 1 1 45%;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-legal h3, .footer-contact strong {
  color: #D0AA65; /* crema para títulos */
  font-size: 24px;
  margin-bottom: 10px;
  border-bottom: 1px solid #D0AA65;
  padding-bottom: 5px;
}

footer p {
  margin: 8px 0;
}

footer .link {
  cursor: pointer;
  color: #D0AA65; /* oro institucional */
  text-decoration: none; /* sin subrayado por defecto */
  transition: text-decoration 0.3s ease;
}

footer .link:hover {
  text-decoration: underline; /* se subraya al pasar el mouse */
}

footer .link:hover {
  color: #D0AA65; /* Oro */
  text-shadow: 0 0 5px #D0AA65;
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  border-top: 1px solid #D0AA65;
  padding-top: 15px;
  color: #D0AA65;
}
.footer-contact {
  flex: 1 1 45%;
  margin-bottom: 80px;
  line-height: 1.8;
  font-size: 30px; /* más grande que el resto */
  color: #D0AA65; /* crema para resaltar */
}

.footer-contact strong {
  display: block;
  font-size: 50px; /* aún más grande para el nombre */
  color: #D0AA65; /* oro institucional */
  margin-bottom: 10px;
}

.footer-contact a {
  color: #D0AA65;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-contact a:hover {
  color: #f5f5dc;
  text-shadow: 0 0 8px #D0AA65;
}

/*///////////////////////HOME/////////////////////*/
/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;   /* centra verticalmente el texto dentro del bloque */
  justify-content: center;
  text-align: center;
  background: url("../imagenes/fondo-hero.png") no-repeat center center;
  background-size: cover; /* la imagen cubre todo el bloque */
  color: #D0AA65;
  overflow: hidden;
  margin: 0;        /* elimina separación externa */
  padding: 0;       /* elimina espacio interno */
  max-width: 100%;      /* ocupa todo el ancho */
  height: auto;     /* altura automática según contenido */
}

.hero-content {
  background: rgba(0,0,0,0.5); /* negro semitransparente */
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
}

/* Texto principal */
.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
  animation: fadeIn 2s ease-in-out;
}

/* Slogan con efecto dorado */
.hero .slogan {
  font-size: 24px;
  color: #f5f5dc;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.hero .slogan::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #D0AA65, transparent);
  animation: shine 4s infinite;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.imagen-ordenado {
  text-align: center;
  margin: 40px 0; /* espacio arriba y abajo */
  max-width: 100%; /* ocupa todo el ancho del contenedor */
}

.imagen-ordenado img {
  display: block;       /* asegura que se comporte como bloque */
  margin: 0 auto;       /* centra la imagen */
 max-width: 100%;          /* ocupa todo el ancho disponible */
  height: auto;         /* mantiene proporción */
  border-radius: 8px;   /* opcional, esquinas suaves */
}

.hero-image-text {
  position: relative;
  text-align: center;
  margin: 0px auto;
  max-width: 100%; /* escritorio: imagen al 50% */
}

.hero-image-text img {
  width: 100%;
  height: relative;
  display: block;
  border-radius: 10px;
}

/* Overlay de texto (escritorio) */
.hero-image-text .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 30px;
  width: 100%;
  color: #f5f5dc;
  text-align: center;
}

/* Títulos y párrafos */
.hero-image-text .overlay-text h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
  color:#f9f9f9;
}

.hero-image-text .overlay-text h3 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
   color:#f9f9f9;
}

.hero-image-text .overlay-text p {
  font-size: 22px;
  line-height: 1.5;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
   color:#f9f9f9;
}

/* 📱 Responsivo para móviles */
@media (max-width: 768px) {
  .hero-image-text {
    max-width: 100%; /* móvil: imagen ocupa todo el ancho */
  }
  }
  .hero-image-text .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0px;
  }

  .hero-image-text .overlay-text h2 {
    font-size: 5vw; /* relativo, se adapta al ancho */
  }

  .hero-image-text .overlay-text h3 {
    font-size: 3.5vw;
  }

  .hero-image-text .overlay-text p {
    font-size: 3.0vw;
 }
.about {
  text-align: center;
  margin: 60px auto;
  max-width: 80%;
  color: #252850; /* tono azul profundo */
}

/* Título principal */
.about h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* Línea dorada debajo del título */
.about h2::after {
  content: "";
  display: block;
  width: 100%; /* ocupa todo el ancho del título */
  height: 4px;
  background-color: #d0aa65; /* dorado */
  margin: 10px auto 0;
  border-radius: 2px;
}


/* Párrafos */
.about p {
  font-size: 24px; /* entre 20 y 30px */
  line-height: 1.6;
  margin: 20px auto;
  max-width: 900px;
  color: #252850;
}

/* 📱 Responsivo para móviles */
@media (max-width: 768px) {
  .about h2 {
    font-size: 36px;
  }

  .about p {
    font-size: 18px;
    line-height: 1.5;
    padding: 0 10px;
  }
}
.services {
  text-align: center;
  margin: 60px auto;
  max-width: 80%;
  color: #252850; /* azul profundo */
}

/* Título principal */
.services h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

/* Línea dorada debajo del título */
.services h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: #d0aa65; /* dorado */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Subtítulos */
.services h3 {
  font-size: 32px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #252850;
}

/* Listas con viñetas visibles */
.services ul {
  list-style-type: disc; /* viñetas clásicas */
  list-style-position: inside; /* viñetas dentro del bloque */
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
  text-align: left;
}

.services ul li {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #252850;
}

/* 📱 Responsivo para móviles */
@media (max-width: 768px) {
  .services {
    max-width: 95%;
    margin: 40px auto;
  }

  .services h2 {
    font-size: 36px;
  }

  .services h3 {
    font-size: 24px;
  }

  .services ul li {
    font-size: 18px;
    line-height: 1.4;
  }
}
/* Sección general */
section {
  text-align: center;
  margin: 60px auto;
  max-width: 80%;
  color: #252850; /* azul profundo */
}

/* Títulos principales */
section h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

/* Línea dorada debajo de cada título */
section h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: #d0aa65; /* dorado */
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Párrafos */
section p {
  font-size: 24px;
  line-height: 1.6;
  margin: 20px auto;
  max-width: 900px;
  color: #252850;
}

/* Listas con viñetas visibles */
section ul, section ol {
  list-style-position: inside;
  margin: 0 auto 40px;
  max-width: 900px;
  text-align: left;
  padding: 0;
}

section ul li, section ol li {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #252850;
}

/* 📱 Responsivo para móviles */
@media (max-width: 768px) {
  section {
    max-width: 95%;
    margin: 40px auto;
  }

  section h2 {
    font-size: 36px;
  }

  section p {
    font-size: 18px;
    line-height: 1.5;
    padding: 0 10px;
  }

  section ul li, section ol li {
    font-size: 18px;
    line-height: 1.4;
  }
}
button {
  background-color: #d0aa65; /* dorado */
  color: #252850; /* azul profundo */
  font-size: 22px;
  font-weight: 700;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Hover (cuando pasas el mouse) */
button:hover {
  background-color: #252850; /* azul profundo */
  color: #D0AA65; /* crema */
  transform: scale(1.05);
}

/* 📱 Responsivo para móviles */
@media (max-width: 768px) {
  button {
    font-size: 18px;
    padding: 14px 24px;
    width: 100%; /* ocupa todo el ancho en móvil */
  }
}
/*///////////////////////SERVICIOS/////////////////////*/

.banner-servicios {
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center; /* centra el contenido */
}

.banner-img {
  max-width: 100%;          /* ocupa la mitad del ancho */
  height: auto;        /* mantiene proporción original */
  display: inline-block; /* permite que text-align center funcione */
  border-radius: 8px;  /* opcional: esquinas redondeadas */
}

.servicios-img {
  display: block;
  margin: 20px auto;     /* centrada con espacio arriba y abajo */
  max-width: 600px;      /* ancho limitado, ajusta según tu diseño */
  height: auto;          /* mantiene proporción original */
  opacity: 0.9;          /* un poco más suave, opcional */
}

.servicios-cierre {
  margin-top: 30px;
  padding: 20px;
  border: 2px solid #D0AA65;
  border-radius: 10px;
  background-color: #f9fff9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.servicios-cierre ul {
  margin: 10px 0 20px 20px;
}
.servicios-cierre li {
  margin-bottom: 8px;
}
.servicios-slogan {
  margin-top: 30px;
  padding: 25px;
  border: 2px solid #252850;
  border-radius: 10px;
  background-color: #fdfaf4;
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  color: #252850;
}
.servicios-slogan strong {
  color: #D0AA65;
}
/*///////////////////////Orientacion/////////////////////*/
    body {
      font-family: Arial, sans-serif;
      background: #f0f0f0;
      margin: 0;
      padding: 40px;
    }

    .tarjetas-container {
      display: grid;
      margin-top: 30px;
    }

    .tarjeta {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }

    .tarjeta:hover {
      transform: translateY(-5px);
    }

    .tarjeta .imagen img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .tarjeta .contenido {
      padding: 20px;
      text-align: left;
    }

    .tarjeta h3 {
      margin: 0 0 10px 0;
      font-size: 1.3em;
      color: #252850;
    }

    .tarjeta p {
      font-size: 0.95em;
      color: #555;
      margin-bottom: 15px;
    }

    .tarjeta button {
      background-color: #D0AA65;
      color: #fff;
      border: none;
      padding: 10px 15px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .tarjeta button:hover {
      background-color: #b58d4f;
    }
    
    /*///////////////////////Nosotros/////////////////////*/
    .frase {
  font-size: 18px;   /* tamaño de la frase */
  font-style: italic;
  color: #D0AA65;    /* dorado institucional */
  margin-bottom: 20px;
  display: block;
}
  /*///////////////////////Sistema/////////////////////*/
  .accesos {
  text-align: center;
  margin-top: 40px;
}

.acciones {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  background-color: #D0AA65; /* dorado institucional */
  color: #252850;            /* azul institucional */
  padding: 12px 25px;
  margin: 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #252850;
  color: #D0AA65;
}

.btn.secundario {
  background-color: transparent;
  border: 2px solid #D0AA65;
}
  /*///////////////////////FORM/////////////////////*/

form {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

h2, h3 {
  color: #333;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #555;
}

input, select, textarea, button {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

button {
  background-color: #252850;
  color: #D0AA65;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #D0AA65;
  color: #252850;
}
  /*///////////////////////CONTACTO/////////////////////*/
.terminos {
  margin-top: 15px;
  font-family: Arial, sans-serif;
  font-size: 0.95em;
  color: #252850;
}

.terminos input[type="checkbox"] {
  margin-right: 8px; /* espacio entre el cuadrito y el texto */
  vertical-align: middle; /* alinea el check con el texto */
}

.terminos a {
  color: #D0AA65;
  text-decoration: none;
  font-weight: bold;
}

.terminos a:hover {
  text-decoration: underline;
}
.btn-whatsapp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px #999;
  z-index: 1000;
}
.btn-whatsapp img {
  width: 35px;
  margin-top: 12px;
}
.btn-whatsapp:hover {
  background-color: #128C7E;
}
  /*///////////////////////TERMINOS/////////////////////*/
.terminos {
  margin: 40px auto;
  max-width: 900px;
  padding: 30px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #ffffff; /* fondo blanco para contraste */
  color: #222222; /* texto oscuro */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}