/*
Theme Name: Reon
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Version: 1.3.2
Description: Created by <a href="https://themeforest.net/user/ovatheme">Ovatheme</a>
Author: <a href="https://themeforest.net/user/ovatheme">Ovatheme</a>
Author URI: <a href="https://themeforest.net/user/ovatheme/portfolio">Ovatheme</a>
License: GNU General Public License
License URI: license.txt
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: reon
*/

.formulario-wrapper { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; width: 100%; max-width: 100%; } .form-titulo { font-family: 'manrope-extralight', sans-serif; color: #3e350e; font-size: 18px; line-height: 1.4; text-align: center; margin-bottom: 16px; margin-top: 0; } .formulario-personalizado { background-color: rgba(255, 255, 255, 0.4); padding: 24px 30px 30px 30px; border-radius: 20px; width: 100%; max-width: none; margin: 0 auto !important; font-family: 'Manrope-ExtraLight', sans-serif; display: flex; flex-direction: column; box-shadow: none; overflow: visible; position: relative; z-index: 2; } .formfila { display: flex; flex-direction: column; gap: 7px; } .fila-1 { margin-bottom: 7px; } .fila-2 .campo-50:last-child { margin-bottom: 16px; } .campo-50, .campo-33 { width: 100%; } .campo-input { width: 100%; padding: 14px 18px; height: 40px; border: 1px solid #dcdcdc; border-radius: 10px; font-size: 14px; background-color: #fff; box-sizing: border-box; } ::placeholder { color: #000 !important; } .form-boton { margin-top: -28px; display: flex; justify-content: center; position: relative; z-index: 10; } .btn-formulario { background-color: #e6d5b7; color: #3e350e; padding: 1px ; font-size: 20px; font-weight: 500 !important; font-family: 'Open Sans', sans-serif; border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); min-width: 200px; display: block; } .btn-formulario:hover { background-color: #c9bfb2; color: #000; } @media screen and (max-width: 767px) { .formulario-personalizado { max-width: 100%; padding: 20px; gap: 12px; } .fila-1 { margin-bottom: 0 !important; } .fila-2 .campo-50:last-child { margin-bottom: 25px; } .btn-formulario { width: 100%; } .form-boton { margin-top: -20px; padding: 0 20px; } } .wpcf7-form p, .wpcf7-form br, .wpcf7-form span { margin: 0 !important; padding: 0 !important; line-height: 1 !important; display: block !important; } input.campo-input, input[type="text"], input[type="email"], input[type="tel"], textarea.campo-input { margin: 0 !important; margin-bottom: 6px !important; display: block; } .gallery-caption { position: absolute; left: 16px; bottom: 14px; color: #E4D4BC; font-family: 'Manrope', sans-serif; font-size: 26px; } /*galeria framekork ova gallery v2*/ body .ovamenu_shrink.active_fixed, body .ovamenu_shrink.active_fixed.bg_dark { background-color: #59343E !important; } .ova-gallery-v2 .gallery-item .overlay i { display: none !important; } .ova-gallery-v2 .gallery-item .overlay::after { content: attr(data-title); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 18px; font-weight: bold; text-align: center; white-space: normal; }


.wpcf7-response-output {
  color: #E6D5B8 !important;  
}


/* form seccion principal */
.cf7-olivetta{
  background:#E6D5B8;
  color:#3D3715;
  padding:20px;
}
.cf7-olivetta *{ box-sizing:border-box; }
.cf7-olivetta .cf7-panel{
  max-width:980px;
  margin:0 auto;
  padding:14px 18px 24px;
}

.cf7-olivetta .cf7-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px 28px;
}
@media (max-width:900px){
  .cf7-olivetta .cf7-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .cf7-olivetta .cf7-grid{ grid-template-columns:1fr; }
}

.cf7-olivetta .cf7-field{ font-size:14px; }


.cf7-olivetta input[type="text"],
.cf7-olivetta input[type="email"],
.cf7-olivetta input[type="tel"],
.cf7-olivetta select{
  width:100%;
  height:44px;
  margin:0;
  padding:0 14px;
  border:1px solid #3D3715;
  border-radius:0;
  background-color:#E6D5B8;
  color:#3D3715;
  font-family:"Manrope-ExtraLight","Manrope",sans-serif;
  font-weight:200;
  font-size:15px;
  line-height:1.2;
  outline:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}


.cf7-olivetta .field-apto{ grid-column:2 / span 1; }
@media (max-width:900px){ .cf7-olivetta .field-apto{ grid-column:1 / -1; } }
@media (max-width:640px){ .cf7-olivetta .field-apto{ grid-column:auto; } }


.cf7-olivetta .cf7-actions{
  display:flex;
  justify-content:center;
  margin-top:54px;
}
.cf7-olivetta .cf7-btn{
  border:0;
  height:58px;
  min-width:230px;
  padding:0 22px;
  border-radius:2px;
  background:#3D3715;
  color:#E6D5B8;
  font:600 22px/1 "Manrope","Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  cursor:pointer;
  transition:opacity .2s, transform .08s;
}
.cf7-olivetta .cf7-btn:hover{ opacity:.92; }
.cf7-olivetta .cf7-btn:active{ transform:translateY(1px); }

