/* ==========================================================================
   PICDA — home 2026, versión "impacto" en claro.
   Fondo blanco y gris muy claro, el naranja corporativo (#E15200, del logo vectorial)
   como color dominante; el negro solo sobre las fotos. Archivo variable (expandida y
   muy pesada para lo grande).
   El texto se muestra tal cual está escrito: sin text-transform.
   ========================================================================== */

:root {
	--x-ink: #ffffff;
	--x-panel: #f3f1ee;
	--x-line: #e4e1dc;
	--x-white: #ffffff;
	--x-text: #151515;
	--x-soft: #4a4a4a;
	--x-mute: #6b6b6b;
	--x-orange: #e15200;
	--x-orange-hi: #ff6a1a;
	--x-orange-ink: #bd4400; /* naranja para textos pequeños: contraste AA sobre blanco y sobre el gris claro */
	--x-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--x-wrap: 1360px;
	--x-edge: max(var(--x-pad), (100% - var(--x-wrap)) / 2 + var(--x-pad)); /* borde del contenido de .x-wrap */
	--x-pad: clamp(20px, 4vw, 64px);
	--x-ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scrollbar-color: #c9c5bf var(--x-ink); }
body.sw26 { margin: 0; background: var(--x-ink); color: var(--x-text); font: 400 1.0625rem/1.6 var(--x-font); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.sw26 ::selection { background: var(--x-orange); color: var(--x-white); }
/* Bases sin especificidad (:where): cualquier clase de componente las sobrescribe sin trucos. */
:where(.sw26) img { max-width: 100%; height: auto; display: block; }
:where(.sw26) picture { display: contents; } /* WebP Express envuelve las fotos en <picture>: que no cambie la maqueta */
:where(.sw26) picture > source { display: none; } /* si no, cuenta como una celda más en las rejillas */
:where(.sw26) a { color: inherit; text-decoration: none; }
.sw26 :focus-visible { outline: 2px solid var(--x-orange); outline-offset: 3px; }
.sw26 input { caret-color: var(--x-orange); accent-color: var(--x-orange); }
:where(.sw26) :where(h1, h2, h3, h4, h5, h6, p, figure) { margin: 0; } /* sin especificidad: los márgenes de cada componente mandan */
.s-hidden, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.x-wrap { max-width: var(--x-wrap); margin: 0 auto; padding: 0 var(--x-pad); }

/* tipografía de titulares: expandida y muy pesada */
.sw26 .h5 { font: 800 clamp(2.5rem, 6vw, 5.5rem)/.92 var(--x-font); font-stretch: 125%; letter-spacing: -.035em; }
.x-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; color: var(--x-orange-ink); }
.x-link::after { content: ""; width: 26px; height: 2px; background: currentColor; transition: width .4s var(--x-ease); }
.x-link:hover::after { width: 44px; }
.x-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; background: var(--x-orange-ink); color: var(--x-white); font-weight: 700; border-radius: 999px; transition: background .2s; }
.x-btn:hover { background: var(--x-orange); }

