/*
 Theme Name:     classic-child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Tema hijo para https://xn--corosdeespaa-khb.com/
 Author:         Classicvet
 Author URI:     https://classicvet.com/
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/* Forzar tipografía del sistema en toda la web para máxima velocidad */
body, h1, h2, h3, h4, h5, h6, .et_pb_module {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important;
}
body{
   background:#f6f5f3;
}
#main-content{
    background: transparent;
}
.caf-post-layout3 .caf-featured-img-box {
  height: 250px;
  }

  .author.caf-pl-0, .date.caf-pl-0{
  display:none;
  }

 .caf-post-title h2{
     line-height: 16px!important;

 }

.caf-post-layout3 #manage-post-area {
  background-image: linear-gradient(to right,#000000cf ,#000000cf);
}

.caf-filter-layout1 a {
  padding: 7px 10px;
  margin: 0px 2px;
}

.caf-mb-4 {
  margin-bottom: 14px !important;
}
#main-content .container:before {
    background: none;
}
.et_pb_contact_field_4_tb_footer.et_pb_contact_field .input, 
.et_pb_contact_field_4_tb_footer.et_pb_contact_field .input[type="checkbox"] + label i, 
.et_pb_contact_field_4_tb_footer.et_pb_contact_field .input[type="radio"] + label i {
  background-color: #b46a5a!important;
}
.et-pb-contact-message {
  position: relative;
  Color: #fff;
  font-size: 36px;
  line-height: 1em;
}
.contenedor-email-directo {
    margin: 15px 0;
}

/* El botón con contraste y tamaño optimizado */
.boton-email-accesible {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #944d3e; /* Tu color teja corporativo que aprueba contraste */
    color: #ffffff !important; /* Blanco puro para accesibilidad */
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

/* Estilo del icono */
.boton-email-accesible i {
    color: #ffffff !important;
    font-size: 1.1rem;
}

/* Hover con tu color oscuro del footer */
.boton-email-accesible:hover {
    background-color: #5e372f;
    color: #ffffff !important;
}

#formulario .wpcf7 input::placeholder,
#formulario .wpcf7 textarea::placeholder{
  color: #ffffff;
  opacity: 1!important;
  font-size:12px!important;
}
#formulario .wpcf7 textarea{
      border: 0px solid;
  background-color: #b97566;
  width: 100%;
  max-height: 140px;
      padding-left: 12px;
      padding-top: 15px;
      font-size: 13px;
    color:#ffffff;
}

#formulario .wpcf7 input.prim{
    border: 0px solid;
  background-color: #b97566;
  height: 60px;
      margin-bottom: 0.9em;
      padding-left: 12px;
      font-size: 13px;
    margin-right: 4.9%;
    width: 47.5%;
    color:#ffffff;
}
#formulario .wpcf7 input.seg{
    border: 0px solid;
  background-color: #b97566;
  height: 60px;
      margin-bottom: 0.9em;
      padding-left: 12px;
      font-size: 13px;
    width: 47.5%;
    color:#ffffff;
}
#formulario .wpcf7 input.full{
    border: 0px solid;
  background-color: #b97566;
  height: 30px;
      margin-bottom: 0.9em;
      padding-left: 12px;
      font-size: 13px;
    width: 100%;
    color:#ffffff;
}
#formulario .wpcf7 input[type="submit"]{
    background-color: #b97566;
    color: #ffffff;
    float: right;
    border: inherit;
    padding: 12px;
       font-size: 13px;
}
#formulario .wpcf7 input[type="submit"]:hover {
    opacity: 0.85;
}
#formulario .wpcf7 .acceptance-672 input[type="checkbox"]{
  height: auto;
}
#formulario .wpcf7 .acceptance-672 .wpcf7-list-item{
  margin:0px;
}
#formulario .wpcf7 label{
    color: #666666;
    font-size: 16px;
  font-weight: 400;
  padding-left: 5px;
}
#formulario .wpcf7 label a{
  color: #666666;
  text-decoration: underline;
}






.et_pb_menu__search-container{
        right: 0px!important;
    width: 50%!important;
    padding-left: 30px!important;
    left: auto!important;
    background-color: beige;
}

.et_pb_menu__search-input{
    color: #5e372f!important;
}





/*Optimización DIVI 5*/

/*----------------PLANTILLA CORO-----------------*/
/* Contenedor de cada fila de contacto */
/* Contenedor fila contacto */
.contacto_row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

