/*
Theme Name:     Generatepress-child
Theme URI:      
Description:    Generatepress child theme.
Author:         Me
Author URI:     
Template:       generatepress
Version:        0.1.0
*/

/* GLOBAL STYLES*/
body {
    overflow-x: hidden;
    margin: 0;
}

.mb-0{
    margin-bottom: 0;
}

/* HEADER STYLES */
#site-navigation{
    background-color: #0d1f3c;
}

.main-title a{
    color: var(--base);
}

.main-navigation .main-nav ul li a{
    color: var(--base);
}

.main-title:hover a{
    color: var(--accent);
}

@media (max-width: 768px) {
    .site-content{
        padding-top: 0 !important;
    }

    .menu-toggle{
        color: #ffff !important;
    }

    .mobile-menu{
        display: none;
    }

}

/* HERO STYLES */
.hero-tag{
    gap:10px;
}
.hero-tag::before {
    content: '';
    width: 15px;
    height: 3px;
    background: #19b8f2;
    display: block;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero > *:not(svg) {
  position: relative;
  z-index: 1;
}

/* CARDS STYLES */
/* Círculos decorativos - añade esta clase a tu contenedor card */
.custom-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  
.custom-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}
  
.custom-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}
  
.custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(33, 147, 176, 0.45);
}
  
/* Separador */
.custom-card .card-separator {
    width: 40px !important;
    max-width: 40px !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border: none !important;
    border-radius: 2px !important;
    margin: 0 auto 16px !important;
    opacity: 1 !important;
}

.testimonial-separator{
    border-top: 0;
    margin-bottom: 20px;
}

.posts-card-separator{
    border-top: 0;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* CONTACTO */

/* Labels */
.wpcf7-form label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a2e4a;
    margin-bottom: 7px;
}

/* Inputs y textarea */
.wpcf7-form .wpcf7-form-control.wpcf7-text,
.wpcf7-form .wpcf7-form-control.wpcf7-email,
.wpcf7-form .wpcf7-form-control.wpcf7-textarea {
    margin-top: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dde3ec;
    border-radius: 10px;
    font-size: 15px;
    color: #334;
    background: #fff;
    outline: none;
    font-family: inherit;
    transition: border 0.2s;
    box-shadow: none;
}

/* Focus */
.wpcf7-form .wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form .wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form .wpcf7-form-control.wpcf7-textarea:focus {
        border-color: #19b8f2;
}

/* Textarea altura */
.wpcf7-form .wpcf7-form-control.wpcf7-textarea {
    height: 130px;
    resize: vertical;
}

/* Botón enviar */
.wpcf7-form .wpcf7-form-control.wpcf7-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #19b8f2, #72bbbf);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(25,184,242,0.3);
    font-family: inherit;
    margin-top: 8px;
}

/* Botón desactivado */
.wpcf7-form .wpcf7-form-control.wpcf7-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}
  
  /* Checkbox */
.wpcf7-form .wpcf7-list-item-label {
    font-size: 13px;
    color: #889;
    margin-left: 8px;
}
  
.wpcf7-form .wpcf7-list-item-label a {
    color: #19b8f2;
    text-decoration: none;
}
  
.wpcf7-form input[type="checkbox"] {
    accent-color: #19b8f2;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.wpcf7-form .wpcf7-form-control.wpcf7-submit:hover {
    opacity: 0.9;
}

/* Mensaje de respuesta */
.wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    border: none !important;
}

/* Error validación */
.wpcf7-not-valid {
    border-color: #e74c3c !important;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    display: block;
}
@media (max-width: 768px) {
  .contact-form-intro{
    text-align: center;
  }
}

/* Botón Enviar — azul sólido */
button.wpbc_button_light, a.wpbc_button_light {
  background: #2d7cc1 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 32px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}
button.wpbc_button_light:hover, a.wpbc_button_light:hover {
  background: #1a5fa0 !important;
}

/* Botón WhatsApp */
.qlwapp__button--button{
    width: 60px;
    height: 60px !important;
}