@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 850;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@view-transition { navigation: auto; }

:root {
  --ink: #16191b;
  --ink-2: #2a2f32;
  --ink-3: #353c40;
  --muted: #5f676c;
  --paper: #f5f2ec;
  --paper-2: #ebe6dd;
  --line: rgba(22, 25, 27, .12);
  --oak: #b8732b;
  --oak-2: #d7944a;
  --oak-ink: #8a4f14;
  --wa: #0c7f3e;
  --wa-2: #0a6c35;
  --radius: 16px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.72, 0, .2, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 420;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 760; font-stretch: 114%; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.15rem + 4.7vw, 5.2rem); letter-spacing: -.03em; line-height: .98; }
h2 { font-size: clamp(1.95rem, 1.2rem + 3vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-stretch: 108%; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 132px); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--stone { background: var(--paper-2); }
.section__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 4px; font-size: .78rem; font-weight: 680; font-stretch: 110%;
  letter-spacing: .16em; text-transform: uppercase; color: var(--oak-ink);
}
.kicker::before, .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--dark .kicker { color: var(--oak-2); }
.lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.section--dark .lede { color: #b9bfc2; }

/* buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 660; font-size: 1rem; line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 12px 26px -14px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .32) 48%, transparent 66%);
  transform: translateX(-130%); transition: transform .9s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0); }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: var(--wa-2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22, 25, 27, .25); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { --bg: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn--light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--dark { --bg: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px;
  font-weight: 680; text-decoration: none; color: var(--ink);
}
.link-arrow .i { transition: transform .4s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(5px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--oak); }

.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 5px;
  background: rgba(184, 115, 43, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3 4.9 8.8 9.8 3.4' fill='none' stroke='%238a4f14' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks--dark li::before {
  background-color: rgba(215, 148, 74, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.4 6.3 4.9 8.8 9.8 3.4' fill='none' stroke='%23d7944a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* header */
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 3px; background: var(--oak); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.header { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.header.is-scrolled {
  background: rgba(245, 242, 236, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.header__in { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-size: 1.02rem; font-weight: 470; font-stretch: 108%; letter-spacing: -.01em; white-space: nowrap; }
.brand__name b { font-weight: 800; }
.nav { display: none; gap: 30px; }
.nav a { position: relative; font-weight: 560; font-size: .95rem; text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--oak);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__wa { display: none; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(22, 25, 27, .07); font-size: .78rem; font-weight: 720; letter-spacing: .06em; }
.lang__opt { display: inline-grid; place-items: center; min-width: 38px; height: 30px; border-radius: 999px; color: var(--muted); text-decoration: none; transition: background-color .25s, color .25s; }
.lang__opt.is-active { background: var(--ink); color: #fff; }
a.lang__opt:hover { color: var(--ink); background: rgba(22, 25, 27, .09); }
.lang--dark { background: rgba(255, 255, 255, .08); }
.lang--dark .lang__opt { color: #aab1b5; }
.lang--dark .lang__opt.is-active { background: #fff; color: var(--ink); }
.lang--dark a.lang__opt:hover { color: #fff; background: rgba(255, 255, 255, .12); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header__wa { display: inline-flex; }
  .brand__name { font-size: 1.1rem; }
}

/* hero */
.hero { padding: clamp(18px, 4vw, 44px) 0 clamp(52px, 7vw, 96px); }
.hero__grid { display: grid; gap: 22px; align-items: end; }
.hero__title .eyebrow { margin-bottom: 16px; }
.hero__side { display: grid; gap: 22px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .hero__ctas .btn { flex: 1 1 100%; } }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.3fr 1fr; gap: 56px; } }

.window {
  position: relative; margin: clamp(28px, 4vw, 52px) 0 0; aspect-ratio: 5 / 4; overflow: hidden;
  border: clamp(7px, 1.1vw, 14px) solid var(--ink-2); border-radius: 8px; background: #0f1213;
  box-shadow: 0 50px 80px -50px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .25);
}
.window::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 18px 30px -18px rgba(0, 0, 0, .35);
}
@media (min-width: 760px) { .window { aspect-ratio: 2 / 1; } }
@media (min-width: 1100px) { .window { aspect-ratio: 1600 / 650; } }
.window picture { display: block; height: 100%; transform: scale(var(--s, 1.08)); transition: transform 2.4s var(--ease-out); }
.window img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; transform: translate3d(0, var(--py, 0px), 0) scale(1.1); }
.window.is-open picture { --s: 1; }
.sash {
  position: absolute; top: 0; bottom: 0; z-index: 2; width: 50%;
  border: clamp(6px, .9vw, 11px) solid var(--ink-3);
  background: linear-gradient(120deg, rgba(236, 242, 244, .66), rgba(214, 226, 231, .42) 45%, rgba(236, 242, 244, .58));
  -webkit-backdrop-filter: blur(12px) saturate(1.05); backdrop-filter: blur(12px) saturate(1.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform 1.7s var(--ease-io);
}
.sash::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .38) 22%, transparent 28%, transparent 56%, rgba(255, 255, 255, .24) 59%, transparent 64%);
}
.sash--l { left: 0; }
.sash--r { right: 0; transition-delay: .06s; }
.sash__handle {
  position: absolute; top: 50%; width: 6px; height: clamp(34px, 6vw, 72px); transform: translateY(-50%);
  border-radius: 4px; background: linear-gradient(90deg, #8d959a, #e6eaec, #8d959a); box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.sash--l .sash__handle { right: 10px; }
.sash--r .sash__handle { left: 10px; }
.window.is-open .sash--l { transform: translateX(-102%); }
.window.is-open .sash--r { transform: translateX(102%); }
html:not(.js) .sash { display: none; }
.window__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 4; padding: 7px 12px; border-radius: 999px;
  background: rgba(15, 18, 19, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .8rem; font-weight: 580;
  opacity: 0; transform: translateY(8px); transition: opacity .8s 1.5s, transform .8s 1.5s var(--ease-out);
}
.window.is-open .window__cap, html:not(.js) .window__cap { opacity: 1; transform: none; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 540; }
.facts li { display: inline-flex; align-items: center; gap: 10px; }
.facts li::before { content: ""; width: 8px; height: 8px; background: var(--oak); transform: rotate(45deg); }

/* marquee */
.marquee { overflow: hidden; padding-block: clamp(14px, 2vw, 22px); background: var(--ink); color: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(18px, 3vw, 36px); padding-right: clamp(18px, 3vw, 36px);
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3.1rem); font-weight: 780; font-stretch: 120%; letter-spacing: -.02em; white-space: nowrap;
}
.marquee__item::after { content: ""; flex: none; width: .3em; height: .3em; background: var(--oak); transform: rotate(45deg); }
.marquee__item.is-outline { color: transparent; -webkit-text-stroke: 1.2px rgba(245, 242, 236, .78); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* service cards */
.cards { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 2px rgba(22, 25, 27, .06), 0 22px 44px -30px rgba(22, 25, 27, .4);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(22, 25, 27, .06), 0 36px 60px -30px rgba(22, 25, 27, .5); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.card__num {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 10px; border-radius: 999px;
  background: rgba(15, 18, 19, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: .76rem; font-weight: 760; letter-spacing: .12em;
}
.card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 22px 22px 24px; }
.card__body > p { color: var(--muted); }
.sheen { position: relative; }
.sheen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .4) 50%, transparent 62%);
  transform: translateX(-120%); transition: transform 1.1s var(--ease-out);
}
.card:hover .sheen::after, .shot.sheen:hover::after { transform: translateX(120%); }
/* obra nueva */
.obra__grid { display: grid; gap: 36px; }
.obra__text { display: grid; gap: 18px; align-content: start; }
.obra__text .btn { justify-self: start; margin-top: 8px; }
.obra__media {
  display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 12px;
  margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.obra__media::-webkit-scrollbar { display: none; }
.obra__fig { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: #0f1213; scroll-snap-align: start; }
.obra__fig img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); }
.obra__fig figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px;
  background: linear-gradient(transparent, rgba(8, 10, 11, .78));
  color: #fff; font-size: .86rem; font-weight: 600;
}
.obra__swipe { display: inline-flex; align-items: center; gap: 8px; margin-top: -18px; color: #9aa2a7; font-size: .85rem; font-weight: 560; }
@media (min-width: 980px) {
  .obra__grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .obra__text { position: sticky; top: 112px; }
  .obra__media { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; overflow: visible; }
  .obra__fig:nth-child(even) { margin-top: 72px; }
  .obra__swipe { display: none; }
}

/* gallery */
.filters {
  display: flex; gap: 8px; margin: 0 calc(-1 * var(--gutter)) 22px; padding: 0 var(--gutter) 6px;
  overflow-x: auto; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1.5px solid rgba(22, 25, 27, .16); border-radius: 999px; background: transparent;
  color: var(--ink); font-weight: 620; font-size: .92rem; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip__n { color: var(--muted); font-size: .74rem; font-weight: 720; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip__n { color: var(--oak-2); }
.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 760px) { .masonry { columns: 3; column-gap: 16px; } }
.shot {
  display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--paper-2); cursor: zoom-in; break-inside: avoid;
}
@media (min-width: 760px) { .shot { margin-bottom: 16px; } }
.shot img { width: 100%; transition: transform 1.2s var(--ease-out); }
.shot:hover img { transform: scale(1.05); }
.shot__cap {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 36px 12px 10px; text-align: left;
  background: linear-gradient(transparent, rgba(10, 12, 13, .74));
  color: #fff; font-size: .82rem; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease-out);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
@media (hover: none) { .shot__cap { display: none; } }
.shot[hidden] { display: none; }
.shot.pop { animation: pop .6s var(--ease-out) both; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* lightbox */
.lb { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lb::backdrop { background: rgba(8, 10, 11, .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; animation: lb-in .35s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lb__fig { display: grid; gap: 12px; justify-items: center; max-width: 100%; margin: 0; padding: 70px 16px 6px; }
.lb__fig img {
  width: auto; max-width: min(100%, 1280px); max-height: calc(100svh - 190px); border-radius: 8px;
  opacity: 0; transform: scale(.985); transition: opacity .35s, transform .5s var(--ease-out);
}
.lb__fig img.is-in { opacity: 1; transform: none; }
.lb__fig figcaption { color: #d6dadc; font-size: .95rem; text-align: center; }
.lb__bar { display: flex; align-items: center; gap: 18px; padding: 10px 16px calc(24px + env(safe-area-inset-bottom)); }
.lb__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid rgba(255, 255, 255, .26); border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .25s;
}
.lb__btn:hover { background: rgba(255, 255, 255, .16); }
.lb__close { position: fixed; top: 14px; right: 14px; }
.lb__count { min-width: 72px; color: #c4c9cc; font-size: .9rem; text-align: center; font-variant-numeric: tabular-nums; }

/* tipos de apertura */
.tipos__grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .tipos__grid { grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; } }
.demo {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  background: radial-gradient(120% 100% at 25% 15%, #fdfbf7 0%, #f0eadf 55%, #e2dace 100%);
  box-shadow: inset 0 0 0 1px rgba(22, 25, 27, .05);
}
@media (min-width: 960px) { .demo { aspect-ratio: 1 / 1; } }
.demo::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 25, 27, .04) 1px, transparent 1.2px); background-size: 7px 7px; }
.demo__frame {
  position: relative; height: 76%; aspect-ratio: 4 / 5; border: clamp(8px, 1.2vw, 13px) solid var(--ink-2); border-radius: 4px;
  background: #0f1213; perspective: 1100px;
  box-shadow: 0 36px 50px -30px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.demo__frame::after { content: ""; position: absolute; left: -9%; right: -9%; bottom: -24px; height: 10px; border-radius: 2px; background: linear-gradient(#d6d0c5, #bdb5a8); }
.demo__view { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.demo__sash {
  position: absolute; top: 0; bottom: 0; left: 0; width: 100%; overflow: hidden;
  border: clamp(6px, .8vw, 9px) solid var(--ink-3);
  background: linear-gradient(130deg, rgba(226, 238, 243, .46), rgba(255, 255, 255, .10) 34%, rgba(255, 255, 255, .30) 48%, rgba(205, 222, 230, .18) 64%, rgba(226, 238, 243, .30));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 18px rgba(255, 255, 255, .12), 0 0 0 1px rgba(0, 0, 0, .3), 0 10px 24px -8px rgba(0, 0, 0, .5);
}
.demo__handle {
  position: absolute; top: 50%; width: 5px; height: 16%; transform: translateY(-50%); border-radius: 3px;
  background: linear-gradient(90deg, #8d959a, #e6eaec, #8d959a); box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.demo[data-type="corredera"] .demo__sash--a { width: 52%; }
.demo[data-type="corredera"] .demo__sash--b { left: 48%; width: 52%; z-index: 2; animation: v-slide 5s var(--ease-io) infinite; }
.demo[data-type="corredera"] .demo__sash--a .demo__handle { left: 7px; }
.demo[data-type="corredera"] .demo__sash--b .demo__handle { right: 7px; }
@keyframes v-slide { 0%, 14% { transform: translateX(0); } 44%, 64% { transform: translateX(-86%); } 94%, 100% { transform: translateX(0); } }
.demo[data-type="abatible"] .demo__sash--a { width: 50%; transform-origin: 0 50%; animation: v-swing-l 5s var(--ease-io) infinite; }
.demo[data-type="abatible"] .demo__sash--b { left: 50%; width: 50%; transform-origin: 100% 50%; animation: v-swing-r 5s var(--ease-io) .12s infinite; }
.demo[data-type="abatible"] .demo__sash--a .demo__handle { right: 6px; }
.demo[data-type="abatible"] .demo__sash--b .demo__handle { display: none; }
@keyframes v-swing-l { 0%, 14% { transform: rotateY(0); } 44%, 64% { transform: rotateY(-62deg); } 94%, 100% { transform: rotateY(0); } }
@keyframes v-swing-r { 0%, 14% { transform: rotateY(0); } 44%, 64% { transform: rotateY(62deg); } 94%, 100% { transform: rotateY(0); } }
.demo[data-type="oscilo"] .demo__sash--b, .demo[data-type="fija"] .demo__sash--b, .demo[data-type="fija"] .demo__handle { display: none; }
.demo[data-type="oscilo"] .demo__sash--a { animation: v-oscilo 7.5s var(--ease-io) infinite; }
.demo[data-type="oscilo"] .demo__sash--a .demo__handle { right: 6px; }
@keyframes v-oscilo {
  0%, 8% { transform: none; transform-origin: 50% 100%; }
  22%, 34% { transform: rotateX(13deg); transform-origin: 50% 100%; }
  46% { transform: none; transform-origin: 50% 100%; }
  52% { transform: none; transform-origin: 0 50%; }
  66%, 80% { transform: rotateY(-58deg); transform-origin: 0 50%; }
  93% { transform: none; transform-origin: 0 50%; }
  100% { transform: none; transform-origin: 50% 100%; }
}
.demo[data-type="fija"] .demo__sash--a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .55) 46%, transparent 60%);
  animation: v-sheen 3.8s ease-in-out infinite;
}
@keyframes v-sheen { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(110%); } }
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 22px; }
.tabs [role="tab"] {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px;
  border: 1.5px solid rgba(22, 25, 27, .12); border-radius: 12px; background: rgba(255, 255, 255, .55);
  color: var(--ink); font-size: .9rem; font-weight: 660; line-height: 1.15; text-align: left; cursor: pointer; hyphens: manual;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-out);
}
.tabs [role="tab"] .i { width: 28px; height: 28px; fill: none; }
.tabs [role="tab"]:hover { transform: translateY(-2px); border-color: rgba(22, 25, 27, .35); }
.tabs [role="tab"][aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (min-width: 560px) {
  .tabs { grid-template-columns: repeat(4, 1fr); }
  .tabs [role="tab"] { flex-direction: column; justify-content: center; gap: 8px; min-height: 92px; text-align: center; }
}
.tipos__panel { display: grid; gap: 12px; animation: panel-in .5s var(--ease-out); }
.tipos__panel[hidden] { display: none; }
.tipos__panel > p { color: var(--muted); }
.tipos__ideal b { color: var(--ink); }
.tipos__panel .btn { justify-self: start; margin-top: 8px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }

/* persiana / reparaciones */
.repara__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .repara__grid { grid-template-columns: .9fr 1.1fr; gap: 76px; } }
.repara__text { display: grid; gap: 18px; }
.repara__text .btn { justify-self: start; margin-top: 8px; }
.shutter-wrap { justify-self: center; width: 100%; max-width: 440px; }
.shutter-box {
  position: relative; z-index: 2; height: clamp(36px, 5vw, 48px); border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #3d4448, #2a2f32 60%, #212527);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 10px -6px rgba(0, 0, 0, .6);
}
.shutter-box::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 9px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .09); }
.shutter-win {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #0f1213;
  border: clamp(8px, 1.2vw, 12px) solid var(--ink-2); border-top: 0; border-radius: 0 0 6px 6px;
  box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .6);
}
.shutter-win img { width: 100%; height: 100%; object-fit: cover; }
.shutter {
  position: absolute; inset: 0 0 -2% 0; transform: translate3d(0, calc(var(--p, 0) * -97%), 0); will-change: transform;
  background: repeating-linear-gradient(180deg, #d9dcde 0 1px, #c6cbce 1px 12px, #aab0b4 12px 15px, #7d8489 15px 16px);
}
.shutter::after { content: ""; position: absolute; inset: auto 0 0 0; height: 16px; background: linear-gradient(#8d9499, #5f666b); box-shadow: 0 -1px 0 rgba(255, 255, 255, .2); }
html:not(.js) .shutter { --p: .72; }
.shutter__hint {
  position: absolute; left: 50%; bottom: 12%; display: inline-flex; align-items: center; gap: 8px; transform: translateX(-50%);
  padding: 10px 16px; border-radius: 999px; background: rgba(15, 18, 19, .8); color: #fff;
  font-size: .86rem; font-weight: 620; white-space: nowrap; transition: opacity .4s;
}
.shutter__hint .i { animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.shutter-win.is-moving .shutter__hint { opacity: 0; }

/* aluminio o pvc */
.mat__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .mat__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.mat .section__head { margin-bottom: 26px; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; padding: 5px; border-radius: 999px; background: rgba(22, 25, 27, .08); }
.switch button {
  position: relative; z-index: 1; min-width: 122px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font-weight: 720; font-size: 1rem; cursor: pointer; transition: color .35s;
}
.switch button[aria-pressed="true"] { color: #fff; }
.switch__thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink);
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); transition: transform .55s var(--ease-out);
}
.mat[data-material="pvc"] .switch__thumb { transform: translateX(100%); }
.mat__panels { display: grid; }
.mat__panel { grid-area: 1 / 1; transition: opacity .45s, transform .6s var(--ease-out), visibility .45s; }
.mat__ideal { margin-top: 18px; color: var(--muted); }
.mat__ideal b { color: var(--ink); }
.mat__note { margin-top: 22px; font-weight: 640; }
.mat__art {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 10px; width: 100%; max-width: 440px;
  justify-self: center; padding: 28px 22px 22px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 2px rgba(22, 25, 27, .06), 0 22px 44px -30px rgba(22, 25, 27, .4);
}
.mat__art > * { grid-area: 1 / 1; }
.profile { width: 86%; height: auto; transition: opacity .5s, transform .8s var(--ease-out); }
.mat__label { grid-area: 2 / 1; margin-top: 8px; font-size: .92rem; font-weight: 650; text-align: center; transition: opacity .45s; }
.mat[data-material="alu"] [data-for="pvc"], .mat[data-material="pvc"] [data-for="alu"] { opacity: 0; visibility: hidden; transform: translateY(10px); }
.mat[data-material="alu"] .profile--pvc, .mat[data-material="pvc"] .profile--alu { opacity: 0; transform: scale(.93) rotate(-2deg); }

/* proceso */
.steps-wrap { position: relative; }
.steps { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-left: 66px; }
.step__num {
  position: absolute; top: -4px; left: 0; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px;
  border: 2px solid rgba(22, 25, 27, .18); border-radius: 999px; background: var(--paper);
  color: var(--muted); font-size: .92rem; font-weight: 760;
  transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease-out);
}
.step.is-done .step__num { border-color: var(--oak); background: var(--oak); color: var(--ink); transform: scale(1.06); }
.step h3 { margin-bottom: 8px; font-size: 1.28rem; }
.step p { color: var(--muted); }
.steps__line { position: absolute; top: 10px; bottom: 30px; left: 22px; width: 2px; background: rgba(22, 25, 27, .12); }
.steps__line span { position: absolute; inset: 0; background: var(--oak); transform: scaleY(var(--p, 0)); transform-origin: top; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { padding: 72px 0 0; }
  .step__num { top: 0; }
  .steps__line { top: 22px; bottom: auto; left: 23px; right: calc(25% - 44px); width: auto; height: 2px; }
  .steps__line span { transform: scaleX(var(--p, 0)); transform-origin: left; }
}

/* faq */
.faq__grid { display: grid; gap: 10px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.qa { border-bottom: 1px solid rgba(22, 25, 27, .14); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0;
  font-weight: 680; font-size: 1.06rem; line-height: 1.35; list-style: none; cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 32px; height: 32px; border: 1.5px solid rgba(22, 25, 27, .22); border-radius: 999px; transition: background-color .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px;
  background: var(--ink); transition: transform .4s var(--ease-out), background-color .3s;
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { border-color: var(--ink); background: var(--ink); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { max-width: 62ch; padding: 0 0 22px; color: var(--muted); }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* contacto */
.contact__grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; } }
.contact__text { display: grid; gap: 18px; align-content: start; }
.contact__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.contact__q { width: 100%; color: #fff; font-weight: 650; }
.contact__langs { display: inline-flex; align-items: center; gap: 10px; color: #b9bfc2; }
.contact__langs::before { content: ""; width: 8px; height: 8px; background: var(--oak); transform: rotate(45deg); }
.waform { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.waform__tipo { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.waform__tipo legend { margin-bottom: 10px; padding: 0; font-size: .95rem; font-weight: 720; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid rgba(22, 25, 27, .16); border-radius: 999px;
  font-size: .92rem; font-weight: 620; transition: background-color .25s, color .25s, border-color .25s;
}
.pill input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--oak); outline-offset: 2px; }
.waform__row { display: grid; gap: 14px; }
@media (min-width: 560px) { .waform__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 660; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid transparent; border-radius: 12px; background: var(--paper);
  color: var(--ink); font: inherit; font-size: 1rem; font-weight: 450;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(184, 115, 43, .2); }
.field input::placeholder, .field textarea::placeholder { color: #8a9195; }
.chat__label { margin-bottom: 8px; color: var(--muted); font-size: .84rem; font-weight: 660; }
.chat__win { overflow: hidden; border: 1px solid rgba(22, 25, 27, .08); border-radius: 14px; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--ink-2); color: #fff; }
.chat__head b { display: block; font-size: .92rem; }
.chat__head small { display: block; color: #b9bfc2; font-size: .74rem; }
.chat__avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--oak); color: var(--ink); font-size: .78rem; font-weight: 820; }
.chat__body {
  display: flex; align-items: flex-end; justify-content: flex-end; min-height: 100px; padding: 14px 12px 16px;
  background: #efe9df radial-gradient(rgba(22, 25, 27, .05) 1px, transparent 1.2px) 0 0 / 9px 9px;
}
.chat__bubble {
  position: relative; max-width: 88%; padding: 8px 12px 22px; border-radius: 12px 2px 12px 12px; background: #dff5d8; color: #14201a;
  font-size: .92rem; line-height: 1.42; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
  animation: bubble .4s var(--ease-out);
}
.chat__bubble time { position: absolute; right: 10px; bottom: 5px; color: #5c6a62; font-size: .68rem; }
.chat__bubble time::after { content: " ✓✓"; color: #3d8fd1; letter-spacing: -.12em; }
@keyframes bubble { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.waform__note { color: var(--muted); font-size: .8rem; text-align: center; }

/* footer */
.footer { padding: 56px 0 28px; background: #0e1011; color: #c9cdd0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: start; } }
.footer__brand { display: grid; gap: 12px; }
.brand--light { color: #fff; }
.footer__contact, .footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8e969b; font-size: .85rem; }
.footer__base a { text-decoration: underline; text-underline-offset: 3px; }

/* mobile contact bar */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 242, 236, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 var(--line); transition: transform .45s var(--ease-out);
}
.mobilebar.is-hidden { transform: translateY(110%); }
.mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; color: #fff; font-weight: 720; text-decoration: none; }
.mobilebar__wa { background: var(--wa); }
.mobilebar__call { background: var(--ink); }
@media (max-width: 959px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 960px) { .mobilebar { display: none; } }

/* scroll reveal */
html.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .demo__sash { animation: none !important; }
  .demo[data-type="corredera"] .demo__sash--b { transform: translateX(-45%); }
  .demo[data-type="abatible"] .demo__sash--a { transform: rotateY(-35deg); }
  .demo[data-type="abatible"] .demo__sash--b { transform: rotateY(35deg); }
  .demo[data-type="oscilo"] .demo__sash--a { transform-origin: 50% 100%; transform: rotateX(12deg); }
}

/* fine-tuning */
@media (max-width: 420px) { .eyebrow { font-size: .7rem; letter-spacing: .1em; gap: 8px; } .eyebrow::before { width: 16px; } }
.footer .lang { justify-self: start; align-self: start; }
@media (min-width: 980px) { .obra h2 { font-size: clamp(2rem, 1.1rem + 1.9vw, 2.9rem); } }

/* language switch with flags */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lang__opt { min-width: 42px; }
.flag { display: block; width: 21px; height: 14px; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px rgba(22, 25, 27, .22); }
.flag svg { display: block; width: 100%; height: 100%; }
.lang__opt:not(.is-active) .flag { opacity: .78; filter: saturate(.8); transition: opacity .25s, filter .25s; }
a.lang__opt:hover .flag, a.lang__opt:focus-visible .flag { opacity: 1; filter: none; }
.lang__opt.is-active .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.lang--dark .lang__opt.is-active .flag { box-shadow: 0 0 0 1px rgba(22, 25, 27, .22); }
