/*
Theme Name: L&L Pro
Theme URI: https://lylpro.com
Author: L&L Pro · Chisco Leitón
Author URI: https://lylpro.com
Description: Tema de bloques del estudio L&L Pro. Papel cálido, tipografía grande, movimiento justo. Sin page builders.
Version: 0.2.10
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lylpro
*/

/* ---------- Tokens extra + modo oscuro ---------- */
:root:root, html body {
	--ll-on-ink: #f4f3ef;
	--ll-ok: #3f7a5a;
	--ll-full: #9a4b45;
	--ll-sea-deep: #4f6b73; /* superficies verde agua con texto blanco (AA 5.7:1) */
	--ll-sea-text: #557079; /* sea oscurecido para texto chico sobre fondo claro (AA 4.7:1) */
	--ll-orb-a: rgba(105,136,144,.55);
	--ll-orb-b: rgba(211,221,230,.9);
	--ll-orb-c: rgba(45,49,63,.18);
}
@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]):root, html:not([data-theme="light"]) body {
		--wp--preset--color--bg: #1d1f26;
		--wp--preset--color--paper: #252830;
		--wp--preset--color--card: #23262e;
		--wp--preset--color--ink: #eef0ec;
		--wp--preset--color--ink-2: #e2e6ea;
		--wp--preset--color--mist: #3a404d;
		--wp--preset--color--sea: #8fb0b8;
		--wp--preset--color--muted: #a6adb9;
		--wp--preset--color--line: #343843;
		--ll-on-ink: #1d1f26;
		--ll-ok: #7cc29b;
		--ll-full: #e09088;
		--ll-sea-text: #8fb0b8;
		--ll-orb-a: rgba(105,136,144,.45);
		--ll-orb-b: rgba(58,64,77,.9);
		--ll-orb-c: rgba(143,176,184,.18);
		color-scheme: dark;
	}
}
html[data-theme="dark"]:root, html[data-theme="dark"] body {
		--wp--preset--color--bg: #1d1f26;
		--wp--preset--color--paper: #252830;
		--wp--preset--color--card: #23262e;
		--wp--preset--color--ink: #eef0ec;
		--wp--preset--color--ink-2: #e2e6ea;
		--wp--preset--color--mist: #3a404d;
		--wp--preset--color--sea: #8fb0b8;
		--wp--preset--color--muted: #a6adb9;
		--wp--preset--color--line: #343843;
		--ll-on-ink: #1d1f26;
		--ll-ok: #7cc29b;
		--ll-full: #e09088;
		--ll-sea-text: #8fb0b8;
		--ll-orb-a: rgba(105,136,144,.45);
		--ll-orb-b: rgba(58,64,77,.9);
		--ll-orb-c: rgba(143,176,184,.18);
		color-scheme: dark;
	}
html[data-theme="light"]:root { color-scheme: light; }

:root { --ll-bg: var(--wp--preset--color--bg); --ll-paper: var(--wp--preset--color--paper); --ll-ink: var(--wp--preset--color--ink); --ll-mist: var(--wp--preset--color--mist); --ll-sea: var(--wp--preset--color--sea); --ll-muted: var(--wp--preset--color--muted); --ll-line: var(--wp--preset--color--line);
	--ll-display: var(--wp--preset--font-family--display); --ll-mono: var(--wp--preset--font-family--mono); }

html { scroll-padding-top: 90px; scroll-behavior: smooth; }
body { overflow-x: clip; }
.wp-site-blocks > * { margin-block: 0 !important; }
:focus-visible { outline: 2px solid var(--ll-sea); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }

/* ---------- Utilidades ---------- */
.ll-label { font-family: var(--ll-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ll-sea-text, var(--ll-sea)); margin: 0; }
.ll-section { padding-block: clamp(80px, 11vw, 150px); }
.ll-arrow-link a, a.ll-arrow-link { text-decoration: none; }
/* Link que cubre toda la tarjeta (puerta, slot, proyecto) */
.ll-stretch { position: relative; }
.ll-stretch .ll-stretch-link a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.ll-stretch .ll-stretch-link a { text-decoration: none; }

