/* Shared styles for the service landing pages (3d-elevation-design.html, 3d-floor-plans.html).
   Same brand system as walkthroughs.html: dark ground, Nohemi body, Instrument Serif italics, SohumAI orange. */
@font-face { font-family: 'Nohemi'; src: url('/v4/fonts/Nohemi-Medium.ttf') format('truetype'); font-weight: 400 700; font-display: swap; }
:root { --orange: #FF4B12; --orange2: #ff7a45; --dark: #131313; --panel: #1a1a1a; --panel2: #202020; --light: #F4EFE8; --muted: rgba(244,239,232,0.62); --border: rgba(244,239,232,0.1); --wa: #25D366; --ease: cubic-bezier(.2,.8,.2,1); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--dark); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Nohemi', 'Helvetica Neue', sans-serif; color: var(--light); line-height: 1.55; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; }
.logo { font-weight: 600; letter-spacing: 0.12em; font-size: 0.95rem; text-decoration: none; }
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 1.4rem; font-size: 0.85rem; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--light); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 100px; background: var(--orange); color: #fff; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; text-decoration: none; }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
h1 em, h2 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic; color: var(--orange); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; max-width: 32rem; text-wrap: balance; }
h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.lead { margin-top: 1.4rem; font-size: 1.05rem; color: rgba(244,239,232,0.8); max-width: 34rem; line-height: 1.7; }
.sub { margin-top: 1rem; color: var(--muted); max-width: 40rem; line-height: 1.7; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 100px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.btn-o { background: var(--orange); color: #fff; }
.btn-wa { background: var(--wa); color: #0b1a10; }
.btn-g { border: 1px solid rgba(244,239,232,0.3); color: var(--light); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover, .btn:focus-visible, .nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-1px); opacity: .92; }
.btn:active, .nav-cta:active { transform: translateY(0); opacity: .85; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--orange2); outline-offset: 3px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 1.6rem; font-size: 0.85rem; color: var(--muted); }
.proof b { color: var(--light); font-weight: 600; }
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2.5rem, 6vw, 5rem); }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section + section { border-top: 1px solid var(--border); }

/* Elevation viewer: one front, five lights */
.lights { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 1600 / 916; box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 2px 0 rgba(255,75,18,0.06); }
.lights img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.lights img.on { opacity: 1; }
.clock { display: flex; gap: 4px; margin-top: 12px; padding: 4px; border: 1px solid var(--border); border-radius: 100px; background: var(--panel); }
.clock button { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--muted); font: 500 0.78rem 'Nohemi', sans-serif; padding: 9px 6px; border-radius: 100px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.clock button small { font-size: 0.66rem; letter-spacing: 0.04em; opacity: 0.7; font-variant-numeric: tabular-nums; }
.clock button:hover { color: var(--light); }
.clock button[aria-pressed="true"] { background: var(--light); color: var(--dark); }
.caption { margin-top: 10px; font-size: 0.82rem; color: var(--muted); }

/* Floor plan wipe: drawing on the left of the handle, render on the right */
.wipe { position: relative; border-radius: 18px; overflow: hidden; background: #fff; aspect-ratio: 1184 / 864; box-shadow: 0 30px 80px rgba(0,0,0,0.5); touch-action: pan-y; user-select: none; }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wipe .top { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
.wipe .bar { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: var(--orange); pointer-events: none; }
.wipe .knob { position: absolute; top: 50%; left: var(--x, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(255,75,18,0.35); pointer-events: none; font-size: 18px; }
.wipe .tag { position: absolute; top: 12px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(19,19,19,0.78); color: #fff; padding: 6px 10px; border-radius: 100px; pointer-events: none; }
.wipe .tag.l { left: 12px; } .wipe .tag.r { right: 12px; }
.wipe input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.wipe:has(input:focus-visible) { outline: 2px solid var(--orange2); outline-offset: 3px; }

/* What you get: a plain spec list, not cards */
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.spec ul { list-style: none; display: flex; flex-direction: column; }
.spec li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 14px 0; border-bottom: 1px solid var(--border); }
.spec li b { font-weight: 500; }
.spec li span { color: var(--muted); font-size: 0.95rem; }

/* Gallery of real work, mixed sizes */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 2.2rem; }
.gallery figure { position: relative; border-radius: 14px; overflow: hidden; background: var(--panel); grid-column: span 3; }
.gallery figure.wide { grid-column: span 4; } .gallery figure.narrow { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 0.82rem; background: linear-gradient(transparent, rgba(0,0,0,0.72)); color: #fff; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 2.2rem; }
.pair figure { border-radius: 14px; overflow: hidden; background: #fff; }
.pair img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.pair figcaption { background: var(--panel); color: var(--muted); font-size: 0.82rem; padding: 10px 14px; }
.pair .arrow { color: var(--orange); font-size: 1.6rem; }

/* Live demos built this month */
.live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 2.2rem; }
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--panel); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.demo:hover, .demo:focus-visible { transform: translateY(-2px); border-color: rgba(255,75,18,0.45); }
.demo .shot { background: #0d0d0d; min-height: 11rem; }
.demo .shot img, .demo .shot video { width: 100%; height: 100%; object-fit: cover; }
.demo .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.demo p { font-size: 0.9rem; color: var(--muted); }
.demo .go { margin-top: auto; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange2); }
.demo.feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.demo.feature .shot { min-height: 18rem; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 2.2rem; }
.step { border-top: 1px solid rgba(244,239,232,0.2); padding-top: 18px; }
.step b { display: block; color: var(--orange); font-size: 0.8rem; letter-spacing: 0.12em; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--muted); margin-top: 6px; }
.offer { background: linear-gradient(180deg, #1a1a1a, #151515); border: 1px solid var(--border); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.offer ol { margin: 1.2rem 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 8px; color: rgba(244,239,232,0.8); font-size: 0.95rem; }
.offer .small { margin-top: 1.2rem; font-size: 0.8rem; color: var(--muted); }
.fillout { background: #0f0f0f; border-radius: 14px; min-height: 520px; overflow: hidden; }
.book { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.book .alt { display: flex; flex-direction: column; gap: 10px; margin-top: 1.4rem; }
.book .alt a { text-decoration: none; }
.book .alt .line { color: rgba(244,239,232,0.8); font-size: 0.95rem; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sched { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; padding: 10px; min-height: 560px; overflow: hidden; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; margin-top: 2.2rem; }
.faq p { font-size: 0.92rem; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.also { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.also a { text-decoration: none; padding: 12px 18px; border: 1px solid var(--border); border-radius: 100px; font-size: 0.9rem; transition: border-color .25s var(--ease), color .25s var(--ease); }
.also a:hover, .also a:focus-visible { border-color: var(--orange); color: #fff; }
footer.site { border-top: 1px solid var(--border); padding: 1.6rem 0 2.2rem; font-size: 0.8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--light); }
.wa-float { position: fixed; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); z-index: 50; }
.wa-float svg { width: 26px; height: 26px; fill: #0b1a10; }
@media (max-width: 900px) {
  .hero, .offer, .book, .spec, .demo, .demo.feature { grid-template-columns: 1fr; }
  .steps, .faq, .live { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure.wide, .gallery figure.narrow { grid-column: span 6; }
  .pair { grid-template-columns: 1fr; } .pair .arrow { transform: rotate(90deg); justify-self: center; }
  .spec li { grid-template-columns: 1fr; gap: 2px; }
  .btn { width: 100%; }
  footer.site { padding-bottom: 90px; }
  .nav-links { display: none; }
  .clock button { font-size: 0.7rem; padding: 8px 2px; }
  .clock button small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
