/*
Theme Name: Astra Child
Theme URI: https://tuweb.com/
Description: Tema hijo de Astra
Author: Tu nombre
Author URI: https://tuweb.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Aquí puedes agregar tus estilos personalizados */

/* ======== FORMULARIO DE CONTACTO PERSONALIZADO ======== */
.contact-form-custom {
  max-width: 400px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
}

/* ======== CAMPOS DE ENTRADA Y TEXTAREA ======== */
.contact-form-custom input[type="text"],
.contact-form-custom input[type="email"],
.contact-form-custom textarea {
  width: 100%;
  border: 1px solid #1b3458;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ======== EFECTO DE ENFOQUE ======== */
.contact-form-custom input[type="text"]:focus,
.contact-form-custom input[type="email"]:focus,
.contact-form-custom textarea:focus {
  border-color: #1b3458;
  box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

/* ======== TEXTAREA ======== */
.contact-form-custom textarea {
  height: 120px;
  resize: none;
}

/* ======== PLACEHOLDER ======== */
.contact-form-custom ::placeholder {
  color: #7a8699;
  opacity: 1;
  font-size: 14px;
}

/* ======== BOTÓN DE ENVÍO ======== */
.contact-form-custom input[type="submit"] {
  background-color: #1b3458;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 40px;
  font-size: 15px;
  cursor: pointer;
  display: block;
  margin: 10px auto 0;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* ======== EFECTO HOVER BOTÓN ======== */
.contact-form-custom input[type="submit"]:hover {
  background-color: #284b74;
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ======== EFECTO ACTIVE BOTÓN ======== */
.contact-form-custom input[type="submit"]:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 480px) {
  .contact-form-custom {
    width: 88%;
  }

  .contact-form-custom input[type="submit"] {
    width: 100%;
  }
}

.num {
  font-size: 26px;
  font-weight: bold;
}

.txt {
  font-size: 18px;
  line-height: 20px;
  font-weight: 400;
}

/* --- Versión móvil --- */
@media (max-width: 480px) {
  .num {
    font-size: 16px;
  }
  .txt {
    font-size: 8px;
    line-height: 10px;
  }
}

.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a){
  text-decoration: none;
}

#enlace-nosotros {
    cursor: pointer;
}

.contenedor-fondo {

  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Para efecto parallax */
}

.wpcf7-spinner{
 display: none !important; 
}

.contact-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 74px;
    color: #487BC5;
    line-height: 0.75;
    text-align: center;
    margin-top: 20px;
}

.contact-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    color: #273F63;
    font-weight: 400;
    white-space: nowrap;
    letter-spacing: -3px;
    word-spacing: -3px;
}

/* Estilos para móvil */
@media (max-width: 768px) {
    .contact-title {
        font-size: 33px;
    }
    .contact-subtitle {
        font-size: 26px;
        letter-spacing: -1.5px;
        word-spacing: 0px;
    }
}