/* ---------- Header (sticky) ---------- */
header.wp-block-template-part { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + env(safe-area-inset-top, 0px)); z-index: 50; background: color-mix(in srgb, var(--ll-bg) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
header.wp-block-template-part.is-stuck { border-bottom-color: var(--ll-line); background: color-mix(in srgb, var(--ll-bg) 92%, transparent); }
header.wp-block-template-part .ll-nav { transition: padding .3s; }
header.wp-block-template-part.is-stuck .ll-nav { padding-block: 14px; }
.ll-nav { padding-block: 28px; position: relative; z-index: 4; box-sizing: content-box; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); gap: 24px; }
.ll-nav > .wp-block-group { gap: 28px; min-width: 0; }
.ll-logo { font-family: var(--ll-display); font-size: 28px; line-height: 1; margin: 0; }
.ll-logo a { text-decoration: none; }
.ll-logo .ll-amp { color: var(--ll-sea); }
.ll-nav .wp-block-navigation { font-size: 14px; font-weight: 500; gap: 28px; }
.ll-nav .wp-block-navigation a { text-decoration: none; }
.ll-nav .wp-block-navigation a:hover { color: var(--ll-sea-text, var(--ll-sea)); }
/* ---------- Menú móvil (pantalla completa) ---------- */
/* El blur del header crea un contenedor que encierra el overlay: se apaga mientras el menú está abierto. */
header.wp-block-template-part:has(.wp-block-navigation__responsive-container.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ll-bg); }
.ll-nav .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; z-index: 100000; height: 100dvh; background: var(--ll-bg) !important; color: var(--ll-ink) !important; padding: calc(env(safe-area-inset-top, 0px) + 24px) clamp(20px, 7vw, 48px) calc(env(safe-area-inset-bottom, 0px) + 32px); }
.ll-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 88px !important; align-items: flex-start !important; }
.ll-nav .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; gap: 6px !important; width: 100%; }
.ll-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--ll-line); align-items: flex-start !important; text-align: left; }
.ll-nav .is-menu-open .wp-block-navigation-item__content { display: block; font-family: var(--ll-display); font-weight: 400; font-size: clamp(38px, 11vw, 60px); line-height: 1.15; padding: 10px 0 !important; }
.ll-nav .is-menu-open .wp-block-navigation-item__content:hover { color: var(--ll-sea); }
.ll-nav .wp-block-navigation__responsive-container-close { position: fixed !important; top: calc(env(safe-area-inset-top, 0px) + 18px) !important; right: 18px !important; color: var(--ll-ink); }
.ll-nav .wp-block-navigation__responsive-container-close { width: 40px; height: 40px; display: grid; place-items: center; }
@media (max-width: 599px) { .ll-nav .wp-block-navigation__responsive-container-open { width: 40px; height: 40px; display: grid; place-items: center; } }
.ll-nav .wp-block-navigation__responsive-container-open svg, .ll-nav .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.ll-lang { font-family: var(--ll-mono); font-size: 12px; color: color-mix(in srgb, var(--ll-muted) 70%, var(--ll-ink)); margin: 0; }
.ll-mode { appearance: none; border: 1px solid var(--ll-line); background: transparent; color: var(--ll-ink); width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; padding: 0; flex: none; transition: border-color .2s, color .2s; }
.ll-mode[hidden] { display: none; }
.ll-mode:hover { border-color: var(--ll-sea); color: var(--ll-sea); }
.ll-mode svg { width: 16px; height: 16px; grid-area: 1 / 1; transition: opacity .25s, transform .4s; }
.ll-mode .ll-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
.ll-mode[aria-pressed="true"] .ll-sun { opacity: 1; transform: none; }
.ll-mode[aria-pressed="true"] .ll-moon { opacity: 0; transform: rotate(90deg) scale(.6); }

