/* Layout: multi-page architectural storefront. Full-bleed photography with parallax,
   a pinned home hero where a real fabric shade lowers over the photo on scroll,
   white content sections, thin rules, square corners. Palette runs #E8E8E8 -> #618BA4. */
:root {
  --white: #ffffff;
  --grey: #e8e8e8;
  --tint-1: #f4f6f7;
  --tint-2: #e1e8ec;
  --tint-3: #b9cbd6;
  --blue: #618ba4;
  --blue-deep: #3f6580;
  --blue-dark: #0e2244;
  --ink: #1b2730;
  --muted: #5d6c76;
  --line: #dde3e7;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar: 36px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.75 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); font-weight: 600; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; color: var(--muted); font-weight: 400; }
.on-dark .lead, .on-dark p { color: rgba(255, 255, 255, .82); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: #fff; transition: transform .45s var(--ease), background .35s, color .35s, box-shadow .35s; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; height: var(--topbar); overflow: hidden; padding: 0 var(--gutter); font-size: .74rem; font-weight: 500; letter-spacing: .04em; background: rgba(34, 56, 74, .72); backdrop-filter: blur(8px); transition: height .35s var(--ease); }
.topbar a { text-decoration: none; }
.topbar-contact { display: flex; gap: 1.5rem; }
.mainbar { display: flex; align-items: center; gap: 2rem; padding: 14px var(--gutter); max-width: 1440px; margin-inline: auto; transition: padding .35s var(--ease); }
.brand { position: relative; display: block; }
.brand img { height: 60px; width: auto; transition: height .3s, opacity .3s; }
.brand .logo-c { position: absolute; left: 0; top: 0; opacity: 0; }
.nav { display: flex; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; }
.nav a { text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; position: relative; opacity: .9; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.cart-btn { display: flex; align-items: center; gap: .6rem; background: transparent; border: 1px solid currentColor; color: inherit; font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .7rem 1rem; cursor: pointer; transition: background .25s, color .25s; }
.cart-btn:hover { background: #fff; color: var(--blue-dark); }
.cart-btn b { font-weight: 700; min-width: 1ch; }
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.menu-btn { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 0; cursor: pointer; position: relative; color: inherit; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.site-header.scrolled, .site-header.menu-open { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .topbar { height: 0; }
.site-header.scrolled .mainbar { padding-block: 8px; }
.site-header.scrolled .brand img, .site-header.menu-open .brand img { height: 44px; }
.site-header.scrolled .logo-w, .site-header.menu-open .logo-w { opacity: 0; }
.site-header.scrolled .logo-c, .site-header.menu-open .logo-c { opacity: 1; }
.site-header.scrolled .cart-btn:hover { background: var(--blue-dark); color: #fff; }
.site-header.hide { transform: translateY(-100%); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; text-decoration: none; cursor: pointer; border: 1px solid var(--blue-dark); background: var(--blue-dark); color: #fff; font: 600 .75rem var(--font); letter-spacing: .14em; text-transform: uppercase; padding: 1.1rem 2rem; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn-light { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-line { background: transparent; color: var(--blue-dark); }
.btn-line:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.on-dark .btn-line, .btn-line.on-img { color: #fff; border-color: rgba(255, 255, 255, .7); }
.on-dark .btn-line:hover, .btn-line.on-img:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn-block { width: 100%; }
.link { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .3s var(--ease), color .2s; }
.link:hover { gap: 1rem; color: var(--blue); }

/* ---------- parallax containers ---------- */
.px { position: relative; overflow: hidden; isolation: isolate; background: var(--blue-dark); }
.px-bg { position: absolute; left: 0; right: 0; top: -14%; height: 128%; background-size: cover; background-position: center; will-change: transform; z-index: -2; }
.px::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ov, linear-gradient(180deg, rgba(20, 34, 46, .55), rgba(20, 34, 46, .7))); }
[data-drift] { will-change: transform; }

/* ---------- home hero ---------- */
.hero { --p: 0; }
.hero-track { height: 250vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; color: #fff; background: var(--blue-dark); }
.hero-photo { position: absolute; inset: -6% 0; background-size: cover; background-position: center; transform: translate3d(0, calc(var(--p) * 7%), 0) scale(calc(1.05 + var(--p) * .08)); will-change: transform; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 34, 46, .78) 0%, rgba(20, 34, 46, .35) 60%, rgba(20, 34, 46, .15) 100%), linear-gradient(0deg, rgba(20, 34, 46, .5), transparent 40%); }
.hero-shade { position: absolute; inset: 0 0 auto 0; height: calc(3% + var(--p) * 97%); background-color: #55636c; background-image: var(--fabric), linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(255, 255, 255, .06) 50%, rgba(0, 0, 0, .18)); background-size: 100% 100vh, 100% 100%; background-repeat: no-repeat; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); will-change: height; z-index: 3; }
.hero-shade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(#e8e8e8, #b9c2c7); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .5); }
.hero-cord { position: absolute; left: 82%; top: 100%; width: 2px; height: 90px; margin-top: 14px; background: #e8e8e8; }
.hero-cord::after { content: ""; position: absolute; left: -5px; bottom: -14px; width: 12px; height: 22px; background: #e8e8e8; border-radius: 6px; }
.hero-text { position: absolute; inset: 0; z-index: 4; display: grid; align-content: center; padding: calc(var(--topbar) + 110px) var(--gutter) 90px; max-width: 1440px; margin-inline: auto; left: 0; right: 0; }
.hero-text > div { display: grid; gap: 1.75rem; max-width: 46rem; }
.hero-text .lead { color: rgba(255, 255, 255, .85); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-a { opacity: calc(1 - var(--p) * 3.2); transform: translateY(calc(var(--p) * -60px)); pointer-events: auto; }
.hero-b { opacity: calc((var(--p) - .55) * 3.2); transform: translateY(calc((1 - var(--p)) * 50px)); }
.hero-b h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
.hero-b[data-off] { pointer-events: none; }
.hero-scroll { position: absolute; left: var(--gutter); bottom: 26px; z-index: 5; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: .9rem; opacity: calc(1 - var(--p) * 8); }
.hero-scroll i { width: 48px; height: 1px; background: #fff; position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--blue); animation: slide 2s var(--ease) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- inner page banner ---------- */
.banner { min-height: clamp(380px, 62vh, 620px); display: grid; align-items: end; color: #fff; }
.banner .wrap { padding-block: calc(var(--topbar) + 130px) clamp(2.5rem, 6vw, 5rem); display: grid; gap: 1.25rem; }
.banner h1 { max-width: 16ch; }
.banner .lead { color: rgba(255, 255, 255, .85); max-width: 52ch; }
.crumbs { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .8; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); background: var(--white); }
.section.tint { background: var(--tint-1); }
.section.dark { background: var(--blue-dark); color: #fff; }
.section-head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.split.top { align-items: start; }
.split .text { display: grid; gap: 1.5rem; }
.split .text h2 { color: var(--blue-dark); }
.dark .split .text h2, .on-dark h2 { color: #fff; }
.split .text p { color: var(--muted); }
.frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tint-2); }
.frame.wide { aspect-ratio: 5 / 4; }
.frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; }
.rule-list li { display: flex; gap: 1.25rem; padding: 1.1rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.rule-list li::before { content: ""; flex: none; width: 22px; height: 1px; background: var(--blue); margin-top: .95em; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { display: grid; gap: .3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .35); }
.stat strong { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: .88rem; opacity: .85; max-width: 22ch; }
.stats.light .stat { border-color: var(--line); }
.stats.light strong { color: var(--blue-deep); }
.stats.light span { color: var(--muted); opacity: 1; }

/* collection bento (home) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.tile { position: relative; overflow: hidden; display: block; text-decoration: none; color: #fff; min-height: 340px; background: var(--blue-dark); grid-column: span 2; }
.tile.big { grid-column: span 3; min-height: 480px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 34, 46, .82), rgba(20, 34, 46, 0) 55%); }
.tile div { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; display: grid; gap: .35rem; }
.tile h3 { font-size: 1.3rem; }
.tile span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .85; }

/* spaces (home) */
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: start; }
.space { display: grid; gap: 1rem; }
.space:nth-child(even) { margin-top: 4rem; }
.space .frame { aspect-ratio: 3 / 4; }
.space h3 { color: var(--blue-dark); }
.space p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ---------- catalog ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.filters button { background: none; border: 0; cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.filters button:hover { color: var(--blue-dark); }
.filters button.on { color: var(--blue-dark); border-bottom-color: var(--blue); }
.search { display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid var(--muted); min-width: min(100%, 260px); color: var(--muted); margin-bottom: .6rem; }
.search input { border: 0; outline: 0; background: none; font: inherit; font-size: .9rem; color: var(--ink); padding: .5rem 0; width: 100%; }
.search:focus-within { border-color: var(--blue); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem 1.75rem; }
.card { display: flex; flex-direction: column; background: var(--white); animation: cardIn .7s var(--ease) both; animation-delay: var(--d, 0ms); scroll-margin-top: 110px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }
.card-img { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--tint-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag { position: absolute; left: 0; top: 1rem; background: var(--blue-dark); color: #fff; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .45rem .9rem; }
.card-body { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem 0 0; flex: 1; }
.card-body h3 { color: var(--blue-dark); font-size: 1.3rem; }
.card-body p { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.meters { display: grid; gap: .5rem; }
.meter { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meter div { display: flex; gap: 3px; }
.meter i { flex: 1; height: 4px; background: var(--grey); }
.meter i.f { background: var(--blue); }
.swatches { display: grid; gap: .6rem; }
.swatches-label { font-size: .78rem; color: var(--muted); }
.swatches-label b { color: var(--ink); font-weight: 600; }
.swatches-row { display: flex; flex-wrap: wrap; gap: 6px; }
.swatches-row button { width: 30px; height: 30px; padding: 0; cursor: pointer; border: 0; background: var(--grey) center / cover; outline: 1px solid var(--line); outline-offset: 2px; transition: transform .2s; }
.swatches-row button:hover { transform: translateY(-2px); }
.swatches-row button[aria-pressed="true"] { outline: 2px solid var(--blue-dark); }
.check { display: flex; align-items: center; gap: .7rem; font-size: .85rem; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue-deep); margin: 0; }
.card-foot { margin-top: auto; display: grid; gap: .6rem; padding-top: .5rem; }
.card-foot small { color: var(--muted); font-size: .78rem; }
.empty { padding: 4rem 0; text-align: center; color: var(--muted); }

/* light guide */
.compare { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; background: var(--white); box-shadow: 0 40px 80px -50px rgba(34, 56, 74, .5); }
.compare-tabs { display: grid; align-content: start; background: var(--tint-1); }
.compare-tabs button { text-align: left; background: none; border: 0; border-left: 3px solid transparent; padding: 1.5rem 1.75rem; cursor: pointer; display: grid; gap: .2rem; border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s; }
.compare-tabs button strong { font-size: 1.05rem; color: var(--blue-dark); font-weight: 600; }
.compare-tabs button span { font-size: .82rem; color: var(--muted); }
.compare-tabs button:hover { background: var(--tint-2); }
.compare-tabs button.on { background: var(--white); border-left-color: var(--blue); }
.compare-view { display: grid; }
.compare-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-2); }
.compare-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.compare-info { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.25rem; }
.compare-info p { color: var(--muted); }
.compare-info .meters { margin-block: .25rem; }
.compare-info .btn { justify-self: start; }
.ambientes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.amb { display: grid; gap: 1rem; }
.amb .frame { aspect-ratio: 4 / 3; }
.amb h3 { color: var(--blue-dark); }
.amb p { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.amb b { color: var(--ink); font-weight: 600; }

/* alternating feature rows */
.rows { display: grid; gap: clamp(3rem, 8vw, 7rem); }
.rows .split:nth-child(even) .frame { order: 2; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: .7rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .35); }
.steps li::before { content: "0" counter(s); font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--tint-3); }
.steps h3 { font-size: 1.2rem; }
.steps p { font-size: .92rem; }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.4rem 2.5rem 1.4rem 0; font-weight: 600; position: relative; color: var(--blue-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 2.5rem 1.5rem 0; color: var(--muted); }

/* contact + forms */
.info-list { display: grid; gap: 0; }
.info-list div { display: grid; gap: .25rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.info-list div:last-child { border-bottom: 1px solid var(--line); }
.info-list h3 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.info-list a { text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.info-list a:hover { color: var(--blue); }
.form { display: grid; gap: .4rem; background: var(--white); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 40px 80px -50px rgba(34, 56, 74, .55); }
label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form label { margin-top: .9rem; }
input, select, textarea { font: inherit; font-size: .95rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #b7c2c9; border-radius: 0; padding: .75rem 0; width: 100%; transition: border-color .2s; }
select { background: transparent; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.form .btn { margin-top: 1.75rem; }
.note { font-size: .82rem; color: var(--muted); }

/* CTA band */
.cta { color: #fff; text-align: center; }
.cta .wrap { display: grid; gap: 1.5rem; justify-items: center; padding-block: clamp(5rem, 12vw, 10rem); }
.cta h2 { font-size: clamp(2rem, 4.6vw, 4rem); max-width: 18ch; }
.cta p { max-width: 50ch; color: rgba(255, 255, 255, .85); }
.cta .hero-actions { justify-content: center; }
.quote-band { color: #fff; }
.quote-band .wrap { padding-block: clamp(5rem, 11vw, 9rem); display: grid; gap: 3rem; }
.quote-band blockquote { margin: 0; font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; max-width: 24ch; }

/* footer */
.footer { background: var(--blue-dark); color: #dbe6ec; padding-block: 5rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer img { height: 80px; width: auto; margin-bottom: 1.25rem; }
.footer h3 { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; color: var(--tint-3); font-weight: 600; }
.footer p, .footer li { font-size: .92rem; line-height: 1.9; margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 4rem; padding-block: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .78rem; color: var(--tint-3); }

/* cart drawer */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(20, 34, 46, .55); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(100%, 440px); background: var(--white); color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease), visibility 0s .5s; box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .5); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.75rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.2rem; color: var(--blue-dark); }
.icon-btn { background: none; border: 0; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; color: var(--muted); }
.cart-list { list-style: none; margin: 0; padding: 0 1.75rem; overflow-y: auto; flex: 1; }
.cart-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: start; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 64px; height: 64px; object-fit: cover; background: var(--tint-2); }
.cart-list h3 { font-size: .95rem; }
.cart-list small { color: var(--muted); font-size: .8rem; display: block; line-height: 1.5; }
.qty { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; }
.qty button { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 1rem; line-height: 1; }
.qty button:hover { background: var(--tint-1); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }
.remove { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: .78rem; text-decoration: underline; }
.cart-empty { padding: 2rem 1.75rem; color: var(--muted); }
.drawer-foot { display: grid; gap: .4rem; padding: 1.5rem 1.75rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--tint-1); }
.discount { font-weight: 600; color: var(--blue-deep); font-size: .88rem; }
.drawer-foot .btn { margin-top: 1rem; }

.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; display: grid; place-items: center; background: var(--blue-dark); color: #fff; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); transition: transform .3s var(--ease), background .3s; }
.wa-float:hover { transform: translateY(-3px); background: var(--blue); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; background: var(--blue-dark); color: #fff; padding: .9rem 1.4rem; font-size: .85rem; font-weight: 500; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .clip img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js .clip.in img { clip-path: inset(0 0 0 0); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 1rem; } .nav a { font-size: .68rem; letter-spacing: .1em; }
  .spaces, .ambientes { grid-template-columns: 1fr 1fr; }
  .space:nth-child(even) { margin-top: 0; }
}
@media (max-width: 1000px) {
  .nav { position: fixed; left: 0; right: 0; top: 0; min-height: 100vh; padding: 140px var(--gutter) 2rem; flex-direction: column; gap: .4rem; background: #fff; color: var(--ink); transform: translateY(-105%); transition: transform .55s var(--ease); z-index: -1; margin: 0; overflow-y: auto; }
  .nav a { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; text-transform: none; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav.open { transform: none; }
  .cart-btn { margin-left: auto; }
  .menu-btn { display: block; }
  .mainbar { gap: 1rem; }
  .split, .compare, .footer-grid { grid-template-columns: 1fr; }
  .split .frame { aspect-ratio: 5 / 4; }
  .rows .split:nth-child(even) .frame { order: 0; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.big { grid-column: span 1; min-height: 300px; }
  .tile.big { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-text > div { max-width: 100%; }
}
@media (max-width: 640px) {
  :root { --topbar: 0px; }
  .topbar { display: none; }
  .cart-btn span { display: none; }
  .spaces, .ambientes, .stats, .steps, .footer-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile.big, .tile { grid-column: span 1; min-height: 280px; }
  .grid { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 1.5rem; }
  .filters button { white-space: nowrap; }
  .search { width: 100%; }
  .hero-cord { left: 78%; }
  .hero-scroll { display: none; }
  .compare-photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .clip img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .card { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- light demo (sliders) ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.demo-copy { display: grid; gap: 1.75rem; }
.demo-copy h2 { color: #fff; }
.fabrics { display: flex; flex-wrap: wrap; gap: .5rem; }
.fabrics button { font: 600 .72rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: transparent; cursor: pointer; border: 1px solid rgba(255, 255, 255, .45); padding: .8rem 1.1rem; transition: background .25s, color .25s; }
.fabrics button:hover { background: rgba(255, 255, 255, .12); }
.fabrics button.on { background: #fff; color: var(--blue-dark); border-color: #fff; }
.range { display: grid; grid-template-columns: 1fr auto; gap: .6rem 1rem; align-items: center; color: rgba(255, 255, 255, .8); }
.range input { grid-column: 1 / -1; width: 100%; height: 28px; padding: 0; border: 0; accent-color: #fff; box-shadow: none; }
.range output { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; font-size: .95rem; }
.range span { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.readout { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.readout strong { font-size: clamp(3.4rem, 8vw, 6rem); line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.readout span { color: rgba(255, 255, 255, .8); }
.room { position: relative; aspect-ratio: 5 / 4; background: #1b3557; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.room-window { position: absolute; top: 9%; left: 50%; width: 46%; height: 46%; transform: translateX(-50%); border: 6px solid #07142a; overflow: hidden; background: #07142a; z-index: 2; }
.room-sky { position: absolute; inset: 0; background: linear-gradient(#bcd3e0, #fbf6e4); }
.room-shade { position: absolute; inset: 0 0 auto 0; height: 60%; transition: height .15s linear; background-color: var(--grey); }
.room-shade i { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--blue); }
.room-shade.double { background-image: repeating-linear-gradient(180deg, rgba(14, 34, 68, .3) 0 8px, rgba(255, 255, 255, .4) 8px 16px); }
.room-shade.screen { background-image: radial-gradient(rgba(14, 34, 68, .55) 1px, transparent 1.4px); background-size: 4px 4px; }
.room-shade.solid { background-color: #7e93a1; }
.room-shade.full { background-color: #2e3d4d; }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: #27476b; overflow: hidden; }
.room-beam { position: absolute; left: 50%; top: 0; width: 60%; height: 140%; transform: translateX(-50%) skewX(-18deg); background: linear-gradient(rgba(255, 240, 200, .9), rgba(255, 240, 200, .05)); opacity: .5; transition: opacity .2s; }
.room-sofa { position: absolute; left: 12%; bottom: 14%; width: 34%; height: 18%; background: #8aa8b9; border-radius: 6px 6px 2px 2px; box-shadow: 0 -14px 0 -4px #7898ab; }
.room-dark { position: absolute; inset: 0; background: #030a15; pointer-events: none; transition: opacity .2s; opacity: .3; z-index: 3; }
@media (max-width: 1000px) { .demo-grid { grid-template-columns: 1fr; } }
