/**
Theme Name: Kikos Carpintería
Author: Origami Soluciones
Author URI: https://origamisoluciones.com/
Description: Tema hijo para la firma Kikos Carpintería
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kikos-carpinteria
Template: astra
*/

/* ─── VARIABLES ─── */
:root {
  --kiko-negro:  #000;
  --kiko-blanco: #fff;
  --kiko-dorado: #D6A21F;
  --kiko-marron: #503B26;
  --kiko-dorado-hover: #DBA61F;
  --kiko-ease:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════
   SECCIÓN SERVICIOS & TRABAJAMOS · hover
═══════════════════════════════════════════════ */

/* Textos e iconos en negro por defecto */
.servicios .e-con.e-child .elementor-heading-title,
.servicios .e-con.e-child p,
.servicios .e-con.e-child .elementor-icon svg,
.servicios .e-con.e-child .elementor-button-text,
.servicios .e-con.e-child .elementor-button svg,
.trabajamos .e-con.e-child .elementor-heading-title,
.trabajamos .e-con.e-child p,
.trabajamos .e-con.e-child .step-d,
.trabajamos .e-con.e-child .elementor-icon svg,
.trabajamos .e-con.e-child .elementor-icon svg path,
.trabajamos .e-con.e-child .elementor-icon svg polygon {
  color: var(--kiko-negro) !important;
  fill:  var(--kiko-negro) !important;
}

/* Textos e iconos en blanco en hover */
.servicios .e-con.e-child:hover .elementor-heading-title,
.servicios .e-con.e-child:hover p,
.servicios .e-con.e-child:hover .elementor-icon svg,
.trabajamos .e-con.e-child:hover .elementor-heading-title,
.trabajamos .e-con.e-child:hover p,
.trabajamos .e-con.e-child:hover .step-d,
.trabajamos .e-con.e-child:hover .elementor-icon svg,
.trabajamos .e-con.e-child:hover .elementor-icon svg path,
.trabajamos .e-con.e-child:hover .elementor-icon svg polygon {
  color: var(--kiko-blanco) !important;
  fill:  var(--kiko-blanco) !important;
}

/* Botón dorado en hover */
.servicios .e-con.e-child:hover .elementor-button-text,
.servicios .e-con.e-child:hover .elementor-button svg {
  color: var(--kiko-dorado) !important;
  fill:  var(--kiko-dorado) !important;
}

/* ═══════════════════════════════════════════════
   SECCIÓN PROYECTOS · acordeón flex + texto
═══════════════════════════════════════════════ */

/* Selectores reutilizados como grupos */
.elementor-element-a4dd444,
.elementor-element-e6d6c1e {
  flex-wrap: nowrap !important;
}

.elementor-element-a4dd444 > .elementor-element-4cb44a4,
.elementor-element-a4dd444 > .elementor-element-5c62df6,
.elementor-element-a4dd444 > .elementor-element-aff1dbc,
.elementor-element-e6d6c1e > .elementor-element-2f0b6a2,
.elementor-element-e6d6c1e > .elementor-element-6ed28fcc,
.elementor-element-e6d6c1e > .elementor-element-2108c9a6 {
  flex: 0 0 33.33% !important;
  width: 33.33% !important;
  max-width: 33.33% !important;
  min-width: 0 !important;
  transition:
    flex      0.8s var(--kiko-ease),
    width     0.8s var(--kiko-ease),
    max-width 0.8s var(--kiko-ease) !important;
}

.elementor-element-a4dd444 .elementor-heading-title,
.elementor-element-e6d6c1e .elementor-heading-title {
  display: inline-block;
  transform-origin: left center;
  font-size: 28px !important; /* base ≥1367px */
  transition: transform 0.8s var(--kiko-ease) !important;
}

.elementor-element-a4dd444 .elementor-element-4cb44a4:hover .elementor-heading-title,
.elementor-element-a4dd444 .elementor-element-5c62df6:hover .elementor-heading-title,
.elementor-element-a4dd444 .elementor-element-aff1dbc:hover .elementor-heading-title,
.elementor-element-e6d6c1e .elementor-element-2f0b6a2:hover .elementor-heading-title,
.elementor-element-e6d6c1e .elementor-element-6ed28fcc:hover .elementor-heading-title,
.elementor-element-e6d6c1e .elementor-element-2108c9a6:hover .elementor-heading-title {
  transform: scale(1.4) !important;
  transition: transform 0.8s ease !important; 
}

/* ─── Breakpoints fuente proyectos ─── */
@media (max-width: 1366px) {
  .elementor-element-a4dd444 .elementor-heading-title,
  .elementor-element-e6d6c1e .elementor-heading-title { font-size: 28px !important; }
}
@media (max-width: 1200px) {
  .elementor-element-a4dd444 .elementor-heading-title,
  .elementor-element-e6d6c1e .elementor-heading-title { font-size: 28px !important; }
}
@media (max-width: 1024px) {
  .elementor-element-a4dd444 .elementor-heading-title,
  .elementor-element-e6d6c1e .elementor-heading-title { font-size: 26px !important; }
}
@media (max-width: 880px) {
  .elementor-element-a4dd444 .elementor-heading-title,
  .elementor-element-e6d6c1e .elementor-heading-title { font-size: 24px !important; }
}

/* ─── Móvil ≤767px · layout vertical ─── */
@media (max-width: 767px) {
  .elementor-element-a4dd444,
  .elementor-element-e6d6c1e {
    flex-wrap: wrap !important;
  }

  .elementor-element-a4dd444 > .elementor-element-4cb44a4,
  .elementor-element-a4dd444 > .elementor-element-5c62df6,
  .elementor-element-a4dd444 > .elementor-element-aff1dbc,
  .elementor-element-e6d6c1e > .elementor-element-2f0b6a2,
  .elementor-element-e6d6c1e > .elementor-element-6ed28fcc,
  .elementor-element-e6d6c1e > .elementor-element-2108c9a6 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-element-a4dd444 .elementor-heading-title,
  .elementor-element-e6d6c1e .elementor-heading-title {
    font-size: 24px !important;
  }
}

/* ═══════════════════════════════════════════════
   MAPA DEL SITIO
═══════════════════════════════════════════════ */
.wsp-container .wsp-pages-list .menu-link       { color: var(--kiko-negro) !important; }
.wsp-container .wsp-pages-list .menu-link:hover { color: var(--kiko-marron) !important; }

/* ═══════════════════════════════════════════════
   FORMULARIO WPFORMS
═══════════════════════════════════════════════ */

/* Nombre y Teléfono en la misma línea */
.wpforms-field-name,
.wpforms-field-number {
  display: inline-block !important;
  width: calc(50% - 8px) !important;
  vertical-align: top !important;
}
.wpforms-field-name { margin-right: 12px !important; }

/* Todos los campos al 100% */
.wpforms-field input,
.wpforms-field input.wpforms-field-medium,
.wpforms-field textarea,
.wpforms-field textarea.wpforms-field-medium,
.wpforms-field-email,
.wpforms-field-text,
.wpforms-field-textarea,
.wpforms-field-gdpr-checkbox {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

/* Móvil: nombre y teléfono en columna */
@media (max-width: 767px) {
  .wpforms-field-name,
  .wpforms-field-number {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }
}

/* GDPR checkbox */
.wpforms-field-gdpr-checkbox .wpforms-field-label-inline {
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
}
.elementor-element-1f09b83 .wpforms-field-label-inline a       { color: var(--kiko-negro) !important; }
.elementor-element-1f09b83 .wpforms-field-label-inline a:hover { color: var(--kiko-marron) !important; }

/* Botón submit hover */
div.wpforms-container-full button[type=submit]:hover,
div.wpforms-container-full button[type=submit]:active,
.wp-core-ui div.wpforms-container-full button[type=submit]:hover,
.wp-core-ui div.wpforms-container-full button[type=submit]:active {
  background: var(--kiko-dorado-hover) !important;
  background-color: var(--kiko-dorado-hover) !important;
}

/* ═══════════════════════════════════════════════
   MISCELÁNEA
═══════════════════════════════════════════════ */
.uael-post__authorbox      { display: none !important; }
.single-proyectos .entry-meta { display: none !important; }