/* חביב אינסטלציה, "הבית בחתך": a house in cross-section with copper pipes inside the walls; pick a room to see the work. Rubik. */
:root {
  --bg: #F2F6FA; --ink: #12263A; --muted: #4F6275; --blue: #1F6FB8; --water: #59A9E8; --copper: #C9732B; --line: #D9E3EC; --card: #FFFFFF;
  --font: "Rubik Variable", system-ui, sans-serif; --pad: clamp(18px, 5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; top: -60px; inset-inline-start: 12px; padding: 10px 14px; background: var(--ink); color: #fff; z-index: 9; }
.skip:focus { top: 12px; }
.demo { background: var(--ink); color: #DCE8F3; text-align: center; font-size: 13px; padding: 7px 16px; }

.top { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 18px var(--pad); }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; text-decoration: none; }
.logo b { font-weight: 400; color: var(--blue); }
.drop { width: 18px; height: 18px; border-radius: 50% 0 50% 50%; rotate: -45deg; background: var(--water); }
.top__call { color: var(--muted); font-size: 15px; text-decoration: none; padding: 10px 4px; }

.hero { max-width: 1100px; margin: 0 auto; padding: 24px var(--pad) 50px; }
.eyebrow { margin: 0 0 12px; color: var(--copper); font-weight: 700; font-size: 15px; }
h1 { margin: 0; font-size: clamp(54px, 14vw, 112px); line-height: .96; font-weight: 900; letter-spacing: -.02em; }
h1 span { color: var(--blue); }
.lead { margin: 20px 0 0; max-width: 36ch; color: var(--muted); font-size: clamp(18px, 2.2vw, 20px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .15s ease; }
.btn:active { transform: scale(.96); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px var(--blue); }
.btn--line { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.rate { margin: 18px 0 0; color: var(--muted); }
.rate b { color: var(--copper); font-size: 20px; }

.house { max-width: 1100px; margin: 0 auto; padding: 56px var(--pad); border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font-size: clamp(34px, 7vw, 58px); line-height: 1.04; font-weight: 900; }
.sub { margin: 0 0 26px; color: var(--muted); }
.house__wrap { display: grid; gap: 18px; }
.cut { width: 100%; height: auto; background: var(--card); border-radius: 24px; padding: 14px; box-shadow: 0 30px 50px -40px rgb(18 38 58 / .5); }
.cut .wall { fill: #EAF1F7; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.cut .floor, .cut .inner { stroke: var(--ink); stroke-width: 3; }
.cut .room rect { fill: transparent; stroke: transparent; stroke-width: 3; transition: fill .3s ease, stroke .3s ease; }
.cut .room.on rect { fill: rgb(89 169 232 / .18); stroke: var(--water); stroke-dasharray: 6 5; }
.cut .fix { fill: none; stroke: var(--muted); stroke-width: 3; stroke-linejoin: round; }
.cut .pipe { fill: none; stroke: var(--copper); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.cut .flow { fill: var(--water); }
.picker { display: flex; flex-wrap: wrap; gap: 8px; }
.picker button { flex: 1 1 auto; min-height: 50px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font: 600 16px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.picker button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.pane { padding: 24px; background: #fff; border-radius: 20px; border-inline-start: 5px solid var(--copper); }
.pane[hidden] { display: none; }
.pane h3 { margin: 0 0 8px; font-size: 22px; }
.pane p { margin: 0 0 8px; font-size: 19px; }
.pane small { color: var(--muted); }

.clean { background: var(--ink); color: #EAF2FA; padding: 64px max(var(--pad), (100% - 1100px) / 2 + var(--pad)); }
.clean h2 { color: #fff; }
.clean blockquote { margin: 0 0 16px; padding: 24px; border-radius: 20px; background: rgb(255 255 255 / .07); }
.clean p { margin: 0 0 10px; font-size: clamp(21px, 3.4vw, 28px); line-height: 1.4; font-weight: 600; }
.clean .small p { font-size: 19px; font-weight: 400; }
.clean footer { font-size: 14px; color: #9FB4C8; }
.sec { max-width: 1100px; margin: 0 auto; padding: 56px var(--pad); }
.hours { margin: 0 0 14px; max-width: 440px; }
.hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #C6D3DF; }
.hours dd { margin: 0; color: var(--blue); font-weight: 700; }
.addr { color: var(--muted); }
.end { text-align: center; padding: 70px var(--pad) 84px; background: #E3EDF6; }
.end p { margin: 0 0 24px; color: var(--muted); }
.foot { padding: 26px var(--pad) 110px; text-align: center; color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }
.sticky { position: fixed; inset-inline: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 5; display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgb(18 38 58 / .6); }

@media (min-width: 820px) {
  .house__wrap { grid-template-columns: 1.2fr .8fr; grid-template-areas: "s p" "s c"; align-items: start; }
  .cut { grid-area: s; } .picker { grid-area: p; } .pane { grid-area: c; }
}
@media (min-width: 900px) { .sticky { display: none; } .foot { padding-bottom: 32px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .cut .room rect { transition: none; } .cut .flow { display: none; } }
