/* Flowsort: design system. Soft structuralism, warm paper, ink type, three division accents. */

:root {
  --bg: #F5F3EE;
  --bg-2: #ECE9E2;
  --surface: #FFFFFF;
  --ink: #0E1A26;
  --ink-2: #33404D;
  --muted: #687280;
  --line: rgba(14, 26, 38, .08);
  --line-2: rgba(14, 26, 38, .14);

  --blue: #1872C4;
  --blue-deep: #0B3D6E;
  --blue-soft: #E3EEF8;
  --green: #2B8541;
  --green-deep: #155C2A;
  --green-soft: #E2F1E5;
  --sand: #A86F3E;
  --sand-deep: #6E4420;
  --sand-soft: #F4E8DA;

  --accent: var(--blue);
  --accent-deep: var(--blue-deep);
  --accent-soft: var(--blue-soft);

  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --r-md: 1rem;
  --bezel: .4rem;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-soft: 0 1px 2px rgba(14, 26, 38, .04), 0 12px 40px -12px rgba(14, 26, 38, .10);
  --shadow-lift: 0 2px 4px rgba(14, 26, 38, .04), 0 30px 60px -20px rgba(14, 26, 38, .18);

  --wrap: 1240px;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 8.5rem);
}

.div-advance { --accent: var(--green); --accent-deep: var(--green-deep); --accent-soft: var(--green-soft); }
.div-stays   { --accent: var(--sand);  --accent-deep: var(--sand-deep);  --accent-soft: var(--sand-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 99px; }
.skip:focus { left: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type ---------- */
.display-xl { font-size: clamp(2.6rem, 7.2vw, 6.2rem); line-height: .98; letter-spacing: -.04em; }
.display-lg { font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1; letter-spacing: -.035em; }
.display-md { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.04; }
.display-sm { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 38ch; line-height: 1.6; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.accent { color: var(--accent); }
.serif-it { font-style: italic; font-weight: 500; color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .8rem .38rem .6rem; border-radius: 99px;
  background: rgba(14, 26, 38, .05); box-shadow: inset 0 0 0 1px var(--line);
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 1.4rem;
}
.eyebrow__dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.eyebrow--metering .eyebrow__dot { background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.eyebrow--advance .eyebrow__dot { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.eyebrow--stays .eyebrow__dot { background: var(--sand); box-shadow: 0 0 0 3px var(--sand-soft); }
.eyebrow--light { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: rgba(255,255,255,.8); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-ic: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .45rem .45rem .45rem 1.4rem; border-radius: 99px; border: 0; cursor: pointer;
  background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px -12px rgba(14,26,38,.45);
}
.btn__ic {
  display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: 50%;
  background: var(--b-ic); transition: transform .5s var(--ease);
}
.btn:hover .btn__ic { transform: translate(2px, -2px) scale(1.06); }
.btn:active { transform: scale(.98); }
.btn--sm { font-size: .85rem; padding-left: 1.1rem; gap: .6rem; }
.btn--sm .btn__ic { width: 2rem; height: 2rem; }
.btn--block { width: 100%; justify-content: space-between; }
.btn--accent { --b-bg: var(--accent); }
.btn--blue { --b-bg: var(--blue); }
.btn--green { --b-bg: var(--green); }
.btn--sand { --b-bg: var(--sand); }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); --b-ic: rgba(14,26,38,.07); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-ic: rgba(14,26,38,.07); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { --b-bg: rgba(14,26,38,.04); }
.btn--ghost-light { --b-bg: transparent; --b-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }

.icon-btn {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0;
  background: rgba(14,26,38,.06); cursor: pointer; transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.icon-btn:hover { background: rgba(14,26,38,.1); }
.icon-btn:active { transform: scale(.94); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent); }
.link-arrow .i { transition: transform .5s var(--ease); }
.link-arrow:hover .i { transform: translate(2px, -2px); }

/* ---------- Top bar & nav ---------- */
.topbar { font-size: .8rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.6rem; }
.divisions, .topbar__contact { display: flex; gap: 1.3rem; align-items: center; }
.divisions a, .topbar__contact a { display: inline-flex; align-items: center; gap: .4rem; transition: color .4s var(--ease); white-space: nowrap; }
.divisions a:hover, .topbar__contact a:hover { color: var(--ink); }
.divisions a[data-div="metering"] .i { color: var(--blue); }
.divisions a[data-div="advance"] .i { color: var(--green); }
.divisions a[data-div="stays"] .i { color: var(--sand); }
.divisions a.is-on { color: var(--ink); font-weight: 600; }

.nav { position: sticky; top: .9rem; z-index: 40; padding-inline: var(--gut); margin-top: .9rem; pointer-events: none; }
.nav__pill {
  pointer-events: auto; max-width: calc(var(--wrap) - 2 * var(--gut) + 1rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .45rem .5rem .45rem 1.1rem; border-radius: 99px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 0 1px var(--line), 0 18px 40px -24px rgba(14,26,38,.35);
  transition: box-shadow .6s var(--ease), background-color .6s var(--ease);
}
.nav.is-scrolled .nav__pill { background: rgba(255,255,255,.9); }
.nav__brand img { height: 3.1rem; width: auto; margin-block: -.3rem; }
.nav__links { display: flex; gap: .2rem; }
.nav__links a {
  padding: .55rem .9rem; border-radius: 99px; font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.nav__links a:hover { background: rgba(14,26,38,.05); color: var(--ink); }
.nav__links a.is-on { background: var(--ink); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: .4rem; }
.nav__cart { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(14,26,38,.05); cursor: pointer; transition: background-color .4s var(--ease); }
.nav__cart:hover { background: rgba(14,26,38,.1); }
.nav__count { position: absolute; top: -.1rem; right: -.1rem; min-width: 1.2rem; height: 1.2rem; padding: 0 .3rem; border-radius: 99px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }

.burger { display: none; position: relative; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.burger span { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .6s var(--ease); }
.burger span:nth-child(1) { transform: translate(-50%, -4px); }
.burger span:nth-child(2) { transform: translate(-50%, 4px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 35; background: rgba(245,243,238,.86); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); padding-top: 7.5rem; opacity: 0; transition: opacity .5s var(--ease); }
.menu.is-open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--f-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 600; letter-spacing: -.03em; padding: .25rem 0; opacity: 0; transform: translateY(2.5rem); transition: transform .8s var(--ease) calc(var(--d) * 50ms + 100ms), opacity .8s var(--ease) calc(var(--d) * 50ms + 100ms); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu__foot { margin-top: 2.5rem; display: grid; gap: .8rem; color: var(--ink-2); }
.menu__foot a { display: inline-flex; gap: .6rem; align-items: center; }

/* ---------- Sections & bezel ---------- */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .lede, .sec--ink .muted { color: rgba(255,255,255,.68); }
.sec--paper { background: var(--bg-2); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; }
.sec-head .lede { margin: 1rem 0 0; }

.bezel {
  padding: var(--bezel); border-radius: var(--r-xl);
  background: rgba(14,26,38,.035); box-shadow: inset 0 0 0 1px var(--line);
}
.bezel > .core {
  height: 100%; border-radius: calc(var(--r-xl) - var(--bezel)); background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), var(--shadow-soft); overflow: hidden; position: relative;
}
.sec--ink .bezel { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.sec--ink .bezel > .core { background: rgba(255,255,255,.04); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.pad { padding: clamp(1.4rem, 3vw, 2.4rem); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: var(--sec); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.6rem; font-size: clamp(2.5rem, 5.4vw, 5rem); }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__proof { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__proof div { display: grid; }
.hero__proof strong { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.hero__proof span { font-size: .82rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__media .bezel { transform: rotate(1.2deg); }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.hero__chip {
  position: absolute; left: -1.8rem; bottom: 2.4rem; display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.1rem .8rem .8rem; border-radius: 1.2rem; background: #fff; box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line);
  transform: rotate(-2deg);
}
.hero__chip .ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--blue-soft); color: var(--blue); }
.hero__chip strong { display: block; font-size: .92rem; }
.hero__chip span { font-size: .78rem; color: var(--muted); }
.hero__chip--2 { left: auto; right: -1.2rem; top: 2rem; bottom: auto; transform: rotate(2.5deg); }
.hero__chip--2 .ic { background: var(--green-soft); color: var(--green); }

/* Inner-page hero */
.phero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.phero .lede { margin-top: 1.4rem; }
.phero__media { margin-top: clamp(2.5rem, 5vw, 4rem); }
.phero__media img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.crumbs { display: flex; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.bento > * { min-width: 0; }
.b-8 { grid-column: span 8; } .b-7 { grid-column: span 7; } .b-6 { grid-column: span 6; }
.b-5 { grid-column: span 5; } .b-4 { grid-column: span 4; } .b-12 { grid-column: span 12; }
.b-r2 { grid-row: span 2; }

.div-card .core { display: flex; flex-direction: column; }
.div-card__media { position: relative; overflow: hidden; }
.div-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.div-card:hover .div-card__media img { transform: scale(1.04); }
.div-card__body { padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.div-card__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.div-card__body p { color: var(--ink-2); margin: 0; }
.div-card__foot { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.div-card--primary .div-card__media { aspect-ratio: 16 / 8.5; }
.div-card--primary .div-card__body h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.div-card__label {
  position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .8rem; border-radius: 99px; background: rgba(255,255,255,.92); font-size: .74rem; font-weight: 600; letter-spacing: .04em;
}
.div-card__label .i { width: 1rem; height: 1rem; }
.tone-metering .div-card__label .i { color: var(--blue); }
.tone-advance .div-card__label .i { color: var(--green); }
.tone-stays .div-card__label .i { color: var(--sand); }
.tone-advance .core { background: linear-gradient(160deg, #fff 40%, var(--green-soft)); }
.tone-stays .core { background: linear-gradient(160deg, #fff 40%, var(--sand-soft)); }

.tag { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; margin-right: .5rem; vertical-align: middle; }
.tag--metering { background: var(--blue); } .tag--advance { background: var(--green); } .tag--stays { background: var(--sand); }

.pill-price { white-space: nowrap; display: inline-flex; align-items: baseline; gap: .3rem; padding: .4rem .85rem; border-radius: 99px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; font-size: .9rem; }
.tone-advance .pill-price { background: var(--green-soft); color: var(--green-deep); }
.tone-stays .pill-price { background: var(--sand-soft); color: var(--sand-deep); }

/* ---------- Features / lists ---------- */
.feat { display: grid; gap: .9rem; }
.feat__ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--accent-soft); color: var(--accent); }
.feat__ic .i { width: 1.4rem; height: 1.4rem; }
.feat h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.feat p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.sec--ink .feat__ic { background: rgba(255,255,255,.08); color: #8FC2F0; }
.sec--ink .feat p { color: rgba(255,255,255,.66); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks li .i { color: var(--accent); margin-top: .25rem; }
.checks--2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; font-weight: 500; }
.chip .i { color: var(--accent); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.grid-2--top { align-items: start; }
.stay-grid { grid-template-columns: 1.3fr .7fr; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: s; }
.step .core { padding: 1.6rem; }
.step__n { font-family: var(--f-display); font-size: .85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent-soft); margin-bottom: 1.6rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; margin-bottom: .6rem; }
.stat span { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.product .core { display: flex; flex-direction: column; }
.product__img { background: #fff; aspect-ratio: 1; display: grid; place-items: center; padding: 1.4rem; border-bottom: 1px solid var(--line); }
.product__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform 1s var(--ease-out); }
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.product__type { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: .35rem; align-items: center; }
.product__type .i { color: var(--blue); width: .95rem; height: .95rem; }
.product__type--water .i { color: #2C9BC4; }
.product h3 { font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.25; }
.product p { font-size: .86rem; color: var(--ink-2); margin: 0; }
.product__foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.product__price { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; }
.add-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .9rem .6rem .75rem; border-radius: 99px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem; cursor: pointer; transition: transform .4s var(--ease), background-color .4s var(--ease); }
.add-btn:hover { background: var(--blue); }
.add-btn:active { transform: scale(.95); }
.add-btn.is-added { background: var(--green); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 9rem; gap: .6rem; }
.gallery a { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--bg-2); }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(14,26,38,.06); border-radius: inherit; }
.g-tall { grid-row: span 2; } .g-wide { grid-column: span 2; } .g-big { grid-column: span 2; grid-row: span 2; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,26,38,.55); color: #fff; font-weight: 600; z-index: 1; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.projects-grid .bezel:nth-child(5n+1) { grid-column: span 2; }
.proj img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.proj:hover img { transform: scale(1.03); }
.proj figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .45rem .8rem; border-radius: 99px; background: rgba(255,255,255,.92); font-size: .78rem; font-weight: 600; }
.projects-grid .bezel:nth-child(5n+1) img { aspect-ratio: auto; }

.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(10,16,22,.9); padding: 4rem 1rem; opacity: 0; transition: opacity .4s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-height: 82vh; max-width: min(92vw, 640px); width: auto; border-radius: var(--r-md); }
.lightbox__cap { color: rgba(255,255,255,.75); text-align: center; margin-top: .8rem; font-size: .9rem; }
.lightbox button { position: absolute; border: 0; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; }
.lb-prev .i { transform: rotate(180deg); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label, .field .lbl { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: .76rem; color: var(--muted); }
.input {
  width: 100%; padding: .9rem 1rem; border-radius: .9rem; border: 0; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .4s var(--ease), background-color .4s var(--ease);
  min-height: 3.1rem; appearance: none; -webkit-appearance: none;
}
.input:hover { box-shadow: inset 0 0 0 1px rgba(14,26,38,.24); }
.input:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
textarea.input { min-height: 8rem; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687280' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-right: 2.6rem; }
.input-money { position: relative; }
.input-money span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.input-money .input { padding-left: 2.1rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 1rem 1.1rem; border-radius: 1rem; font-size: .92rem; display: none; }
.form-msg.is-ok { display: block; background: var(--green-soft); color: var(--green-deep); }
.form-msg.is-err { display: block; background: #FBE7E4; color: #8C2A1C; }
.seg { display: inline-flex; padding: .3rem; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; gap: .2rem; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: .55rem 1rem; border-radius: 99px; font-size: .86rem; font-weight: 500; transition: background-color .4s var(--ease), color .4s var(--ease); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }

/* ---------- Calculator ---------- */
.calc__range { width: 100%; accent-color: var(--green); margin: 1rem 0 .3rem; }
.calc__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.4rem; }
.calc__cell { padding: 1rem; border-radius: 1rem; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.calc__cell span { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.calc__cell strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.calc__cell--hi { background: var(--green); color: #fff; box-shadow: none; }
.calc__cell--hi span { color: rgba(255,255,255,.75); }
.big-num { font-family: var(--f-display); font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }

/* ---------- Booking ---------- */
.book { position: sticky; top: 6.5rem; }
.book__price { display: flex; flex-wrap: wrap; white-space: nowrap; align-items: baseline; gap: .4rem; margin-bottom: 1.2rem; }
.book__price strong { font-family: var(--f-display); font-size: 2.2rem; font-weight: 600; letter-spacing: -.03em; }
.book__sum { display: grid; gap: .5rem; padding: 1rem 0; margin: .4rem 0 1rem; border-block: 1px solid var(--line); font-size: .92rem; }
.book__sum div { display: flex; justify-content: space-between; }
.book__sum .tot { font-weight: 700; font-size: 1.05rem; }

.cal { user-select: none; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.cal__head strong { font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__dow { font-size: .7rem; font-weight: 600; color: var(--muted); padding: .3rem 0; }
.cal__d { border: 0; background: none; aspect-ratio: 1; border-radius: .6rem; font-size: .86rem; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.cal__d:hover:not(:disabled) { background: var(--sand-soft); }
.cal__d:disabled { color: rgba(14,26,38,.25); cursor: not-allowed; }
.cal__d.is-booked { text-decoration: line-through; }
.cal__d.is-range { background: var(--sand-soft); border-radius: 0; }
.cal__d.is-start, .cal__d.is-end { background: var(--sand); color: #fff; }
.cal__d.is-start { border-radius: .6rem 0 0 .6rem; } .cal__d.is-end { border-radius: 0 .6rem .6rem 0; }
.cal__d.is-start.is-end { border-radius: .6rem; }
.cal__legend { display: flex; gap: 1rem; font-size: .74rem; color: var(--muted); margin-top: .6rem; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(14,26,38,.35); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel { position: absolute; right: .6rem; top: .6rem; bottom: .6rem; width: min(26rem, calc(100% - 1.2rem)); background: var(--bg); border-radius: var(--r-xl); display: flex; flex-direction: column; box-shadow: var(--shadow-lift); transform: translateX(110%); transition: transform .7s var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 1.3rem 1rem 1.6rem; }
.drawer__head h2 { font-size: 1.4rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 1rem; display: grid; align-content: start; gap: .6rem; }
.drawer__foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-family: var(--f-display); font-size: 1.6rem; }
.cart-item { display: grid; grid-template-columns: 4rem 1fr auto; gap: .9rem; align-items: center; padding: .7rem; background: #fff; border-radius: 1.1rem; box-shadow: inset 0 0 0 1px var(--line); }
.cart-item img { width: 4rem; height: 4rem; object-fit: contain; }
.cart-item h4 { font-family: var(--f-body); font-size: .86rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.cart-item .muted { font-size: .8rem; }
.qty { display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; }
.qty button { width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; display: grid; place-items: center; }
.qty button .i { width: .9rem; height: .9rem; }
.qty span { min-width: 1.4rem; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 1.4rem; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .5s var(--ease); flex: none; color: var(--accent); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details > div { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }

/* ---------- Notice / prose ---------- */
.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-deep); font-size: .9rem; }
.notice .i { margin-top: .15rem; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 3rem 0 1rem; scroll-margin-top: 7rem; }
.prose h3 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding-top: var(--sec); padding-bottom: 2rem; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: 2rem; }
.foot__cta { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid rgba(255,255,255,.1); }
.foot__cta h2 { color: #fff; max-width: 18ch; }
.foot__cta .eyebrow { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.foot__cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.foot__grid > div:not(.foot__brand) { display: grid; align-content: start; gap: .55rem; font-size: .9rem; }
.foot__grid a:hover { color: #fff; }
.foot__h { font-family: var(--f-body); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: .6rem; }
.foot__brand img { width: 8rem; background: #fff; padding: .6rem .8rem; border-radius: 1rem; margin-bottom: 1.2rem; }
.foot__brand p { font-size: .9rem; max-width: 34ch; }
.foot__social { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.foot__social a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 4px; }
.foot__notice p { display: flex; gap: .6rem; align-items: center; font-size: .85rem; padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(255,255,255,.05); margin: 0; }
.foot__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; padding-top: 1.6rem; }
.foot__legal p { margin: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot__legal a:hover { color: #fff; }

.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 30; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: #1FAF58; color: #fff; box-shadow: 0 14px 30px -10px rgba(31,175,88,.7); transition: transform .5s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float .i { width: 1.6rem; height: 1.6rem; }

.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }


/* ---------- Stays: Grand Apartments ---------- */
.stay-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.stay-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr .72fr; gap: .6rem; height: min(44rem, 82vh); }
.mosaic > * { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); box-shadow: var(--shadow-soft); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic__a { grid-row: 1 / 3; }
.mosaic__d { grid-column: 1 / -1; }
.mosaic__d .chip { position: absolute; left: .8rem; bottom: .8rem; }
.rating { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.8rem; padding: .55rem 1.1rem .55rem .55rem; border-radius: 1.2rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); transition: transform .5s var(--ease); }
.rating:hover { transform: translateY(-2px); }
.rating > span:last-child { display: grid; line-height: 1.35; }
.rating__score { display: grid; place-items: center; min-width: 3.1rem; height: 3.1rem; border-radius: .9rem .9rem .9rem .25rem; background: #003B95; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; }
.amen { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.amen__i { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 1.1rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; font-weight: 600; line-height: 1.25; }
.amen__i .feat__ic { width: 2.3rem; height: 2.3rem; border-radius: .75rem; flex: none; }
.unit .core { display: flex; flex-direction: column; }
.unit__media { position: relative; display: block; aspect-ratio: 4 / 4.2; overflow: hidden; }
.unit__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.unit:hover .unit__media img { transform: scale(1.04); }
.unit__score { position: absolute; right: .8rem; top: .8rem; display: flex; align-items: center; gap: .5rem; padding: .35rem .7rem .35rem .35rem; border-radius: 99px; background: rgba(255,255,255,.94); font-size: .78rem; font-weight: 600; }
.unit__score strong { display: grid; place-items: center; min-width: 2.1rem; height: 2.1rem; border-radius: .6rem .6rem .6rem .15rem; background: #003B95; color: #fff; font-family: var(--f-display); font-size: .95rem; }
.unit__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.unit__body h3 { font-size: 1.45rem; }
.unit__body p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.unit__foot { margin-top: auto; padding-top: .6rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.gallery.gallery--stay { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 8.5rem; grid-auto-flow: dense; }
.gallery--stay .g-tall { grid-row: span 3; grid-column: span 1; }
.gallery--stay .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery--stay a[hidden] { display: none; }
.quote { display: grid; gap: 1rem; align-content: start; }
.quote__mark { font-family: var(--f-display); font-size: 4rem; line-height: .6; color: var(--sand); height: 1.6rem; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.quote figcaption { display: grid; gap: .1rem; }
.seg .muted { font-size: .78em; margin-left: .15rem; }
.seg input:checked + span .muted { color: rgba(255,255,255,.6); }
@media (max-width: 1100px) { .amen { grid-template-columns: repeat(3, 1fr); } .gallery.gallery--stay { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) { .stay-hero { grid-template-columns: 1fr; } .mosaic { height: 34rem; } }
@media (max-width: 767px) {
  .mosaic { height: 26rem; grid-template-rows: 1fr 1fr .8fr; }
  .amen { grid-template-columns: 1fr 1fr; }
  .gallery.gallery--stay { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 6rem; }
  .gallery--stay .g-wide { grid-row: span 2; }
  .sec-head .seg { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sec-head .seg::-webkit-scrollbar { display: none; }
  .seg label { flex: none; }
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(2.2rem); filter: blur(6px); }
.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a { padding: .55rem .65rem; font-size: .85rem; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hero__grid, .phero__grid, .grid-2, .stay-grid { grid-template-columns: 1fr; }
  .b-8, .b-7, .b-6, .b-5, .b-4 { grid-column: span 12; }
  .b-r2 { grid-row: auto; }
  .steps, .stats, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .book { position: static; }
}
@media (max-width: 767px) {
  .topbar__contact { display: none; }
  .divisions { gap: 1rem; overflow-x: auto; scrollbar-width: none; }
  .divisions::-webkit-scrollbar { display: none; }
  .hero__media .bezel, .hero__chip, .hero__chip--2 { transform: none; }
  .hero__chip { left: .8rem; bottom: .8rem; }
  .hero__chip--2 { display: none; }
  .hero__media img { aspect-ratio: 4 / 4; }
  .steps, .stats, .grid-3, .grid-4, .products, .form-row, .checks--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 11rem; }
  .g-wide, .g-big { grid-column: span 2; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid .bezel:nth-child(5n+1) { grid-column: auto; }
  .calc__out { gap: .4rem; }
  .calc__cell { padding: .8rem .7rem; }
  .calc__cell strong { font-size: 1.15rem; }
  .product__img { aspect-ratio: 4 / 3; }
  .foot { border-radius: 1.4rem 1.4rem 0 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .phero__media img { aspect-ratio: 4 / 3; }
  .nav__brand img { height: 2.2rem; }
  .nav { top: .5rem; margin-top: .5rem; }
}