.cf7-olivetta .wpcf7-not-valid-tip,
.cf7-olivetta .wpcf7-response-output{ color:#Ff0000; }


.cf7-olivetta .select2-container--default .select2-selection--single {
  background-color:#E6D5B8 !important;
  border:1px solid #3D3715 !important;
  border-radius:0 !important;
  min-height:44px !important;
  height:44px !important;
  display:flex !important;
  align-items:center !important;
  font-family:"Manrope-ExtraLight","Manrope",sans-serif !important;
  font-weight:200 !important;
  font-size:15px !important;
  color:#3D3715 !important;
}


.cf7-olivetta .select2-selection__rendered {
  color:#3D3715 !important;
  line-height:44px !important;
  padding-left:14px !important;
  font-family:inherit !important;
  font-weight:inherit !important;
}

.cf7-olivetta .select2-dropdown {
  background-color:#E6D5B8 !important;
  border:1px solid #3D3715 !important;
  border-radius:0 !important;
  font-family:"Manrope-ExtraLight","Manrope",sans-serif !important;
  font-weight:200 !important;
  font-size:15px !important;
  color:#3D3715 !important;
}

.cf7-olivetta .select2-results__option {
  background-color:#E6D5B8 !important;
  color:#3D3715 !important;
  padding:8px 14px !important;
}
.cf7-olivetta .select2-results__option--highlighted {
  background-color:rgba(61,55,21,.15) !important;
  color:#3D3715 !important;
}

/* contenedor con efecto hover */
.card-hover {
  position: relative;
  overflow: hidden;
}

/* imagen dentro del contenedor */
.card-hover img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* capa oscura */
.card-hover::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* negro con opacidad */
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* texto dentro del contenedor */
.card-hover h3,
.card-hover .elementor-heading-title {
  position: absolute;
  bottom: 20px; /* lo puedes mover al centro si quieres */
  left: 20px;
  color: #E6D5B8; /* color de fuente */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2;
  margin: 0;
}

/* al pasar el cursor: aparece capa + texto */
.card-hover:hover::after {
  opacity: 1;
}

.card-hover:hover h3,
.card-hover:hover .elementor-heading-title {
  opacity: 1;
  transform: translateY(0);
}
/* ====== HEADER SIEMPRE EN #59343E */

body .ovamenu_shrink,
body .ovamenu_shrink.ready_active,
body .ovamenu_shrink.active_fixed,
body .ovamenu_shrink.active_fixed.bg_white,
body .ovamenu_shrink.active_fixed.bg_dark,
body .ova_header_absoluted,
body .ovatheme_header_default nav.navbar,
body nav.navbar {
  background: #59343E !important;
  background-color: #59343E !important;
}

body .elementor-sticky--effects,
body .elementor-sticky--active,
body .elementor-sticky__spacer + .elementor-section {
  background: #59343E !important;
  background-color: #59343E !important;
}

@media (max-width: 991.98px) {
  body .ovamenu_shrink,
  body .ovamenu_shrink.active_fixed,
  body .ovatheme_header_default nav.navbar,
  body nav.navbar,
  body .navbar-collapse,
  body .navbar-collapse.collapse,
  body .navbar-collapse.collapse.show {
    background: #59343E !important;
    background-color: #59343E !important;
  }


  body .navbar-collapse .nav > li > a,
  body .navbar-collapse ul.nav li > a {
    color: #fff !important;
  }
}

:root { --header-bg: #59343E; }

/* Base: aplica en todos los tamaños */
body .ovamenu_shrink,
body .ovamenu_shrink.ready_active,
body .ovamenu_shrink.active_fixed,
body .ovamenu_shrink.active_fixed.bg_white,
body .ovamenu_shrink.active_fixed.bg_dark,
body .ova_header_absoluted,
body .ovatheme_header_default nav.navbar,
body nav.navbar {
  background: var(--header-bg) !important;
  background-color: var(--header-bg) !important;
}

/* Elementor sticky (por si el header es plantilla de Elementor) */
body .elementor-sticky--effects,
body .elementor-sticky--active,
body .elementor-sticky__spacer + .elementor-section {
  background: var(--header-bg) !important;
  background-color: var(--header-bg) !important;
}

/* Panel desplegable del menú (mobile/offcanvas) */
body .navbar-collapse,
body .navbar-collapse.collapse,
body .navbar-collapse.show,
body .navbar-collapse.collapse.show,
body .ova_menu_mobile,
body .ova_menu_mobile .menu,
body .mobile-menu,
body .mobile_menu,
body .ovatheme_header_default .navbar-collapse {
  background: var(--header-bg) !important;
  background-color: var(--header-bg) !important;
}

/* Texto de enlaces dentro del menú móvil (contraste) */
body .navbar-collapse .nav > li > a,
body .navbar-collapse ul.nav li > a,
body .ova_menu_mobile .menu li a,
body .mobile-menu li a {
  color: #fff !important;
}

/* ===== Refuerzos por breakpoints (por si el tema sobreescribe en móvil) ===== */

/* Tablets y móviles (≤ 768px) */
@media (max-width: 768px) {
  html body .ovamenu_shrink.active_fixed,
  html body .ovamenu_shrink.active_fixed.bg_white,
  html body .ovatheme_header_default nav.navbar,
  html body nav.navbar,
  html body .navbar-collapse,
  html body .navbar-collapse.show {
    background: var(--header-bg) !important;
    background-color: var(--header-bg) !important;
  }
}

/* Teléfonos pequeños (≤ 480px) */
@media (max-width: 480px) {
  html body .ovamenu_shrink.active_fixed.bg_white,
  html body .ovamenu_shrink.active_fixed,
  html body .ova_header_absoluted,
  html body .navbar-collapse.collapse.show {
    background: var(--header-bg) !important;
    background-color: var(--header-bg) !important;
  }
}

/* Muy pequeños (≤ 360px) – máxima especificidad */
@media (max-width: 360px) {
  html body .ovamenu_shrink.active_fixed.bg_white,
  html body .ovamenu_shrink.active_fixed.bg_dark,
  html body .ovamenu_shrink,
  html body .navbar-collapse.collapse.show {
    background: var(--header-bg) !important;
    background-color: var(--header-bg) !important;
  }
}