/* ---------- Hero ---------- */
.ll-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 100px) clamp(56px, 7vw, 90px); margin-block-start: 0 !important; }
.ll-orbs { position: absolute; inset: -120px 0 0 0; z-index: 0; pointer-events: none; }
.ll-orb { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.ll-orb.a { width: 46vw; max-width: 620px; aspect-ratio: 1; background: var(--ll-orb-a); right: -6%; top: 6%; animation: ll-drift-a 22s ease-in-out infinite alternate; }
.ll-orb.b { width: 38vw; max-width: 520px; aspect-ratio: 1; background: var(--ll-orb-b); right: 22%; top: 34%; animation: ll-drift-b 26s ease-in-out infinite alternate; }
.ll-orb.c { width: 30vw; max-width: 420px; aspect-ratio: 1; background: var(--ll-orb-c); left: -8%; bottom: -4%; animation: ll-drift-c 30s ease-in-out infinite alternate; }
@keyframes ll-drift-a { to { transform: translate(-12vw, 10vh) scale(1.15); } }
@keyframes ll-drift-b { to { transform: translate(10vw, -8vh) scale(.85); } }
@keyframes ll-drift-c { to { transform: translate(14vw, -12vh) scale(1.2); } }
.ll-hero > *:not(.ll-orbs) { position: relative; z-index: 1; }
.ll-hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 300px); gap: 32px 48px; align-items: end; }
.ll-hero-grid > * { margin: 0 !important; }
.ll-hero-title { font-size: clamp(50px, 8.6vw, 140px); }
/* overflow:hidden movería la línea base del bloque; clip-path recorta sin moverla */
.ll-swap { display: inline-grid; vertical-align: baseline; clip-path: inset(0); padding-bottom: .16em; margin-bottom: -.16em; color: var(--ll-sea); }
.ll-swap > span { grid-area: 1 / 1; animation: ll-swap 6s cubic-bezier(.7,0,.2,1) infinite; }
.ll-swap > span:nth-child(2) { animation-delay: -3s; transform: translateY(110%); }
@keyframes ll-swap { 0%, 40% { transform: translateY(0); } 50%, 90% { transform: translateY(-110%); } 90.01% { transform: translateY(110%); } 100% { transform: translateY(0); } }
.ll-hero-side { font-size: 16px; color: var(--ll-ink); max-width: 30ch; padding-bottom: 12px; }
.ll-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px !important; }
.ll-doors > * { margin: 0 !important; }
.ll-door { border: 1.5px solid var(--ll-ink); padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; background: color-mix(in srgb, var(--ll-bg) 70%, transparent); backdrop-filter: blur(6px); transition: background .25s, color .25s; }
.ll-door > * { margin: 0 !important; }
.ll-door-title { font-family: var(--ll-display); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.ll-door-desc { color: var(--ll-muted); font-size: 15px; }
.ll-door-go { font-family: var(--ll-mono); font-size: 14px; margin-top: 6px !important; }
.ll-door:hover { background: var(--ll-ink); color: var(--ll-on-ink); }
.ll-door:hover .ll-door-desc { color: var(--ll-on-ink); }

/* ---------- Cupos ---------- */
.ll-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 22px; border-block: 1px solid var(--ll-line); margin-block-start: 0 !important; }
.ll-avail > * { margin: 0 !important; }
.ll-month { display: flex; align-items: center; gap: 10px; font-family: var(--ll-mono); font-size: 14px; }
.ll-month::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ll-ok); }
.ll-month.is-full::before { background: var(--ll-full); }
.ll-avail-cta { margin-left: auto !important; font-weight: 600; }
.ll-avail-cta a { text-decoration: none; }

