/* ESTILOS GENERALES DE DECORACIONES  */
.linea-dividida {
  position: relative;
  background-image:
    linear-gradient(90deg, rgba(20, 60, 106, 1) 0%, rgba(20, 60, 106, 0) 100%), /* línea superior */
    linear-gradient(90deg, rgba(20, 60, 106, 0) 0%, rgba(20, 60, 106, 1) 100%); /* línea inferior */
  background-repeat: no-repeat;
  background-position: left top, right bottom;
  background-size: 65% 2px, 65% 2px;
}

.fondo-hover:hover {
  background-color: var(--color-panteon-fondo);
}

.fondo-hover:hover svg path,
.fondo-hover:hover h3 span {
  fill: #fff;
  color: #fff;
}

/* Estilos al formulario de contacto */
.form-contacto {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--color-panteon-fondo);
  color: var(--color-blanco);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 6rem 1.5rem 3rem 1.5rem;
  flex: 1;
}

@media (min-width: 768px) { 
  .form-contacto {
    padding: 6rem 5rem 3rem 5rem;
  }
}

.form-contacto p {
  display: flex;
  width: 100%;
}

.form-contacto > p:nth-child(8) {
  flex-direction: column;
}

.form-contacto .wpcf7-form-control-wrap {
  flex: 1;
}

.form-contacto .wpcf7-form-control {
  border: 1px solid gray;
  border-radius: 3px;
  padding: 0.8rem 1.8rem;
  display: flex;
  width: 100%;
}

.form-contacto .wpcf7-form-control:hover {
  border-color: #004aad;
}

.form-contacto .wpcf7-form-control:focus {
  border-color: #004aad;  
  box-shadow: 0 0 5px rgba(0, 74, 173, 0.3);
  background-color:  #e6e8ec;
}



.form-contacto label {
  display: flex;
}

.form-contacto .wpcf7-submit {
  border: none;
  cursor: pointer;
  padding: 1rem 0;
  transition: .4s ease-in-out;
}

.form-contacto .wpcf7-submit:hover{
  background-color: #cfcfcf;
}

.form-contacto .wpcf7-radio {
  margin-left: 2rem;
  gap: 3rem;
}

.form-contacto .wpcf7-radio,
.form-contacto .wpcf7-acceptance {
  border: none;
  color: #fff;
  padding: 0;
}

.form-contacto .wpcf7-acceptance label {
  align-items: start;
  gap: 1rem;
  font-size: 1.3rem;;
}

.form-contacto .wpcf7-acceptance label > input {
  margin-top: 3px;
}

.form-contacto .wpcf7-list-item {
  margin: 0;
}

/* Estilos al footer */
.footer {
  background-color: var(--color-panteon-fondo); 
  color: #ffffff;
  padding: 60px 20px 20px;
  font-family: var(--fuente-textos-l);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 220px;
  text-align: center;
  padding-right: 1rem;
}

@media (min-width: 768px) { 
  .footer-column {
    text-align: left;
  }
}

@media (min-width: 768px) { 
  .footer-column {
    border-right: 1px solid #325a88;
  }

  .footer-column:last-child {
    border-right: none;
  }

  .footer-column:nth-child(2) {
    border-right: none;
  }
}

@media (min-width: 850px) { 
  .footer-column:nth-child(2) {
    border-right: 1px solid #325a88;
  }

  .footer-column:nth-child(3) {
    border-right: none;
  }
}

@media (min-width: 1129px) { 
  .footer-column:nth-child(3) {
    border-right: 1px solid #325a88;
  }
}

.footer-column h3,
.footer-column h4 {
  color: #f0a500; /* Amarillo/dorado corporativo */
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-column p {
  font-size: 1.5rem;
  line-height: 1.5;
  text-align: justify;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #f0a500;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 768px) { 
  .social-links {
    justify-content: left;
  }
}

.social-links img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.social-links img:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
}

/* Estilos a la pagina search (Busqueda) */
.search-results-page {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
}

.search-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.search-item-title a {
    font-size: 22px;
    color: #333;
    text-decoration: none;
}

.search-item-title a:hover {
    text-decoration: underline;
}

.search-item-excerpt {
    color: #666;
}

.search-no-results {
    text-align: center;
    padding: 40px;
}

/* Estilos a plantilla 404 pagina no encontrada */
/* ---------- 404 elegante (paleta: rgb(0,154,150), #143C6A, #CC9F52) ---------- */

.page-404 {
  padding: 80px 20px;
  background: #fff;
  color: #111;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.page-404__inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

/* SVG decorativo */
.page-404__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.decor-blob {
  width: 100%;
  height: 100%;
  display: block;
}

/* Contenido principal */
.page-404__content {
  position: relative;
  z-index: 2;
  padding: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(20, 60, 106, 0.06);
}

/* Badge 404 */
.page-404__badge {
  display: inline-block;
  font-weight: 800;
  font-size: 48px;
  color: var(--color-panteon-fondo);
  background: rgba(0,154,150,0.08);
  padding: 10px 16px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.03);
  margin-bottom: 18px;
}

/* Title */
.page-404__title {
  font-size: 28px;
  color: var(--color-panteon-fondo);
  margin: 6px 0 12px;
  line-height: 1.15;
}

/* Text */
.page-404__text {
  color: #333;
  font-size: 16px;
  margin-bottom: 22px;
}

/* Actions (botones y búsqueda) */
.page-404__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
  border: none;
}

.btn--primary {
  background: linear-gradient(180deg, rgb(0,154,150), #143C6A);
  color: #fff;
  box-shadow: 0 8px 20px rgba(20,60,106,0.12);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(20,60,106,0.14);
}

/* Search form container */
.page-404__search .search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-404__search .search-field,
.page-404__search input[type="search"] {
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  min-width: 220px;
  font-size: 14px;
}

.page-404__search .search-submit {
  background: var(--color-panteon-yellow);
  color: var(--color-panteon-fondo);
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.page-404__search .search-submit:hover {
  filter: brightness(.95);
}

/* Suggestions area */
.page-404__suggestions {
  display: flex;
  gap: 28px;
  margin-top: 18px;
  align-items: flex-start;
}

.recent-posts h3,
.quick-links h3 {
  margin: 0 0 10px;
  color: #143C6A;
  font-size: 16px;
  font-weight: 700;
}

.recent-posts ul,
.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li,
.quick-links li {
  margin-bottom: 10px;
}

.recent-posts a,
.quick-links a {
  color: #143C6A;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.recent-posts a:hover,
.quick-links a:hover {
  color: rgb(0,154,150);
}

/* Responsive */
@media (max-width: 980px) {
  .page-404__inner {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }

  .page-404__art { display: none; }
  .page-404__suggestions { flex-direction: column; gap: 16px; }
  .page-404__content { padding: 28px; }
}