/* ---------- cabecera: transparente sobre el pase, sólida al bajar ---------- */
.s-head { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--x-edge); /* contenido al ancho de .x-wrap, fondo a todo el ancho */ color: var(--x-white); background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); transition: background .3s, padding .3s; }
.s-head.is-solid { background: rgba(255, 255, 255, .94); color: var(--x-text); box-shadow: 0 1px 0 var(--x-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 8px; padding-bottom: 8px; }
.s-head__logo img { height: 84px; width: auto; }
.s-head__nav { flex: 1 1 auto; display: flex; justify-content: flex-end; margin-left: clamp(24px, 3vw, 56px); }
.s-menu { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 0 4px; list-style: none; margin: 0; padding: 0; }
.s-menu > li { position: relative; }
.s-menu > li > a { position: relative; z-index: 0; display: block; padding: 7px 15px; border-radius: 999px; font-family: "Aspekta", var(--x-font); font-weight: 450; font-size: clamp(.9rem, .85rem + .25vw, 1rem); white-space: nowrap; transition: color .3s; }
/* las entradas del menú en MAYÚSCULAS se pasan a tipo frase en PHP (inc/content-2026.php) */
@media (min-width: 1100px) and (max-width: 1299px) { .s-menu > li > a { padding: 7px 10px; } .s-head__nav { margin-left: 16px; } }
.s-menu > li > a::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--x-orange); opacity: 0; transition: opacity .3s; } /* píldora, como cawagroup.com */
.s-menu > li > a:hover::after, .s-menu > .current-menu-item > a::after { opacity: 1; }
.s-menu > li > a:hover, .s-menu > .current-menu-item > a { color: #fff !important; }
.s-menu__arrow { display: inline-block; vertical-align: middle; margin-left: 5px; transition: transform .2s; } /* flecha de submenú, como cawagroup.com */
.s-menu li:hover > a .s-menu__arrow, .s-menu li.is-open > a .s-menu__arrow { transform: rotate(180deg); }
.s-menu .sub-menu .s-menu__arrow { display: none; }
.s-menu .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 270px; list-style: none; margin: 0; padding: 10px 0; background: #ffffff; border-radius: 14px; display: none; box-shadow: 0 24px 50px rgba(0,0,0,.14); }
.s-menu li:hover > .sub-menu, .s-menu li:focus-within > .sub-menu, .s-menu li.is-open > .sub-menu { display: block; }
.s-menu .sub-menu a { display: block; padding: 9px 18px; font-size: .9375rem; color: var(--x-soft); }
.s-menu .sub-menu a:hover { color: var(--x-text); background: #fdeee4; }
.s-menu > li.qtranxs-lang-menu { display: none; }
.s-head__search { background: none; border: 0; color: var(--x-white); width: 40px; height: 40px; cursor: pointer; }
.s-head__lang { font-family: "Aspekta", var(--x-font); font-weight: 450; font-size: .9375rem; white-space: nowrap; }
.s-head__lang a:hover { color: var(--x-orange-hi); }
.s-search { position: absolute; left: 0; right: 0; top: 100%; display: flex; gap: 10px; padding: 12px var(--x-pad); background: #ffffff; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.s-search[hidden] { display: none; }
.s-search input[type="text"] { flex: 1; min-height: 54px; padding: 0 20px; border: 1px solid var(--x-line); border-radius: 999px; background: #f6f4f1; color: var(--x-text); font: 400 1.0625rem var(--x-font); }
.s-search input[type="submit"] { min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--x-orange); color: var(--x-white); font: 700 1rem var(--x-font); cursor: pointer; }
.s-head__burger { display: none; background: none; border: 0; color: var(--x-white); width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 1099px) {
	.s-head { flex-wrap: wrap; gap: 6px 14px; }
	.s-head__burger { display: inline-grid; place-items: center; order: 2; }
	.s-head__search { order: 1; margin-left: auto; }
	.s-head__lang { order: 1; }
	.s-head__nav { display: none; order: 5; flex-basis: 100%; }
	.s-head__nav.is-open { display: block; }
	.s-head:has(.s-head__nav.is-open) { background: var(--x-ink); }
	.s-menu { flex-direction: column; }
	.s-menu > li > a { padding: 12px 0; font-size: 1.375rem; border-top: 1px solid var(--x-line); }
	.s-menu > li > a::after { display: none; }
	.s-menu > li > a:hover, .s-menu > .current-menu-item > a { color: var(--x-orange) !important; }
	.s-menu > li > a { border-radius: 0; padding-left: 0; padding-right: 0; }
	.s-menu .sub-menu { position: static; box-shadow: none; background: none; padding: 0 0 8px 14px; }
	.s-menu li:hover > .sub-menu { display: none; }
	.s-menu li.is-open > .sub-menu { display: block; }
}

/* ---------- pase de diapositivas a pantalla completa ---------- */
.x-hero { position: relative; height: 100svh; min-height: 560px; max-height: 920px; overflow: hidden; background: #000; }
.x-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--x-ease), visibility 1s; }
.x-slide.is-active { opacity: 1; visibility: visible; }
.x-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; transform: scale(1.02); }
.x-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 38%, rgba(0,0,0,0) 55%), linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%); }
/* titular arriba, en la franja bajo el menú, para que se vea el producto de la foto (lo pidió el cliente) */
.x-slide__text { position: absolute; z-index: 1; left: var(--x-edge); right: var(--x-edge); top: clamp(112px, 15vh, 150px); max-width: 1100px; }
.x-slide .h1, .x-slide__title { font: 800 clamp(2.5rem, 4.4vw, 4.75rem)/.95 var(--x-font); font-stretch: 125%; letter-spacing: -.035em; text-wrap: balance; }
.x-slide .sub-title-2 { margin-top: 22px; font: 600 clamp(1.25rem, 2vw, 1.75rem)/1.25 var(--x-font); color: var(--x-orange-hi); }
@media (prefers-reduced-motion: no-preference) {
	.x-slide.is-active .x-slide__img { animation: x-kenburns 9s linear both; }
	.x-slide.is-active .x-slide__text > * { animation: x-rise 1s var(--x-ease) both; }
	.x-slide.is-active .x-slide__text > *:nth-child(2) { animation-delay: .12s; }
	@keyframes x-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
	@keyframes x-rise { from { opacity: .001; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
.x-hero__controls { position: absolute; z-index: 2; left: var(--x-edge); right: var(--x-edge); bottom: 36px; display: flex; align-items: center; gap: 28px; }
.x-hero__bars { display: flex; gap: 8px; flex: 1 1 auto; max-width: 520px; }
.x-bar { flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.x-bar span { display: block; width: 100%; height: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; border-radius: 3px; }
.x-bar span::after { content: ""; position: absolute; inset: 0; background: var(--x-orange); transform: scaleX(0); transform-origin: left; }
.x-bar.is-done span::after { transform: scaleX(1); }
.x-bar.is-active span::after { animation: x-progress var(--x-dur, 7s) linear forwards; }
@keyframes x-progress { to { transform: scaleX(1); } }
.x-hero.is-paused .x-bar.is-active span::after { animation-play-state: paused; }
.x-hero__arrows { display: flex; gap: 10px; margin-left: auto; }
.x-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.2); color: var(--x-white); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.x-arrow:hover { background: var(--x-orange); border-color: var(--x-orange); }
@media (max-width: 767px) {
	.x-hero { height: 88svh; }
	.x-slide__text { bottom: 120px; }
	.x-hero__arrows { display: none; }
}

/* aparición al bajar: home.js marca .is-in al entrar en pantalla (todos los navegadores; sin JS, todo visible) */
@media (prefers-reduced-motion: no-preference) {
	.js-reveal .x-reveal { opacity: .001; transform: translateY(50px); transition: opacity .9s var(--x-ease), transform .9s var(--x-ease); transition-delay: var(--x-delay, 0s); }
	.js-reveal .x-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- bienvenida ---------- */
.x-intro { padding: clamp(96px, 14vw, 200px) 0 clamp(64px, 8vw, 120px); }
.x-intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 72px; align-items: end; }
.x-intro__big p { font: 800 clamp(2.5rem, 5.6vw, 5.25rem)/.95 var(--x-font); font-stretch: 112%; letter-spacing: -.035em; text-wrap: balance; }
.x-intro__text p { color: var(--x-soft); font-size: 1.1875rem; max-width: 44ch; }
.x-intro__img { grid-column: 1 / -1; margin-top: 32px; border-radius: 28px; overflow: hidden; }
.x-intro__img img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) { .x-intro__grid { grid-template-columns: 1fr; } }

/* ---------- productos: escaparate ---------- */
.x-products { padding: clamp(64px, 8vw, 120px) 0; background: var(--x-orange-ink); color: #fff; }
.x-products__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 72px; align-items: end; margin-bottom: 56px; }
.x-products__head p { color: #fff3ea; font-size: 1.1875rem; max-width: 46ch; }
.x-products .x-link { color: #fff; }
.x-products__head .h6 { font: inherit; }
.x-products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 var(--x-pad); max-width: 1680px; margin: 0 auto; }
.x-product { position: relative; border-radius: 24px; overflow: hidden; background: #111; }
.x-product__img img { width: 100%; max-width: none; aspect-ratio: 3 / 4; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--x-ease); }
.x-product:hover .x-product__img img { transform: scale(1.12); }
.x-product .h4 { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 24px; font: 700 clamp(1.25rem, 1.6vw, 1.625rem)/1.1 var(--x-font); font-stretch: 112%; letter-spacing: -.02em; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.x-product .h4 a::after { content: ""; position: absolute; inset: 0; }
.x-product:hover .h4 { color: #ffd2b5; }
@media (max-width: 899px) {
	.x-products__head { grid-template-columns: 1fr; }
	.x-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.x-product { border-radius: 18px; }
}

/* ---------- medioambiente: paisaje a todo el ancho con movimiento ---------- */
.x-nature { position: relative; display: block; height: clamp(520px, 80vh, 820px); overflow: hidden; margin-top: 40px; }
.x-nature__img { position: absolute; inset: -10% 0; width: 100%; max-width: none; height: 120%; object-fit: cover; }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.x-nature__img { animation: x-parallax linear both; animation-timeline: view(); }
		@keyframes x-parallax { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
	}
}
.x-nature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 55%); }
.x-nature__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding-bottom: clamp(40px, 6vw, 80px); }
.x-nature__text p { font: 400 clamp(2.5rem, 6vw, 5.5rem)/.95 var(--x-font); font-stretch: 118%; letter-spacing: -.035em; text-wrap: balance; }
.x-nature__text strong { font-weight: 800; color: var(--x-orange-hi); }
.x-nature__logos { align-self: flex-start; background: var(--x-white); border-radius: 18px; padding: 16px 22px; max-width: min(760px, 100%); }
.x-nature:hover .x-nature__logos { box-shadow: 0 0 0 4px var(--x-orange); }

/* ---------- noticias ---------- */
.x-news { padding: clamp(96px, 12vw, 180px) 0 clamp(64px, 8vw, 120px); background: var(--x-panel); }
.x-news .h5 { margin-bottom: 48px; }
.x-news__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.x-news__lead { background: #ffffff; border-radius: 24px; overflow: hidden; }
.x-news__img img { width: 100%; height: auto; }
.x-news__body { padding: 28px 32px 32px; }
.x-news__body .h2 { font: 700 clamp(1.75rem, 2.6vw, 2.5rem)/1.05 var(--x-font); font-stretch: 112%; letter-spacing: -.02em; }
.x-news__body .h2 a { color: var(--x-text); }
.x-news__body .h2 a:hover { color: var(--x-orange); }
.x-news__body .h6 { margin-top: 14px; font-size: .9375rem; font-weight: 600; }
.x-news__body .h6 a { color: var(--x-text); }
.x-news__body p { color: var(--x-mute); font-size: .9375rem; }
.x-news__list { display: grid; gap: 12px; align-content: start; }
.x-news__item { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: center; padding: 14px; background: #ffffff; border-radius: 18px; transition: background .2s; }
.x-news__item:hover { background: #fff7f1; }
.x-news__item img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.x-news__item p { font-size: .9375rem; color: var(--x-mute); }
.x-news__item b a { color: var(--x-text); font-weight: 600; }
.x-news__item b a:hover { color: var(--x-orange); }
.x-news__list .x-btn { justify-self: start; margin-top: 8px; }
@media (max-width: 899px) { .x-news__grid { grid-template-columns: 1fr; } }

/* ---------- clientes: cinta continua ---------- */
.x-clients { padding: clamp(64px, 8vw, 120px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.x-clients .h5 { margin-bottom: 48px; color: var(--x-text); }
.x-marquee { display: flex; width: max-content; gap: 14px; margin-bottom: 14px; }
.x-marquee__track { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.x-client { width: 220px; height: 120px; display: grid; place-items: center; background: var(--x-white); border: 1px solid var(--x-line); border-radius: 18px; padding: 20px 28px; }
.x-client img { max-height: 56px; width: auto; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
	.x-marquee { animation: x-marquee 60s linear infinite; }
	.x-marquee--rev { animation-direction: reverse; animation-duration: 70s; }
	.x-clients:hover .x-marquee { animation-play-state: paused; }
	@keyframes x-marquee { to { transform: translateX(calc(-50% - 7px)); } }
}
@media (prefers-reduced-motion: reduce) {
	.x-marquee { flex-wrap: wrap; width: auto; padding: 0 var(--x-pad); }
	.x-marquee__track[aria-hidden="true"] { display: none; }
	.x-marquee__track { flex-wrap: wrap; }
}

/* ---------- pie ---------- */
.s-foot { background: var(--x-text); color: #fff; border-top: 4px solid var(--x-orange); padding: clamp(64px, 8vw, 112px) 0 28px; }
.s-foot__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 48px clamp(40px, 5vw, 96px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
/* mapa de la web: una columna por apartado del menú principal */
.s-foot__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 28px; }
.s-foot__head { margin: 0 0 14px; font: 700 .75rem/1 var(--x-font); letter-spacing: .1em; text-transform: uppercase; color: var(--x-orange-hi); }
.s-foot__col ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.s-foot__col a { font-size: .9375rem; line-height: 1.35; color: #d4d4d4; transition: color .2s; }
.s-foot__col a:hover { color: #fff; }
.s-foot__col .s-foot__more { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.s-foot__col .s-foot__more a { font-weight: 600; color: #fff; }
.s-foot__col .s-foot__more a:hover { color: var(--x-orange-hi); }
.s-foot__reach { display: grid; gap: 22px; align-content: start; }
.s-foot__logo { display: block; align-self: start; margin: -18px 0 -18px -21px; } /* el SVG trae aire alrededor: así la "p" queda alineada con el borde y el copyright */
.s-foot__logo img { display: block; height: 128px; width: auto; }
.s-foot__addr { font-style: normal; font-size: 1.0625rem; line-height: 1.6; color: #bdbdbd; }
.s-foot__contact { display: grid; gap: 0; justify-items: start; margin: 0; }
.s-foot__contact a { font-size: 1.0625rem; font-weight: 500; line-height: 1.6; transition: color .2s; }
.s-foot__contact a:hover { color: var(--x-orange-hi); }
.s-foot__socials { display: flex; gap: 10px; margin-top: 10px; }
.s-foot__contact .s-foot__social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); transition: background .2s, border-color .2s; }
.s-foot__contact .s-foot__social:hover { background: var(--x-orange); border-color: var(--x-orange); color: #fff; }
.s-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8125rem; color: #a8a8a8; }
.s-foot__menu { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.s-foot__menu a { transition: color .2s; }
.s-foot__menu a:hover { color: var(--x-orange-hi); }
@media (max-width: 1199px) { .s-foot__top { grid-template-columns: auto minmax(0, 1fr); } .s-foot__reach { grid-column: 2; grid-template-columns: auto auto; justify-content: start; gap: 22px 64px; } }
@media (max-width: 899px) { .s-foot__top { grid-template-columns: 1fr; } .s-foot__reach { grid-column: auto; grid-template-columns: 1fr; } .s-foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s-foot__logo { margin-left: -17px; } .s-foot__logo img { height: 104px; } .s-foot__bottom { flex-direction: column; align-items: stretch; } }

.sw26 .grecaptcha-badge { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .sw26 *, .sw26 *::before, .sw26 *::after { animation: none !important; transition: none !important; } }

/* ---------- cabecera sólida (blanca) y menú móvil abierto ---------- */
.s-head.is-solid .s-head__search, .s-head.is-solid .s-head__burger { color: var(--x-text); }
.s-head__logo .s-head__logo-scroll { display: none; height: 58px; } /* recortado al ras: se ve como el SVG a ~80 px */
.s-head.is-solid .s-head__logo img:first-child { display: none; }
.s-head.is-solid .s-head__logo .s-head__logo-scroll { display: block; }
@media (max-width: 1099px) { .s-head:has(.s-head__nav.is-open) { background: #ffffff; color: var(--x-text); } .s-head:has(.s-head__nav.is-open) .s-head__logo img:first-child { display: none; } .s-head:has(.s-head__nav.is-open) .s-head__logo .s-head__logo-scroll { display: block; } .s-head:has(.s-head__nav.is-open) .s-head__search, .s-head:has(.s-head__nav.is-open) .s-head__burger { color: var(--x-text); } }

/* texto blanco sobre las fotos (el resto de la página va en oscuro) */
.x-slide__text, .x-hero__controls, .x-nature__inner { color: #ffffff; }
.x-intro__img img { max-width: none; }

/* ---------- móvil: titulares que caben ---------- */
@media (max-width: 767px) {
	.sw26 .h5 { font-size: clamp(2rem, 9vw, 2.75rem); font-stretch: 100%; letter-spacing: -.02em; }
	.x-slide .h1, .x-slide__title { font-size: clamp(2.1rem, 10vw, 3rem); font-stretch: 100%; letter-spacing: -.025em; line-height: 1; }
	.x-slide__text { left: 20px; right: 20px; }
	.x-slide .sub-title-2 { font-size: 1.125rem; margin-top: 12px; }
	.x-intro__big p { font-size: clamp(1.875rem, 8.4vw, 2.5rem); font-stretch: 100%; letter-spacing: -.02em; }
	.x-nature__text p { font-size: clamp(2rem, 9vw, 2.75rem); font-stretch: 100%; letter-spacing: -.02em; overflow-wrap: anywhere; }
	.x-news__body .h2 { font-size: 1.5rem; font-stretch: 100%; }
	.x-product .h4 { font-size: 1rem; font-stretch: 100%; padding: 40px 12px 12px; letter-spacing: 0; }
	.x-products__grid { padding: 0 20px; }
	.s-head { padding-left: 16px; padding-right: 16px; }
	.s-head__logo img { height: 64px; }
	.s-head__logo .s-head__logo-scroll { height: 46px; }
	.x-client { width: 150px; height: 90px; padding: 14px 18px; }
	.x-client img { max-height: 44px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.x-marquee { display: grid; grid-template-columns: repeat(2, 1fr); width: auto; }
	.x-marquee__track { display: contents; }
	.x-client { width: auto; }
}
.sw26 h1, .sw26 .h4, .sw26 .h5, .x-slide__title, .x-intro__big p, .x-nature__text p { overflow-wrap: break-word; hyphens: manual; }

/* cabecera fija bajo la barra de administración de WordPress (solo administradores) */
.admin-bar .s-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .s-head { top: 46px; } }
@media (max-width: 600px) { .admin-bar .s-head { top: 0; } .admin-bar .s-head.is-solid { top: 0; } }

/* ---------- aviso de cookies (Complianz) con el estilo de la web ---------- */
.sw26 .cmplz-cookiebanner {
	--cmplz_banner_width: 440px; --cmplz_banner_background_color: #fff; --cmplz_banner_border_color: #e4e1dc; --cmplz_banner_border_width: 1px; --cmplz_banner_border_radius: 22px; --cmplz_banner_margin: 16px;
	--cmplz_title_font_size: 16px; --cmplz_text_font_size: 14px; --cmplz_link_font_size: 13px; --cmplz_category_body_font_size: 13px; --cmplz_text_color: #4a4a4a; --cmplz_hyperlink_color: #151515;
	--cmplz_button_accept_background_color: #c94a00; --cmplz_button_accept_border_color: #c94a00; --cmplz_button_accept_text_color: #fff;
	--cmplz_button_deny_background_color: #fff; --cmplz_button_deny_border_color: #e4e1dc; --cmplz_button_deny_text_color: #151515;
	--cmplz_button_settings_background_color: #fff; --cmplz_button_settings_border_color: #e4e1dc; --cmplz_button_settings_text_color: #151515;
	--cmplz_button_border_radius: 999px; --cmplz_button_font_size: 14px; --cmplz_slider_active_color: #e15200; --cmplz_slider_inactive_color: #c9c5bf; --cmplz_category_header_always_active_color: #e15200;
	font-family: var(--x-font); box-shadow: 0 24px 60px rgba(0,0,0,.16); padding: 22px 24px;
}
.sw26 .cmplz-cookiebanner .cmplz-title { font-family: var(--x-font); font-weight: 800; color: #151515; }
.sw26 .cmplz-cookiebanner .cmplz-btn { font-family: var(--x-font); font-weight: 700; min-height: 46px; transition: background .2s, border-color .2s, color .2s; }
.sw26 .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: #b84300; border-color: #b84300; }
.sw26 .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover, .sw26 .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover, .sw26 .cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover { border-color: #e15200; color: #e15200; }
.sw26 .cmplz-cookiebanner .cmplz-links a { text-decoration: underline; text-underline-offset: .18em; }
.sw26 .cmplz-cookiebanner .cmplz-close { color: #6b6b6b; }
.sw26 #cmplz-manage-consent .cmplz-manage-consent { font-family: var(--x-font); background: #fff; color: #151515; border: 1px solid #e4e1dc; border-bottom: 0; border-radius: 14px 14px 0 0; }

/* pase: botón de pausa / reproducción (lo añade home.js) */
.x-hero__pause .i-play, .x-hero.is-stopped .x-hero__pause .i-pause { display: none; }
.x-hero.is-stopped .x-hero__pause .i-play { display: block; }
.x-hero__arrows + .x-hero__pause { margin-left: 0; }
.x-hero__pause { flex: none; margin-left: auto; }
