/* Theme Name: Reon Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of reon
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: reon
Version: 1.0.1
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  reon-child
*/
@font-face {
  font-family: 'Tangoure';
  src: url('fonts/Tangoure.woff2') format('woff2'),
       url('fonts/Tangoure.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sora';
  src: url('fonts/Sora-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================
   FORMULARIO ALBORE
   AJUSTE COMPACTO
   ========================= */

.cf7-albore-form{
  --albore-field-bg: #f3f2ee;
  --albore-field-text: #a18067;
  --albore-btn-bg: #faf9e0;
  --albore-btn-text: #a18067;

  background: transparent;
  color: var(--albore-field-text);
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 10px 14px;
}

.cf7-albore-form *,
.cf7-albore-form *::before,
.cf7-albore-form *::after{
  box-sizing: border-box;
}

.cf7-albore-form p{
  margin: 0 !important;
}

.cf7-albore-form .wpcf7-form-control-wrap{
  display: block;
  width: 100%;
}

/* grid */
.cf7-albore-form .cf7-albore-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 14px;
  align-items: stretch;
}

@media (max-width: 900px){
  .cf7-albore-form .cf7-albore-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .cf7-albore-form .cf7-albore-grid{
    grid-template-columns: 1fr;
  }
}

.cf7-albore-form .cf7-albore-field{
  width: 100%;
  font-size: 14px;
}

/* inputs y selects */
.cf7-albore-form input[type="text"],
.cf7-albore-form input[type="email"],
.cf7-albore-form input[type="tel"],
.cf7-albore-form select{
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--albore-field-bg);
  color: var(--albore-field-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  outline: none;
  box-shadow: none;
}

/* placeholders */
.cf7-albore-form input::placeholder{
  color: var(--albore-field-text);
  opacity: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* selects */
.cf7-albore-form select{
  padding-right: 36px;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  background-image: none !important;
}

.cf7-albore-form select,
.cf7-albore-form select option{
  color: var(--albore-field-text) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* apaga iconos extra si el theme mete otros */
.cf7-albore-form .cf7-albore-select::before,
.cf7-albore-form .cf7-albore-select::after,
.cf7-albore-form .cf7-albore-select i,
.cf7-albore-form .cf7-albore-select svg{
  display: none !important;
  content: none !important;
}

/* focus */
.cf7-albore-form input[type="text"]:focus,
.cf7-albore-form input[type="email"]:focus,
.cf7-albore-form input[type="tel"]:focus,
.cf7-albore-form select:focus{
  outline: none;
  box-shadow: none;
  background: var(--albore-field-bg);
}

/* botón */
.cf7-albore-form .cf7-albore-actions{
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.cf7-albore-form .cf7-albore-btn{
  border: 0;
  height: 32px;
  min-width: 170px;
  padding: 0 18px;
  border-radius: 0;
  background: var(--albore-btn-bg);
  color: var(--albore-btn-text);
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  transition: opacity .2s ease;
}

.cf7-albore-form .cf7-albore-btn:hover{
  opacity: .92;
}

/* mensajes */
.cf7-albore-form .wpcf7-not-valid-tip{
  margin-top: 4px;
  color: #fff;
  font-size: 11px;
}

.cf7-albore-form .wpcf7-response-output{
  margin: 10px 0 0 !important;
  padding: 8px 10px !important;
  border: 0 !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.cf7-albore-form .wpcf7-spinner{
  margin: 8px 0 0 8px !important;
}

/* select2, por si el theme lo usa */
.cf7-albore-form .select2-container--default .select2-selection--single{
  background: var(--albore-field-bg) !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--albore-field-text) !important;
}

.cf7-albore-form .select2-selection__rendered{
  color: var(--albore-field-text) !important;
  line-height: 44px !important;
  padding-left: 16px !important;
  padding-right: 36px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.cf7-albore-form .select2-selection__arrow{
  height: 44px !important;
  right: 8px !important;
}

.cf7-albore-form .select2-dropdown{
  background: var(--albore-field-bg) !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--albore-field-text) !important;
}

.cf7-albore-form .select2-results__option{
  background: var(--albore-field-bg) !important;
  color: var(--albore-field-text) !important;
  padding: 8px 12px !important;
}

.cf7-albore-form .select2-results__option--highlighted{
  background: rgba(161,128,103,.12) !important;
  color: var(--albore-field-text) !important;
}

/* móvil */
@media (max-width: 767px){
  .cf7-albore-form{
    padding: 8px 8px 12px;
  }

  .cf7-albore-form .cf7-albore-grid{
    gap: 8px 10px;
  }

  .cf7-albore-form input[type="text"],
  .cf7-albore-form input[type="email"],
  .cf7-albore-form input[type="tel"],
  .cf7-albore-form select{
    height: 40px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .cf7-albore-form input::placeholder,
  .cf7-albore-form select,
  .cf7-albore-form select option{
    font-size: 13px !important;
  }

  .cf7-albore-form .select2-container--default .select2-selection--single{
    min-height: 40px !important;
    height: 40px !important;
    font-size: 13px !important;
  }

  .cf7-albore-form .select2-selection__rendered{
    line-height: 40px !important;
    font-size: 13px !important;
    padding-left: 14px !important;
    padding-right: 34px !important;
  }

  .cf7-albore-form .select2-selection__arrow{
    height: 40px !important;
  }

  .cf7-albore-form .cf7-albore-actions{
    margin-top: 14px;
  }

  .cf7-albore-form .cf7-albore-btn{
    min-width: 150px;
    height: 30px;
    font-size: 12px;
  }
}

.elementor-29 .elementor-element.elementor-element-874b910:not(.elementor-motion-effects-element-type-background),
.elementor-29 .elementor-element.elementor-element-874b910 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: #654727 !important;
}

/* Mensaje de error / respuesta CF7 mensajes  */
.cf7-albore-form .wpcf7-response-output,
.formulario-wrapper .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 20px auto 0 auto !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
}

/* Oculto por defecto */
.cf7-albore-form .wpcf7-response-output,
.formulario-wrapper .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
    display: none !important;
    margin: 18px 0 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-family: "Sora", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
}

/* Mostrar solo cuando hay estado */
.cf7-albore-form .wpcf7 form.sent .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.invalid .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.unaccepted .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.payment-required .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.failed .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.spam .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.aborted .wpcf7-response-output,

.formulario-wrapper .wpcf7 form.sent .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.unaccepted .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.payment-required .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.failed .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.spam .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.aborted .wpcf7-response-output,

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    display: block !important;
}

/* Enviado correctamente */
.cf7-albore-form .wpcf7 form.sent .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(95, 103, 84, 0.28) !important;
    border-color: #c5bbae !important;
    color: #ffffff !important;
}

/* Error / validación */
.cf7-albore-form .wpcf7 form.invalid .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.unaccepted .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.payment-required .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.unaccepted .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background: rgba(180, 58, 58, 0.18) !important;
    border-color: #ffb3b3 !important;
    color: #ffffff !important;
}

/* Otros estados */
.cf7-albore-form .wpcf7 form.failed .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.spam .wpcf7-response-output,
.cf7-albore-form .wpcf7 form.aborted .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.failed .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.spam .wpcf7-response-output,
.formulario-wrapper .wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: rgba(120, 60, 30, 0.22) !important;
    border-color: #e6d5b7 !important;
    color: #ffffff !important;
}

/* Mensajes debajo de campos */
.cf7-albore-form .wpcf7-not-valid-tip,
.formulario-wrapper .wpcf7-not-valid-tip,
.wpcf7-not-valid-tip {
    margin-top: 6px !important;
    font-size: 12px !important;
    color: #ffe3e3 !important;
}

/* Bordes en campos inválidos */
.cf7-albore-form .wpcf7-not-valid,
.formulario-wrapper .wpcf7-not-valid,
.wpcf7-not-valid {
    border-color: #ffb3b3 !important;
}