/* Vega Fresh 2 — estilos. Blanco y gris, títulos enormes, equipo 3D. */

/* Blanco y gris, títulos enormes, un objeto 3D al centro que se desarma con el scroll. */
:root {
	--white: #ffffff;
	--gray: #f5f5f7;
	--gray-2: #e8e8ed;
	--ink: #1d1d1f;
	--ink-2: #515154;
	--blue: #1a86e0;
	--navy: #0e2b5c;
	--font: "Onest", "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(0.23, 1, 0.32, 1);
	--gut-l: max(22px, env(safe-area-inset-left, 0px));
	--gut-r: max(22px, env(safe-area-inset-right, 0px));
	color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
::selection { background: #cfe6fb; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }

/* Menú */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101; background: rgba(255,255,255,0.8); }
.nav {
	position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 100;
	height: 56px;
	background: rgba(255, 255, 255, 0.78);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
.nav__inner { height: 100%; max-width: 1080px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); display: flex; align-items: center; gap: 28px; }
.nav__logo img { display: block; height: 26px; width: auto; }
.nav__links { display: flex; gap: 30px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a { font-size: 13px; color: var(--ink); opacity: 0.85; text-decoration: none; transition: opacity 200ms ease; }
.nav__links a:hover { opacity: 1; }
.nav__cta { font-size: 13px; font-weight: 500; text-decoration: none; padding: 7px 14px; border-radius: 999px; background: var(--blue); color: #fff; transition: transform 160ms var(--ease), background-color 200ms ease; }
.nav__cta:active { transform: scale(0.96); }
.nav__menu { display: none; margin-left: auto; background: none; border: 0; padding: 10px 6px; cursor: pointer; }
.nav__menu span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* Escenario */
.stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--white); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__hero { position: absolute; left: 0; right: 0; top: calc(56px + clamp(36px, 7vh, 80px)); text-align: center; padding-left: var(--gut-l); padding-right: var(--gut-r); z-index: 2; pointer-events: none; }
.stage__hero > * { pointer-events: auto; }
.eyebrow-name { font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.stage__hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.stage__hero p.lead { margin: 16px auto 0; max-width: 34ch; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.3; color: var(--ink-2); letter-spacing: -0.015em; }
.actions { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500; text-decoration: none; transition: transform 160ms var(--ease), background-color 200ms ease; }
.btn:hover { background: #1474c4; }
.btn:active { transform: scale(0.97); }
.link { color: var(--blue); font-size: 17px; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link::after { content: " ›"; }

.cap {
	position: absolute; z-index: 2; max-width: 340px;
	visibility: hidden; opacity: 0;
}
.cap--l { left: max(6vw, var(--gut-l)); top: 50%; translate: 0 -50%; }
.cap--r { right: max(6vw, var(--gut-r)); top: 50%; translate: 0 -50%; }
.cap__kicker { display: block; font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.cap h2 { font-size: clamp(40px, 5vw, 76px); color: var(--ink); line-height: 1.05; letter-spacing: -0.04em; font-weight: 700; }
.cap p { margin-top: 14px; font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.cap .chip { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--gray); font-size: 14px; font-weight: 500; color: var(--navy); }

.stage__end { position: absolute; left: 0; right: 0; bottom: clamp(36px, 8vh, 80px); text-align: center; z-index: 2; visibility: hidden; opacity: 0; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.stage__end h2 { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.045em; line-height: 1.04; font-weight: 700; }

.no-webgl .stage canvas { display: none; }
.calc-cta { display: none; margin-top: 8px; }
.swipe-hint { display: none; margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* Servicios: tarjetas grandes */
.services { scroll-margin-top: 56px; background: var(--gray); padding-block: clamp(88px, 11vw, 150px); }
.services__inner { max-width: 1180px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.services__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 44px; }
.services__head h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; max-width: 14ch; }
.services__head h2 span { color: var(--ink-2); }
.services__head .link { white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; grid-column: span 2; display: flex; flex-direction: column; background: var(--white); border-radius: 28px; overflow: hidden; isolation: isolate; transform: translateZ(0); }
.card--wide { grid-column: span 3; }
.card__text { padding: 30px 30px 22px; min-width: 0; }
.card__kicker { display: block; font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.card h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 17px; max-width: 34ch; }
.card__img { position: relative; margin-top: auto; overflow: hidden; aspect-ratio: 16 / 10; }
.card:not(.card--wide) .card__img { aspect-ratio: 4 / 5; }
.card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 900ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__img img { transform: scale(1.045); } }
.plus { position: absolute; right: 18px; bottom: 18px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(29,29,31,0.72); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 160ms var(--ease), background-color 200ms ease; }
.plus svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.plus:hover { background: var(--ink); }
.plus:active { transform: scale(0.94); }
.card.is-open .plus svg { transform: rotate(45deg); }
.details { position: absolute; inset: 0; z-index: 2; background: rgba(255,255,255,0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 30px; display: flex; flex-direction: column; gap: 14px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 280ms ease, transform 380ms var(--ease), visibility 0s linear 380ms; }
.card.is-open .details { opacity: 1; visibility: visible; transform: none; transition: opacity 280ms ease, transform 380ms var(--ease), visibility 0s; }
.details h4 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.details ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.details li { display: flex; gap: 10px; align-items: baseline; font-size: 17px; }
.details li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); translate: 0 -2px; }
.details .btn { align-self: flex-start; margin-top: auto; }


/* Calculadora: configurador */
.calc { scroll-margin-top: 56px; background: var(--white); padding-block: clamp(88px, 11vw, 150px); }
.calc__inner { max-width: 1180px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.calc__summary { position: sticky; top: 96px; }
.calc__summary h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; }
.calc__summary h2 span { color: var(--ink-2); }
.result { margin-top: 36px; padding: 32px; border-radius: 28px; background: var(--gray); }
.result__label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.result__num { display: block; margin-top: 6px; font-size: clamp(56px, 7vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.result__num small { font-size: 0.36em; letter-spacing: -0.02em; color: var(--blue); margin-left: 6px; }
.result__kind { margin-top: 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.result__note { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.result .btn { margin-top: 24px; }
.opts { display: grid; gap: 44px; }
.opt h3 { font-size: 24px; letter-spacing: -0.03em; margin: 0 0 4px; }
.opt__hint { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; gap: 4px; min-height: 84px; justify-content: center; padding: 16px 18px; border-radius: 18px; border: 1.5px solid #d2d2d7; background: var(--white); transition: border-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease); }
.choice b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.choice small { font-size: 14px; color: var(--ink-2); }
.choice:hover span { border-color: #86868b; }
.choice input:checked + span { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.choice:active span { transform: scale(0.98); }
.area { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.area output { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.area output small { font-size: 18px; color: var(--ink-2); margin-left: 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; cursor: pointer; --p: 8%; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--blue) var(--p), #d2d2d7 var(--p)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: #d2d2d7; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25), 0 0 0 0.5px rgba(0,0,0,0.08); transition: transform 160ms var(--ease); }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.1); }
.scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--gray); }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); font-size: 22px; line-height: 1; cursor: pointer; transition: transform 160ms var(--ease); }
.stepper button:active { transform: scale(0.92); }
.stepper output { min-width: 56px; text-align: center; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Trabajos: galería */
.works { scroll-margin-top: 56px; background: var(--gray); padding-block: clamp(88px, 11vw, 150px); overflow: hidden; }
.works__head { max-width: 1180px; margin: 0 auto 40px; padding-left: var(--gut-l); padding-right: var(--gut-r); display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.works__head h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; }
.works__head h2 span { color: var(--ink-2); }
.arrows { display: flex; gap: 12px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #e3e3e8; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease), opacity 200ms ease; }
.arrows button:hover { background: #d6d6dc; }
.arrows button:active { transform: scale(0.94); }
.arrows button:disabled { opacity: 0.35; cursor: default; }
.arrows svg { width: 18px; height: 18px; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-left: max(var(--gut-l), calc((100vw - 1180px) / 2 + 22px)); padding-right: var(--gut-r); scroll-padding-left: max(var(--gut-l), calc((100vw - 1180px) / 2 + 22px)); scrollbar-width: none; padding-bottom: 6px; }
.track::-webkit-scrollbar { display: none; }
.work { flex: 0 0 clamp(260px, 30vw, 380px); scroll-snap-align: start; margin: 0; }
.work__img { border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; background: #e3e3e8; }
.work__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .work:hover .work__img img { transform: scale(1.04); } }
.work figcaption { padding: 16px 6px 0; }
.work figcaption b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.work figcaption span { font-size: 15px; color: var(--ink-2); }


/* Encabezado común de sección */
.sec { scroll-margin-top: 56px; padding-block: clamp(88px, 11vw, 150px); }
.sec--gray { background: var(--gray); }
.sec--white { background: var(--white); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.sec__head h2, .about h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; max-width: 16ch; }
.sec__head h2 span, .about h2 span { color: var(--ink-2); }

/* Tienda */
.shop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.prod { background: var(--gray); border-radius: 28px; padding: 26px 26px 28px; display: flex; flex-direction: column; min-width: 0; transition: transform 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .prod:hover { transform: translateY(-6px); } .prod:hover img { transform: scale(1.05) rotate(-2deg); } }
.prod__tag { font-size: 13px; font-weight: 600; color: var(--blue); }
.prod img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 6px 0 10px; transition: transform 700ms var(--ease); }
.prod h3 { margin: 0; font-size: 21px; letter-spacing: -0.025em; }
.prod p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.prod .btn { margin-top: 18px; align-self: flex-start; min-height: 38px; padding: 0 16px; font-size: 15px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post { background: var(--white); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; min-width: 0; transition: transform 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .post:hover { transform: translateY(-6px); } .post:hover img { transform: scale(1.04); } }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease); }
.post__body { padding: 24px 26px 28px; }
.post__cat { font-size: 13px; font-weight: 600; color: var(--blue); }
.post h3 { margin: 6px 0 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; }
.post p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* Nosotros */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__lead { margin-top: 22px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--ink-2); letter-spacing: -0.015em; max-width: 36ch; }
.values { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.values li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.values .ic { width: 48px; height: 48px; border-radius: 14px; background: #e7f2fc; color: var(--blue); display: grid; place-items: center; }
.values .ic svg { width: 24px; height: 24px; }
.values b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.values span { color: var(--ink-2); font-size: 16px; }

/* Ubicación */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.visit__card { background: var(--white); border-radius: 28px; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.visit__card h3 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.visit__row b { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.visit__row p { font-size: 18px; }
.hours { display: grid; gap: 6px; font-size: 17px; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 16px; }
.visit__card .actions { justify-content: flex-start; margin-top: auto; }
.map { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; background: #e9eef3; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; left: 54%; top: 46%; translate: -50% -100%; display: grid; justify-items: center; }
.pin__dot { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--blue); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(26,134,224,0.35); }
.pin__dot svg { rotate: 45deg; width: 26px; height: 26px; color: #fff; }
.pin__pulse { position: absolute; bottom: -10px; width: 22px; height: 8px; border-radius: 50%; background: rgba(14,43,92,0.25); }
.pin__pulse::after { content: ""; position: absolute; inset: -14px -28px; border-radius: 50%; border: 2px solid rgba(26,134,224,0.5); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map__label { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }

/* Pie */
.foot { background: var(--gray); padding-block: 56px 32px; font-size: 13px; color: var(--ink-2); }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #d2d2d7; }
.foot__top img { height: 30px; width: auto; display: block; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; color: var(--ink); font-weight: 600; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.foot li { overflow-wrap: anywhere; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--ink); }
.foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #d2d2d7; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }


/* Escritorio: texto a la izquierda, equipo a la derecha */
@media (min-width: 861px) {
	.stage__hero, .stage__end { left: max(6vw, var(--gut-l)); right: auto; top: 50%; bottom: auto; translate: 0 -50%; width: min(44vw, 580px); text-align: left; padding: 0; }
	.stage__hero .actions, .stage__end .actions { justify-content: flex-start; }
	.stage__hero p.lead { margin-left: 0; }
	.stage__hero h1 { font-size: clamp(48px, 6vw, 88px); }
	.cap--r { left: max(6vw, var(--gut-l)); right: auto; }
	.cap { max-width: 400px; }
}

/* Etiquetas sobre las piezas */
.tag { position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(14,43,92,0.14), 0 0 0 0.5px rgba(14,43,92,0.08); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.tag__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(26,134,224,0.18); }

/* ===== WordPress ===== */
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 70px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.admin-bar .nav { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.nav__links .current-menu-item > a { opacity: 1; font-weight: 600; }
.nav__logo img { display: block; height: 26px; width: auto; }
fieldset.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.prod > a img { display: block; }
.prod h3 a { text-decoration: none; }
.prod__price { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.prod__price del { color: var(--ink-2); font-weight: 400; margin-right: 6px; }
.prod__price ins { text-decoration: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage--still { height: auto; min-height: 0; padding-block: calc(56px + 96px) 96px; }
.stage--still .stage__hero { position: relative; top: auto; translate: none; }

/* Páginas interiores */
.page-top { padding-top: 56px; }
.page-head { padding-block: clamp(64px, 9vw, 130px) clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 700; max-width: 18ch; }
.page-head h1 span { color: var(--ink-2); }
.page-head__cat { font-size: 17px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.page-head__lead { margin-top: 18px; max-width: 46ch; font-size: clamp(19px, 1.7vw, 24px); color: var(--ink-2); line-height: 1.35; }
.page-head__date { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.page-head--article { max-width: 860px; }
.actions--left { justify-content: flex-start; }
.hero-img { margin: 0 auto 8px; }
.hero-img img { width: 100%; height: auto; border-radius: 28px; display: block; }
.entry { max-width: 720px; margin: 0 auto; padding: 40px max(22px, env(safe-area-inset-right, 0px)) clamp(88px, 10vw, 140px) max(22px, env(safe-area-inset-left, 0px)); font-size: 19px; line-height: 1.6; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.1; margin-top: 1.8em; }
.entry h3 { font-size: 24px; letter-spacing: -0.025em; margin-top: 1.6em; }
.entry a { color: var(--blue); }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: 0.4em; }
.entry img { border-radius: 20px; height: auto; }
.entry blockquote { margin-left: 0; margin-right: 0; padding: 26px 30px; border-radius: 22px; background: var(--gray); font-size: 22px; letter-spacing: -0.02em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 17px; }
.entry th, .entry td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--gray-2); }
.entry .alignwide { max-width: 1080px; margin-left: 50%; transform: translateX(-50%); width: min(1080px, 100vw - 44px); }
.entry__cta { margin-top: 2.4em !important; }
.wp-block-button__link { border-radius: 999px; background: var(--blue); color: #fff !important; text-decoration: none; padding: 12px 24px; }
.posts--list { padding-bottom: clamp(88px, 10vw, 140px); }
.post { background: var(--gray); }
.sec--gray .post { background: var(--white); }
.pagination { display: flex; gap: 8px; padding-bottom: 120px; margin-top: -60px; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--gray); text-decoration: none; padding: 0 14px; }
.pagination .current { background: var(--ink); color: #fff; }
.empty { padding-bottom: 120px; font-size: 19px; color: var(--ink-2); }

@media (max-width: 860px) { .tag { font-size: 13px; padding: 7px 11px 7px 8px; } }
@media (max-width: 860px) {
	.nav__links { display: none; position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gut-r) 24px var(--gut-l); background: rgba(255,255,255,0.97); }
	.nav__links.is-open { display: flex; }
	.nav__links a { display: block; padding: 12px 0; font-size: 20px; font-weight: 500; }
	.nav__menu { display: block; }
	.nav__cta { display: none; }
	.cap, .cap--l, .cap--r { left: var(--gut-l); right: var(--gut-r); top: 58%; bottom: auto; translate: none; max-width: none; text-align: center; }
	.cap h2 { font-size: clamp(36px, 10vw, 48px); }
	.cap p { margin-top: 10px; }
	.stage__end { top: 58%; bottom: auto; }
	.cap p { font-size: 16px; }
	.grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gut-r) * -1) 0 calc(var(--gut-l) * -1); padding: 0 var(--gut-r) 8px var(--gut-l); scroll-padding-left: var(--gut-l); scrollbar-width: none; }
	.grid::-webkit-scrollbar { display: none; }
	.card, .card--wide { flex: 0 0 82%; scroll-snap-align: start; }
	.card--wide .card__img, .card:not(.card--wide) .card__img { aspect-ratio: 4 / 5; }
	.card__text { padding: 24px 24px 18px; }
	.swipe-hint { display: block; }
	.calc__inner { grid-template-columns: 1fr; }
	.calc__summary { position: static; }
	.result { position: sticky; top: 64px; z-index: 5; padding: 20px 22px; }
	.result .btn, .result__note { display: none; }
	.result__num { font-size: 48px; }
	.choices { grid-template-columns: 1fr 1fr; }
	.calc-cta { display: flex !important; }
	.arrows { display: none; }
	.work { flex-basis: 76%; }
	.shop { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gut-r) * -1) 0 calc(var(--gut-l) * -1); padding: 0 var(--gut-r) 6px var(--gut-l); scroll-padding-left: var(--gut-l); scrollbar-width: none; }
	.prod { flex: 0 0 64%; scroll-snap-align: start; }
	.posts { grid-template-columns: 1fr; }
	.about { grid-template-columns: 1fr; }
	.about__img { aspect-ratio: 4 / 3; }
	.visit { grid-template-columns: 1fr; }
	.map { min-height: 300px; }
	.foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition-duration: 1ms !important; }
}

/* ===== Galería de cada servicio ===== */
.card__img .slides { position: absolute; inset: 0; display: flex; transition: transform 700ms var(--ease); will-change: transform; }
.card__img .slide { flex: 0 0 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.card__img .slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__img .slide img { transform: scale(1.045); } .card:hover .card__img img { transform: scale(1.045); } }
.card__img img { transform: none; }
.dots { position: absolute; left: 18px; bottom: 26px; z-index: 2; display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(29,29,31,0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.55); cursor: pointer; transition: width 300ms var(--ease), background-color 200ms ease; }
.dot.is-on { width: 22px; background: #fff; }
.dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Galería a pantalla completa */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 12, 16, 0.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: lb-in 260ms var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 64px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); }
.lightbox__fig img { max-width: min(92vw, 1400px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 18px; object-fit: contain; }
.lightbox__count { font-size: 15px; color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.26); }
.lightbox__close:active, .lightbox__nav:active { transform: scale(0.94); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lightbox__nav--prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; }
.lightbox.is-single .lightbox__nav { display: none; }
@media (max-width: 860px) { .lightbox__nav { top: auto; bottom: max(20px, env(safe-area-inset-bottom, 0px)); translate: none; } .dots { bottom: 22px; } }
