/**
* Theme Name: Karon Child
* Description: This is a child theme of Karon, generated by Merlin WP.
* Author: <a href="https://creativesplanet.com/">Creative's Planet</a>
* Template: karon
* Version: 1.0
*/


.elementor-location-header {
    position: relative;
    z-index: 999;
}

body:not(.grupo-homologacion) header #header-top {
   background: #c34041;
   
}

body.home .wab-fab-row {
    justify-content: flex-end !important;
}

/*boton whatsapp dayvo*/

body.home .wa__btn_popup{
    right: 30px !important;
    bottom: 30px !important;
}

@media (max-width: 768px) {
    body.home .wab-email-panel.is-open {
        transform: translateX(70%) scale(1);
    }
    .wab-fab-row {
    margin-bottom: 20px !important;
}
}

html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, table { max-width: 100%; }


 body:not(.home):not(.grupo-homologacion) .content-area {margin-top: 80px;}

body:not(.elementor-page) .content-area {
   max-width: 1440px;
   margin: 60px auto;
}

@media (max-width: 768px) {
		body:not(.elementor-page) .content-area {
		   max-width: 90% !important;
		 
		}
}

/* Oculta el header sticky hasta que Elementor le añada la clase */
#header-sticky:not(.elementor-sticky--active) {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}


#header-sticky.elementor-sticky--active {
	opacity: 1;
    pointer-events: all;
    visibility: visible;
    transition: opacity 0.3s ease;
	   background: #c34041cc;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

body.home header {
    margin-bottom: -200px;
}

body:not(.home) header {
    margin-bottom: -90px;
}

@font-face {
	font-family: 'cafetaregular';
	src: url('fonts/cafeta_-webfont.woff2') format('woff2'),
		 url('fonts/cafeta_-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;

}

@media (min-width: 1200px) {
    .elementor-section.elementor-section-boxed.elementor-element>.elementor-container, .container, .elementor-section.elementor-section-boxed>.elementor-container, .container {
        max-width: 100% !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
   
   .cspt-footer-section .container {
		max-width: 1440px !important;
		display: flex;
		flex-direction: column;
	}
}

span.cspt-number-rotate.numinate.completed {
    color: #c04041;
}

/* ================================================
   TH Homologaciones — Contact Form 7 styles
   ================================================ */

:root {
  --th-red: #C91C1C;
  --th-red-dark: #a01515;
  --th-gray-bg: #F5F5F3;
}

/* Aviso de cookies */
.wpcf7 .th-cookie-notice,
.th-cookie-notice {
  background: var(--th-gray-bg);
  border-left: 3px solid var(--th-red);
  border-radius: 0 4px 4px 0;
  padding: 10px 14px;
  font-size: 12px;
  color: #666;
  margin-bottom: 1.25rem;
}
.th-cookie-notice a { color: var(--th-red); font-weight: 600; text-decoration: none; }

/* Labels */
.wpcf7 label,
.formPresupuesto label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 5px;
  font-family: 'Open Sans', sans-serif;
}

/* Inputs, selects, textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea,
.formPresupuesto input[type="text"],
.formPresupuesto input[type="email"],
.formPresupuesto input[type="tel"],
.formPresupuesto select,
.formPresupuesto textarea {
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  padding: 0 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #222;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.wpcf7 textarea,
.formPresupuesto textarea {
  height: auto;
  min-height: 90px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

.wpcf7 select,
.formPresupuesto select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}



/* Focus */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.formPresupuesto input:focus,
.formPresupuesto select:focus,
.formPresupuesto textarea:focus {
  border-color: var(--th-red);
  box-shadow: 0 0 0 2px rgba(201,28,28,0.1);
}

/* Acceptance (checkbox RGPD) */
.wpcf7 .wpcf7-acceptance,
.formPresupuesto .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #666;
  margin: 1rem 0 1.25rem;
  line-height: 1.5;
}
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--th-red);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Botón enviar */
.wpcf7 input[type="submit"],
.wpcf7 .botonSolicitud,
.formPresupuesto input[type="submit"] {
  display: inline-block;
  background: var(--th-red) !important;
  color: #fff !important;
  font-family: 'Oswald', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 0 28px !important;
  height: 42px !important;
  cursor: pointer;
  transition: background 0.15s;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 .botonSolicitud:hover {
  background: var(--th-red-dark) !important;
}

/* Texto legal / reCAPTCHA */
.wpcf7 .th-rgpd,
.formPresupuesto .th-rgpd {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  background: #F5F5F3;
  border-radius: 3px;
  padding: 10px 14px;
  margin: 0.75rem 0;
}

/* Mensajes de validación CF7 */
.wpcf7-not-valid-tip {
  font-size: 11px;
  color: var(--th-red);
  margin-top: 4px;
  display: block;
}
.wpcf7-response-output {
  font-size: 13px;
  border-radius: 3px;
  padding: 10px 14px;
  margin-top: 1rem;
  border-left: 3px solid var(--th-red);
}

/* Layout de dos columnas */
.formPresupuesto .th-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.formPresupuesto .th-group {
  margin-bottom: 10px;
}

/* Separador de sección */
.formPresupuesto .th-form-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 1.25rem 0 1rem;
}
.formPresupuesto .th-form-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.wpcf7-form input[type="number"], .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="password"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="url"], .wpcf7-form input[type="search"] {
height: 40px !important;}

/* Responsive: una columna en móvil */
@media (max-width: 600px) {
  .formPresupuesto .th-row {
    grid-template-columns: 1fr;
  }
}

