/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-sticky--effects {
    background: black !important;
    z-index: 999999;
}
a {
    line-height: inherit !important;
    letter-spacing: inherit !important;
}
.single-servicio h1 {
    font-size: 65px !important;
    letter-spacing: 0;
    line-height: 75px;
}
.single-servicio h2 {
    font-size: 35px !important;
    letter-spacing: 0;
    line-height: 45px;
}
.single-servicio p,
.single-servicio li {
    font-size: 20px;
    line-height: 30px;
}
h6 {
    margin-bottom: 0 !important;
    margin-top: 50px !important;
}
.price {
    margin: 0 !important;
}
.woocommerce-privacy-policy-text a {
    font-size: 15px !important;
    color: black;
}
#place_order {
    background: black !important;
    font-size: 18px !important;
    text-transform: uppercase;
    font-weight: 500;
}

#link a {
    font-size: 18px !important;
    color: lightgray;
}

/* ── Fases del proyecto: [rb_proyecto_fases] en la plantilla single «Proyecto» ── */
.rb-fases{display:grid;grid-template-columns:1fr 1.3fr;gap:90px;align-items:start;padding-block:110px 30px}
.rb-fases__titulo{display:flex;align-items:flex-start}
.rb-fases__h2 .rb-l2{display:block;padding-inline-start:90px}
.rb-fases .rb-arrow{margin-top:22px}
.rb-fases__lista{border-top:1px solid var(--Border,#585858)}
.rb-fases__ano{min-width:150px;padding-inline-end:24px;flex-shrink:0}
@media (max-width:1024px){.rb-fases{grid-template-columns:1fr;gap:40px;padding-block:80px 20px}}
@media (max-width:767px){.rb-fases__h2 .rb-l2{display:inline;padding-inline-start:0}.rb-fases__ano{min-width:110px}}
/* ── Navegación entre proyectos: [rb_proyecto_navegacion] ── */
.rb-navp{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #1D1D1D;border-bottom:1px solid #1D1D1D}
.rb-navp__link{padding:46px 0;display:flex;flex-direction:column;gap:12px;text-decoration:none}
.rb-navp__prev{grid-column:1}
.rb-navp__next{grid-column:2;text-align:right;align-items:flex-end;border-left:1px solid #1D1D1D;padding-left:40px}
.rb-navp__t{font-family:var(--EditorialNew,"Editorial New"),serif;font-weight:200;font-size:34px;line-height:38px;letter-spacing:-.6px;color:var(--Primary,#fff);transition:color .3s}
.rb-navp__link:hover .rb-navp__t,.rb-navp__link:focus-visible .rb-navp__t{color:var(--Accent,#A99687)}
@media (max-width:767px){
 .rb-navp{grid-template-columns:1fr}
 .rb-navp__link{padding:30px 0}
 .rb-navp__next{grid-column:1;border-left:0;padding-left:0}
 .rb-navp__prev+.rb-navp__next{border-top:1px solid #1D1D1D}
 .rb-navp__t{font-size:26px;line-height:30px}
}

/* ── Visor (lightbox) de la galería de proyectos: la foto ocupa la pantalla ── */
.single-proyecto .elementor-lightbox .elementor-lightbox-image{width:min(92vw,calc(86vh * 1.5));height:auto;max-width:92vw;max-height:86vh;object-fit:contain}
/* Visor: sin título ni descripción bajo la foto */
.elementor-lightbox .elementor-slideshow__footer{display:none}
/* Menú móvil (off-canvas): nunca más ancho que la pantalla */
.e-off-canvas__content{max-width:100vw}
/* Visor: hueco a la derecha para el botón de cerrar */
.elementor-lightbox .elementor-slideshow__header{padding-inline-end:64px;box-sizing:border-box}
/* WooCommerce (tienda, carrito...): el padding no suma al ancho */
main.site-main{box-sizing:border-box}
/* WooCommerce: la cabecera es fija, dejar su hueco arriba */
body.woocommerce-page main.site-main{padding-top:130px}
@media (max-width:767px){body.woocommerce-page main.site-main{padding-top:100px}.single-product .elementor-location-single{padding-top:90px}}
@media (max-width:1024px){.woocommerce-page h1,.woocommerce-page h2,.single-product .product_title{letter-spacing:0!important}}
.woocommerce-breadcrumb,.woocommerce-breadcrumb a{font-size:14px;line-height:1.4;letter-spacing:.5px}

/* ── Monograma decorativo (assets/monograma.svg) ── */
/* Elementor usa el ::before de los contenedores para la capa de fondo (overlay):
   no poner rb-wm en un contenedor que la tenga. */
/* Marca de agua: clase rb-wm en el contenedor + posición (--right / --left / --corner) */
.rb-wm{position:relative;isolation:isolate;overflow:hidden}
.rb-wm::before{content:"";position:absolute;inset:auto;height:auto;mix-blend-mode:normal;z-index:-1;pointer-events:none;width:var(--rb-wm-size,760px);aspect-ratio:1;background:url(assets/monograma.svg) center/contain no-repeat;opacity:var(--rb-wm-op,.07)}
.rb-wm--right::before{right:-12%;top:6%}
.rb-wm--left::before{--rb-wm-size:700px;left:-14%;top:4%}
.rb-wm--corner::before{--rb-wm-size:520px;right:-120px;bottom:-160px}
@media (max-width:767px){
 .rb-wm::before{--rb-wm-size:120vw}
 .rb-wm--right::before{right:-45%;top:2%}
 .rb-wm--left::before{left:-45%;top:2%}
 .rb-wm--corner::before{--rb-wm-size:420px;right:-140px;bottom:-120px}
}
/* Firma: línea + monograma + línea */
.rb-firma{display:flex;align-items:center;justify-content:center;gap:18px;color:var(--e-global-color-accent,#A99687)}
.rb-firma::before,.rb-firma::after{content:"";width:80px;height:1px;background:currentColor;opacity:.6}
.rb-firma span{width:30px;aspect-ratio:1;background:currentColor;-webkit-mask:url(assets/monograma.svg) center/contain no-repeat;mask:url(assets/monograma.svg) center/contain no-repeat}
.rb-firma--navp{margin:10px 0 50px}

/* Ficha técnica del proyecto: ocultar los datos vacíos (sin valor solo queda la etiqueta) */
.single-proyecto [data-id="ficha-datos"] > [data-id^="ficha-"]:not(:has([data-id$="-valor"])){display:none}
.single-proyecto [data-id="ficha-datos"]:not(:has([data-id$="-valor"])){display:none}