/* ---------- Manifiesto (caja centrada, texto que se enciende) ---------- */
.ll-manifesto { display: flex; justify-content: center; }
.ll-mbox { width: 100%; max-width: 760px; background: var(--wp--preset--color--card); border: 1px solid var(--ll-line); padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; gap: 28px; margin: 0 !important; }
.ll-mbox > * { margin: 0 !important; }
.ll-reveal { font-family: var(--ll-display); font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; text-wrap: balance; }
.ll-reveal em { font-style: normal; color: var(--ll-sea); }
.ll-reveal .ll-w { transition: opacity .25s linear; }
.ll-mbody { color: var(--ll-muted); max-width: 52ch; }
.ll-mfoot { color: var(--ll-muted); }

/* ---------- Encabezado de sección ---------- */
.ll-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 56px !important; }
.ll-sec-head > * { margin: 0 !important; }
.ll-sec-head h2 { font-size: clamp(48px, 7vw, 96px); }
.ll-sec-head p { color: var(--ll-muted); max-width: 40ch; }

/* ---------- Servicios: cards apiladas ---------- */
.ll-stack { display: grid; gap: 24px; }
.ll-stack > * { margin: 0 !important; }
.ll-card { position: sticky; top: 104px; min-height: 340px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; border: 1px solid var(--ll-line); background: var(--ll-paper); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.25); }
.ll-card > * { margin: 0 !important; }
.ll-card:nth-child(2) { top: 132px; background: var(--ll-mist); }
.ll-card:nth-child(3) { top: 160px; background: var(--ll-ink); color: var(--ll-on-ink); border-color: var(--ll-ink); }
.ll-card:nth-child(4) { top: 188px; background: var(--ll-sea-deep); color: #fff; border-color: var(--ll-sea-deep); }
.ll-card h3 { font-size: clamp(40px, 5.4vw, 72px); margin-top: 12px !important; }
.ll-card p { color: var(--ll-muted); max-width: 38ch; margin: 0; }
.ll-card:nth-child(n+3) p, .ll-card:nth-child(n+3) .ll-label { color: inherit; opacity: .85; }
.ll-card:nth-child(4) p, .ll-card:nth-child(4) .ll-label { opacity: 1; }
.ll-card:nth-child(2) p, .ll-card:nth-child(2) .ll-label { color: color-mix(in srgb, var(--ll-muted) 75%, var(--ll-ink)); }
.ll-tags { font-family: var(--ll-mono); font-size: 12px; margin-top: 16px !important; letter-spacing: .04em; }

/* ---------- Proyectos ---------- */
.ll-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); }
.ll-projects > * { margin: 0 !important; }
.ll-proj { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; color: #f4f3ef; background-color: #1d1f26; background-size: cover; background-position: center; transition: background-size .9s; }
.ll-proj > * { margin: 0 !important; }
.ll-proj::before { content: ""; position: absolute; inset: 0; background: inherit; background-size: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); z-index: 0; }
.ll-proj:hover::before { transform: scale(1.04); }
.ll-proj::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to top, rgba(10,11,14,.85), rgba(10,11,14,0)); z-index: 1; pointer-events: none; }
.ll-proj--1 { background-image: url(assets/img/card-mazda.webp); }
.ll-proj--2 { background-image: url(assets/img/card-nfl.webp); }
.ll-proj--3 { background-image: url(assets/img/card-pucci.webp); }
.ll-proj--4 { background-image: url(assets/img/card-amigos-rio-torres.webp); }
.ll-ghost { position: absolute; right: -.06em; top: .1em; font-family: var(--ll-display); font-size: clamp(90px, 13vw, 190px); line-height: 1; color: rgba(255,255,255,.08); white-space: nowrap; z-index: 1; }
.ll-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 76px 24px 24px; transform: translateY(calc(100% - 78px)); transition: transform .5s cubic-bezier(.2,.7,.2,1); z-index: 2; }
.ll-info > * { margin: 0 !important; }
.ll-info h3 { font-family: var(--wp--preset--font-family--body); font-weight: 600; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.ll-info .ll-tag { font-family: var(--ll-mono); font-size: 12px; opacity: .75; margin-top: 4px !important; }
.ll-info .ll-desc { font-size: 14px; line-height: 1.5; opacity: 0; transition: opacity .4s .1s; max-width: 40ch; margin-top: 14px !important; }
.ll-go { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; background: #f4f3ef; color: #1d1f26; display: grid; place-items: center; font-size: 18px; line-height: 1; transform: scale(0) rotate(-45deg); transition: transform .4s cubic-bezier(.2,.7,.2,1); z-index: 2; }
.ll-proj:hover .ll-info, .ll-proj:focus-within .ll-info { transform: translateY(0); }
.ll-proj:hover .ll-desc, .ll-proj:focus-within .ll-desc { opacity: .85; }
.ll-proj:hover .ll-go, .ll-proj:focus-within .ll-go { transform: scale(1) rotate(0); }
@media (hover: none) { .ll-info { transform: none; } .ll-info .ll-desc { opacity: .85; } .ll-go { transform: scale(1); } }

/* ---------- Números ---------- */
.ll-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; border-top: 1.5px solid var(--ll-ink); padding-top: 40px; }
.ll-stats > * { margin: 0 !important; }
.ll-stat > * { margin: 0 !important; }
.ll-stat-num { font-family: var(--ll-display); font-size: clamp(56px, 7vw, 96px); line-height: 1; font-variant-numeric: tabular-nums; }
.ll-stat p:not(.ll-stat-num) { margin-top: 12px !important; color: var(--ll-muted); font-size: 15px; max-width: 24ch; }

/* ---------- Planes ---------- */
.ll-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ll-plans > * { margin: 0 !important; }
.ll-plan { border: 1px solid var(--ll-line); padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.ll-plan > * { margin: 0 !important; }
.ll-plan.is-pick { background: var(--ll-ink); color: var(--ll-on-ink); border-color: var(--ll-ink); }
.ll-plan.is-pick .ll-label { color: var(--ll-mist); }
.ll-plan h3 { font-size: 34px; margin-top: 8px !important; }
.ll-from { font-family: var(--ll-mono); font-size: 12px; color: var(--ll-muted); margin-top: 14px !important; }
.ll-price { font-family: var(--ll-display); font-size: 38px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ll-per { font-family: var(--ll-mono); font-size: 12px; color: var(--ll-muted); }
.ll-plan.is-pick .ll-from, .ll-plan.is-pick .ll-per { color: inherit; opacity: .7; }
.ll-plan ul { list-style: none; padding: 0; margin: 18px 0 0 !important; display: grid; gap: 8px; font-size: 15px; }
.ll-plan li { padding-top: 8px; border-top: 1px solid var(--ll-line); }
.ll-plan.is-pick li { border-color: color-mix(in srgb, var(--ll-on-ink) 25%, transparent); }
.ll-note { margin-top: 24px !important; font-family: var(--ll-mono); font-size: 13px; color: var(--ll-muted); }

/* ---------- FAQ ---------- */
.ll-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.ll-faq > * { margin: 0 !important; }
.ll-faq h2 { font-size: clamp(48px, 7vw, 96px); margin-top: 16px !important; }
.ll-faq-list { border-top: 1.5px solid var(--ll-ink); }
.ll-faq-list > * { margin: 0 !important; }
.ll-faq .wp-block-details { border-bottom: 1px solid var(--ll-line); }
.ll-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: 22px; font-weight: 600; font-size: 18px; }
.ll-faq summary::-webkit-details-marker { display: none; }
.ll-faq summary::after { content: "+"; font-family: var(--ll-mono); font-weight: 400; font-size: 22px; color: var(--ll-sea); transition: transform .25s; }
.ll-faq details[open] summary::after { transform: rotate(45deg); }
.ll-faq details p { margin: 0 0 24px; color: var(--ll-muted); max-width: 56ch; }

/* ---------- Agenda ---------- */
.ll-agenda { background: #292c36; color: #f4f3ef; --ll-on-ink: #f4f3ef; --ll-ink: #292c36; padding-block: clamp(80px, 11vw, 150px); }
.ll-agenda .ll-label { color: #d3dde6; }
.ll-agenda h2 { font-size: clamp(52px, 8vw, 116px); }
.ll-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px !important; }
.ll-slots > * { margin: 0 !important; }
.ll-slot { border: 1.5px solid color-mix(in srgb, var(--ll-on-ink) 40%, transparent); padding: 28px; display: flex; flex-direction: column; gap: 8px; transition: background .25s, color .25s; }
.ll-slot > * { margin: 0 !important; }
.ll-slot-title { font-family: var(--ll-display); font-size: 34px; line-height: 1.1; }
.ll-slot p:not(.ll-slot-title) { opacity: .75; font-size: 15px; }
.ll-slot:hover { background: var(--ll-on-ink); color: var(--ll-ink); }
.ll-contact { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 48px !important; font-family: var(--ll-mono); font-size: 15px; }
.ll-contact > * { margin: 0 !important; }
.ll-contact strong { font-weight: 500; user-select: all; }

/* ---------- Footer de impacto ---------- */
.ll-bigfoot { background: var(--ll-sea-deep); color: #fff; overflow: hidden; padding-top: 56px; margin-block-start: 0 !important; }
.ll-foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.ll-foot-row > * { margin: 0 !important; }
.ll-foot-row p { max-width: 36ch; }
.ll-foot-links { font-family: var(--ll-mono); font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ll-foot-links a { text-decoration: none; }
.ll-wordmark { font-family: var(--ll-display); font-size: clamp(84px, 21vw, 300px); line-height: .82; white-space: nowrap; margin-top: 56px !important; letter-spacing: -.02em; transform: translateY(.08em); }
.ll-wordmark .ll-amp { color: var(--wp--preset--color--ink-2); opacity: .35; }
/* .ll-legal es un grupo 'constrained': no debe ser flex o su fila interna pierde el ancho y el centrado */
.ll-legal { font-family: var(--ll-mono); font-size: 12px; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.3); position: relative; z-index: 1; background: var(--ll-sea-deep); color: #fff; margin-block-start: 0 !important; }
.ll-legal p, .ll-legal a { color: #fff; }
.ll-legal > * { margin-block: 0 !important; }
.ll-legal > .wp-block-group { gap: 12px 28px; }
.ll-legal p { margin: 0 !important; }
.ll-legal a { text-decoration: none; }
.ll-legal .ll-totop-wrap { margin-left: auto !important; }
.ll-totop { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; transition: background .25s, color .25s; }
.ll-totop:hover { background: #fff; color: var(--ll-sea-deep); }
.ll-totop .ll-up { display: inline-block; transition: transform .25s; }
.ll-totop:hover .ll-up { transform: translateY(-3px); }

/* ---------- Caso (página interna de proyecto) ---------- */
.ll-case-hero { position: relative; min-height: min(86vh, 860px); color: #f4f3ef; background: #15171c; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-block: 0 clamp(32px, 5vw, 64px); margin-block-start: 0 !important; }
.ll-case-hero .ll-case-img { position: absolute; inset: 0; margin: 0 !important; z-index: 0; }
.ll-case-hero .ll-case-img img { width: 100%; height: 100%; object-fit: cover; }
.ll-case-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 65%; background: linear-gradient(to top, rgba(12,13,16,.9), transparent); z-index: 1; }
.ll-case-hero > *:not(.ll-case-img) { position: relative; z-index: 2; }
.ll-case-copy { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: 24px 48px; align-items: end; }
.ll-case-copy > * { margin: 0 !important; }
.ll-case-title { font-size: clamp(52px, 9vw, 160px); letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.ll-case-copy .wp-block-post-excerpt p { opacity: .85; max-width: 34ch; margin: 0; }
.ll-case-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 96px); padding-block: clamp(72px, 9vw, 120px); }
.ll-case-body > * { margin: 0 !important; }
.ll-case-body h2 { font-family: var(--wp--preset--font-family--body); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-top: 56px !important; }
.ll-case-body h2:first-child { margin-top: 0 !important; }
.ll-case-body p { color: var(--ll-muted); max-width: 62ch; }
.ll-lead { font-family: var(--ll-display); font-size: clamp(28px, 3.4vw, 42px) !important; line-height: 1.2; color: var(--ll-ink) !important; max-width: 24ch !important; }
.ll-aside { position: sticky; top: 100px; align-self: start; background: var(--ll-paper); padding: 28px; }
.ll-aside > * { margin: 0 0 16px !important; }
.ll-aside .ll-k { font-family: var(--ll-mono); font-size: 12px; color: var(--ll-muted); margin-bottom: 2px !important; }
.ll-aside .ll-v { font-weight: 600; color: var(--ll-ink); }
.ll-next { border-top: 1.5px solid var(--ll-ink); padding-block: 48px 64px; }
.ll-next h2 { font-size: clamp(56px, 10vw, 150px); margin-top: 12px !important; }
.ll-next h2 a { text-decoration: none; transition: color .3s; }
.ll-next h2 a:hover { color: var(--ll-sea); }

/* ---------- Páginas internas: Sobre Chisco y Proyectos ---------- */
.ll-page-head { padding-bottom: clamp(40px, 6vw, 72px); }
.ll-page-head > * { margin: 0 !important; }
.ll-page-head h1 { margin-top: 18px !important; max-width: 14ch; }
.ll-page-intro { color: var(--ll-muted); max-width: 46ch; margin-top: 24px !important; font-size: 18px; }
.ll-about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.ll-about-grid > * { margin: 0 !important; }
.ll-about-grid > .wp-block-group > * { margin: 0 !important; }
.ll-about-title { font-size: clamp(46px, 7vw, 108px); margin-top: 18px !important; }
.ll-plus { color: var(--ll-sea); }
.ll-about-bio { color: var(--ll-muted); max-width: 46ch; margin-top: 28px !important; font-size: 18px; }
.ll-about-grid .wp-block-buttons { margin-top: 32px !important; }
.ll-btn .wp-block-button__link { background: var(--ll-ink); color: var(--ll-on-ink); border-radius: 999px; padding: 14px 26px; font-weight: 600; font-size: 15px; transition: background .25s; }
.ll-btn .wp-block-button__link:hover { background: var(--ll-sea); color: #fff; }
.ll-about-photo { margin: 0 !important; background: var(--ll-paper); aspect-ratio: 3 / 4; overflow: hidden; }
.ll-about-photo img { width: 100%; height: 100%; object-fit: cover; }
.ll-marquee { overflow: hidden; border-block: 1px solid var(--ll-line); padding-block: 22px; display: flex; flex-direction: column; gap: 10px; }
.ll-marquee > * { margin: 0 !important; }
.ll-marquee-track { font-family: var(--wp--preset--font-family--body); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(18px, 2vw, 24px); white-space: nowrap; width: max-content; max-width: none !important; animation: ll-marquee 40s linear infinite; }
@keyframes ll-marquee { to { transform: translateX(-50%); } }
.ll-marquee:hover .ll-marquee-track { animation-play-state: paused; }
.ll-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ll-ink); }
.ll-skills > * { margin: 0 !important; }
.ll-skill { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--ll-line); display: flex; flex-direction: column; gap: 10px; }
.ll-skill > * { margin: 0 !important; }
.ll-skill h3 { font-size: clamp(30px, 3.4vw, 44px); }
.ll-skill p { color: var(--ll-muted); max-width: 44ch; }
.ll-skill .ll-tags { color: var(--ll-sea-text, var(--ll-sea)); margin-top: 6px !important; }
.ll-xp { border-top: 1.5px solid var(--ll-ink); }
.ll-xp > * { margin: 0 !important; }
.ll-xp-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 8px 24px; padding-block: 18px; border-bottom: 1px solid var(--ll-line); align-items: baseline; }
.ll-xp-row > * { margin: 0 !important; }
.ll-xp-role { font-weight: 600; font-size: 18px; }
.ll-xp-org { color: var(--ll-muted); }
.ll-xp-year { font-family: var(--ll-mono); font-size: 13px; color: var(--ll-sea-text, var(--ll-sea)); text-align: right; }
.ll-xp-sub { font-family: var(--wp--preset--font-family--body); font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 64px 0 16px !important; }
.ll-cta h2 a { text-decoration: none; transition: color .3s; }
.ll-cta h2 a:hover { color: #d3dde6; }
@media (max-width: 860px) { .ll-about-grid { grid-template-columns: 1fr; } .ll-about-photo { max-width: 420px; } }
@media (max-width: 700px) { .ll-skills { grid-template-columns: 1fr; } .ll-xp-row { grid-template-columns: 1fr auto; } .ll-xp-org { grid-column: 1; } .ll-xp-year { grid-row: 1; grid-column: 2; } }

/* Habilidades y software */
.ll-tools { margin-top: 56px !important; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px 32px; align-items: baseline; padding-top: 32px; border-top: 1px solid var(--ll-line); }
.ll-tools > * { margin: 0 !important; }
.ll-chips { font-size: 17px; line-height: 1.8; color: var(--ll-ink); }
@media (max-width: 700px) { .ll-tools { grid-template-columns: 1fr; gap: 8px; } .ll-tools .ll-label:not(:first-child) { margin-top: 18px !important; } }

/* ---------- Aviso de cookies ---------- */
.ll-cookies { position: fixed; z-index: 60; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-inline: auto; background: var(--ll-ink); color: var(--ll-on-ink); border-radius: 14px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; box-shadow: 0 18px 50px -20px rgba(0,0,0,.45); font-size: 14px; line-height: 1.5; }
.ll-cookies[hidden] { display: none; }
.ll-cookies p { margin: 0; flex: 1 1 260px; }
.ll-cookies a { color: inherit; text-decoration: underline; }
.ll-cookies-btns { display: flex; gap: 8px; }
.ll-cookies button { appearance: none; border-radius: 999px; padding: 9px 18px; font: 600 14px var(--wp--preset--font-family--body); cursor: pointer; border: 1px solid currentColor; background: transparent; color: inherit; }
.ll-cookies .ll-cookies-ok { background: var(--ll-on-ink); color: var(--ll-ink); border-color: var(--ll-on-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) { .ll-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .ll-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
	.ll-faq, .ll-case-body { grid-template-columns: 1fr; }
	.ll-aside { position: static; }
}
@media (max-width: 760px) {
	.ll-card { grid-template-columns: 1fr; min-height: 0; top: 84px; }
	.ll-card:nth-child(2) { top: 102px; } .ll-card:nth-child(3) { top: 120px; } .ll-card:nth-child(4) { top: 138px; }
	.ll-projects, .ll-stats { grid-template-columns: 1fr; }
	.ll-case-copy { grid-template-columns: 1fr; }
}
@media (max-width: 700px) { .ll-doors, .ll-slots { grid-template-columns: 1fr; } .ll-avail-cta { margin-left: 0 !important; } }
@media (max-width: 560px) { .ll-plans { grid-template-columns: 1fr; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.ll-orb, .ll-swap > span { animation: none !important; }
	.ll-reveal .ll-w { opacity: 1 !important; }
	html { scroll-behavior: auto; }
	.ll-marquee-track { animation: none !important; }
	.ll-swap > span:nth-child(2) { display: none; }
	* { transition: none !important; }
}
