/*
Theme Name: Desireé Loaiza Cano
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.01
Updated: 2024-03-15

*/

html, body{}
body{}
a{text-decoration: none !important; }
a{-webkit-transition: all 100ms ease-in-out; -moz-transition: all 100ms ease-in-out; -ms-transition: all 100ms ease-in-out; -o-transition: all 100ms ease-in-out; transition: all 100ms ease-in-out;}
textarea{resize: none !important;}
p{margin-top: 0 !important; padding-top: 0 !important;}
*{word-wrap: normal;}


/* BLOQUEAR SCROLL LATERAL */

html,
body{
width:100%;
overflow-x:hidden;
}

/* Ocultar icono de recapcha */
.grecaptcha-badge {
    visibility: hidden;
}


/* Logo alternativo oculto al inicio */
.scrolled-logo {
    display: none;
    transition: opacity 0.5s ease-in-out;
}
.normal-logo {
    display: block;
    transition: opacity 0.5s ease-in-out;
}

/* Al hacer scroll, se invierte */
.shrink-header.scrolled .normal-logo {
    display: none;
}
.shrink-header.scrolled .scrolled-logo {
    display: block;
}



/* --- 1. ESTRUCTURA Y CAMPOS --- */

.cf-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

/* Campos de texto, select y textarea */
.cf-container input:not([type="submit"]):not([type="checkbox"]),
.cf-container select,
.cf-container textarea {
    width: 100% !important;
    display: block;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 7px;
    box-sizing: border-box;
}

/* Altura del textarea */
.cf-container textarea {
    height: 100px; /* Aquí defines la altura */
    resize: vertical;
}

/* Espaciado de etiquetas y columnas */
.cf-container label {
    font-weight: 600;
    color: #7a7a7a;
    display: block;
    width: 100%;
}

.cf-container .cf-col-6, 
.cf-container .cf-col-12 {
    margin-bottom: 5px; /* Espacio entre filas */
    padding: 0 10px;
    box-sizing: border-box;
}

.cf-col-12 { width: 100%; }

@media (min-width: 576px) {
    .cf-col-6 { width: 50%; }
}

/* --- 2. EL CHECKBOX (ESTILO PERSONALIZADO) --- */

.cf-container .wpcf7-checkbox {
    display: block;
    margin-top: 10px;
}

.cf-container input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #02425e; 
    border-radius: 4px; /* Bordes redondeados */
    background-color: #fff;
    cursor: pointer;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 12px !important; /* SEPARACIÓN DEL TEXTO */
    position: relative;
    transition: all 0.2s;
}

.cf-container input[type="checkbox"]:checked {
    background-color: #6fa8a3; /* Color naranja al marcar */
    border-color: #6fa8a3;
}

/* El check (v) blanco */
.cf-container input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    color: white;
    font-size: 14px;
    left: 2px;
    top: -2px;
}

.cf-container .wpcf7-list-item-label {
    display: inline-block !important;
    vertical-align: middle;
    font-weight: normal;
}

/* --- 3. BOTÓN ENVIAR --- */

.wpcf7 input.wpcf7-submit {
    width: 100% !important;
    padding: 12px;
    border-radius: 4px;
    border: 2px solid #7a5c4d; 
    background-color: #7a5c4d; 
    color: #ffffff !important;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    margin-top: 10px;
}

.wpcf7 input.wpcf7-submit:hover {
    background-color: #6fa8a3 !important;
    border-color: #6fa8a3 !important;
    color: #ffffff !important;
}

/* Links de privacidad */
.wpcf7-form a { color: #6fa8a3; text-decoration: underline; }