/* Iconos SVG */
.contacto_icono {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contacto_icono img {
    width: 100%;
    height: auto;
    display: block;
}

/* Texto del contacto */
.contacto_texto a {
    text-decoration: none;
    color: inherit;
}

/* Ajustes específicos según tipo (opcional) */
.contacto_telefono .contacto_texto a {
    font-weight: bold;
    color: #1a73e8; /* ejemplo color azul para teléfonos */
}

.contacto_email .contacto_texto a {
    color: #d14836; /* ejemplo color rojo para emails */
}

.contacto_direccion .contacto_texto {
    color: #333;
}


/* ================= REDES SOCIALES ================= */

.contacto_redes {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap; /* por si en móvil no caben */
}

.contacto_redes .red_social {
    display: inline-flex;
    width: 28px;
    height: 28px;
}

.contacto_redes .red_social img {
    width: 100%;
    height: auto;
    display: block;
}

/* Opcional: hover */
.contacto_redes .red_social:hover {
    opacity: 0.8;
}





/*==============================================
  AJUSTE DE ANCHO DE FILAS RESPONSIVE
==============================================*/

/* Tablet y móvil - más ancho que el 80% por defecto de Divi */
@media (max-width: 980px) {
    .et_pb_row {
        width: 92% !important; 
        max-width: none !important;
    }
}
@media (max-width: 480px) {
    .et_pb_row {
        width: 94% !important;
    }
}








/* ===== CONTENEDOR ===== */

.cf7-footer .wpcf7,
.cf7-footer .wpcf7-form {
    width: 100%;
}

/* ===== PÁRRAFOS DE CF7 ===== */

.cf7-footer .wpcf7-form p {
    margin: 0 0 22px;
}

/* ===== CAMPOS ===== */

.cf7-footer .wpcf7-form input[type="text"],
.cf7-footer .wpcf7-form input[type="email"],
.cf7-footer .wpcf7-form input[type="tel"],
.cf7-footer .wpcf7-form textarea {
    width: 100% !important;
    background: transparent !important;

    border: none !important;
    border-bottom: 1px solid #777 !important;
    box-shadow: inset 0 -1px 0 #ffffff !important;

    padding: 16px !important;

    color: #ffffff !important;

    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;

    border-radius: 0 !important;

    outline: none;

    transition: all .3s ease;

    -webkit-appearance: none;
}

/* Placeholder */

.cf7-footer .wpcf7-form input::placeholder,
.cf7-footer .wpcf7-form textarea::placeholder {
    color: #ffffff;
    opacity: 1;
}

/* Focus */

.cf7-footer .wpcf7-form input:focus,
.cf7-footer .wpcf7-form textarea:focus {
    border-bottom-color: #ffffff !important;
}

/* Textarea */

.cf7-footer .wpcf7-form textarea {
    resize: vertical;
    min-height: 180px;
}

/* ===== CHECKBOX ===== */

.cf7-footer .wpcf7-acceptance label {
    color: #ffffff;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.cf7-footer .wpcf7-acceptance input {
    margin-right: 10px;
}

.cf7-footer .wpcf7-acceptance a {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== BOTÓN ===== */

.cf7-footer .wpcf7-submit {
    display: inline-block;

    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;

    text-transform: uppercase;
    letter-spacing: 2px;

    color: #b46a5a;

    background: transparent;

    border: 4px solid #b46a5a;

    border-radius: 3px;

    padding: 14px 32px;

    cursor: pointer;

    transition: all .3s ease;
}

.cf7-footer .wpcf7-submit:hover {
    background: #b46a5a;
    color: #ffffff;
}

/* ===== MENSAJES ===== */

.cf7-footer .wpcf7-response-output {
    margin-top: 25px;
    color: #ffffff;
}

.cf7-footer .wpcf7-not-valid-tip {
    color: #ffb3b3;
    font-size: 14px;
}

.cf7-footer .wpcf7-spinner {
    margin-left: 15px;
}

/* ===== ELIMINA ESTILOS GLOBALES DEL TEMA ===== */

.cf7-footer input.text,
.cf7-footer input.title,
.cf7-footer input[type=email],
.cf7-footer input[type=password],
.cf7-footer input[type=tel],
.cf7-footer input[type=text],
.cf7-footer select,
.cf7-footer textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #777 !important;
    box-shadow: inset 0 -1px 0 #ffffff !important;

    padding: 16px !important;

    color: #ffffff !important;

    border-radius: 0 !important;
}